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 number of EC2 instances that should be running in the group.
The time for the recurring schedule to end. Amazon EC2 Auto Scaling does not perform the action after this time.
The maximum size for the Auto Scaling group.
The minimum size for the Auto Scaling group.
The recurring schedule for this action, in Unix cron syntax format. For more information about this format, see Crontab (http://crontab.org).
The name of this scaling action.
The time for this action to start, in "YYYY-MM-DDThh:mm:ssZ" format in UTC/GMT only (for example, 2014-06-01T00:00:00Z).
2014-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.
Recurrence
StartTime
If you try to schedule your action in the past, Amazon EC2 Auto Scaling returns an error message.
This parameter is deprecated.
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::SDK::Config, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Paws::SDK::Config
CPAN shell
perl -MCPAN -e shell install Paws::SDK::Config
For more information on module installation, please visit the detailed CPAN module installation guide.