AWS::AutoScaling::ScheduledActionThe AWS::AutoScaling::ScheduledAction resource specifies an Amazon EC2 Auto Scaling scheduled action so that the Auto Scaling group can change the number of instances available for your application in response to predictable load changes.
8 configurable properties. 1 required. Click a row to see details.
| Property | Type | Flags |
|---|---|---|
AutoScalingGroupName | string | RequiredCreate-only |
DesiredCapacity | integer | |
EndTime | string | |
MaxSize | integer | |
MinSize | integer | |
Recurrence | string | |
StartTime | string | |
TimeZone | string |
Values returned after the resource is created. Access these with Fn::GetAtt.
| Attribute | Type | Description |
|---|---|---|
ScheduledActionName | string | Auto-generated unique identifier |
A minimal template with required properties and common optional ones.
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::AutoScaling::ScheduledAction
Resources:
MyResource:
Type: AWS::AutoScaling::ScheduledAction
Properties:
AutoScalingGroupName: "my-autoscalinggroupname"Permissions CloudFormation needs in your IAM role to manage this resource.
autoscaling:PutScheduledUpdateGroupActionautoscaling:DescribeScheduledActionsautoscaling:DescribeScheduledActionsautoscaling:PutScheduledUpdateGroupActionautoscaling:DeleteScheduledActionautoscaling:DescribeScheduledActionsautoscaling:DescribeScheduledActionsOur bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to NewsletterScheduledActionNameThese properties cannot be changed after the resource is created. Updating them triggers a replacement.
AutoScalingGroupName