Ec2FleetPlacementArgs

data class Ec2FleetPlacementArgs(val affinity: Output<String>? = null, val availabilityZone: 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<Ec2FleetPlacementArgs>

Constructors

Link copied to clipboard
constructor(affinity: Output<String>? = null, availabilityZone: 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 the instance on the Dedicated Host. This parameter is not supported for CreateFleet or ImportInstance .

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

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 .

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

The name of the placement group that the instance is in. If you specify GroupName , you can't specify GroupId .

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

The ID of the Dedicated Host on which the instance resides. This parameter is not supported for CreateFleet or ImportInstance .

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 this parameter, either omit the Tenancy parameter or set it to host . This parameter is not supported for CreateFleet .

Link copied to clipboard
val partitionNumber: Output<Int>? = null

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 .

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

Functions

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