aws.autoscaling.describe_scaling_activities
Example SQL Queries
SELECT * FROMaws.autoscaling.describe_scaling_activities;Description
Gets information about the scaling activities in the account and Region.
When scaling events occur, you see a record of the scaling activity in the scaling activities. For more information, see Verify a scaling activity for an Auto Scaling group in the Amazon EC2 Auto Scaling User Guide.
If the scaling event succeeds, the value of the StatusCode element in the response is Successful. If an attempt to launch instances failed, the StatusCode value is Failed or Cancelled and the StatusMessage element in the response indicates the cause of the failure. For help interpreting the StatusMessage, see Troubleshooting Amazon EC2 Auto Scaling in the Amazon EC2 Auto Scaling User Guide.
Table Definition
| Column Name | Column Data Type |
|---|---|
| activity_ids Input Column The activity IDs of the desired scaling activities. If you omit this property, all activities for the past six weeks are described. If unknown activities are requested, they are ignored with no error. If you specify an Auto Scaling group, the results are limited to that group. Array Members: Maximum number of 50 IDs. | VARCHAR[] |
Show child fields
| |
| auto_scaling_group_name Input Column The name of the Auto Scaling group. | VARCHAR |
| include_deleted_groups Input Column Indicates whether to include scaling activity from deleted Auto Scaling groups. | BOOLEAN |
| _aws_profile Input Column The AWS profile defines the AWS identity used. It can be defined via credentials or by assuming a IAM role. | STRUCT( |
Show child fields
| |
| _aws_region Input Column The AWS region to use. | VARCHAR |
| activity_id The ID of the activity. | VARCHAR |
| auto_scaling_group_arn The Amazon Resource Name (ARN) of the Auto Scaling group. | VARCHAR |
| auto_scaling_group_state The state of the Auto Scaling group, which is either InService or Deleted. | VARCHAR |
| cause The reason the activity began. | VARCHAR |
| description A friendly, more verbose description of the activity. | VARCHAR |
| details The details about the activity. | VARCHAR |
| end_time The end time of the activity. | TIMESTAMP_S |
| progress A value between 0 and 100 that indicates the progress of the activity. | BIGINT |
| start_time The start time of the activity. | TIMESTAMP_S |
| status_code The current status of the activity. | VARCHAR |
| status_message A friendly, more verbose description of the activity status. | VARCHAR |