public static interface CfnSpotFleet.SpotPlacementProperty
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.*; SpotPlacementProperty spotPlacementProperty = SpotPlacementProperty.builder() .availabilityZone("availabilityZone") .groupName("groupName") .tenancy("tenancy") .build();
Modifier and Type | Interface and Description |
---|---|
static class |
CfnSpotFleet.SpotPlacementProperty.Builder
A builder for
CfnSpotFleet.SpotPlacementProperty |
static class |
CfnSpotFleet.SpotPlacementProperty.Jsii$Proxy
An implementation for
CfnSpotFleet.SpotPlacementProperty |
Modifier and Type | Method and Description |
---|---|
static CfnSpotFleet.SpotPlacementProperty.Builder |
builder() |
default java.lang.String |
getAvailabilityZone()
The Availability Zone.
|
default java.lang.String |
getGroupName()
The name of the placement group.
|
default java.lang.String |
getTenancy()
The tenancy of the instance (if the instance is running in a VPC).
|
default java.lang.String getAvailabilityZone()
To specify multiple Availability Zones, separate them using commas; for example, "us-west-2a, us-west-2b".
default java.lang.String getGroupName()
default java.lang.String getTenancy()
An instance with a tenancy of dedicated
runs on single-tenant hardware. The host
tenancy is not supported for Spot Instances.
static CfnSpotFleet.SpotPlacementProperty.Builder builder()