@Stability(value=Stable) public static final class CfnCapacityProvider.ManagedScalingProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnCapacityProvider.ManagedScalingProperty>
CfnCapacityProvider.ManagedScalingProperty| Constructor and Description |
|---|
Builder() |
@Stability(value=Stable) public CfnCapacityProvider.ManagedScalingProperty.Builder instanceWarmupPeriod(Number instanceWarmupPeriod)
CfnCapacityProvider.ManagedScalingProperty.getInstanceWarmupPeriod()instanceWarmupPeriod - The period of time, in seconds, after a newly launched Amazon EC2 instance can contribute to CloudWatch metrics for Auto Scaling group.
If this parameter is omitted, the default value of 300 seconds is used.this@Stability(value=Stable) public CfnCapacityProvider.ManagedScalingProperty.Builder maximumScalingStepSize(Number maximumScalingStepSize)
CfnCapacityProvider.ManagedScalingProperty.getMaximumScalingStepSize()maximumScalingStepSize - The maximum number of container instances that Amazon ECS scales in or scales out at one time.
If this parameter is omitted, the default value of 10000 is used.this@Stability(value=Stable) public CfnCapacityProvider.ManagedScalingProperty.Builder minimumScalingStepSize(Number minimumScalingStepSize)
CfnCapacityProvider.ManagedScalingProperty.getMinimumScalingStepSize()minimumScalingStepSize - The minimum number of container instances that Amazon ECS scales in or scales out at one time.
If this parameter is omitted, the default value of 1 is used.this@Stability(value=Stable) public CfnCapacityProvider.ManagedScalingProperty.Builder status(String status)
CfnCapacityProvider.ManagedScalingProperty.getStatus()status - Determines whether to use managed scaling for the capacity provider.this@Stability(value=Stable) public CfnCapacityProvider.ManagedScalingProperty.Builder targetCapacity(Number targetCapacity)
CfnCapacityProvider.ManagedScalingProperty.getTargetCapacity()targetCapacity - The target capacity value for the capacity provider.
The specified value must be greater than 0 and less than or equal to 100 . A value of 100 results in the Amazon EC2 instances in your Auto Scaling group being completely used.this@Stability(value=Stable) public CfnCapacityProvider.ManagedScalingProperty build()
build in interface software.amazon.jsii.Builder<CfnCapacityProvider.ManagedScalingProperty>CfnCapacityProvider.ManagedScalingPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.