Class CfnEC2Fleet.CapacityReservationOptionsRequestProperty.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.ec2.CfnEC2Fleet.CapacityReservationOptionsRequestProperty.Jsii$Proxy
- All Implemented Interfaces:
CfnEC2Fleet.CapacityReservationOptionsRequestProperty
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnEC2Fleet.CapacityReservationOptionsRequestProperty
@Stability(Stable)
@Internal
public static final class CfnEC2Fleet.CapacityReservationOptionsRequestProperty.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements CfnEC2Fleet.CapacityReservationOptionsRequestProperty
An implementation for
CfnEC2Fleet.CapacityReservationOptionsRequestProperty
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.ec2.CfnEC2Fleet.CapacityReservationOptionsRequestProperty
CfnEC2Fleet.CapacityReservationOptionsRequestProperty.Builder, CfnEC2Fleet.CapacityReservationOptionsRequestProperty.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
Constructor that initializes the object based on literal property values passed by theCfnEC2Fleet.CapacityReservationOptionsRequestProperty.Builder
.protected
Jsii$Proxy
(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef
- Reference to the JSII managed object.
-
Jsii$Proxy
Constructor that initializes the object based on literal property values passed by theCfnEC2Fleet.CapacityReservationOptionsRequestProperty.Builder
.
-
-
Method Details
-
getUsageStrategy
Description copied from interface:CfnEC2Fleet.CapacityReservationOptionsRequestProperty
Indicates whether to use unused Capacity Reservations for fulfilling On-Demand capacity.If you specify
use-capacity-reservations-first
, the fleet uses unused Capacity Reservations to fulfill On-Demand capacity up to the target On-Demand capacity. If multiple instance pools have unused Capacity Reservations, the On-Demand allocation strategy (lowest-price
orprioritized
) is applied. If the number of unused Capacity Reservations is less than the On-Demand target capacity, the remaining On-Demand target capacity is launched according to the On-Demand allocation strategy (lowest-price
orprioritized
).If you do not specify a value, the fleet fulfils the On-Demand capacity according to the chosen On-Demand allocation strategy.
- Specified by:
getUsageStrategy
in interfaceCfnEC2Fleet.CapacityReservationOptionsRequestProperty
- See Also:
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJson
in interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-