class Aws::AutoScaling::Types::PutScheduledUpdateGroupActionType
@note When making an API call, you may pass PutScheduledUpdateGroupActionType
data as a hash: { auto_scaling_group_name: "XmlStringMaxLen255", # required scheduled_action_name: "XmlStringMaxLen255", # required time: Time.now, start_time: Time.now, end_time: Time.now, recurrence: "XmlStringMaxLen255", min_size: 1, max_size: 1, desired_capacity: 1, time_zone: "XmlStringMaxLen255", }
@!attribute [rw] auto_scaling_group_name
The name of the Auto Scaling group. @return [String]
@!attribute [rw] scheduled_action_name
The name of this scaling action. @return [String]
@!attribute [rw] time
This parameter is no longer used. @return [Time]
@!attribute [rw] start_time
The date and time for this action to start, in YYYY-MM-DDThh:mm:ssZ format in UTC/GMT only and in quotes (for example, `"2019-06-01T00:00:00Z"`). If you specify `Recurrence` and `StartTime`, Amazon EC2 Auto Scaling performs the action at this time, and then performs the action based on the specified recurrence. If you try to schedule your action in the past, Amazon EC2 Auto Scaling returns an error message. @return [Time]
@!attribute [rw] end_time
The date and time for the recurring schedule to end, in UTC. @return [Time]
@!attribute [rw] recurrence
The recurring schedule for this action. 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, `"30 0 1 1,6,12 *"`). For more information about this format, see [Crontab][1]. When `StartTime` and `EndTime` are specified with `Recurrence`, they form the boundaries of when the recurring action starts and stops. Cron expressions use Universal Coordinated Time (UTC) by default. [1]: http://crontab.org @return [String]
@!attribute [rw] min_size
The minimum size of the Auto Scaling group. @return [Integer]
@!attribute [rw] max_size
The maximum size of the Auto Scaling group. @return [Integer]
@!attribute [rw] desired_capacity
The desired capacity is the initial capacity of the Auto Scaling group after the scheduled action runs and the capacity it attempts to maintain. It can scale beyond this capacity if you add more scaling conditions. @return [Integer]
@!attribute [rw] time_zone
Specifies the time zone for a cron expression. If a time zone is not provided, UTC is used by default. Valid values are the canonical names of the IANA time zones, derived from the IANA Time Zone Database (such as `Etc/GMT+9` or `Pacific/Tahiti`). For more information, see [https://en.wikipedia.org/wiki/List\_of\_tz\_database\_time\_zones][1]. [1]: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones @return [String]
@see docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/PutScheduledUpdateGroupActionType AWS API Documentation
Constants
- SENSITIVE