You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::EC2::Types::LaunchTemplatePlacementRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::EC2::Types::LaunchTemplatePlacementRequest
- Defined in:
- (unknown)
Overview
When passing LaunchTemplatePlacementRequest as input to an Aws::Client method, you can use a vanilla Hash:
{
availability_zone: "String",
affinity: "String",
group_name: "PlacementGroupName",
host_id: "DedicatedHostId",
tenancy: "default", # accepts default, dedicated, host
spread_domain: "String",
host_resource_group_arn: "String",
partition_number: 1,
}
Describes the placement of an instance.
Returned by:
Instance Attribute Summary collapse
-
#affinity ⇒ String
The affinity setting for an instance on a Dedicated Host.
-
#availability_zone ⇒ String
The Availability Zone for the instance.
-
#group_name ⇒ String
The name of the placement group for the instance.
-
#host_id ⇒ String
The ID of the Dedicated Host for the instance.
-
#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 the instance should launch 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 an instance on a Dedicated Host.
#availability_zone ⇒ String
The Availability Zone for the instance.
#group_name ⇒ String
The name of the placement group for the instance.
#host_id ⇒ String
The ID of the Dedicated Host for the instance.
#host_resource_group_arn ⇒ String
The ARN of the host resource group in which to launch the instances. If
you specify a host resource group ARN, omit the Tenancy parameter or
set it to host
.
#partition_number ⇒ Integer
The number of the partition the instance should launch in. Valid only if
the placement group strategy is set to partition
.
#spread_domain ⇒ String
Reserved for future use.
#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.
Possible values:
- default
- dedicated
- host