NAME
Paws::AutoScaling::PutScheduledUpdateGroupAction - Arguments for method PutScheduledUpdateGroupAction on Paws::AutoScaling
DESCRIPTION
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.
SYNOPSIS
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
ATTRIBUTES
REQUIRED AutoScalingGroupName => Str
The name of the Auto Scaling group.
DesiredCapacity => Int
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.
EndTime => Str
The date and time for the recurring schedule to end, in UTC.
MaxSize => Int
The maximum size of the Auto Scaling group.
MinSize => Int
The minimum size of the Auto Scaling group.
Recurrence => Str
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).
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.
REQUIRED ScheduledActionName => Str
The name of this scaling action.
StartTime => Str
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.
Time => Str
This parameter is no longer used.
TimeZone => Str
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).
SEE ALSO
This class forms part of Paws, documenting arguments for method PutScheduledUpdateGroupAction in Paws::AutoScaling
BUGS and CONTRIBUTIONS
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