public static interface CfnEC2Fleet.PlacementProperty
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.ec2.*; PlacementProperty placementProperty = PlacementProperty.builder() .affinity("affinity") .availabilityZone("availabilityZone") .groupName("groupName") .hostId("hostId") .hostResourceGroupArn("hostResourceGroupArn") .partitionNumber(123) .spreadDomain("spreadDomain") .tenancy("tenancy") .build();
Modifier and Type | Interface and Description |
---|---|
static class |
CfnEC2Fleet.PlacementProperty.Builder
A builder for
CfnEC2Fleet.PlacementProperty |
static class |
CfnEC2Fleet.PlacementProperty.Jsii$Proxy
An implementation for
CfnEC2Fleet.PlacementProperty |
Modifier and Type | Method and Description |
---|---|
static CfnEC2Fleet.PlacementProperty.Builder |
builder() |
default java.lang.String |
getAffinity()
The affinity setting for the instance on the Dedicated Host.
|
default java.lang.String |
getAvailabilityZone()
The Availability Zone of the instance.
|
default java.lang.String |
getGroupName()
The name of the placement group the instance is in.
|
default java.lang.String |
getHostId()
The ID of the Dedicated Host on which the instance resides.
|
default java.lang.String |
getHostResourceGroupArn()
The ARN of the host resource group in which to launch the instances.
|
default java.lang.Number |
getPartitionNumber()
The number of the partition that the instance is in.
|
default java.lang.String |
getSpreadDomain()
Reserved for future use.
|
default java.lang.String |
getTenancy()
The tenancy of the instance (if the instance is running in a VPC).
|
default java.lang.String getAffinity()
This parameter is not supported by CreateFleet .
default java.lang.String getAvailabilityZone()
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 .
default java.lang.String getGroupName()
default java.lang.String getHostId()
This parameter is not supported for the ImportInstance command.
This parameter is not supported by CreateFleet .
default java.lang.String getHostResourceGroupArn()
If you specify a host resource group ARN, omit the Tenancy parameter or set it to host
.
This parameter is not supported by CreateFleet .
default java.lang.Number getPartitionNumber()
Valid only if the placement group strategy is set to partition
.
This parameter is not supported by CreateFleet .
default java.lang.String getSpreadDomain()
This parameter is not supported by CreateFleet .
default java.lang.String getTenancy()
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.
static CfnEC2Fleet.PlacementProperty.Builder builder()