@Stability(value=Stable) public static final class CfnLaunchTemplate.PlacementProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnLaunchTemplate.PlacementProperty>
CfnLaunchTemplate.PlacementProperty| Constructor and Description |
|---|
Builder() |
@Stability(value=Stable) public CfnLaunchTemplate.PlacementProperty.Builder affinity(String affinity)
CfnLaunchTemplate.PlacementProperty.getAffinity()affinity - The affinity setting for an instance on a Dedicated Host.this@Stability(value=Stable) public CfnLaunchTemplate.PlacementProperty.Builder availabilityZone(String availabilityZone)
CfnLaunchTemplate.PlacementProperty.getAvailabilityZone()availabilityZone - The Availability Zone for the instance.this@Stability(value=Stable) public CfnLaunchTemplate.PlacementProperty.Builder groupName(String groupName)
CfnLaunchTemplate.PlacementProperty.getGroupName()groupName - The name of the placement group for the instance.this@Stability(value=Stable) public CfnLaunchTemplate.PlacementProperty.Builder hostId(String hostId)
CfnLaunchTemplate.PlacementProperty.getHostId()hostId - The ID of the Dedicated Host for the instance.this@Stability(value=Stable) public CfnLaunchTemplate.PlacementProperty.Builder hostResourceGroupArn(String hostResourceGroupArn)
CfnLaunchTemplate.PlacementProperty.getHostResourceGroupArn()hostResourceGroupArn - 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 .this@Stability(value=Stable) public CfnLaunchTemplate.PlacementProperty.Builder partitionNumber(Number partitionNumber)
CfnLaunchTemplate.PlacementProperty.getPartitionNumber()partitionNumber - The number of the partition the instance should launch in.
Valid only if the placement group strategy is set to partition .this@Stability(value=Stable) public CfnLaunchTemplate.PlacementProperty.Builder spreadDomain(String spreadDomain)
CfnLaunchTemplate.PlacementProperty.getSpreadDomain()spreadDomain - Reserved for future use.this@Stability(value=Stable) public CfnLaunchTemplate.PlacementProperty.Builder tenancy(String tenancy)
CfnLaunchTemplate.PlacementProperty.getTenancy()tenancy - 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.this@Stability(value=Stable) public CfnLaunchTemplate.PlacementProperty build()
build in interface software.amazon.jsii.Builder<CfnLaunchTemplate.PlacementProperty>CfnLaunchTemplate.PlacementPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.