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)


25377
25378
25379
25380
25381
# File 'lib/aws-sdk-ec2/types.rb', line 25377

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>)


25377
25378
25379
25380
25381
# File 'lib/aws-sdk-ec2/types.rb', line 25377

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