Key |
Returned |
Description |
alarms
complex
|
when state present |
List of the CloudWatch alarms associated with the scaling policy
|
|
alarm_arn
string
|
when state present |
The Amazon Resource Name (ARN) of the alarm
|
|
alarm_name
string
|
when state present |
The name of the alarm
|
creation_time
string
|
when state present |
The Unix timestamp for when the scalable target was created.
Sample:
2017-09-28T08:22:51.881000-03:00
|
max_capacity
int
|
when state present |
The maximum value to scale to in response to a scale out event. Required if state is present .
Sample:
2
|
min_capacity
int
|
when state present |
The minimum value to scale to in response to a scale in event. Required if state is present .
Sample:
1
|
policy_arn
string
|
when state present |
The Amazon Resource Name (ARN) of the scaling policy..
|
policy_name
string
|
when state present |
The name of the scaling policy.
|
policy_type
string
|
when state present |
The policy type.
|
resource_id
string
|
when state present |
The identifier of the resource associated with the scalable target.
Sample:
service/cluster-name/service-name
|
role_arn
string
|
when state present |
The ARN of an IAM role that allows Application Auto Scaling to modify the scalable target on your behalf. Required if state is present .
Sample:
arn:aws:iam::123456789123:role/roleName
|
scalable_dimension
string
|
when state present |
The scalable dimension associated with the scalable target.
Sample:
ecs:service:DesiredCount
|
service_namespace
string
|
when state present |
The namespace of the AWS service.
Sample:
ecs
|
step_scaling_policy_configuration
complex
|
when state present and the policy type is StepScaling |
The step scaling policy.
|
|
metric_aggregation_type
string
|
when state present and the policy type is StepScaling |
The aggregation type for the CloudWatch metrics
Sample:
Average, Minimum, Maximum
|
|
cooldown
int
|
when state present and the policy type is StepScaling |
The amount of time, in seconds, after a scaling activity completes where previous trigger-related scaling activities can influence future scaling events
Sample:
60
|
|
adjustment_type
string
|
when state present and the policy type is StepScaling |
The adjustment type
Sample:
ChangeInCapacity, PercentChangeInCapacity, ExactCapacity
|
|
step_adjustments
list of complex
|
when state present and the policy type is StepScaling |
A set of adjustments that enable you to scale based on the size of the alarm breach
|
target_tracking_scaling_policy_configuration
complex
|
when state present and the policy type is TargetTrackingScaling |
The target tracking policy.
|
|
predefined_metric_specification
complex
|
when state present and the policy type is TargetTrackingScaling |
A predefined metric
|
|
|
resource_label
string
|
when metric type is ALBRequestCountPerTarget |
Identifies the resource associated with the metric type
|
|
|
predefined_metric_type
string
|
when state present and the policy type is TargetTrackingScaling |
The metric type
Sample:
ECSServiceAverageCPUUtilization, ECSServiceAverageMemoryUtilization
|
|
scale_out_cooldown
int
|
when state present and the policy type is TargetTrackingScaling |
The amount of time, in seconds, after a scale out activity completes before another scale out activity can start
Sample:
60
|
|
scale_in_cooldown
int
|
when state present and the policy type is TargetTrackingScaling |
The amount of time, in seconds, after a scale in activity completes before another scale in activity can start
Sample:
60
|
|
target_value
int
|
when state present and the policy type is TargetTrackingScaling |
The target value for the metric
Sample:
70
|