LaunchTemplatePlacement

data class LaunchTemplatePlacement(val affinity: String? = null, val availabilityZone: String? = null, val groupId: String? = null, val groupName: String? = null, val hostId: String? = null, val hostResourceGroupArn: String? = null, val partitionNumber: Int? = null, val spreadDomain: String? = null, val tenancy: String? = null)

Specifies the placement of an instance. `Placement` is a property of AWS::EC2::LaunchTemplate LaunchTemplateData.

Constructors

Link copied to clipboard
constructor(affinity: String? = null, availabilityZone: String? = null, groupId: String? = null, groupName: String? = null, hostId: String? = null, hostResourceGroupArn: String? = null, partitionNumber: Int? = null, spreadDomain: String? = null, tenancy: String? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val affinity: String? = null

The affinity setting for an instance on a Dedicated Host.

Link copied to clipboard

The Availability Zone for the instance.

Link copied to clipboard
val groupId: String? = null

The Group Id of a placement group. You must specify the Placement Group Group Id to launch an instance in a shared placement group.

Link copied to clipboard
val groupName: String? = null

The name of the placement group for the instance.

Link copied to clipboard
val hostId: String? = null

The ID of the Dedicated Host for the instance.

Link copied to clipboard

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`.

Link copied to clipboard
val partitionNumber: Int? = null

The number of the partition the instance should launch in. Valid only if the placement group strategy is set to `partition`.

Link copied to clipboard
val spreadDomain: String? = null

Reserved for future use.

Link copied to clipboard
val tenancy: String? = null

The tenancy of the instance. An instance with a tenancy of dedicated runs on single-tenant hardware.