Interface CfnEC2FleetPropsMixin.ReservedCapacityOptionsRequestProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnEC2FleetPropsMixin.ReservedCapacityOptionsRequestProperty.Jsii$Proxy
- Enclosing class:
CfnEC2FleetPropsMixin
@Stability(Stable)
public static interface CfnEC2FleetPropsMixin.ReservedCapacityOptionsRequestProperty
extends software.amazon.jsii.JsiiSerializable
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.ec2.*;
ReservedCapacityOptionsRequestProperty reservedCapacityOptionsRequestProperty = ReservedCapacityOptionsRequestProperty.builder()
.allocationStrategy("allocationStrategy")
.capacityReservationTarget(CapacityReservationTargetRequestProperty.builder()
.capacityReservationIds(List.of("capacityReservationIds"))
.capacityReservationResourceGroupArns(List.of("capacityReservationResourceGroupArns"))
.build())
.reservationTypes(List.of("reservationTypes"))
.reservedCapacityFallbackOptions(ReservedCapacityFallbackOptionsRequestProperty.builder()
.marketTypes(List.of("marketTypes"))
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classstatic final classAn implementation forCfnEC2FleetPropsMixin.ReservedCapacityOptionsRequestProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default Stringdefault ObjectReturns union: eitherIResolvableorCfnEC2FleetPropsMixin.CapacityReservationTargetRequestPropertydefault ObjectReturns union: eitherIResolvableorCfnEC2FleetPropsMixin.ReservedCapacityFallbackOptionsRequestPropertyMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAllocationStrategy
- See Also:
-
getCapacityReservationTarget
Returns union: eitherIResolvableorCfnEC2FleetPropsMixin.CapacityReservationTargetRequestProperty- See Also:
-
getReservationTypes
- See Also:
-
getReservedCapacityFallbackOptions
Returns union: eitherIResolvableorCfnEC2FleetPropsMixin.ReservedCapacityFallbackOptionsRequestProperty- See Also:
-
builder
@Stability(Stable) static CfnEC2FleetPropsMixin.ReservedCapacityOptionsRequestProperty.Builder builder()
-