Interface CfnWorkgroupProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnWorkgroupProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.89.0 (build 2f74b3e)",
date="2023-10-26T00:56:12.919Z")
@Stability(Stable)
public interface CfnWorkgroupProps
extends software.amazon.jsii.JsiiSerializable
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 software.amazon.awscdk.services.redshiftserverless.*;
CfnWorkgroupProps cfnWorkgroupProps = CfnWorkgroupProps.builder()
.workgroupName("workgroupName")
// the properties below are optional
.baseCapacity(123)
.configParameters(List.of(ConfigParameterProperty.builder()
.parameterKey("parameterKey")
.parameterValue("parameterValue")
.build()))
.enhancedVpcRouting(false)
.namespaceName("namespaceName")
.port(123)
.publiclyAccessible(false)
.securityGroupIds(List.of("securityGroupIds"))
.subnetIds(List.of("subnetIds"))
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnWorkgroupPropsstatic final classAn implementation forCfnWorkgroupProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnWorkgroupProps.Builderbuilder()default NumberThe base compute capacity of the workgroup in Redshift Processing Units (RPUs).default ObjectA list of parameters to set for finer control over a database.default ObjectThe value that specifies whether to enable enhanced virtual private cloud (VPC) routing, which forces Amazon Redshift Serverless to route traffic through your VPC.default StringThe namespace the workgroup is associated with.default NumbergetPort()The custom port to use when connecting to a workgroup.default ObjectA value that specifies whether the workgroup can be accessible from a public network.A list of security group IDs to associate with the workgroup.A list of subnet IDs the workgroup is associated with.getTags()The map of the key-value pairs used to tag the workgroup.The name of the workgroup.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getWorkgroupName
The name of the workgroup.- See Also:
-
getBaseCapacity
The base compute capacity of the workgroup in Redshift Processing Units (RPUs).- See Also:
-
getConfigParameters
A list of parameters to set for finer control over a database.Available options are
datestyle,enable_user_activity_logging,query_group,search_path, andmax_query_execution_time.- See Also:
-
getEnhancedVpcRouting
The value that specifies whether to enable enhanced virtual private cloud (VPC) routing, which forces Amazon Redshift Serverless to route traffic through your VPC.Default: - false
- See Also:
-
getNamespaceName
The namespace the workgroup is associated with.- See Also:
-
getPort
The custom port to use when connecting to a workgroup.Valid port ranges are 5431-5455 and 8191-8215. The default is 5439.
- See Also:
-
getPubliclyAccessible
A value that specifies whether the workgroup can be accessible from a public network.Default: - false
- See Also:
-
getSecurityGroupIds
A list of security group IDs to associate with the workgroup.- See Also:
-
getSubnetIds
A list of subnet IDs the workgroup is associated with.- See Also:
-
getTags
The map of the key-value pairs used to tag the workgroup.- See Also:
-
builder
- Returns:
- a
CfnWorkgroupProps.BuilderofCfnWorkgroupProps
-