Data Source schema for AWS::AutoScaling::ScalingPolicy
id
(String) Uniquely identifies the resource.adjustment_type
(String) Specifies how the scaling adjustment is interpreted. The valid values are ChangeInCapacity, ExactCapacity, and PercentChangeInCapacity.arn
(String) The ARN of the AutoScaling scaling policyauto_scaling_group_name
(String) The name of the Auto Scaling group.cooldown
(String) The duration of the policy's cooldown period, in seconds. When a cooldown period is specified here, it overrides the default cooldown period defined for the Auto Scaling group.estimated_instance_warmup
(Number) The estimated time, in seconds, until a newly launched instance can contribute to the CloudWatch metrics. If not provided, the default is to use the value from the default cooldown period for the Auto Scaling group. Valid only if the policy type is TargetTrackingScaling or StepScaling.metric_aggregation_type
(String) The aggregation type for the CloudWatch metrics. The valid values are Minimum, Maximum, and Average. If the aggregation type is null, the value is treated as Average. Valid only if the policy type is StepScaling.min_adjustment_magnitude
(Number) The minimum value to scale by when the adjustment type is PercentChangeInCapacity. For example, suppose that you create a step scaling policy to scale out an Auto Scaling group by 25 percent and you specify a MinAdjustmentMagnitude of 2. If the group has 4 instances and the scaling policy is performed, 25 percent of 4 is 1. However, because you specified a MinAdjustmentMagnitude of 2, Amazon EC2 Auto Scaling scales out the group by 2 instances.policy_name
(String)policy_type
(String) One of the following policy types: TargetTrackingScaling, StepScaling, SimpleScaling (default), PredictiveScalingpredictive_scaling_configuration
(Attributes) A predictive scaling policy. Includes support for predefined metrics only. (see below for nested schema)scaling_adjustment
(Number) The amount by which to scale, based on the specified adjustment type. A positive value adds to the current capacity while a negative number removes from the current capacity. For exact capacity, you must specify a positive value. Required if the policy type is SimpleScaling. (Not used with any other policy type.)step_adjustments
(Attributes Set) A set of adjustments that enable you to scale based on the size of the alarm breach. Required if the policy type is StepScaling. (Not used with any other policy type.) (see below for nested schema)target_tracking_configuration
(Attributes) A target tracking scaling policy. Includes support for predefined or customized metrics. (see below for nested schema)predictive_scaling_configuration
Read-Only:
max_capacity_breach_behavior
(String)max_capacity_buffer
(Number)metric_specifications
(Attributes Set) (see below for nested schema)mode
(String)scheduling_buffer_time
(Number)predictive_scaling_configuration.metric_specifications
Read-Only:
customized_capacity_metric_specification
(Attributes) (see below for nested schema)customized_load_metric_specification
(Attributes) (see below for nested schema)customized_scaling_metric_specification
(Attributes) (see below for nested schema)predefined_load_metric_specification
(Attributes) (see below for nested schema)predefined_metric_pair_specification
(Attributes) (see below for nested schema)predefined_scaling_metric_specification
(Attributes) (see below for nested schema)target_value
(Number)predictive_scaling_configuration.metric_specifications.customized_capacity_metric_specification
Read-Only:
metric_data_queries
(Attributes Set) (see below for nested schema)predictive_scaling_configuration.metric_specifications.customized_capacity_metric_specification.metric_data_queries
Read-Only:
expression
(String)id
(String)label
(String)metric_stat
(Attributes) (see below for nested schema)return_data
(Boolean)predictive_scaling_configuration.metric_specifications.customized_capacity_metric_specification.metric_data_queries.metric_stat
Read-Only:
metric
(Attributes) (see below for nested schema)stat
(String)unit
(String)predictive_scaling_configuration.metric_specifications.customized_capacity_metric_specification.metric_data_queries.metric_stat.metric
Read-Only:
dimensions
(Attributes Set) (see below for nested schema)metric_name
(String)namespace
(String)predictive_scaling_configuration.metric_specifications.customized_capacity_metric_specification.metric_data_queries.metric_stat.unit.dimensions
Read-Only:
name
(String)value
(String)predictive_scaling_configuration.metric_specifications.customized_load_metric_specification
Read-Only:
metric_data_queries
(Attributes Set) (see below for nested schema)predictive_scaling_configuration.metric_specifications.customized_load_metric_specification.metric_data_queries
Read-Only:
expression
(String)id
(String)label
(String)metric_stat
(Attributes) (see below for nested schema)return_data
(Boolean)predictive_scaling_configuration.metric_specifications.customized_load_metric_specification.metric_data_queries.metric_stat
Read-Only:
metric
(Attributes) (see below for nested schema)stat
(String)unit
(String)predictive_scaling_configuration.metric_specifications.customized_load_metric_specification.metric_data_queries.metric_stat.metric
Read-Only:
dimensions
(Attributes Set) (see below for nested schema)metric_name
(String)namespace
(String)predictive_scaling_configuration.metric_specifications.customized_load_metric_specification.metric_data_queries.metric_stat.unit.dimensions
Read-Only:
name
(String)value
(String)predictive_scaling_configuration.metric_specifications.customized_scaling_metric_specification
Read-Only:
metric_data_queries
(Attributes Set) (see below for nested schema)predictive_scaling_configuration.metric_specifications.customized_scaling_metric_specification.metric_data_queries
Read-Only:
expression
(String)id
(String)label
(String)metric_stat
(Attributes) (see below for nested schema)return_data
(Boolean)predictive_scaling_configuration.metric_specifications.customized_scaling_metric_specification.metric_data_queries.metric_stat
Read-Only:
metric
(Attributes) (see below for nested schema)stat
(String)unit
(String)predictive_scaling_configuration.metric_specifications.customized_scaling_metric_specification.metric_data_queries.metric_stat.metric
Read-Only:
dimensions
(Attributes Set) (see below for nested schema)metric_name
(String)namespace
(String)predictive_scaling_configuration.metric_specifications.customized_scaling_metric_specification.metric_data_queries.metric_stat.unit.dimensions
Read-Only:
name
(String)value
(String)predictive_scaling_configuration.metric_specifications.predefined_load_metric_specification
Read-Only:
predefined_metric_type
(String)resource_label
(String)predictive_scaling_configuration.metric_specifications.predefined_metric_pair_specification
Read-Only:
predefined_metric_type
(String)resource_label
(String)predictive_scaling_configuration.metric_specifications.predefined_scaling_metric_specification
Read-Only:
predefined_metric_type
(String)resource_label
(String)step_adjustments
Read-Only:
metric_interval_lower_bound
(Number)metric_interval_upper_bound
(Number)scaling_adjustment
(Number)target_tracking_configuration
Read-Only:
customized_metric_specification
(Attributes) (see below for nested schema)disable_scale_in
(Boolean)predefined_metric_specification
(Attributes) (see below for nested schema)target_value
(Number)target_tracking_configuration.customized_metric_specification
Read-Only:
dimensions
(Attributes Set) (see below for nested schema)metric_name
(String)namespace
(String)statistic
(String)unit
(String)target_tracking_configuration.customized_metric_specification.dimensions
Read-Only:
name
(String)value
(String)target_tracking_configuration.predefined_metric_specification
Read-Only:
predefined_metric_type
(String)resource_label
(String)