Skip to main content

scheduled_action

Gets an individual scheduled_action resource

Overview

Namescheduled_action
TypeResource
Descriptionscheduled_action
Idawscc.autoscaling.scheduled_action

Fields

NameDatatypeDescription
scheduled_action_namestringAuto-generated unique identifier
min_sizeintegerThe minimum size of the Auto Scaling group.
recurrencestringThe 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_zonestringThe time zone for the cron expression.
end_timestringThe latest scheduled start time to return. If scheduled action names are provided, this parameter is ignored.
auto_scaling_group_namestringThe name of the Auto Scaling group.
start_timestringThe earliest scheduled start time to return. If scheduled action names are provided, this parameter is ignored.
desired_capacityintegerThe desired capacity is the initial capacity of the Auto Scaling group after the scheduled action runs and the capacity it attempts to maintain.
max_sizeintegerThe minimum size of the Auto Scaling group.
regionstringAWS 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