You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::AutoScaling::Types::PutScheduledUpdateGroupActionType

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing PutScheduledUpdateGroupActionType as input to an Aws::Client method, you can use a vanilla Hash:

{
  auto_scaling_group_name: "ResourceName", # 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,
}

Instance Attribute Summary collapse

Instance Attribute Details

#auto_scaling_group_nameString

The name of the Auto Scaling group.

Returns:

  • (String)

    The name of the Auto Scaling group.

#desired_capacityInteger

The number of EC2 instances that should be running in the group.

Returns:

  • (Integer)

    The number of EC2 instances that should be running in the group.

#end_timeTime

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

Returns:

  • (Time)

    The time for the recurring schedule to end.

#max_sizeInteger

The maximum size for the Auto Scaling group.

Returns:

  • (Integer)

    The maximum size for the Auto Scaling group.

#min_sizeInteger

The minimum size for the Auto Scaling group.

Returns:

  • (Integer)

    The minimum size for the Auto Scaling group.

#recurrenceString

The recurring schedule for this action, in Unix cron syntax format. For more information, see Cron in Wikipedia.

Returns:

  • (String)

    The recurring schedule for this action, in Unix cron syntax format.

#scheduled_action_nameString

The name of this scaling action.

Returns:

  • (String)

    The name of this scaling action.

#start_timeTime

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, 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, Auto Scaling returns an error message.

Returns:

  • (Time)

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

#timeTime

This parameter is deprecated.

Returns:

  • (Time)

    This parameter is deprecated.