@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:41.553Z") @Stability(value=Stable) public class CfnWorkgroup extends CfnResource implements IInspectable
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")
.publiclyAccessible(false)
.securityGroupIds(List.of("securityGroupIds"))
.subnetIds(List.of("subnetIds"))
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
| Modifier and Type | Class and Description |
|---|---|
static class |
CfnWorkgroup.Builder
A fluent builder for
CfnWorkgroup. |
static interface |
CfnWorkgroup.ConfigParameterProperty
Example:
|
software.amazon.jsii.JsiiObject.InitializationModeIInspectable.Jsii$Default, IInspectable.Jsii$Proxy| Modifier and Type | Field and Description |
|---|---|
static String |
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
|
| Modifier | Constructor and Description |
|---|---|
|
CfnWorkgroup(software.constructs.Construct scope,
String id,
CfnWorkgroupProps props)
Create a new `AWS::RedshiftServerless::Workgroup`.
|
protected |
CfnWorkgroup(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnWorkgroup(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
Number |
getBaseCapacity()
`AWS::RedshiftServerless::Workgroup.BaseCapacity`.
|
protected Map<String,Object> |
getCfnProperties() |
Object |
getConfigParameters()
`AWS::RedshiftServerless::Workgroup.ConfigParameters`.
|
Object |
getEnhancedVpcRouting()
`AWS::RedshiftServerless::Workgroup.EnhancedVpcRouting`.
|
String |
getNamespaceName()
`AWS::RedshiftServerless::Workgroup.NamespaceName`.
|
Object |
getPubliclyAccessible()
`AWS::RedshiftServerless::Workgroup.PubliclyAccessible`.
|
List<String> |
getSecurityGroupIds()
`AWS::RedshiftServerless::Workgroup.SecurityGroupIds`.
|
List<String> |
getSubnetIds()
`AWS::RedshiftServerless::Workgroup.SubnetIds`.
|
TagManager |
getTags()
`AWS::RedshiftServerless::Workgroup.Tags`.
|
String |
getWorkgroupName()
`AWS::RedshiftServerless::Workgroup.WorkgroupName`.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected Map<String,Object> |
renderProperties(Map<String,Object> props) |
void |
setBaseCapacity(Number value)
`AWS::RedshiftServerless::Workgroup.BaseCapacity`.
|
void |
setConfigParameters(IResolvable value)
`AWS::RedshiftServerless::Workgroup.ConfigParameters`.
|
void |
setConfigParameters(List<Object> value)
`AWS::RedshiftServerless::Workgroup.ConfigParameters`.
|
void |
setEnhancedVpcRouting(Boolean value)
`AWS::RedshiftServerless::Workgroup.EnhancedVpcRouting`.
|
void |
setEnhancedVpcRouting(IResolvable value)
`AWS::RedshiftServerless::Workgroup.EnhancedVpcRouting`.
|
void |
setNamespaceName(String value)
`AWS::RedshiftServerless::Workgroup.NamespaceName`.
|
void |
setPubliclyAccessible(Boolean value)
`AWS::RedshiftServerless::Workgroup.PubliclyAccessible`.
|
void |
setPubliclyAccessible(IResolvable value)
`AWS::RedshiftServerless::Workgroup.PubliclyAccessible`.
|
void |
setSecurityGroupIds(List<String> value)
`AWS::RedshiftServerless::Workgroup.SecurityGroupIds`.
|
void |
setSubnetIds(List<String> value)
`AWS::RedshiftServerless::Workgroup.SubnetIds`.
|
void |
setWorkgroupName(String value)
`AWS::RedshiftServerless::Workgroup.WorkgroupName`.
|
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, shouldSynthesize, toString, validatePropertiesgetRefgetCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdjsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet@Stability(value=Stable) public static final String CFN_RESOURCE_TYPE_NAME
protected CfnWorkgroup(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnWorkgroup(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public CfnWorkgroup(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@NotNull
CfnWorkgroupProps props)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.props - - resource properties. This parameter is required.@Stability(value=Stable)
public void inspect(@NotNull
TreeInspector inspector)
inspect in interface IInspectableinspector - - tree inspector to collect and process attributes. This parameter is required.@Stability(value=Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
renderProperties in class CfnResourceprops - This parameter is required.@Stability(value=Stable) @NotNull protected Map<String,Object> getCfnProperties()
getCfnProperties in class CfnResource@Stability(value=Stable) @NotNull public TagManager getTags()
@Stability(value=Stable) @NotNull public String getWorkgroupName()
@Stability(value=Stable)
public void setWorkgroupName(@NotNull
String value)
@Stability(value=Stable) @Nullable public Number getBaseCapacity()
@Stability(value=Stable)
public void setBaseCapacity(@Nullable
Number value)
@Stability(value=Stable) @Nullable public Object getConfigParameters()
@Stability(value=Stable)
public void setConfigParameters(@Nullable
IResolvable value)
@Stability(value=Stable)
public void setConfigParameters(@Nullable
List<Object> value)
@Stability(value=Stable) @Nullable public Object getEnhancedVpcRouting()
@Stability(value=Stable)
public void setEnhancedVpcRouting(@Nullable
Boolean value)
@Stability(value=Stable)
public void setEnhancedVpcRouting(@Nullable
IResolvable value)
@Stability(value=Stable) @Nullable public String getNamespaceName()
@Stability(value=Stable)
public void setNamespaceName(@Nullable
String value)
@Stability(value=Stable) @Nullable public Object getPubliclyAccessible()
@Stability(value=Stable)
public void setPubliclyAccessible(@Nullable
Boolean value)
@Stability(value=Stable)
public void setPubliclyAccessible(@Nullable
IResolvable value)
@Stability(value=Stable) @Nullable public List<String> getSecurityGroupIds()
@Stability(value=Stable)
public void setSecurityGroupIds(@Nullable
List<String> value)
@Stability(value=Stable) @Nullable public List<String> getSubnetIds()
Copyright © 2022. All rights reserved.