Class: Aws::EC2::Types::Placement
- Inherits:
-
Struct
- Object
- Struct
- Aws::EC2::Types::Placement
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-ec2/types.rb
Overview
Describes the placement of an instance.
Constant Summary collapse
- SENSITIVE =
[]
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_id ⇒ String
The ID of the placement group that the instance is in.
-
#group_name ⇒ String
The name of the placement group that the instance is in.
-
#host_id ⇒ String
The ID of the Dedicated Host on which the instance resides.
-
#host_resource_group_arn ⇒ String
The ARN of the host resource group in which to launch the instances.
-
#partition_number ⇒ Integer
The number of the partition that the instance is in.
-
#spread_domain ⇒ String
Reserved for future use.
-
#tenancy ⇒ String
The tenancy of the instance.
Instance Attribute Details
#affinity ⇒ String
The affinity setting for the instance on the Dedicated Host.
This parameter is not supported for [CreateFleet] or [ImportInstance].
[1]: docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateFleet [2]: docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ImportInstance.html
57698 57699 57700 57701 57702 57703 57704 57705 57706 57707 57708 57709 57710 |
# File 'lib/aws-sdk-ec2/types.rb', line 57698 class Placement < Struct.new( :affinity, :group_name, :partition_number, :host_id, :tenancy, :spread_domain, :host_resource_group_arn, :group_id, :availability_zone) SENSITIVE = [] include Aws::Structure end |
#availability_zone ⇒ String
The Availability Zone of the instance.
If not specified, an Availability Zone will be automatically chosen for you based on the load balancing criteria for the Region.
This parameter is not supported for [CreateFleet].
[1]: docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateFleet
57698 57699 57700 57701 57702 57703 57704 57705 57706 57707 57708 57709 57710 |
# File 'lib/aws-sdk-ec2/types.rb', line 57698 class Placement < Struct.new( :affinity, :group_name, :partition_number, :host_id, :tenancy, :spread_domain, :host_resource_group_arn, :group_id, :availability_zone) SENSITIVE = [] include Aws::Structure end |
#group_id ⇒ String
The ID of the placement group that the instance is in. If you specify ‘GroupId`, you can’t specify ‘GroupName`.
57698 57699 57700 57701 57702 57703 57704 57705 57706 57707 57708 57709 57710 |
# File 'lib/aws-sdk-ec2/types.rb', line 57698 class Placement < Struct.new( :affinity, :group_name, :partition_number, :host_id, :tenancy, :spread_domain, :host_resource_group_arn, :group_id, :availability_zone) SENSITIVE = [] include Aws::Structure end |
#group_name ⇒ String
The name of the placement group that the instance is in. If you specify ‘GroupName`, you can’t specify ‘GroupId`.
57698 57699 57700 57701 57702 57703 57704 57705 57706 57707 57708 57709 57710 |
# File 'lib/aws-sdk-ec2/types.rb', line 57698 class Placement < Struct.new( :affinity, :group_name, :partition_number, :host_id, :tenancy, :spread_domain, :host_resource_group_arn, :group_id, :availability_zone) SENSITIVE = [] include Aws::Structure end |
#host_id ⇒ String
The ID of the Dedicated Host on which the instance resides.
This parameter is not supported for [CreateFleet] or [ImportInstance].
[1]: docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateFleet [2]: docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ImportInstance.html
57698 57699 57700 57701 57702 57703 57704 57705 57706 57707 57708 57709 57710 |
# File 'lib/aws-sdk-ec2/types.rb', line 57698 class Placement < Struct.new( :affinity, :group_name, :partition_number, :host_id, :tenancy, :spread_domain, :host_resource_group_arn, :group_id, :availability_zone) SENSITIVE = [] include Aws::Structure end |
#host_resource_group_arn ⇒ String
The ARN of the host resource group in which to launch the instances.
If you specify this parameter, either omit the Tenancy parameter or set it to ‘host`.
This parameter is not supported for [CreateFleet].
[1]: docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateFleet
57698 57699 57700 57701 57702 57703 57704 57705 57706 57707 57708 57709 57710 |
# File 'lib/aws-sdk-ec2/types.rb', line 57698 class Placement < Struct.new( :affinity, :group_name, :partition_number, :host_id, :tenancy, :spread_domain, :host_resource_group_arn, :group_id, :availability_zone) SENSITIVE = [] include Aws::Structure end |
#partition_number ⇒ Integer
The number of the partition that the instance is in. Valid only if the placement group strategy is set to ‘partition`.
This parameter is not supported for [CreateFleet].
[1]: docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateFleet
57698 57699 57700 57701 57702 57703 57704 57705 57706 57707 57708 57709 57710 |
# File 'lib/aws-sdk-ec2/types.rb', line 57698 class Placement < Struct.new( :affinity, :group_name, :partition_number, :host_id, :tenancy, :spread_domain, :host_resource_group_arn, :group_id, :availability_zone) SENSITIVE = [] include Aws::Structure end |
#spread_domain ⇒ String
Reserved for future use.
57698 57699 57700 57701 57702 57703 57704 57705 57706 57707 57708 57709 57710 |
# File 'lib/aws-sdk-ec2/types.rb', line 57698 class Placement < Struct.new( :affinity, :group_name, :partition_number, :host_id, :tenancy, :spread_domain, :host_resource_group_arn, :group_id, :availability_zone) SENSITIVE = [] include Aws::Structure end |
#tenancy ⇒ String
The tenancy of the instance. An instance with a tenancy of ‘dedicated` runs on single-tenant hardware.
This parameter is not supported for [CreateFleet]. The ‘host` tenancy is not supported for [ImportInstance] or for T3 instances that are configured for the `unlimited` CPU credit option.
[1]: docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateFleet [2]: docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ImportInstance.html
57698 57699 57700 57701 57702 57703 57704 57705 57706 57707 57708 57709 57710 |
# File 'lib/aws-sdk-ec2/types.rb', line 57698 class Placement < Struct.new( :affinity, :group_name, :partition_number, :host_id, :tenancy, :spread_domain, :host_resource_group_arn, :group_id, :availability_zone) SENSITIVE = [] include Aws::Structure end |