@Stability(value=Stable) public static final class CfnClusterProps.Builder extends Object implements software.amazon.jsii.Builder<CfnClusterProps>
CfnClusterProps| Constructor and Description |
|---|
Builder() |
@Stability(value=Stable) public CfnClusterProps.Builder capacityProviders(List<String> capacityProviders)
CfnClusterProps.getCapacityProviders()capacityProviders - The short name of one or more capacity providers to associate with the cluster.
A capacity provider must be associated with a cluster before it can be included as part of the default capacity provider strategy of the cluster or used in a capacity provider strategy.
If specifying a capacity provider that uses an Auto Scaling group, the capacity provider must already be created and not already associated with another cluster.
To use an AWS Fargate capacity provider, specify either the FARGATE or FARGATE_SPOT capacity providers. The AWS Fargate capacity providers are available to all accounts and only need to be associated with a cluster to be used.
this@Stability(value=Stable) public CfnClusterProps.Builder clusterName(String clusterName)
CfnClusterProps.getClusterName()clusterName - A user-generated string that you use to identify your cluster.
If you don't specify a name, AWS CloudFormation generates a unique physical ID for the name.this@Stability(value=Stable) public CfnClusterProps.Builder clusterSettings(IResolvable clusterSettings)
CfnClusterProps.getClusterSettings()clusterSettings - The setting to use when creating a cluster.
This parameter is used to enable CloudWatch Container Insights for a cluster. If this value is specified, it will override the containerInsights value set with PutAccountSetting or PutAccountSettingDefault .this@Stability(value=Stable) public CfnClusterProps.Builder clusterSettings(List<? extends Object> clusterSettings)
CfnClusterProps.getClusterSettings()clusterSettings - The setting to use when creating a cluster.
This parameter is used to enable CloudWatch Container Insights for a cluster. If this value is specified, it will override the containerInsights value set with PutAccountSetting or PutAccountSettingDefault .this@Stability(value=Stable) public CfnClusterProps.Builder configuration(CfnCluster.ClusterConfigurationProperty configuration)
CfnClusterProps.getConfiguration()configuration - The execute command configuration for the cluster.this@Stability(value=Stable) public CfnClusterProps.Builder configuration(IResolvable configuration)
CfnClusterProps.getConfiguration()configuration - The execute command configuration for the cluster.this@Stability(value=Stable) public CfnClusterProps.Builder defaultCapacityProviderStrategy(IResolvable defaultCapacityProviderStrategy)
CfnClusterProps.getDefaultCapacityProviderStrategy()defaultCapacityProviderStrategy - The default capacity provider strategy for the cluster.
When services or tasks are run in the cluster with no launch type or capacity provider strategy specified, the default capacity provider strategy is used.this@Stability(value=Stable) public CfnClusterProps.Builder defaultCapacityProviderStrategy(List<? extends Object> defaultCapacityProviderStrategy)
CfnClusterProps.getDefaultCapacityProviderStrategy()defaultCapacityProviderStrategy - The default capacity provider strategy for the cluster.
When services or tasks are run in the cluster with no launch type or capacity provider strategy specified, the default capacity provider strategy is used.this@Stability(value=Stable) public CfnClusterProps.Builder tags(List<? extends CfnTag> tags)
CfnClusterProps.getTags()tags - The metadata that you apply to the cluster to help you categorize and organize them.
Each tag consists of a key and an optional value. You define both.
The following basic restrictions apply to tags:
aws: , AWS: , or any upper or lowercase combination of such as a prefix for either keys or values as it is reserved for AWS use. You cannot edit or delete tag keys or values with this prefix. Tags with this prefix do not count against your tags per resource limit.this@Stability(value=Stable) public CfnClusterProps build()
build in interface software.amazon.jsii.Builder<CfnClusterProps>CfnClusterPropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.