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
{ "EndTime" :Timestamp, "ScalableTargetAction" : ScalableTargetAction, "Schedule" :String, "ScheduledActionName" :String, "StartTime" :Timestamp}
YAML
EndTime:TimestampScalableTargetAction: ScalableTargetAction Schedule:StringScheduledActionName:StringStartTime: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: 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(valueunit)For rate expressions,
is a positive integer, andvalueisunitminute,minutes,hour,hours,day, ordays. -
Cron expressions -
cron(fields)For more information about cron expressions, see Cron Expressions in the Amazon CloudWatch Events User Guide.
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
-
ScheduledAction data type in the Application Auto Scaling API Reference
