Interface CfnCapacityProvider.ManagedScalingProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnCapacityProvider.ManagedScalingProperty.Jsii$Proxy
Enclosing class:
CfnCapacityProvider

@Stability(Stable) public static interface CfnCapacityProvider.ManagedScalingProperty extends software.amazon.jsii.JsiiSerializable
The managed scaling settings for the Auto Scaling group capacity provider.

When managed scaling is turned on, Amazon ECS manages the scale-in and scale-out actions of the Auto Scaling group. Amazon ECS manages a target tracking scaling policy using an Amazon ECS managed CloudWatch metric with the specified targetCapacity value as the target value for the metric. For more information, see Using managed scaling in the Amazon Elastic Container Service Developer Guide .

If managed scaling is off, the user must manage the scaling of the Auto Scaling group.

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.*;
 ManagedScalingProperty managedScalingProperty = ManagedScalingProperty.builder()
         .instanceWarmupPeriod(123)
         .maximumScalingStepSize(123)
         .minimumScalingStepSize(123)
         .status("status")
         .targetCapacity(123)
         .build();
 

See Also: