Menu
AWS CloudFormation
User Guide (API Version 2010-05-15)

Application Auto Scaling ScalableTarget ScheduledAction

The ScheduledAction property type specifies a scheduled action for an Application Auto Scaling scalable target.

The ScheduledActions property of the AWS::ApplicationAutoScaling::ScalableTarget resource contains a list of ScheduledAction property types.

Syntax

To declare this entity in your AWS CloudFormation template, use the following syntax:

JSON

Copy
{ "EndTime" : Timestamp, "ScalableTargetAction" : ScalableTargetAction, "Schedule" : String, "ScheduledActionName" : String, "StartTime" : Timestamp }

Properties

EndTime

The date and time that the action is scheduled to end.

Required: No

Type: Timestamp

Update requires: No interruption

ScalableTargetAction

The new minimum and maximum capacity. You can set both values or just one. During the scheduled time, if the current capacity is below the minimum capacity, Application Auto Scaling scales out to the minimum capacity. If the current capacity is above the maximum capacity, Application Auto Scaling scales in to the maximum capacity.

Required: No

Type: Application Auto Scaling ScalableTarget ScalableTargetAction

Update requires: No interruption

Schedule

The schedule for this action. The following formats are supported:

  • At expressions - at(yyyy-mm-ddThh:mm:ss)

    At expressions are useful for one-time schedules. Specify the time in UTC.

  • Rate expressions - rate(value unit)

    For rate expressions, value is a positive integer, and unit is minute, minutes, hour, hours, day, or days.

  • Cron expressions - cron(fields)

    For more information about cron expressions, see Cron.

For constraints, see the ScheduledAction data type in the Application Auto Scaling API Reference.

Required: Yes

Type: String

Update requires: No interruption

ScheduledActionName

The name of the scheduled action. For constraints, see the ScheduledAction data type in the Application Auto Scaling API Reference.

Required: Yes

Type: String

Update requires: No interruption

StartTime

The date and time that the action is scheduled to begin.

Required: No

Type: Timestamp

Update requires: No interruption

See Also

On this page: