/AWS1/CL_ECSMANAGEDSCALING¶
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.
CONSTRUCTOR¶
IMPORTING¶
Optional arguments:¶
iv_status TYPE /AWS1/ECSMANAGEDSCALINGSTATUS /AWS1/ECSMANAGEDSCALINGSTATUS¶
Determines whether to use managed scaling for the capacity provider.
iv_targetcapacity TYPE /AWS1/ECSMANAGEDSCATARGETCAP /AWS1/ECSMANAGEDSCATARGETCAP¶
The target capacity utilization as a percentage for the capacity provider. The specified value must be greater than
0and less than or equal to100. For example, if you want the capacity provider to maintain 10% spare capacity, then that means the utilization is 90%, so use atargetCapacityof90. The default value of100percent results in the Amazon EC2 instances in your Auto Scaling group being completely used.
iv_minimumscalingstepsize TYPE /AWS1/ECSMANAGEDSCASTEPSIZE /AWS1/ECSMANAGEDSCASTEPSIZE¶
The minimum number of Amazon EC2 instances that Amazon ECS will scale out at one time. The scale in process is not affected by this parameter If this parameter is omitted, the default value of
1is used.When additional capacity is required, Amazon ECS will scale up the minimum scaling step size even if the actual demand is less than the minimum scaling step size.
iv_maximumscalingstepsize TYPE /AWS1/ECSMANAGEDSCASTEPSIZE /AWS1/ECSMANAGEDSCASTEPSIZE¶
The maximum number of Amazon EC2 instances that Amazon ECS will scale out at one time. If this parameter is omitted, the default value of
10000is used.
iv_instancewarmupperiod TYPE /AWS1/ECSMANAGEDSCAINSTWARMU00 /AWS1/ECSMANAGEDSCAINSTWARMU00¶
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
300seconds is used.
Queryable Attributes¶
status¶
Determines whether to use managed scaling for the capacity provider.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_STATUS() |
Getter for STATUS, with configurable default |
ASK_STATUS() |
Getter for STATUS w/ exceptions if field has no value |
HAS_STATUS() |
Determine if STATUS has a value |
targetCapacity¶
The target capacity utilization as a percentage for the capacity provider. The specified value must be greater than
0and less than or equal to100. For example, if you want the capacity provider to maintain 10% spare capacity, then that means the utilization is 90%, so use atargetCapacityof90. The default value of100percent results in the Amazon EC2 instances in your Auto Scaling group being completely used.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_TARGETCAPACITY() |
Getter for TARGETCAPACITY, with configurable default |
ASK_TARGETCAPACITY() |
Getter for TARGETCAPACITY w/ exceptions if field has no valu |
HAS_TARGETCAPACITY() |
Determine if TARGETCAPACITY has a value |
minimumScalingStepSize¶
The minimum number of Amazon EC2 instances that Amazon ECS will scale out at one time. The scale in process is not affected by this parameter If this parameter is omitted, the default value of
1is used.When additional capacity is required, Amazon ECS will scale up the minimum scaling step size even if the actual demand is less than the minimum scaling step size.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_MINIMUMSCALINGSTEPSIZE() |
Getter for MINIMUMSCALINGSTEPSIZE, with configurable default |
ASK_MINIMUMSCALINGSTEPSIZE() |
Getter for MINIMUMSCALINGSTEPSIZE w/ exceptions if field has |
HAS_MINIMUMSCALINGSTEPSIZE() |
Determine if MINIMUMSCALINGSTEPSIZE has a value |
maximumScalingStepSize¶
The maximum number of Amazon EC2 instances that Amazon ECS will scale out at one time. If this parameter is omitted, the default value of
10000is used.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_MAXIMUMSCALINGSTEPSIZE() |
Getter for MAXIMUMSCALINGSTEPSIZE, with configurable default |
ASK_MAXIMUMSCALINGSTEPSIZE() |
Getter for MAXIMUMSCALINGSTEPSIZE w/ exceptions if field has |
HAS_MAXIMUMSCALINGSTEPSIZE() |
Determine if MAXIMUMSCALINGSTEPSIZE has a value |
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
300seconds is used.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_INSTANCEWARMUPPERIOD() |
Getter for INSTANCEWARMUPPERIOD, with configurable default |
ASK_INSTANCEWARMUPPERIOD() |
Getter for INSTANCEWARMUPPERIOD w/ exceptions if field has n |
HAS_INSTANCEWARMUPPERIOD() |
Determine if INSTANCEWARMUPPERIOD has a value |