Class: Aws::EC2::Types::ModifyInstancePlacementRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::EC2::Types::ModifyInstancePlacementRequest
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-ec2/types.rb
Overview
Note:
When making an API call, you may pass ModifyInstancePlacementRequest data as a 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
-
#affinity ⇒ String
The new affinity setting for the instance.
-
#host_id ⇒ String
The ID of the Dedicated Host that the instance will have affinity with.
-
#instance_id ⇒ String
The ID of the instance that you are modifying.
-
#tenancy ⇒ String
The tenancy of the instance that you are modifying.
Instance Attribute Details
#affinity ⇒ String
The new affinity setting for the instance.
16475 16476 16477 16478 16479 16480 16481 |
# File 'lib/aws-sdk-ec2/types.rb', line 16475 class ModifyInstancePlacementRequest < Struct.new( :affinity, :host_id, :instance_id, :tenancy) include Aws::Structure end |
#host_id ⇒ String
The ID of the Dedicated Host that the instance will have affinity with.
16475 16476 16477 16478 16479 16480 16481 |
# File 'lib/aws-sdk-ec2/types.rb', line 16475 class ModifyInstancePlacementRequest < Struct.new( :affinity, :host_id, :instance_id, :tenancy) include Aws::Structure end |
#instance_id ⇒ String
The ID of the instance that you are modifying.
16475 16476 16477 16478 16479 16480 16481 |
# File 'lib/aws-sdk-ec2/types.rb', line 16475 class ModifyInstancePlacementRequest < Struct.new( :affinity, :host_id, :instance_id, :tenancy) include Aws::Structure end |
#tenancy ⇒ String
The tenancy of the instance that you are modifying.
16475 16476 16477 16478 16479 16480 16481 |
# File 'lib/aws-sdk-ec2/types.rb', line 16475 class ModifyInstancePlacementRequest < Struct.new( :affinity, :host_id, :instance_id, :tenancy) include Aws::Structure end |