Class: Aws::AutoScaling::Types::AutoScalingInstanceDetails

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-autoscaling/types.rb

Overview

Describes an EC2 instance associated with an Auto Scaling group.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#auto_scaling_group_nameString

The name of the Auto Scaling group for the instance.

Returns:

  • (String)


646
647
648
649
650
651
652
653
654
655
656
657
658
659
# File 'lib/aws-sdk-autoscaling/types.rb', line 646

class AutoScalingInstanceDetails < Struct.new(
  :instance_id,
  :instance_type,
  :auto_scaling_group_name,
  :availability_zone,
  :lifecycle_state,
  :health_status,
  :launch_configuration_name,
  :launch_template,
  :protected_from_scale_in,
  :weighted_capacity)
  SENSITIVE = []
  include Aws::Structure
end

#availability_zoneString

The Availability Zone for the instance.

Returns:

  • (String)


646
647
648
649
650
651
652
653
654
655
656
657
658
659
# File 'lib/aws-sdk-autoscaling/types.rb', line 646

class AutoScalingInstanceDetails < Struct.new(
  :instance_id,
  :instance_type,
  :auto_scaling_group_name,
  :availability_zone,
  :lifecycle_state,
  :health_status,
  :launch_configuration_name,
  :launch_template,
  :protected_from_scale_in,
  :weighted_capacity)
  SENSITIVE = []
  include Aws::Structure
end

#health_statusString

The last reported health status of this instance. ‘Healthy` means that the instance is healthy and should remain in service. `Unhealthy` means that the instance is unhealthy and Amazon EC2 Auto Scaling should terminate and replace it.

Returns:

  • (String)


646
647
648
649
650
651
652
653
654
655
656
657
658
659
# File 'lib/aws-sdk-autoscaling/types.rb', line 646

class AutoScalingInstanceDetails < Struct.new(
  :instance_id,
  :instance_type,
  :auto_scaling_group_name,
  :availability_zone,
  :lifecycle_state,
  :health_status,
  :launch_configuration_name,
  :launch_template,
  :protected_from_scale_in,
  :weighted_capacity)
  SENSITIVE = []
  include Aws::Structure
end

#instance_idString

The ID of the instance.

Returns:

  • (String)


646
647
648
649
650
651
652
653
654
655
656
657
658
659
# File 'lib/aws-sdk-autoscaling/types.rb', line 646

class AutoScalingInstanceDetails < Struct.new(
  :instance_id,
  :instance_type,
  :auto_scaling_group_name,
  :availability_zone,
  :lifecycle_state,
  :health_status,
  :launch_configuration_name,
  :launch_template,
  :protected_from_scale_in,
  :weighted_capacity)
  SENSITIVE = []
  include Aws::Structure
end

#instance_typeString

The instance type of the EC2 instance.

Returns:

  • (String)


646
647
648
649
650
651
652
653
654
655
656
657
658
659
# File 'lib/aws-sdk-autoscaling/types.rb', line 646

class AutoScalingInstanceDetails < Struct.new(
  :instance_id,
  :instance_type,
  :auto_scaling_group_name,
  :availability_zone,
  :lifecycle_state,
  :health_status,
  :launch_configuration_name,
  :launch_template,
  :protected_from_scale_in,
  :weighted_capacity)
  SENSITIVE = []
  include Aws::Structure
end

#launch_configuration_nameString

The launch configuration used to launch the instance. This value is not available if you attached the instance to the Auto Scaling group.

Returns:

  • (String)


646
647
648
649
650
651
652
653
654
655
656
657
658
659
# File 'lib/aws-sdk-autoscaling/types.rb', line 646

class AutoScalingInstanceDetails < Struct.new(
  :instance_id,
  :instance_type,
  :auto_scaling_group_name,
  :availability_zone,
  :lifecycle_state,
  :health_status,
  :launch_configuration_name,
  :launch_template,
  :protected_from_scale_in,
  :weighted_capacity)
  SENSITIVE = []
  include Aws::Structure
end

#launch_templateTypes::LaunchTemplateSpecification

The launch template for the instance.



646
647
648
649
650
651
652
653
654
655
656
657
658
659
# File 'lib/aws-sdk-autoscaling/types.rb', line 646

class AutoScalingInstanceDetails < Struct.new(
  :instance_id,
  :instance_type,
  :auto_scaling_group_name,
  :availability_zone,
  :lifecycle_state,
  :health_status,
  :launch_configuration_name,
  :launch_template,
  :protected_from_scale_in,
  :weighted_capacity)
  SENSITIVE = []
  include Aws::Structure
end

#lifecycle_stateString

The lifecycle state for the instance. The ‘Quarantined` state is not used. For information about lifecycle states, see [Instance lifecycle] in the *Amazon EC2 Auto Scaling User Guide*.

Valid values: ‘Pending` | `Pending:Wait` | `Pending:Proceed` | `Quarantined` | `InService` | `Terminating` | `Terminating:Wait` | `Terminating:Proceed` | `Terminated` | `Detaching` | `Detached` | `EnteringStandby` | `Standby` | `Warmed:Pending` | `Warmed:Pending:Wait` | `Warmed:Pending:Proceed` | `Warmed:Terminating` | `Warmed:Terminating:Wait` | `Warmed:Terminating:Proceed` | `Warmed:Terminated` | `Warmed:Stopped` | `Warmed:Running`

[1]: docs.aws.amazon.com/autoscaling/ec2/userguide/AutoScalingGroupLifecycle.html

Returns:

  • (String)


646
647
648
649
650
651
652
653
654
655
656
657
658
659
# File 'lib/aws-sdk-autoscaling/types.rb', line 646

class AutoScalingInstanceDetails < Struct.new(
  :instance_id,
  :instance_type,
  :auto_scaling_group_name,
  :availability_zone,
  :lifecycle_state,
  :health_status,
  :launch_configuration_name,
  :launch_template,
  :protected_from_scale_in,
  :weighted_capacity)
  SENSITIVE = []
  include Aws::Structure
end

#protected_from_scale_inBoolean

Indicates whether the instance is protected from termination by Amazon EC2 Auto Scaling when scaling in.

Returns:

  • (Boolean)


646
647
648
649
650
651
652
653
654
655
656
657
658
659
# File 'lib/aws-sdk-autoscaling/types.rb', line 646

class AutoScalingInstanceDetails < Struct.new(
  :instance_id,
  :instance_type,
  :auto_scaling_group_name,
  :availability_zone,
  :lifecycle_state,
  :health_status,
  :launch_configuration_name,
  :launch_template,
  :protected_from_scale_in,
  :weighted_capacity)
  SENSITIVE = []
  include Aws::Structure
end

#weighted_capacityString

The number of capacity units contributed by the instance based on its instance type.

Valid Range: Minimum value of 1. Maximum value of 999.

Returns:

  • (String)


646
647
648
649
650
651
652
653
654
655
656
657
658
659
# File 'lib/aws-sdk-autoscaling/types.rb', line 646

class AutoScalingInstanceDetails < Struct.new(
  :instance_id,
  :instance_type,
  :auto_scaling_group_name,
  :availability_zone,
  :lifecycle_state,
  :health_status,
  :launch_configuration_name,
  :launch_template,
  :protected_from_scale_in,
  :weighted_capacity)
  SENSITIVE = []
  include Aws::Structure
end