scheduled_action
Gets an individual scheduled_action
resource
Overview
Name | scheduled_action |
Type | Resource |
Description | scheduled_action |
Id | awscc.autoscaling.scheduled_action |
Fields
Name | Datatype | Description |
---|---|---|
scheduled_action_name | string | Auto-generated unique identifier |
min_size | integer | The minimum size of the Auto Scaling group. |
recurrence | string | The recurring schedule for the action, in Unix cron syntax format. When StartTime and EndTime are specified with Recurrence , they form the boundaries of when the recurring action starts and stops. |
time_zone | string | The time zone for the cron expression. |
end_time | string | The latest scheduled start time to return. If scheduled action names are provided, this parameter is ignored. |
auto_scaling_group_name | string | The name of the Auto Scaling group. |
start_time | string | The earliest scheduled start time to return. If scheduled action names are provided, this parameter is ignored. |
desired_capacity | integer | The desired capacity is the initial capacity of the Auto Scaling group after the scheduled action runs and the capacity it attempts to maintain. |
max_size | integer | The minimum size of the Auto Scaling group. |
region | string | AWS region. |
Methods
Currently only SELECT
is supported for this resource resource.
Example
SELECT
region,
scheduled_action_name,
min_size,
recurrence,
time_zone,
end_time,
auto_scaling_group_name,
start_time,
desired_capacity,
max_size
FROM awscc.autoscaling.scheduled_action
WHERE data__Identifier = '<ScheduledActionName>|<AutoScalingGroupName>';
Permissions
To operate on the scheduled_action
resource, the following permissions are required:
Read
autoscaling:DescribeScheduledActions
Update
autoscaling:PutScheduledUpdateGroupAction
Delete
autoscaling:DeleteScheduledAction,
autoscaling:DescribeScheduledActions