@Stability(value=Stable) public static final class ClusterProps.Builder extends Object implements software.amazon.jsii.Builder<ClusterProps>
ClusterProps| Constructor and Description |
|---|
Builder() |
@Stability(value=Stable) public ClusterProps.Builder capacity(AddCapacityOptions capacity)
ClusterProps.getCapacity()capacity - The ec2 capacity to add to the cluster.this@Stability(value=Stable) public ClusterProps.Builder clusterName(String clusterName)
ClusterProps.getClusterName()clusterName - The name for the cluster.this@Stability(value=Stable) public ClusterProps.Builder containerInsights(Boolean containerInsights)
ClusterProps.getContainerInsights()containerInsights - If true CloudWatch Container Insights will be enabled for the cluster.this@Stability(value=Stable) public ClusterProps.Builder defaultCloudMapNamespace(CloudMapNamespaceOptions defaultCloudMapNamespace)
ClusterProps.getDefaultCloudMapNamespace()defaultCloudMapNamespace - The service discovery namespace created in this cluster.this@Stability(value=Stable) public ClusterProps.Builder enableFargateCapacityProviders(Boolean enableFargateCapacityProviders)
ClusterProps.getEnableFargateCapacityProviders()enableFargateCapacityProviders - Whether to enable Fargate Capacity Providers.this@Stability(value=Stable) public ClusterProps.Builder executeCommandConfiguration(ExecuteCommandConfiguration executeCommandConfiguration)
ClusterProps.getExecuteCommandConfiguration()executeCommandConfiguration - The execute command configuration for the cluster.this@Stability(value=Stable) public ClusterProps.Builder vpc(IVpc vpc)
ClusterProps.getVpc()vpc - The VPC where your ECS instances will be running or your ENIs will be deployed.this@Stability(value=Stable) public ClusterProps build()
build in interface software.amazon.jsii.Builder<ClusterProps>ClusterPropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.