scalable_targets
Retrieves a list of scalable_targets
in a region
Overview
Name | scalable_targets |
Type | Resource |
Description | scalable_targets |
Id | awscc.applicationautoscaling.scalable_targets |
Fields
Name | Datatype | Description |
---|---|---|
resource_id | string | The identifier of the resource associated with the scalable target |
scalable_dimension | string | The scalable dimension associated with the scalable target. This string consists of the service namespace, resource type, and scaling property |
service_namespace | string | The namespace of the AWS service that provides the resource, or a custom-resource |
region | string | AWS region. |
Methods
Currently only SELECT
is supported for this resource resource.
Example
SELECT
region,
resource_id,
scalable_dimension,
service_namespace
FROM awscc.applicationautoscaling.scalable_targets
WHERE region = 'us-east-1'
Permissions
To operate on the scalable_targets
resource, the following permissions are required:
Create
application-autoscaling:DescribeScalableTargets,
application-autoscaling:RegisterScalableTarget,
application-autoscaling:DescribeScheduledActions,
application-autoscaling:PutScheduledAction,
iam:PassRole,
iam:CreateServiceLinkedRole,
cloudwatch:PutMetricAlarm,
cloudwatch:DeleteAlarms,
cloudwatch:DescribeAlarms,
lambda:GetProvisionedConcurrencyConfig,
lambda:PutProvisionedConcurrencyConfig,
lambda:DeleteProvisionedConcurrencyConfig
List
application-autoscaling:DescribeScalableTargets