Skip to main content

scaling_policies_list_only

Lists scaling_policies in a region or regions, for all properties use scaling_policies

Overview

Namescaling_policies_list_only
TypeResource
DescriptionResource Type definition for AWS::ApplicationAutoScaling::ScalingPolicy
Idaws.applicationautoscaling.scaling_policies_list_only

Fields

NameDatatypeDescription
policy_namestringThe name of the scaling policy.
Updates to the name of a target tracking scaling policy are not supported, unless you also update the metric used for scaling. To change only a target tracking scaling policy's name, first delete the policy by removing the existing AWS::ApplicationAutoScaling::ScalingPolicy resource from the template and updating the stack. Then, recreate the resource with the same settings and a different name.
policy_typestringThe scaling policy type.
The following policy types are supported:
TargetTrackingScaling Not supported for Amazon EMR
StepScaling Not supported for DynamoDB, Amazon Comprehend, Lambda, Amazon Keyspaces, Amazon MSK, Amazon ElastiCache, or Neptune.
resource_idstringThe identifier of the resource associated with the scaling policy. This string consists of the resource type and unique identifier.
scalable_dimensionstringThe scalable dimension. This string consists of the service namespace, resource type, and scaling property.
scaling_target_idstringThe CloudFormation-generated ID of an Application Auto Scaling scalable target. For more information about the ID, see the Return Value section of the AWS::ApplicationAutoScaling::ScalableTarget resource.
service_namespacestringThe namespace of the AWS service that provides the resource, or a custom-resource.
step_scaling_policy_configurationobjectA step scaling policy.
target_tracking_scaling_policy_configurationobjectA target tracking scaling policy.
arnstringARN is a read only property for the resource.
regionstringAWS region.

Methods

NameAccessible byRequired Params
list_resourcesSELECTregion

SELECT examples

Lists all scaling_policies in a region.

SELECT
region,
arn,
scalable_dimension
FROM aws.applicationautoscaling.scaling_policies_list_only
WHERE region = 'us-east-1';

Permissions

For permissions required to operate on the scaling_policies_list_only resource, see scaling_policies