Class: Aws::AutoScaling::Types::TerminateInstanceInAutoScalingGroupType

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

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#auto_scaling_group_name ⇒ String

The name of the Auto Scaling group. Required when using InstanceIds.

Returns:

  • (String)


8710
8711
8712
8713
8714
8715
8716
8717
# File 'gems/aws-sdk-autoscaling/lib/aws-sdk-autoscaling/types.rb', line 8710

class TerminateInstanceInAutoScalingGroupType < Struct.new(
  :instance_id,
  :instance_ids,
  :auto_scaling_group_name,
  :should_decrement_desired_capacity)
  SENSITIVE = []
  include Aws::Structure
end

#instance_id ⇒ String

The ID of the instance.

Returns:

  • (String)


8710
8711
8712
8713
8714
8715
8716
8717
# File 'gems/aws-sdk-autoscaling/lib/aws-sdk-autoscaling/types.rb', line 8710

class TerminateInstanceInAutoScalingGroupType < Struct.new(
  :instance_id,
  :instance_ids,
  :auto_scaling_group_name,
  :should_decrement_desired_capacity)
  SENSITIVE = []
  include Aws::Structure
end

#instance_ids ⇒ Array<String>

The IDs of the instances. You can specify up to 100 instances.

This parameter requires that you also specify AutoScalingGroupName.

Returns:

  • (Array<String>)


8710
8711
8712
8713
8714
8715
8716
8717
# File 'gems/aws-sdk-autoscaling/lib/aws-sdk-autoscaling/types.rb', line 8710

class TerminateInstanceInAutoScalingGroupType < Struct.new(
  :instance_id,
  :instance_ids,
  :auto_scaling_group_name,
  :should_decrement_desired_capacity)
  SENSITIVE = []
  include Aws::Structure
end

#should_decrement_desired_capacity ⇒ Boolean

Indicates whether terminating the instance also decrements the size of the Auto Scaling group.

Returns:

  • (Boolean)


8710
8711
8712
8713
8714
8715
8716
8717
# File 'gems/aws-sdk-autoscaling/lib/aws-sdk-autoscaling/types.rb', line 8710

class TerminateInstanceInAutoScalingGroupType < Struct.new(
  :instance_id,
  :instance_ids,
  :auto_scaling_group_name,
  :should_decrement_desired_capacity)
  SENSITIVE = []
  include Aws::Structure
end