Interface CfnLaunchTemplate.PlacementProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnLaunchTemplate.PlacementProperty.Jsii$Proxy
Enclosing class:
CfnLaunchTemplate

@Stability(Stable) public static interface CfnLaunchTemplate.PlacementProperty extends software.amazon.jsii.JsiiSerializable
Specifies the placement of an instance.

Placement is a property of AWS::EC2::LaunchTemplate LaunchTemplateData .

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")
         .groupId("groupId")
         .groupName("groupName")
         .hostId("hostId")
         .hostResourceGroupArn("hostResourceGroupArn")
         .partitionNumber(123)
         .spreadDomain("spreadDomain")
         .tenancy("tenancy")
         .build();
 

See Also: