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 number of EC2 instances that should be running in the group.

EndTime => Str

The time for the recurring schedule to end. Amazon EC2 Auto Scaling does not perform the action after this time.

MaxSize => Int

The maximum size for the Auto Scaling group.

MinSize => Int

The minimum size for the Auto Scaling group.

Recurrence => Str

The recurring schedule for this action, in Unix cron syntax format. For more information about this format, see Crontab (http://crontab.org).

REQUIRED ScheduledActionName => Str

The name of this scaling action.

StartTime => Str

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).

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 deprecated.

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