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

Class: Aws::EC2::Types::ModifyHostsRequest

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

Overview

Note:

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

{
  auto_placement: "on", # required, accepts on, off
  host_ids: ["String"], # required
}

Contains the parameters for ModifyHosts.

Instance Attribute Summary collapse

Instance Attribute Details

#auto_placementString

Specify whether to enable or disable auto-placement.

Returns:

  • (String)


16027
16028
16029
16030
16031
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 16027

class ModifyHostsRequest < Struct.new(
  :auto_placement,
  :host_ids)
  include Aws::Structure
end

#host_idsArray<String>

The host IDs of the Dedicated Hosts you want to modify.

Returns:

  • (Array<String>)


16027
16028
16029
16030
16031
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 16027

class ModifyHostsRequest < Struct.new(
  :auto_placement,
  :host_ids)
  include Aws::Structure
end