Class CfnWorkgroup.Builder
java.lang.Object
software.amazon.awscdk.services.redshiftserverless.CfnWorkgroup.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnWorkgroup>
- Enclosing class:
CfnWorkgroup
@Stability(Stable)
public static final class CfnWorkgroup.Builder
extends Object
implements software.amazon.jsii.Builder<CfnWorkgroup>
A fluent builder for
CfnWorkgroup
.-
Method Summary
Modifier and TypeMethodDescriptionbaseCapacity
(Number baseCapacity) The base compute capacity of the workgroup in Redshift Processing Units (RPUs).build()
configParameters
(List<? extends Object> configParameters) A list of parameters to set for finer control over a database.configParameters
(IResolvable configParameters) A list of parameters to set for finer control over a database.static CfnWorkgroup.Builder
enhancedVpcRouting
(Boolean 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.enhancedVpcRouting
(IResolvable 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
(Number maxCapacity) The maximum data-warehouse capacity Amazon Redshift Serverless uses to serve queries.namespaceName
(String namespaceName) The namespace the workgroup is associated with.The custom port to use when connecting to a workgroup.publiclyAccessible
(Boolean publiclyAccessible) A value that specifies whether the workgroup can be accessible from a public network.publiclyAccessible
(IResolvable publiclyAccessible) A value that specifies whether the workgroup can be accessible from a public network.securityGroupIds
(List<String> securityGroupIds) A list of security group IDs to associate with the workgroup.A list of subnet IDs the workgroup is associated with.The map of the key-value pairs used to tag the workgroup.workgroupName
(String workgroupName) The name of the workgroup.
-
Method Details
-
create
@Stability(Stable) public static CfnWorkgroup.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnWorkgroup.Builder
.
-
workgroupName
The name of the workgroup.- Parameters:
workgroupName
- The name of the workgroup. This parameter is required.- Returns:
this
- See Also:
-
baseCapacity
The base compute capacity of the workgroup in Redshift Processing Units (RPUs).- Parameters:
baseCapacity
- The base compute capacity of the workgroup in Redshift Processing Units (RPUs). This parameter is required.- Returns:
this
- See Also:
-
configParameters
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
.- Parameters:
configParameters
- A list of parameters to set for finer control over a database. This parameter is required.- Returns:
this
- See Also:
-
configParameters
@Stability(Stable) public CfnWorkgroup.Builder configParameters(List<? extends Object> configParameters) 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
.- Parameters:
configParameters
- A list of parameters to set for finer control over a database. This parameter is required.- Returns:
this
- See Also:
-
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.Default: - false
- Parameters:
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. This parameter is required.- Returns:
this
- See Also:
-
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.Default: - false
- Parameters:
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. This parameter is required.- Returns:
this
- See Also:
-
maxCapacity
The maximum data-warehouse capacity Amazon Redshift Serverless uses to serve queries.The max capacity is specified in RPUs.
- Parameters:
maxCapacity
- The maximum data-warehouse capacity Amazon Redshift Serverless uses to serve queries. This parameter is required.- Returns:
this
- See Also:
-
namespaceName
The namespace the workgroup is associated with.- Parameters:
namespaceName
- The namespace the workgroup is associated with. This parameter is required.- Returns:
this
- See Also:
-
port
The custom port to use when connecting to a workgroup.Valid port ranges are 5431-5455 and 8191-8215. The default is 5439.
- Parameters:
port
- The custom port to use when connecting to a workgroup. This parameter is required.- Returns:
this
- See Also:
-
publiclyAccessible
A value that specifies whether the workgroup can be accessible from a public network.Default: - false
- Parameters:
publiclyAccessible
- A value that specifies whether the workgroup can be accessible from a public network. This parameter is required.- Returns:
this
- See Also:
-
publiclyAccessible
A value that specifies whether the workgroup can be accessible from a public network.Default: - false
- Parameters:
publiclyAccessible
- A value that specifies whether the workgroup can be accessible from a public network. This parameter is required.- Returns:
this
- See Also:
-
securityGroupIds
A list of security group IDs to associate with the workgroup.- Parameters:
securityGroupIds
- A list of security group IDs to associate with the workgroup. This parameter is required.- Returns:
this
- See Also:
-
subnetIds
A list of subnet IDs the workgroup is associated with.- Parameters:
subnetIds
- A list of subnet IDs the workgroup is associated with. This parameter is required.- Returns:
this
- See Also:
-
tags
The map of the key-value pairs used to tag the workgroup.- Parameters:
tags
- The map of the key-value pairs used to tag the workgroup. This parameter is required.- Returns:
this
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnWorkgroup>
- Returns:
- a newly built instance of
CfnWorkgroup
.
-