@Stability(value=Stable) @Internal public static final class CfnLaunchTemplate.SpotOptionsProperty.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnLaunchTemplate.SpotOptionsProperty
CfnLaunchTemplate.SpotOptionsPropertysoftware.amazon.jsii.JsiiObject.InitializationModeCfnLaunchTemplate.SpotOptionsProperty.Builder, CfnLaunchTemplate.SpotOptionsProperty.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(CfnLaunchTemplate.SpotOptionsProperty.Builder builder)
Constructor that initializes the object based on literal property values passed by the
CfnLaunchTemplate.AcceleratorCountProperty.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) |
Number |
getBlockDurationMinutes()
The required duration for the Spot Instances (also known as Spot blocks), in minutes.
|
String |
getInstanceInterruptionBehavior()
The behavior when a Spot Instance is interrupted.
|
String |
getMaxPrice()
The maximum hourly price you're willing to pay for the Spot Instances.
|
String |
getSpotInstanceType()
The Spot Instance request type.
|
String |
getValidUntil()
The end date of the request.
|
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(CfnLaunchTemplate.SpotOptionsProperty.Builder builder)
CfnLaunchTemplate.AcceleratorCountProperty.Builder.public final Number getBlockDurationMinutes()
CfnLaunchTemplate.SpotOptionsPropertyThis value must be a multiple of 60 (60, 120, 180, 240, 300, or 360).
getBlockDurationMinutes in interface CfnLaunchTemplate.SpotOptionsPropertypublic final String getInstanceInterruptionBehavior()
CfnLaunchTemplate.SpotOptionsProperty
The default is terminate .
getInstanceInterruptionBehavior in interface CfnLaunchTemplate.SpotOptionsPropertypublic final String getMaxPrice()
CfnLaunchTemplate.SpotOptionsPropertygetMaxPrice in interface CfnLaunchTemplate.SpotOptionsPropertypublic final String getSpotInstanceType()
CfnLaunchTemplate.SpotOptionsProperty
If you are using Spot Instances with an Auto Scaling group, use one-time requests, as the Amazon EC2 Auto Scaling service handles requesting new Spot Instances whenever the group is below its desired capacity.
getSpotInstanceType in interface CfnLaunchTemplate.SpotOptionsPropertypublic final String getValidUntil()
CfnLaunchTemplate.SpotOptionsPropertyFor a one-time request, the request remains active until all instances launch, the request is canceled, or this date is reached. If the request is persistent, it remains active until it is canceled or this date and time is reached. The default end date is 7 days from the current date.
getValidUntil in interface CfnLaunchTemplate.SpotOptionsProperty@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2022. All rights reserved.