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

Class: Aws::AutoScaling::Types::SetInstanceProtectionQuery

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

Overview

Note:

When making an API call, you may pass SetInstanceProtectionQuery data as a hash:

{
  instance_ids: ["XmlStringMaxLen19"], # required
  auto_scaling_group_name: "ResourceName", # required
  protected_from_scale_in: false, # required
}

Contains the parameters for SetInstanceProtection.

Instance Attribute Summary collapse

Instance Attribute Details

#auto_scaling_group_nameString

The name of the group.

Returns:

  • (String)


3810
3811
3812
3813
3814
3815
# File 'gems/aws-sdk-autoscaling/lib/aws-sdk-autoscaling/types.rb', line 3810

class SetInstanceProtectionQuery < Struct.new(
  :instance_ids,
  :auto_scaling_group_name,
  :protected_from_scale_in)
  include Aws::Structure
end

#instance_idsArray<String>

One or more instance IDs.

Returns:

  • (Array<String>)


3810
3811
3812
3813
3814
3815
# File 'gems/aws-sdk-autoscaling/lib/aws-sdk-autoscaling/types.rb', line 3810

class SetInstanceProtectionQuery < Struct.new(
  :instance_ids,
  :auto_scaling_group_name,
  :protected_from_scale_in)
  include Aws::Structure
end

#protected_from_scale_inBoolean

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

Returns:

  • (Boolean)


3810
3811
3812
3813
3814
3815
# File 'gems/aws-sdk-autoscaling/lib/aws-sdk-autoscaling/types.rb', line 3810

class SetInstanceProtectionQuery < Struct.new(
  :instance_ids,
  :auto_scaling_group_name,
  :protected_from_scale_in)
  include Aws::Structure
end