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

Class: Aws::EC2::Types::ModifyInstancePlacementRequest

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

Overview

Note:

When passing ModifyInstancePlacementRequest as input to an Aws::Client method, you can use a vanilla Hash:

{
  affinity: "default", # accepts default, host
  host_id: "String",
  instance_id: "String", # required
  tenancy: "dedicated", # accepts dedicated, host
}

Contains the parameters for ModifyInstancePlacement.

Instance Attribute Summary collapse

Instance Attribute Details

#affinityString

The new affinity setting for the instance.

Possible values:

  • default
  • host

Returns:

  • (String)

    The new affinity setting for the instance.

#host_idString

The ID of the Dedicated Host that the instance will have affinity with.

Returns:

  • (String)

    The ID of the Dedicated Host that the instance will have affinity with.

#instance_idString

The ID of the instance that you are modifying.

Returns:

  • (String)

    The ID of the instance that you are modifying.

#tenancyString

The tenancy of the instance that you are modifying.

Possible values:

  • dedicated
  • host

Returns:

  • (String)

    The tenancy of the instance that you are modifying.