interface CfnWorkgroupProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.RedshiftServerless.CfnWorkgroupProps |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsredshiftserverless#CfnWorkgroupProps |
Java | software.amazon.awscdk.services.redshiftserverless.CfnWorkgroupProps |
Python | aws_cdk.aws_redshiftserverless.CfnWorkgroupProps |
TypeScript | aws-cdk-lib » aws_redshiftserverless » CfnWorkgroupProps |
Properties for defining a CfnWorkgroup.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_redshiftserverless as redshiftserverless } from 'aws-cdk-lib';
const cfnWorkgroupProps: redshiftserverless.CfnWorkgroupProps = {
workgroupName: 'workgroupName',
// the properties below are optional
baseCapacity: 123,
configParameters: [{
parameterKey: 'parameterKey',
parameterValue: 'parameterValue',
}],
enhancedVpcRouting: false,
maxCapacity: 123,
namespaceName: 'namespaceName',
port: 123,
pricePerformanceTarget: {
level: 123,
status: 'status',
},
publiclyAccessible: false,
recoveryPointId: 'recoveryPointId',
securityGroupIds: ['securityGroupIds'],
snapshotArn: 'snapshotArn',
snapshotName: 'snapshotName',
snapshotOwnerAccount: 'snapshotOwnerAccount',
subnetIds: ['subnetIds'],
tags: [{
key: 'key',
value: 'value',
}],
trackName: 'trackName',
workgroup: {
baseCapacity: 123,
configParameters: [{
parameterKey: 'parameterKey',
parameterValue: 'parameterValue',
}],
creationDate: 'creationDate',
endpoint: {
address: 'address',
port: 123,
vpcEndpoints: [{
networkInterfaces: [{
availabilityZone: 'availabilityZone',
networkInterfaceId: 'networkInterfaceId',
privateIpAddress: 'privateIpAddress',
subnetId: 'subnetId',
}],
vpcEndpointId: 'vpcEndpointId',
vpcId: 'vpcId',
}],
},
enhancedVpcRouting: false,
maxCapacity: 123,
namespaceName: 'namespaceName',
pricePerformanceTarget: {
level: 123,
status: 'status',
},
publiclyAccessible: false,
securityGroupIds: ['securityGroupIds'],
status: 'status',
subnetIds: ['subnetIds'],
trackName: 'trackName',
workgroupArn: 'workgroupArn',
workgroupId: 'workgroupId',
workgroupName: 'workgroupName',
},
};
Properties
| Name | Type | Description |
|---|---|---|
| workgroup | string | The name of the workgroup. |
| base | number | The base compute capacity of the workgroup in Redshift Processing Units (RPUs). |
| config | IResolvable | (IResolvable | Config)[] | The key of the parameter. |
| enhanced | boolean | IResolvable | The value that specifies whether to enable enhanced virtual private cloud (VPC) routing, which forces Amazon Redshift Serverless to route traffic through your VPC. |
| max | number | The maximum data-warehouse capacity Amazon Redshift Serverless uses to serve queries. |
| namespace | string | The namespace the workgroup is associated with. |
| port? | number | The custom port to use when connecting to a workgroup. |
| price | IResolvable | Performance | An object that represents the price performance target settings for the workgroup. |
| publicly | boolean | IResolvable | A value that specifies whether the workgroup can be accessible from a public network. |
| recovery | string | The recovery point id to restore from. |
| security | (string | ISecurity)[] | A list of security group IDs to associate with the workgroup. |
| snapshot | string | The Amazon Resource Name (ARN) of the snapshot to restore from. |
| snapshot | string | The snapshot name to restore from. |
| snapshot | string | The Amazon Web Services account that owns the snapshot. |
| subnet | (string | ISubnet)[] | A list of subnet IDs the workgroup is associated with. |
| tags? | Cfn[] | The map of the key-value pairs used to tag the workgroup. |
| track | string | An optional parameter for the name of the track for the workgroup. |
| workgroup? | IResolvable | Workgroup | The collection of computing resources from which an endpoint is created. |
workgroupName
Type:
string
The name of the workgroup.
baseCapacity?
Type:
number
(optional)
The base compute capacity of the workgroup in Redshift Processing Units (RPUs).
configParameters?
Type:
IResolvable | (IResolvable | Config)[]
(optional)
The key of the parameter.
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?
Type:
boolean | IResolvable
(optional, default: false)
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?
Type:
number
(optional)
The maximum data-warehouse capacity Amazon Redshift Serverless uses to serve queries.
The max capacity is specified in RPUs.
namespaceName?
Type:
string
(optional)
The namespace the workgroup is associated with.
port?
Type:
number
(optional)
The custom port to use when connecting to a workgroup.
Valid port ranges are 5431-5455 and 8191-8215. The default is 5439.
pricePerformanceTarget?
Type:
IResolvable | Performance
(optional)
An object that represents the price performance target settings for the workgroup.
publiclyAccessible?
Type:
boolean | IResolvable
(optional, default: false)
A value that specifies whether the workgroup can be accessible from a public network.
recoveryPointId?
Type:
string
(optional)
The recovery point id to restore from.
securityGroupIds?
Type:
(string | ISecurity)[]
(optional)
A list of security group IDs to associate with the workgroup.
snapshotArn?
Type:
string
(optional)
The Amazon Resource Name (ARN) of the snapshot to restore from.
snapshotName?
Type:
string
(optional)
The snapshot name to restore from.
snapshotOwnerAccount?
Type:
string
(optional)
The Amazon Web Services account that owns the snapshot.
subnetIds?
Type:
(string | ISubnet)[]
(optional)
A list of subnet IDs the workgroup is associated with.
tags?
Type:
Cfn[]
(optional)
The map of the key-value pairs used to tag the workgroup.
trackName?
Type:
string
(optional)
An optional parameter for the name of the track for the workgroup.
If you don't provide a track name, the workgroup is assigned to the current track.
workgroup?
Type:
IResolvable | Workgroup
(optional)
The collection of computing resources from which an endpoint is created.

.NET
Go
Java
Python
TypeScript