Interface CfnEC2Fleet.OnDemandOptionsRequestProperty

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

@Stability(Stable) public static interface CfnEC2Fleet.OnDemandOptionsRequestProperty extends software.amazon.jsii.JsiiSerializable
Specifies the allocation strategy of On-Demand Instances in an EC2 Fleet.

OnDemandOptionsRequest is a property of the AWS::EC2::EC2Fleet resource.

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.*;
 OnDemandOptionsRequestProperty onDemandOptionsRequestProperty = OnDemandOptionsRequestProperty.builder()
         .allocationStrategy("allocationStrategy")
         .capacityReservationOptions(CapacityReservationOptionsRequestProperty.builder()
                 .usageStrategy("usageStrategy")
                 .build())
         .maxTotalPrice("maxTotalPrice")
         .minTargetCapacity(123)
         .singleAvailabilityZone(false)
         .singleInstanceType(false)
         .build();
 

See Also: