@Stability(value=Stable) public static final class CfnEC2Fleet.PlacementProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnEC2Fleet.PlacementProperty>
CfnEC2Fleet.PlacementProperty| Constructor and Description |
|---|
Builder() |
@Stability(value=Stable) public CfnEC2Fleet.PlacementProperty.Builder affinity(String affinity)
CfnEC2Fleet.PlacementProperty.getAffinity()affinity - The affinity setting for the instance on the Dedicated Host. This parameter is not supported for the [ImportInstance](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ImportInstance.html) command.
This parameter is not supported by CreateFleet .this@Stability(value=Stable) public CfnEC2Fleet.PlacementProperty.Builder availabilityZone(String availabilityZone)
CfnEC2Fleet.PlacementProperty.getAvailabilityZone()availabilityZone - 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 by CreateFleet .
this@Stability(value=Stable) public CfnEC2Fleet.PlacementProperty.Builder groupName(String groupName)
CfnEC2Fleet.PlacementProperty.getGroupName()groupName - The name of the placement group the instance is in.this@Stability(value=Stable) public CfnEC2Fleet.PlacementProperty.Builder hostId(String hostId)
CfnEC2Fleet.PlacementProperty.getHostId()hostId - The ID of the Dedicated Host on which the instance resides.
This parameter is not supported for the ImportInstance command.
This parameter is not supported by CreateFleet .
this@Stability(value=Stable) public CfnEC2Fleet.PlacementProperty.Builder hostResourceGroupArn(String hostResourceGroupArn)
CfnEC2Fleet.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 parameter is not supported by CreateFleet .
this@Stability(value=Stable) public CfnEC2Fleet.PlacementProperty.Builder partitionNumber(Number partitionNumber)
CfnEC2Fleet.PlacementProperty.getPartitionNumber()partitionNumber - 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 by CreateFleet .
this@Stability(value=Stable) public CfnEC2Fleet.PlacementProperty.Builder spreadDomain(String spreadDomain)
CfnEC2Fleet.PlacementProperty.getSpreadDomain()spreadDomain - Reserved for future use.
This parameter is not supported by CreateFleet .this@Stability(value=Stable) public CfnEC2Fleet.PlacementProperty.Builder tenancy(String tenancy)
CfnEC2Fleet.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. The host tenancy is not supported for the ImportInstance command.
This parameter is not supported by CreateFleet .
T3 instances that use the unlimited CPU credit option do not support host tenancy.
this@Stability(value=Stable) public CfnEC2Fleet.PlacementProperty build()
build in interface software.amazon.jsii.Builder<CfnEC2Fleet.PlacementProperty>CfnEC2Fleet.PlacementPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.