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

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

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#auto_scaling_group_nameString

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

Returns:

  • (String)


8416
8417
8418
8419
8420
8421
8422
8423
# File 'lib/aws-sdk-autoscaling/types.rb', line 8416

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

#instance_idString

The ID of the instance.

Returns:

  • (String)


8416
8417
8418
8419
8420
8421
8422
8423
# File 'lib/aws-sdk-autoscaling/types.rb', line 8416

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

#instance_idsArray<String>

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

This parameter requires that you also specify AutoScalingGroupName.

Returns:

  • (Array<String>)


8416
8417
8418
8419
8420
8421
8422
8423
# File 'lib/aws-sdk-autoscaling/types.rb', line 8416

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

#should_decrement_desired_capacityBoolean

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

Returns:

  • (Boolean)


8416
8417
8418
8419
8420
8421
8422
8423
# File 'lib/aws-sdk-autoscaling/types.rb', line 8416

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