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

Class: Aws::AutoScaling::Activity

Inherits:
Resources::Resource show all
Defined in:
(unknown)

Instance Attribute Summary collapse

Attributes inherited from Resources::Resource

#client, #identifiers

Instance Method Summary collapse

Methods inherited from Resources::Resource

add_data_attribute, add_identifier, #data, data_attributes, #data_loaded?, identifiers, #load, #wait_until

Methods included from Resources::OperationMethods

#add_batch_operation, #add_operation, #batch_operation, #batch_operation_names, #batch_operations, #operation, #operation_names, #operations

Constructor Details

#initialize(id, options = {}) ⇒ Object #initialize(options = {}) ⇒ Object

Overloads:

  • #initialize(id, options = {}) ⇒ Object

    Parameters:

    • id (String)

    Options Hash (options):

    • :client (Client)

      When `:client is not given, the options hash is used to construct a new Client object.

  • #initialize(options = {}) ⇒ Object

    Options Hash (options):

    • :id (required, String)
    • :client (Client)

      When `:client is not given, the options hash is used to construct a new Client object.

Instance Attribute Details

#activity_idString (readonly)

The ID of the activity.

Returns:

  • (String)

    The ID of the activity.

#auto_scaling_group_nameString (readonly)

The name of the Auto Scaling group.

Returns:

  • (String)

    The name of the Auto Scaling group.

#causeString (readonly)

The reason the activity began.

Returns:

  • (String)

    The reason the activity began.

#descriptionString (readonly)

A friendly, more verbose description of the activity.

Returns:

  • (String)

    A friendly, more verbose description of the activity.

#detailsString (readonly)

The details about the activity.

Returns:

  • (String)

    The details about the activity.

#end_timeTime (readonly)

The end time of the activity.

Returns:

  • (Time)

    The end time of the activity.

#idString (readonly)

Returns:

  • (String)

#progressInteger (readonly)

A value between 0 and 100 that indicates the progress of the activity.

Returns:

  • (Integer)

    A value between 0 and 100 that indicates the progress of the activity.

#start_timeTime (readonly)

The start time of the activity.

Returns:

  • (Time)

    The start time of the activity.

#status_codeString (readonly)

The current status of the activity.

Possible values:

  • PendingSpotBidPlacement
  • WaitingForSpotInstanceRequestId
  • WaitingForSpotInstanceId
  • WaitingForInstanceId
  • PreInService
  • InProgress
  • WaitingForELBConnectionDraining
  • MidLifecycleAction
  • WaitingForInstanceWarmup
  • Successful
  • Failed
  • Cancelled

Returns:

  • (String)

    The current status of the activity.

#status_messageString (readonly)

A friendly, more verbose description of the activity status.

Returns:

  • (String)

    A friendly, more verbose description of the activity status.

Instance Method Details

#groupAutoScalingGroup?

Returns: