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

Class: Aws::AutoScaling::Types::Activity

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

Overview

Describes scaling activity, which is a long-running process that represents a change to your Auto Scaling group, such as changing its size or replacing an instance.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#activity_id ⇒ String

The ID of the activity.

Returns:

  • (String) —

    The ID of the activity.

#auto_scaling_group_name ⇒ String

The name of the Auto Scaling group.

Returns:

  • (String) —

    The name of the Auto Scaling group.

#cause ⇒ String

The reason the activity began.

Returns:

  • (String) —

    The reason the activity began.

#description ⇒ String

A friendly, more verbose description of the activity.

Returns:

  • (String) —

    A friendly, more verbose description of the activity.

#details ⇒ String

The details about the activity.

Returns:

  • (String) —

    The details about the activity.

#end_time ⇒ Time

The end time of the activity.

Returns:

  • (Time) —

    The end time of the activity.

#progress ⇒ Integer

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_time ⇒ Time

The start time of the activity.

Returns:

  • (Time) —

    The start time of the activity.

#status_code ⇒ String

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_message ⇒ String

A friendly, more verbose description of the activity status.

Returns:

  • (String) —

    A friendly, more verbose description of the activity status.