Interface CfnWorkgroupProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnWorkgroupProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-11-21T06:34:15.024Z")
@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)
.maxCapacity(123)
.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 NumberThe maximum data-warehouse capacity Amazon Redshift Serverless uses to serve queries.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,max_query_execution_time, andrequire_ssl.- 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:
-
getMaxCapacity
The maximum data-warehouse capacity Amazon Redshift Serverless uses to serve queries.The max capacity is specified in RPUs.
- 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
-