@Stability(value=Stable) @Internal public static final class CfnEC2Fleet.OnDemandOptionsRequestProperty.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnEC2Fleet.OnDemandOptionsRequestProperty
CfnEC2Fleet.OnDemandOptionsRequestPropertysoftware.amazon.jsii.JsiiObject.InitializationModeCfnEC2Fleet.OnDemandOptionsRequestProperty.Builder, CfnEC2Fleet.OnDemandOptionsRequestProperty.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(CfnEC2Fleet.OnDemandOptionsRequestProperty.Builder builder)
Constructor that initializes the object based on literal property values passed by the
CfnEC2Fleet.AcceleratorCountRequestProperty.Builder. |
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
String |
getAllocationStrategy()
The strategy that determines the order of the launch template overrides to use in fulfilling On-Demand capacity.
|
Object |
getCapacityReservationOptions()
The strategy for using unused Capacity Reservations for fulfilling On-Demand capacity.
|
String |
getMaxTotalPrice()
The maximum amount per hour for On-Demand Instances that you're willing to pay.
|
Number |
getMinTargetCapacity()
The minimum target capacity for On-Demand Instances in the fleet.
|
Object |
getSingleAvailabilityZone()
Indicates that the fleet launches all On-Demand Instances into a single Availability Zone.
|
Object |
getSingleInstanceType()
Indicates that the fleet uses a single instance type to launch all On-Demand Instances in the fleet.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(CfnEC2Fleet.OnDemandOptionsRequestProperty.Builder builder)
CfnEC2Fleet.AcceleratorCountRequestProperty.Builder.public final String getAllocationStrategy()
CfnEC2Fleet.OnDemandOptionsRequestProperty
lowest-price - EC2 Fleet uses price to determine the order, launching the lowest price first.
prioritized - EC2 Fleet uses the priority that you assigned to each launch template override, launching the highest priority first.
Default: lowest-price
getAllocationStrategy in interface CfnEC2Fleet.OnDemandOptionsRequestPropertypublic final Object getCapacityReservationOptions()
CfnEC2Fleet.OnDemandOptionsRequestProperty
Supported only for fleets of type instant .
getCapacityReservationOptions in interface CfnEC2Fleet.OnDemandOptionsRequestPropertypublic final String getMaxTotalPrice()
CfnEC2Fleet.OnDemandOptionsRequestPropertygetMaxTotalPrice in interface CfnEC2Fleet.OnDemandOptionsRequestPropertypublic final Number getMinTargetCapacity()
CfnEC2Fleet.OnDemandOptionsRequestPropertyIf the minimum target capacity is not reached, the fleet launches no instances.
Supported only for fleets of type instant .
At least one of the following must be specified: SingleAvailabilityZone | SingleInstanceType
getMinTargetCapacity in interface CfnEC2Fleet.OnDemandOptionsRequestPropertypublic final Object getSingleAvailabilityZone()
CfnEC2Fleet.OnDemandOptionsRequestProperty
Supported only for fleets of type instant .
getSingleAvailabilityZone in interface CfnEC2Fleet.OnDemandOptionsRequestPropertypublic final Object getSingleInstanceType()
CfnEC2Fleet.OnDemandOptionsRequestProperty
Supported only for fleets of type instant .
getSingleInstanceType in interface CfnEC2Fleet.OnDemandOptionsRequestProperty@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2022. All rights reserved.