v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-14130373603.9 KB

Creates or updates one or more scheduled scaling actions for an Auto Scaling group.

get/#Action=BatchPutScheduledUpdateGroupAction

Query parameters

AutoScalingGroupNamestring required

The name of the Auto Scaling group.

ScheduledActionNamestring required

The name of the scaling action.

StartTimestring date-time
<p>The date and time for the action to start, in YYYY-MM-DDThh:mm:ssZ format in UTC/GMT only and in quotes (for example, <code>"2019-06-01T00:00:00Z"</code>).</p> <p>If you specify <code>Recurrence</code> and <code>StartTime</code>, Amazon EC2 Auto Scaling performs the action at this time, and then performs the action based on the specified recurrence.</p> <p>If you try to schedule the action in the past, Amazon EC2 Auto Scaling returns an error message.</p>
EndTimestring date-time

The date and time for the recurring schedule to end, in UTC.

Recurrencestring
<p>The recurring schedule for the action, in Unix cron syntax format. This format consists of five fields separated by white spaces: [Minute] [Hour] [Day_of_Month] [Month_of_Year] [Day_of_Week]. The value must be in quotes (for example, <code>"30 0 1 1,6,12 *"</code>). For more information about this format, see <a href="http://crontab.org">Crontab</a>.</p> <p>When <code>StartTime</code> and <code>EndTime</code> are specified with <code>Recurrence</code>, they form the boundaries of when the recurring action starts and stops.</p> <p>Cron expressions use Universal Coordinated Time (UTC) by default.</p>
MinSizeinteger

The minimum size of the Auto Scaling group.

MaxSizeinteger

The maximum size of the Auto Scaling group.

DesiredCapacityinteger

The desired capacity is the initial capacity of the Auto Scaling group after the scheduled action runs and the capacity it attempts to maintain.

TimeZonestring
<p>Specifies the time zone for a cron expression. If a time zone is not provided, UTC is used by default. </p> <p>Valid values are the canonical names of the IANA time zones, derived from the IANA Time Zone Database (such as <code>Etc/GMT+9</code> or <code>Pacific/Tahiti</code>). For more information, see <a href="https://en.wikipedia.org/wiki/List_of_tz_database_time_zones">https://en.wikipedia.org/wiki/List_of_tz_database_time_zones</a>.</p>

One or more scheduled actions. The maximum number allowed is 50.

Action'BatchPutScheduledUpdateGroupAction' required
Version'2011-01-01' required

Response

Success