@Generated(value="jsii-pacmak/1.46.0 (build cd08c55)", date="2021-11-25T20:11:06.140Z") @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()
`AWS::ECS::CapacityProvider.AutoScalingGroupProvider`.
|
default String |
getName()
`AWS::ECS::CapacityProvider.Name`.
|
default List<CfnTag> |
getTags()
`AWS::ECS::CapacityProvider.Tags`.
|
@Stability(value=Stable) @NotNull Object getAutoScalingGroupProvider()
@Stability(value=Stable) @Nullable default String getName()
@Stability(value=Stable) @Nullable default List<CfnTag> getTags()
@Stability(value=Stable) static CfnCapacityProviderProps.Builder builder()
CfnCapacityProviderProps.Builder of CfnCapacityProviderPropsCopyright © 2021. All rights reserved.