Class CfnWorkgroup
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.core.Construct
software.amazon.awscdk.core.CfnElement
software.amazon.awscdk.core.CfnRefElement
software.amazon.awscdk.core.CfnResource
software.amazon.awscdk.services.redshiftserverless.CfnWorkgroup
- All Implemented Interfaces:
IConstruct,IDependable,IInspectable,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:34.900Z")
@Stability(Stable)
public class CfnWorkgroup
extends CfnResource
implements IInspectable
A CloudFormation
AWS::RedshiftServerless::Workgroup.
The collection of compute resources in Amazon Redshift Serverless.
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.*;
CfnWorkgroup cfnWorkgroup = CfnWorkgroup.Builder.create(this, "MyCfnWorkgroup")
.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();
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA fluent builder forCfnWorkgroup.static interfaceA array of parameters to set for more control over a serverless database.static interfaceThe VPC endpoint object.static interfaceContains information about a network interface in an Amazon Redshift Serverless managed VPC endpoint.static interfaceThe connection endpoint for connecting to Amazon Redshift Serverless through the proxy.static interfaceThe collection of computing resources from which an endpoint is created.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.core.IConstruct
IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.core.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionCfnWorkgroup(Construct scope, String id, CfnWorkgroupProps props) Create a newAWS::RedshiftServerless::Workgroup.protectedCfnWorkgroup(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnWorkgroup(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionThe base data warehouse capacity of the workgroup in Redshift Processing Units (RPUs).The creation date of the workgroup.The DNS address of the VPC endpoint.The custom port to use when connecting to a workgroup.The value that specifies whether to enable enhanced virtual private cloud (VPC) routing, which forces Amazon Redshift Serverless to route traffic through your VPC.The namespace the workgroup is associated with.A value that specifies whether the workgroup can be accessible from a public network.An array of security group IDs to associate with the workgroup.The status of the workgroup.An array of subnet IDs the workgroup is associated with.The Amazon Resource Name (ARN) that links to the workgroup.The unique identifier of the workgroup.The name of the workgroup.The base compute capacity of the workgroup in Redshift Processing Units (RPUs).A list of parameters to set for finer control over a database.The value that specifies whether to enable enhanced virtual private cloud (VPC) routing, which forces Amazon Redshift Serverless to route traffic through your VPC.The namespace the workgroup is associated with.getPort()The custom port to use when connecting to a workgroup.A 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.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties(Map<String, Object> props) voidsetBaseCapacity(Number value) The base compute capacity of the workgroup in Redshift Processing Units (RPUs).voidsetConfigParameters(List<Object> value) A list of parameters to set for finer control over a database.voidsetConfigParameters(IResolvable value) A list of parameters to set for finer control over a database.voidsetEnhancedVpcRouting(Boolean value) The value that specifies whether to enable enhanced virtual private cloud (VPC) routing, which forces Amazon Redshift Serverless to route traffic through your VPC.voidsetEnhancedVpcRouting(IResolvable value) The value that specifies whether to enable enhanced virtual private cloud (VPC) routing, which forces Amazon Redshift Serverless to route traffic through your VPC.voidsetNamespaceName(String value) The namespace the workgroup is associated with.voidThe custom port to use when connecting to a workgroup.voidsetPubliclyAccessible(Boolean value) A value that specifies whether the workgroup can be accessible from a public network.voidsetPubliclyAccessible(IResolvable value) A value that specifies whether the workgroup can be accessible from a public network.voidsetSecurityGroupIds(List<String> value) A list of security group IDs to associate with the workgroup.voidsetSubnetIds(List<String> value) A list of subnet IDs the workgroup is associated with.voidsetWorkgroupName(String value) The name of the workgroup.Methods inherited from class software.amazon.awscdk.core.CfnResource
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, isCfnResource, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.core.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.core.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdMethods inherited from class software.amazon.awscdk.core.Construct
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validateMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
-
-
Constructor Details
-
CfnWorkgroup
protected CfnWorkgroup(software.amazon.jsii.JsiiObjectRef objRef) -
CfnWorkgroup
protected CfnWorkgroup(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnWorkgroup
@Stability(Stable) public CfnWorkgroup(@NotNull Construct scope, @NotNull String id, @NotNull CfnWorkgroupProps props) Create a newAWS::RedshiftServerless::Workgroup.- Parameters:
scope-- scope in which this resource is defined.
id-- scoped id of the resource.
props-- resource properties.
-
-
Method Details
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspectin interfaceIInspectable- Parameters:
inspector-- tree inspector to collect and process attributes.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderPropertiesin classCfnResource- Parameters:
props- This parameter is required.
-
getAttrWorkgroupBaseCapacity
The base data warehouse capacity of the workgroup in Redshift Processing Units (RPUs). -
getAttrWorkgroupConfigParameters
-
getAttrWorkgroupCreationDate
The creation date of the workgroup. -
getAttrWorkgroupEndpointAddress
The DNS address of the VPC endpoint. -
getAttrWorkgroupEndpointPort
The custom port to use when connecting to a workgroup.Valid port ranges are 5431-5455 and 8191-8215. The default is 5439.
-
getAttrWorkgroupEndpointVpcEndpoints
-
getAttrWorkgroupEnhancedVpcRouting
The value that specifies whether to enable enhanced virtual private cloud (VPC) routing, which forces Amazon Redshift Serverless to route traffic through your VPC. -
getAttrWorkgroupNamespaceName
The namespace the workgroup is associated with. -
getAttrWorkgroupPubliclyAccessible
A value that specifies whether the workgroup can be accessible from a public network. -
getAttrWorkgroupSecurityGroupIds
An array of security group IDs to associate with the workgroup. -
getAttrWorkgroupStatus
The status of the workgroup. -
getAttrWorkgroupSubnetIds
An array of subnet IDs the workgroup is associated with. -
getAttrWorkgroupWorkgroupArn
The Amazon Resource Name (ARN) that links to the workgroup. -
getAttrWorkgroupWorkgroupId
The unique identifier of the workgroup. -
getAttrWorkgroupWorkgroupName
The name of the workgroup. -
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getTags
The map of the key-value pairs used to tag the workgroup. -
getWorkgroupName
The name of the workgroup. -
setWorkgroupName
The name of the workgroup. -
getBaseCapacity
The base compute capacity of the workgroup in Redshift Processing Units (RPUs). -
setBaseCapacity
The base compute capacity of the workgroup in Redshift Processing Units (RPUs). -
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. -
setConfigParameters
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. -
setConfigParameters
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. -
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. -
setEnhancedVpcRouting
The value that specifies whether to enable enhanced virtual private cloud (VPC) routing, which forces Amazon Redshift Serverless to route traffic through your VPC. -
setEnhancedVpcRouting
The value that specifies whether to enable enhanced virtual private cloud (VPC) routing, which forces Amazon Redshift Serverless to route traffic through your VPC. -
getNamespaceName
The namespace the workgroup is associated with. -
setNamespaceName
The namespace the workgroup is associated with. -
getPort
The custom port to use when connecting to a workgroup.Valid port ranges are 5431-5455 and 8191-8215. The default is 5439.
-
setPort
The custom port to use when connecting to a workgroup.Valid port ranges are 5431-5455 and 8191-8215. The default is 5439.
-
getPubliclyAccessible
A value that specifies whether the workgroup can be accessible from a public network. -
setPubliclyAccessible
A value that specifies whether the workgroup can be accessible from a public network. -
setPubliclyAccessible
A value that specifies whether the workgroup can be accessible from a public network. -
getSecurityGroupIds
A list of security group IDs to associate with the workgroup. -
setSecurityGroupIds
A list of security group IDs to associate with the workgroup. -
getSubnetIds
A list of subnet IDs the workgroup is associated with. -
setSubnetIds
A list of subnet IDs the workgroup is associated with.
-