public static interface ManagedScaling.Builder extends SdkPojo, CopyableBuilder<ManagedScaling.Builder,ManagedScaling>
| Modifier and Type | Method and Description |
|---|---|
ManagedScaling.Builder |
instanceWarmupPeriod(Integer instanceWarmupPeriod)
The period of time, in seconds, after a newly launched Amazon EC2 instance can contribute to CloudWatch
metrics for Auto Scaling group.
|
ManagedScaling.Builder |
maximumScalingStepSize(Integer maximumScalingStepSize)
The maximum number of container instances that Amazon ECS will scale in or scale out at one time.
|
ManagedScaling.Builder |
minimumScalingStepSize(Integer minimumScalingStepSize)
The minimum number of container instances that Amazon ECS will scale in or scale out at one time.
|
ManagedScaling.Builder |
status(ManagedScalingStatus status)
Whether or not to enable managed scaling for the capacity provider.
|
ManagedScaling.Builder |
status(String status)
Whether or not to enable managed scaling for the capacity provider.
|
ManagedScaling.Builder |
targetCapacity(Integer targetCapacity)
The target capacity value for the capacity provider.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildManagedScaling.Builder status(String status)
Whether or not to enable managed scaling for the capacity provider.
status - Whether or not to enable managed scaling for the capacity provider.ManagedScalingStatus,
ManagedScalingStatusManagedScaling.Builder status(ManagedScalingStatus status)
Whether or not to enable managed scaling for the capacity provider.
status - Whether or not to enable managed scaling for the capacity provider.ManagedScalingStatus,
ManagedScalingStatusManagedScaling.Builder targetCapacity(Integer 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 will result in the Amazon EC2
instances in your Auto Scaling group being completely utilized.
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 will result in
the Amazon EC2 instances in your Auto Scaling group being completely utilized.ManagedScaling.Builder minimumScalingStepSize(Integer minimumScalingStepSize)
The minimum number of container instances that Amazon ECS will scale in or scale out at one time. If this
parameter is omitted, the default value of 1 is used.
minimumScalingStepSize - The minimum number of container instances that Amazon ECS will scale in or scale out at one time. If
this parameter is omitted, the default value of 1 is used.ManagedScaling.Builder maximumScalingStepSize(Integer maximumScalingStepSize)
The maximum number of container instances that Amazon ECS will scale in or scale out at one time. If this
parameter is omitted, the default value of 10000 is used.
maximumScalingStepSize - The maximum number of container instances that Amazon ECS will scale in or scale out at one time. If
this parameter is omitted, the default value of 10000 is used.ManagedScaling.Builder instanceWarmupPeriod(Integer 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.
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.Copyright © 2021. All rights reserved.