@Stability(value=Stable) public static final class CfnCapacityProvider.Builder extends Object implements software.amazon.jsii.Builder<CfnCapacityProvider>
CfnCapacityProvider.| Modifier and Type | Method and Description |
|---|---|
CfnCapacityProvider.Builder |
autoScalingGroupProvider(CfnCapacityProvider.AutoScalingGroupProviderProperty autoScalingGroupProvider)
The Auto Scaling group settings for the capacity provider.
|
CfnCapacityProvider.Builder |
autoScalingGroupProvider(IResolvable autoScalingGroupProvider)
The Auto Scaling group settings for the capacity provider.
|
CfnCapacityProvider |
build() |
static CfnCapacityProvider.Builder |
create(software.constructs.Construct scope,
String id) |
CfnCapacityProvider.Builder |
name(String name)
The name of the capacity provider.
|
CfnCapacityProvider.Builder |
tags(List<? extends CfnTag> tags)
The metadata that you apply to the capacity provider to help you categorize and organize it.
|
@Stability(value=Stable) public static CfnCapacityProvider.Builder create(software.constructs.Construct scope, String id)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.CfnCapacityProvider.AutoScalingGroupProviderProperty.Builder.@Stability(value=Stable) public CfnCapacityProvider.Builder autoScalingGroupProvider(CfnCapacityProvider.AutoScalingGroupProviderProperty autoScalingGroupProvider)
autoScalingGroupProvider - The Auto Scaling group settings for the capacity provider. This parameter is required.this@Stability(value=Stable) public CfnCapacityProvider.Builder autoScalingGroupProvider(IResolvable autoScalingGroupProvider)
autoScalingGroupProvider - The Auto Scaling group settings for the capacity provider. This parameter is required.this@Stability(value=Stable) public CfnCapacityProvider.Builder name(String name)
If a name is specified, it cannot start with aws , ecs , or fargate . If no name is specified, a default name in the CFNStackName-CFNResourceName-RandomString format is used.
name - The name of the capacity provider. This parameter is required.this@Stability(value=Stable) public CfnCapacityProvider.Builder tags(List<? extends CfnTag> tags)
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.tags - The metadata that you apply to the capacity provider to help you categorize and organize it. This parameter is required.this@Stability(value=Stable) public CfnCapacityProvider build()
build in interface software.amazon.jsii.Builder<CfnCapacityProvider>Copyright © 2022. All rights reserved.