Class CfnSpotFleet.SpotCapacityRebalanceProperty.Jsii$Proxy
- All Implemented Interfaces:
 CfnSpotFleet.SpotCapacityRebalanceProperty,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
 - CfnSpotFleet.SpotCapacityRebalanceProperty
 
CfnSpotFleet.SpotCapacityRebalanceProperty- 
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.ec2.CfnSpotFleet.SpotCapacityRebalanceProperty
CfnSpotFleet.SpotCapacityRebalanceProperty.Builder, CfnSpotFleet.SpotCapacityRebalanceProperty.Jsii$Proxy - 
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor that initializes the object based on literal property values passed by theCfnSpotFleet.SpotCapacityRebalanceProperty.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. - 
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNodefinal booleanfinal StringThe replacement strategy to use.final NumberThe amount of time (in seconds) that Amazon EC2 waits before terminating the old Spot Instance after launching a new replacement Spot Instance.final inthashCode()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 theCfnSpotFleet.SpotCapacityRebalanceProperty.Builder. 
 - 
 - 
Method Details
- 
getReplacementStrategy
Description copied from interface:CfnSpotFleet.SpotCapacityRebalancePropertyThe replacement strategy to use. Only available for fleets of typemaintain.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 (inTerminationDelay), terminates the instances that received a rebalance notification.- Specified by:
 getReplacementStrategyin interfaceCfnSpotFleet.SpotCapacityRebalanceProperty
 - 
getTerminationDelay
Description copied from interface:CfnSpotFleet.SpotCapacityRebalancePropertyThe amount of time (in seconds) that Amazon EC2 waits before terminating the old Spot Instance after launching a new replacement Spot Instance.Required when
ReplacementStrategyis set tolaunch-before-terminate.Not valid when
ReplacementStrategyis set tolaunch.Valid values: Minimum value of
120seconds. Maximum value of7200seconds.- Specified by:
 getTerminationDelayin interfaceCfnSpotFleet.SpotCapacityRebalanceProperty
 - 
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
 $jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
 - 
equals
 - 
hashCode
public final int hashCode() 
 -