@Stability(value=Stable) @Internal public static final class CfnSpotFleet.SpotCapacityRebalanceProperty.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnSpotFleet.SpotCapacityRebalanceProperty
CfnSpotFleet.SpotCapacityRebalancePropertysoftware.amazon.jsii.JsiiObject.InitializationModeCfnSpotFleet.SpotCapacityRebalanceProperty.Builder, CfnSpotFleet.SpotCapacityRebalanceProperty.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(CfnSpotFleet.SpotCapacityRebalanceProperty.Builder builder)
Constructor that initializes the object based on literal property values passed by the
CfnSpotFleet.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 |
getReplacementStrategy()
The replacement strategy to use.
|
Number |
getTerminationDelay()
The amount of time (in seconds) that Amazon EC2 waits before terminating the old Spot Instance after launching a new replacement Spot Instance.
|
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(CfnSpotFleet.SpotCapacityRebalanceProperty.Builder builder)
CfnSpotFleet.AcceleratorCountRequestProperty.Builder.public final String getReplacementStrategy()
CfnSpotFleet.SpotCapacityRebalanceProperty
launch - Spot Fleet launches a new replacement Spot Instance when a rebalance notification is emitted for an existing Spot Instance in the fleet. Spot Fleet does not terminate the instances that receive a rebalance notification. You can terminate the old instances, or you can leave them running. You are charged for all instances while they are running.
launch-before-terminate - Spot Fleet launches a new replacement Spot Instance when a rebalance notification is emitted for an existing Spot Instance in the fleet, and then, after a delay that you specify (in TerminationDelay ), terminates the instances that received a rebalance notification.
getReplacementStrategy in interface CfnSpotFleet.SpotCapacityRebalancePropertypublic final Number getTerminationDelay()
CfnSpotFleet.SpotCapacityRebalanceProperty
Required when ReplacementStrategy is set to launch-before-terminate .
Not valid when ReplacementStrategy is set to launch .
Valid values: Minimum value of 120 seconds. Maximum value of 7200 seconds.
getTerminationDelay in interface CfnSpotFleet.SpotCapacityRebalanceProperty@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2022. All rights reserved.