@Generated(value="jsii-pacmak/1.39.0 (build 8af72c2)", date="2021-10-14T05:49:31.839Z") @Stability(value=Stable) public interface AsgCapacityProviderProps extends software.amazon.jsii.JsiiSerializable, AddAutoScalingGroupCapacityOptions
Modifier and Type | Interface and Description |
---|---|
static class |
AsgCapacityProviderProps.Builder
A builder for
AsgCapacityProviderProps |
static class |
AsgCapacityProviderProps.Jsii$Proxy
An implementation for
AsgCapacityProviderProps |
Modifier and Type | Method and Description |
---|---|
static AsgCapacityProviderProps.Builder |
builder() |
IAutoScalingGroup |
getAutoScalingGroup()
The autoscaling group to add as a Capacity Provider.
|
default String |
getCapacityProviderName()
The name for the capacity provider.
|
default Boolean |
getEnableManagedScaling()
Whether to enable managed scaling.
|
default Boolean |
getEnableManagedTerminationProtection()
Whether to enable managed termination protection.
|
default Number |
getMaximumScalingStepSize()
Maximum scaling step size.
|
default Number |
getMinimumScalingStepSize()
Minimum scaling step size.
|
default Number |
getTargetCapacityPercent()
Target capacity percent.
|
getCanContainersAccessInstanceRole, getMachineImageType, getSpotInstanceDraining, getTaskDrainTime, getTopicEncryptionKey
@Stability(value=Stable) @NotNull IAutoScalingGroup getAutoScalingGroup()
@Stability(value=Stable) @Nullable default String getCapacityProviderName()
Default: CloudFormation-generated name
@Stability(value=Stable) @Nullable default Boolean getEnableManagedScaling()
Default: true
@Stability(value=Stable) @Nullable default Boolean getEnableManagedTerminationProtection()
Default: true
@Stability(value=Stable) @Nullable default Number getMaximumScalingStepSize()
In most cases this should be left alone.
Default: 1000
@Stability(value=Stable) @Nullable default Number getMinimumScalingStepSize()
In most cases this should be left alone.
Default: 1
@Stability(value=Stable) @Nullable default Number getTargetCapacityPercent()
In most cases this should be left alone.
Default: 100
@Stability(value=Stable) static AsgCapacityProviderProps.Builder builder()
builder
in interface AddAutoScalingGroupCapacityOptions
AsgCapacityProviderProps.Builder
of AsgCapacityProviderProps
Copyright © 2021. All rights reserved.