@Stability(value=Stable) @Internal public static final class CfnSpotFleet.LaunchTemplateOverridesProperty.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnSpotFleet.LaunchTemplateOverridesProperty
CfnSpotFleet.LaunchTemplateOverridesPropertysoftware.amazon.jsii.JsiiObject.InitializationModeCfnSpotFleet.LaunchTemplateOverridesProperty.Builder, CfnSpotFleet.LaunchTemplateOverridesProperty.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(CfnSpotFleet.LaunchTemplateOverridesProperty.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 |
getAvailabilityZone()
The Availability Zone in which to launch the instances.
|
Object |
getInstanceRequirements()
The instance requirements.
|
String |
getInstanceType()
The instance type.
|
Number |
getPriority()
The priority for the launch template override.
|
String |
getSpotPrice()
The maximum price per unit hour that you are willing to pay for a Spot Instance.
|
String |
getSubnetId()
The ID of the subnet in which to launch the instances.
|
Number |
getWeightedCapacity()
The number of units provided by the specified instance type.
|
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.LaunchTemplateOverridesProperty.Builder builder)
CfnSpotFleet.AcceleratorCountRequestProperty.Builder.public final String getAvailabilityZone()
CfnSpotFleet.LaunchTemplateOverridesPropertygetAvailabilityZone in interface CfnSpotFleet.LaunchTemplateOverridesPropertypublic final Object getInstanceRequirements()
CfnSpotFleet.LaunchTemplateOverridesPropertyWhen you specify instance requirements, Amazon EC2 will identify instance types with the provided requirements, and then use your On-Demand and Spot allocation strategies to launch instances from these instance types, in the same way as when you specify a list of instance types.
If you specify
InstanceRequirements, you can't specifyInstanceTypes.
getInstanceRequirements in interface CfnSpotFleet.LaunchTemplateOverridesPropertypublic final String getInstanceType()
CfnSpotFleet.LaunchTemplateOverridesPropertygetInstanceType in interface CfnSpotFleet.LaunchTemplateOverridesPropertypublic final Number getPriority()
CfnSpotFleet.LaunchTemplateOverridesProperty
If OnDemandAllocationStrategy is set to prioritized , Spot Fleet uses priority to determine which launch template override to use first in fulfilling On-Demand capacity.
If the Spot AllocationStrategy is set to capacityOptimizedPrioritized , Spot Fleet uses priority on a best-effort basis to determine which launch template override to use in fulfilling Spot capacity, but optimizes for capacity first.
Valid values are whole numbers starting at 0 . The lower the number, the higher the priority. If no number is set, the launch template override has the lowest priority. You can set the same priority for different launch template overrides.
getPriority in interface CfnSpotFleet.LaunchTemplateOverridesPropertypublic final String getSpotPrice()
CfnSpotFleet.LaunchTemplateOverridesPropertygetSpotPrice in interface CfnSpotFleet.LaunchTemplateOverridesPropertypublic final String getSubnetId()
CfnSpotFleet.LaunchTemplateOverridesPropertygetSubnetId in interface CfnSpotFleet.LaunchTemplateOverridesPropertypublic final Number getWeightedCapacity()
CfnSpotFleet.LaunchTemplateOverridesPropertygetWeightedCapacity in interface CfnSpotFleet.LaunchTemplateOverridesProperty@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2022. All rights reserved.