Paws::AutoScaling::PutScheduledUpdateGroupAction - Arguments for method PutScheduledUpdateGroupAction on Paws::AutoScaling
This class represents the parameters used for calling the method PutScheduledUpdateGroupAction on the Auto Scaling service. Use the attributes of this class as arguments to method PutScheduledUpdateGroupAction.
You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to PutScheduledUpdateGroupAction.
my $autoscaling = Paws->service('AutoScaling'); # To add a scheduled action to an Auto Scaling group # This example adds the specified scheduled action to the specified Auto Scaling # group. $autoscaling->PutScheduledUpdateGroupAction( 'AutoScalingGroupName' => 'my-auto-scaling-group', 'DesiredCapacity' => 4, 'EndTime' => '2014-05-12T08:00:00Z', 'MaxSize' => 6, 'MinSize' => 2, 'ScheduledActionName' => 'my-scheduled-action', 'StartTime' => '2014-05-12T08:00:00Z' );
Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see https://docs.aws.amazon.com/goto/WebAPI/autoscaling/PutScheduledUpdateGroupAction
The name of the Auto Scaling group.
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.
The date and time for the recurring schedule to end, in UTC.
The maximum size of the Auto Scaling group.
The minimum size of the Auto Scaling group.
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 (http://crontab.org).
"30 0 1 1,6,12 *"
When StartTime and EndTime are specified with Recurrence, they form the boundaries of when the recurring action starts and stops.
StartTime
EndTime
Recurrence
Cron expressions use Universal Coordinated Time (UTC) by default.
The name of this scaling action.
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").
"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.
This parameter is no longer used.
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 (https://en.wikipedia.org/wiki/List_of_tz_database_time_zones).
Etc/GMT+9
Pacific/Tahiti
This class forms part of Paws, documenting arguments for method PutScheduledUpdateGroupAction in Paws::AutoScaling
The source code is located here: https://github.com/pplu/aws-sdk-perl
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
To install Paws, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Paws
CPAN shell
perl -MCPAN -e shell install Paws
For more information on module installation, please visit the detailed CPAN module installation guide.