Class CfnWorkgroupProps
Properties for defining a CfnWorkgroup
.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.RedshiftServerless
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnWorkgroupProps : ICfnWorkgroupProps
Syntax (vb)
Public Class CfnWorkgroupProps Implements ICfnWorkgroupProps
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.RedshiftServerless;
var cfnWorkgroupProps = new CfnWorkgroupProps {
WorkgroupName = "workgroupName",
// the properties below are optional
BaseCapacity = 123,
ConfigParameters = new [] { new ConfigParameterProperty {
ParameterKey = "parameterKey",
ParameterValue = "parameterValue"
} },
EnhancedVpcRouting = false,
MaxCapacity = 123,
NamespaceName = "namespaceName",
Port = 123,
PricePerformanceTarget = new PerformanceTargetProperty {
Level = 123,
Status = "status"
},
PubliclyAccessible = false,
RecoveryPointId = "recoveryPointId",
SecurityGroupIds = new [] { "securityGroupIds" },
SnapshotArn = "snapshotArn",
SnapshotName = "snapshotName",
SnapshotOwnerAccount = "snapshotOwnerAccount",
SubnetIds = new [] { "subnetIds" },
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} },
TrackName = "trackName",
Workgroup = new WorkgroupProperty {
BaseCapacity = 123,
ConfigParameters = new [] { new ConfigParameterProperty {
ParameterKey = "parameterKey",
ParameterValue = "parameterValue"
} },
CreationDate = "creationDate",
Endpoint = new EndpointProperty {
Address = "address",
Port = 123,
VpcEndpoints = new [] { new VpcEndpointProperty {
NetworkInterfaces = new [] { new NetworkInterfaceProperty {
AvailabilityZone = "availabilityZone",
NetworkInterfaceId = "networkInterfaceId",
PrivateIpAddress = "privateIpAddress",
SubnetId = "subnetId"
} },
VpcEndpointId = "vpcEndpointId",
VpcId = "vpcId"
} }
},
EnhancedVpcRouting = false,
MaxCapacity = 123,
NamespaceName = "namespaceName",
PricePerformanceTarget = new PerformanceTargetProperty {
Level = 123,
Status = "status"
},
PubliclyAccessible = false,
SecurityGroupIds = new [] { "securityGroupIds" },
Status = "status",
SubnetIds = new [] { "subnetIds" },
TrackName = "trackName",
WorkgroupArn = "workgroupArn",
WorkgroupId = "workgroupId",
WorkgroupName = "workgroupName"
}
};
Synopsis
Constructors
CfnWorkgroupProps() | Properties for defining a |
Properties
BaseCapacity | The base compute capacity of the workgroup in Redshift Processing Units (RPUs). |
ConfigParameters | The key of the parameter. |
EnhancedVpcRouting | The value that specifies whether to enable enhanced virtual private cloud (VPC) routing, which forces Amazon Redshift Serverless to route traffic through your VPC. |
MaxCapacity | The maximum data-warehouse capacity Amazon Redshift Serverless uses to serve queries. |
NamespaceName | The namespace the workgroup is associated with. |
Port | The custom port to use when connecting to a workgroup. |
PricePerformanceTarget | An object that represents the price performance target settings for the workgroup. |
PubliclyAccessible | A value that specifies whether the workgroup can be accessible from a public network. |
RecoveryPointId | The recovery point id to restore from. |
SecurityGroupIds | A list of security group IDs to associate with the workgroup. |
SnapshotArn | The Amazon Resource Name (ARN) of the snapshot to restore from. |
SnapshotName | The snapshot name to restore from. |
SnapshotOwnerAccount | The Amazon Web Services account that owns the snapshot. |
SubnetIds | A list of subnet IDs the workgroup is associated with. |
Tags | The map of the key-value pairs used to tag the workgroup. |
TrackName | An optional parameter for the name of the track for the workgroup. |
Workgroup | The collection of computing resources from which an endpoint is created. |
WorkgroupName | The name of the workgroup. |
Constructors
CfnWorkgroupProps()
Properties for defining a CfnWorkgroup
.
public CfnWorkgroupProps()
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.RedshiftServerless;
var cfnWorkgroupProps = new CfnWorkgroupProps {
WorkgroupName = "workgroupName",
// the properties below are optional
BaseCapacity = 123,
ConfigParameters = new [] { new ConfigParameterProperty {
ParameterKey = "parameterKey",
ParameterValue = "parameterValue"
} },
EnhancedVpcRouting = false,
MaxCapacity = 123,
NamespaceName = "namespaceName",
Port = 123,
PricePerformanceTarget = new PerformanceTargetProperty {
Level = 123,
Status = "status"
},
PubliclyAccessible = false,
RecoveryPointId = "recoveryPointId",
SecurityGroupIds = new [] { "securityGroupIds" },
SnapshotArn = "snapshotArn",
SnapshotName = "snapshotName",
SnapshotOwnerAccount = "snapshotOwnerAccount",
SubnetIds = new [] { "subnetIds" },
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} },
TrackName = "trackName",
Workgroup = new WorkgroupProperty {
BaseCapacity = 123,
ConfigParameters = new [] { new ConfigParameterProperty {
ParameterKey = "parameterKey",
ParameterValue = "parameterValue"
} },
CreationDate = "creationDate",
Endpoint = new EndpointProperty {
Address = "address",
Port = 123,
VpcEndpoints = new [] { new VpcEndpointProperty {
NetworkInterfaces = new [] { new NetworkInterfaceProperty {
AvailabilityZone = "availabilityZone",
NetworkInterfaceId = "networkInterfaceId",
PrivateIpAddress = "privateIpAddress",
SubnetId = "subnetId"
} },
VpcEndpointId = "vpcEndpointId",
VpcId = "vpcId"
} }
},
EnhancedVpcRouting = false,
MaxCapacity = 123,
NamespaceName = "namespaceName",
PricePerformanceTarget = new PerformanceTargetProperty {
Level = 123,
Status = "status"
},
PubliclyAccessible = false,
SecurityGroupIds = new [] { "securityGroupIds" },
Status = "status",
SubnetIds = new [] { "subnetIds" },
TrackName = "trackName",
WorkgroupArn = "workgroupArn",
WorkgroupId = "workgroupId",
WorkgroupName = "workgroupName"
}
};
Properties
BaseCapacity
The base compute capacity of the workgroup in Redshift Processing Units (RPUs).
public double? BaseCapacity { get; set; }
Property Value
Remarks
ConfigParameters
The key of the parameter.
public object? ConfigParameters { get; set; }
Property Value
Remarks
The options are auto_mv
, datestyle
, enable_case_sensitive_identifier
, enable_user_activity_logging
, query_group
, search_path
, require_ssl
, use_fips_ssl
, and query monitoring metrics that let you define performance boundaries. For more information about query monitoring rules and available metrics, see Query monitoring metrics for Amazon Redshift Serverless .
EnhancedVpcRouting
The value that specifies whether to enable enhanced virtual private cloud (VPC) routing, which forces Amazon Redshift Serverless to route traffic through your VPC.
public object? EnhancedVpcRouting { get; set; }
Property Value
Remarks
MaxCapacity
The maximum data-warehouse capacity Amazon Redshift Serverless uses to serve queries.
public double? MaxCapacity { get; set; }
Property Value
Remarks
The max capacity is specified in RPUs.
NamespaceName
The namespace the workgroup is associated with.
public string? NamespaceName { get; set; }
Property Value
Remarks
Port
The custom port to use when connecting to a workgroup.
public double? Port { get; set; }
Property Value
Remarks
Valid port ranges are 5431-5455 and 8191-8215. The default is 5439.
PricePerformanceTarget
An object that represents the price performance target settings for the workgroup.
public object? PricePerformanceTarget { get; set; }
Property Value
Remarks
PubliclyAccessible
A value that specifies whether the workgroup can be accessible from a public network.
public object? PubliclyAccessible { get; set; }
Property Value
Remarks
RecoveryPointId
The recovery point id to restore from.
public string? RecoveryPointId { get; set; }
Property Value
Remarks
SecurityGroupIds
A list of security group IDs to associate with the workgroup.
public string[]? SecurityGroupIds { get; set; }
Property Value
string[]
Remarks
SnapshotArn
The Amazon Resource Name (ARN) of the snapshot to restore from.
public string? SnapshotArn { get; set; }
Property Value
Remarks
SnapshotName
The snapshot name to restore from.
public string? SnapshotName { get; set; }
Property Value
Remarks
SnapshotOwnerAccount
The Amazon Web Services account that owns the snapshot.
public string? SnapshotOwnerAccount { get; set; }
Property Value
Remarks
SubnetIds
A list of subnet IDs the workgroup is associated with.
public string[]? SubnetIds { get; set; }
Property Value
string[]
Remarks
Tags
The map of the key-value pairs used to tag the workgroup.
public ICfnTag[]? Tags { get; set; }
Property Value
ICfnTag[]
Remarks
TrackName
An optional parameter for the name of the track for the workgroup.
public string? TrackName { get; set; }
Property Value
Remarks
If you don't provide a track name, the workgroup is assigned to the current track.
Workgroup
The collection of computing resources from which an endpoint is created.
public object? Workgroup { get; set; }
Property Value
Remarks
WorkgroupName
The name of the workgroup.
public string WorkgroupName { get; set; }