LaunchTemplatePlacementArgs

data class LaunchTemplatePlacementArgs(val affinity: Output<String>? = null, val availabilityZone: Output<String>? = null, val groupId: Output<String>? = null, val groupName: Output<String>? = null, val hostId: Output<String>? = null, val hostResourceGroupArn: Output<String>? = null, val partitionNumber: Output<Int>? = null, val spreadDomain: Output<String>? = null, val tenancy: Output<String>? = null) : ConvertibleToJava<LaunchTemplatePlacementArgs>

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

Constructors

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

Properties

Link copied to clipboard
val affinity: Output<String>? = null

The affinity setting for an instance on a Dedicated Host.

Link copied to clipboard
val availabilityZone: Output<String>? = null

The Availability Zone for the instance.

Link copied to clipboard
val groupId: Output<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: Output<String>? = null

The name of the placement group for the instance.

Link copied to clipboard
val hostId: Output<String>? = null

The ID of the Dedicated Host for the instance.

Link copied to clipboard
val hostResourceGroupArn: Output<String>? = null

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: Output<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: Output<String>? = null

Reserved for future use.

Link copied to clipboard
val tenancy: Output<String>? = null

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

Functions

Link copied to clipboard
open override fun toJava(): LaunchTemplatePlacementArgs