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

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

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing ModifyHostsRequest as input to an Aws::Client method, you can use a vanilla 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.

Possible values:

  • on
  • off

Returns:

  • (String)

    Specify whether to enable or disable auto-placement.

#host_idsArray<String>

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

Returns:

  • (Array<String>)

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