@Stability(value=Stable) @Internal public static final class CfnEC2Fleet.FleetLaunchTemplateOverridesRequestProperty.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnEC2Fleet.FleetLaunchTemplateOverridesRequestProperty
CfnEC2Fleet.FleetLaunchTemplateOverridesRequestPropertysoftware.amazon.jsii.JsiiObject.InitializationModeCfnEC2Fleet.FleetLaunchTemplateOverridesRequestProperty.Builder, CfnEC2Fleet.FleetLaunchTemplateOverridesRequestProperty.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(CfnEC2Fleet.FleetLaunchTemplateOverridesRequestProperty.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 |
getAvailabilityZone()
The Availability Zone in which to launch the instances.
|
Object |
getInstanceRequirements()
The attributes for the instance types.
|
String |
getInstanceType()
The instance type.
|
String |
getMaxPrice()
The maximum price per unit hour that you are willing to pay for a Spot Instance.
|
Object |
getPlacement()
The location where the instance launched, if applicable.
|
Number |
getPriority()
The priority for the launch template override.
|
String |
getSubnetId()
The IDs of the subnets 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(CfnEC2Fleet.FleetLaunchTemplateOverridesRequestProperty.Builder builder)
CfnEC2Fleet.AcceleratorCountRequestProperty.Builder.public final String getAvailabilityZone()
CfnEC2Fleet.FleetLaunchTemplateOverridesRequestPropertygetAvailabilityZone in interface CfnEC2Fleet.FleetLaunchTemplateOverridesRequestPropertypublic final Object getInstanceRequirements()
CfnEC2Fleet.FleetLaunchTemplateOverridesRequestPropertyWhen you specify instance attributes, Amazon EC2 will identify instance types with those attributes.
If you specify
InstanceRequirements, you can't specifyInstanceTypes.
getInstanceRequirements in interface CfnEC2Fleet.FleetLaunchTemplateOverridesRequestPropertypublic final String getInstanceType()
CfnEC2Fleet.FleetLaunchTemplateOverridesRequestProperty
If you specify
InstanceTypes, you can't specifyInstanceRequirements.
getInstanceType in interface CfnEC2Fleet.FleetLaunchTemplateOverridesRequestPropertypublic final String getMaxPrice()
CfnEC2Fleet.FleetLaunchTemplateOverridesRequestPropertygetMaxPrice in interface CfnEC2Fleet.FleetLaunchTemplateOverridesRequestPropertypublic final Object getPlacement()
CfnEC2Fleet.FleetLaunchTemplateOverridesRequestPropertygetPlacement in interface CfnEC2Fleet.FleetLaunchTemplateOverridesRequestPropertypublic final Number getPriority()
CfnEC2Fleet.FleetLaunchTemplateOverridesRequestProperty
If the On-Demand AllocationStrategy is set to prioritized , EC2 Fleet uses priority to determine which launch template override to use first in fulfilling On-Demand capacity.
If the Spot AllocationStrategy is set to capacity-optimized-prioritized , EC2 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 CfnEC2Fleet.FleetLaunchTemplateOverridesRequestPropertypublic final String getSubnetId()
CfnEC2Fleet.FleetLaunchTemplateOverridesRequestProperty
Separate multiple subnet IDs using commas (for example, subnet-1234abcdeexample1, subnet-0987cdef6example2 ). A request of type instant can have only one subnet ID.
getSubnetId in interface CfnEC2Fleet.FleetLaunchTemplateOverridesRequestPropertypublic final Number getWeightedCapacity()
CfnEC2Fleet.FleetLaunchTemplateOverridesRequestPropertygetWeightedCapacity in interface CfnEC2Fleet.FleetLaunchTemplateOverridesRequestProperty@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2022. All rights reserved.