@Generated(value="jsii-pacmak/1.47.0 (build 86d2c33)", date="2021-12-15T10:03:47.627Z") @Stability(value=Stable) public interface CfnClusterProps extends software.amazon.jsii.JsiiSerializable
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.ecs.*;
CfnClusterProps cfnClusterProps = CfnClusterProps.builder()
.capacityProviders(List.of("capacityProviders"))
.clusterName("clusterName")
.clusterSettings(List.of(ClusterSettingsProperty.builder()
.name("name")
.value("value")
.build()))
.configuration(ClusterConfigurationProperty.builder()
.executeCommandConfiguration(ExecuteCommandConfigurationProperty.builder()
.kmsKeyId("kmsKeyId")
.logConfiguration(ExecuteCommandLogConfigurationProperty.builder()
.cloudWatchEncryptionEnabled(false)
.cloudWatchLogGroupName("cloudWatchLogGroupName")
.s3BucketName("s3BucketName")
.s3EncryptionEnabled(false)
.s3KeyPrefix("s3KeyPrefix")
.build())
.logging("logging")
.build())
.build())
.defaultCapacityProviderStrategy(List.of(CapacityProviderStrategyItemProperty.builder()
.base(123)
.capacityProvider("capacityProvider")
.weight(123)
.build()))
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnClusterProps.Builder
A builder for
CfnClusterProps |
static class |
CfnClusterProps.Jsii$Proxy
An implementation for
CfnClusterProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnClusterProps.Builder |
builder() |
default List<String> |
getCapacityProviders()
`AWS::ECS::Cluster.CapacityProviders`.
|
default String |
getClusterName()
`AWS::ECS::Cluster.ClusterName`.
|
default Object |
getClusterSettings()
`AWS::ECS::Cluster.ClusterSettings`.
|
default Object |
getConfiguration()
`AWS::ECS::Cluster.Configuration`.
|
default Object |
getDefaultCapacityProviderStrategy()
`AWS::ECS::Cluster.DefaultCapacityProviderStrategy`.
|
default List<CfnTag> |
getTags()
`AWS::ECS::Cluster.Tags`.
|
@Stability(value=Stable) @Nullable default List<String> getCapacityProviders()
@Stability(value=Stable) @Nullable default String getClusterName()
@Stability(value=Stable) @Nullable default Object getClusterSettings()
@Stability(value=Stable) @Nullable default Object getConfiguration()
@Stability(value=Stable) @Nullable default Object getDefaultCapacityProviderStrategy()
@Stability(value=Stable) static CfnClusterProps.Builder builder()
CfnClusterProps.Builder of CfnClusterPropsCopyright © 2021. All rights reserved.