@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:38.582Z") @Stability(value=Stable) public interface CfnCapacityProviderProps 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.*;
CfnCapacityProviderProps cfnCapacityProviderProps = CfnCapacityProviderProps.builder()
.autoScalingGroupProvider(AutoScalingGroupProviderProperty.builder()
.autoScalingGroupArn("autoScalingGroupArn")
// the properties below are optional
.managedScaling(ManagedScalingProperty.builder()
.instanceWarmupPeriod(123)
.maximumScalingStepSize(123)
.minimumScalingStepSize(123)
.status("status")
.targetCapacity(123)
.build())
.managedTerminationProtection("managedTerminationProtection")
.build())
// the properties below are optional
.name("name")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnCapacityProviderProps.Builder
A builder for
CfnCapacityProviderProps |
static class |
CfnCapacityProviderProps.Jsii$Proxy
An implementation for
CfnCapacityProviderProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnCapacityProviderProps.Builder |
builder() |
Object |
getAutoScalingGroupProvider()
The Auto Scaling group settings for the capacity provider.
|
default String |
getName()
The name of the capacity provider.
|
default List<CfnTag> |
getTags()
The metadata that you apply to the capacity provider to help you categorize and organize it.
|
@Stability(value=Stable) @NotNull Object getAutoScalingGroupProvider()
@Stability(value=Stable) @Nullable default String getName()
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.
@Stability(value=Stable) @Nullable default List<CfnTag> getTags()
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.@Stability(value=Stable) static CfnCapacityProviderProps.Builder builder()
CfnCapacityProviderProps.Builder of CfnCapacityProviderPropsCopyright © 2022. All rights reserved.