Class CfnWorkgroup
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.redshiftserverless.CfnWorkgroup
- All Implemented Interfaces:
IInspectable,ITaggable,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.93.0 (build 1706ca5)",
date="2024-01-03T18:29:31.760Z")
@Stability(Stable)
public class CfnWorkgroup
extends CfnResource
implements IInspectable, ITaggable
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();
- See Also:
-
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.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.ITaggable
ITaggable.Jsii$Default, ITaggable.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCfnWorkgroup(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnWorkgroup(software.amazon.jsii.JsiiObjectRef objRef) CfnWorkgroup(software.constructs.Construct scope, String id, CfnWorkgroupProps props) -
Method Summary
Modifier and TypeMethodDescriptionReturns theWorkgroupvalue.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()Tag Manager which manages the tags for this resource.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.voidsetTagsRaw(List<CfnTag> value) The map of the key-value pairs used to tag the workgroup.voidsetWorkgroupName(String value) The name of the workgroup.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdMethods inherited from class software.constructs.Construct
getNode, isConstructMethods 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 software.constructs.Construct scope, @NotNull String id, @NotNull CfnWorkgroupProps props) - 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.props- Resource properties. This parameter is required.
-
-
Method Details
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspectin interfaceIInspectable- Parameters:
inspector- tree inspector to collect and process attributes. This parameter is required.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderPropertiesin classCfnResource- Parameters:
props- This parameter is required.
-
getAttrWorkgroup
Returns theWorkgroupvalue. -
getAttrWorkgroupBaseCapacity
-
getAttrWorkgroupConfigParameters
-
getAttrWorkgroupCreationDate
-
getAttrWorkgroupEndpoint
-
getAttrWorkgroupEndpointAddress
-
getAttrWorkgroupEndpointPort
-
getAttrWorkgroupEndpointVpcEndpoints
-
getAttrWorkgroupEnhancedVpcRouting
-
getAttrWorkgroupNamespaceName
-
getAttrWorkgroupPubliclyAccessible
-
getAttrWorkgroupSecurityGroupIds
-
getAttrWorkgroupStatus
-
getAttrWorkgroupSubnetIds
-
getAttrWorkgroupWorkgroupArn
-
getAttrWorkgroupWorkgroupId
-
getAttrWorkgroupWorkgroupName
-
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getTags
Tag Manager which manages the tags for this resource. -
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. -
setConfigParameters
A list of parameters to set for finer control over a database. -
setConfigParameters
A list of parameters to set for finer control over a database. -
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. -
setPort
The custom port to use when connecting to a workgroup. -
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. -
getTagsRaw
The map of the key-value pairs used to tag the workgroup. -
setTagsRaw
The map of the key-value pairs used to tag the workgroup.
-