Class: Aws::EC2::Types::Placement
- Inherits:
-
Struct
- Object
- Struct
- Aws::EC2::Types::Placement
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-ec2/types.rb
Overview
When making an API call, you may pass Placement data as a hash:
{
availability_zone: "String",
affinity: "String",
group_name: "String",
partition_number: 1,
host_id: "String",
tenancy: "default", # accepts default, dedicated, host
spread_domain: "String",
}
Describes the placement of an instance.
Instance Attribute Summary collapse
-
#affinity ⇒ String
The affinity setting for the instance on the Dedicated Host.
-
#availability_zone ⇒ String
The Availability Zone of the instance.
-
#group_name ⇒ String
The name of the placement group the instance is in.
-
#host_id ⇒ String
The ID of the Dedicated Host on which the instance resides.
-
#partition_number ⇒ Integer
The number of the partition the instance is in.
-
#spread_domain ⇒ String
Reserved for future use.
-
#tenancy ⇒ String
The tenancy of the instance (if the instance is running in a VPC).
Instance Attribute Details
#affinity ⇒ String
The affinity setting for the instance on the Dedicated Host. This parameter is not supported for the ImportInstance command.
27933 27934 27935 27936 27937 27938 27939 27940 27941 27942 |
# File 'lib/aws-sdk-ec2/types.rb', line 27933 class Placement < Struct.new( :availability_zone, :affinity, :group_name, :partition_number, :host_id, :tenancy, :spread_domain) include Aws::Structure end |
#availability_zone ⇒ String
The Availability Zone of the instance.
27933 27934 27935 27936 27937 27938 27939 27940 27941 27942 |
# File 'lib/aws-sdk-ec2/types.rb', line 27933 class Placement < Struct.new( :availability_zone, :affinity, :group_name, :partition_number, :host_id, :tenancy, :spread_domain) include Aws::Structure end |
#group_name ⇒ String
The name of the placement group the instance is in.
27933 27934 27935 27936 27937 27938 27939 27940 27941 27942 |
# File 'lib/aws-sdk-ec2/types.rb', line 27933 class Placement < Struct.new( :availability_zone, :affinity, :group_name, :partition_number, :host_id, :tenancy, :spread_domain) include Aws::Structure end |
#host_id ⇒ String
The ID of the Dedicated Host on which the instance resides. This parameter is not supported for the ImportInstance command.
27933 27934 27935 27936 27937 27938 27939 27940 27941 27942 |
# File 'lib/aws-sdk-ec2/types.rb', line 27933 class Placement < Struct.new( :availability_zone, :affinity, :group_name, :partition_number, :host_id, :tenancy, :spread_domain) include Aws::Structure end |
#partition_number ⇒ Integer
The number of the partition the instance is in. Valid only if the placement group strategy is set to ‘partition`.
27933 27934 27935 27936 27937 27938 27939 27940 27941 27942 |
# File 'lib/aws-sdk-ec2/types.rb', line 27933 class Placement < Struct.new( :availability_zone, :affinity, :group_name, :partition_number, :host_id, :tenancy, :spread_domain) include Aws::Structure end |
#spread_domain ⇒ String
Reserved for future use.
27933 27934 27935 27936 27937 27938 27939 27940 27941 27942 |
# File 'lib/aws-sdk-ec2/types.rb', line 27933 class Placement < Struct.new( :availability_zone, :affinity, :group_name, :partition_number, :host_id, :tenancy, :spread_domain) include Aws::Structure end |
#tenancy ⇒ String
The tenancy of the instance (if the instance is running in a VPC). An instance with a tenancy of ‘dedicated` runs on single-tenant hardware. The `host` tenancy is not supported for the ImportInstance command.
27933 27934 27935 27936 27937 27938 27939 27940 27941 27942 |
# File 'lib/aws-sdk-ec2/types.rb', line 27933 class Placement < Struct.new( :availability_zone, :affinity, :group_name, :partition_number, :host_id, :tenancy, :spread_domain) include Aws::Structure end |