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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
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
}

Instance Attribute Summary collapse

Instance Attribute Details

#auto_placementString

Specify whether to enable or disable auto-placement.

Returns:

  • (String)


25203
25204
25205
25206
25207
# File 'lib/aws-sdk-ec2/types.rb', line 25203

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

#host_idsArray<String>

The IDs of the Dedicated Hosts to modify.

Returns:

  • (Array<String>)


25203
25204
25205
25206
25207
# File 'lib/aws-sdk-ec2/types.rb', line 25203

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