Class CfnSpotFleet.LaunchTemplateOverridesProperty.Jsii$Proxy
- All Implemented Interfaces:
 CfnSpotFleet.LaunchTemplateOverridesProperty,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
 - CfnSpotFleet.LaunchTemplateOverridesProperty
 
CfnSpotFleet.LaunchTemplateOverridesProperty- 
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.LaunchTemplateOverridesProperty
CfnSpotFleet.LaunchTemplateOverridesProperty.Builder, CfnSpotFleet.LaunchTemplateOverridesProperty.Jsii$Proxy - 
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor that initializes the object based on literal property values passed by theCfnSpotFleet.LaunchTemplateOverridesProperty.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 Availability Zone in which to launch the instances.final ObjectThe instance requirements.final StringThe instance type.final NumberThe priority for the launch template override.final StringThe maximum price per unit hour that you are willing to pay for a Spot Instance.final StringThe ID of the subnet in which to launch the instances.final NumberThe number of units provided by the specified instance type.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.LaunchTemplateOverridesProperty.Builder. 
 - 
 - 
Method Details
- 
getAvailabilityZone
Description copied from interface:CfnSpotFleet.LaunchTemplateOverridesPropertyThe Availability Zone in which to launch the instances.- Specified by:
 getAvailabilityZonein interfaceCfnSpotFleet.LaunchTemplateOverridesProperty
 - 
getInstanceRequirements
Description copied from interface:CfnSpotFleet.LaunchTemplateOverridesPropertyThe instance requirements.When 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 specifyInstanceType.- Specified by:
 getInstanceRequirementsin interfaceCfnSpotFleet.LaunchTemplateOverridesProperty
 - 
getInstanceType
Description copied from interface:CfnSpotFleet.LaunchTemplateOverridesPropertyThe instance type.- Specified by:
 getInstanceTypein interfaceCfnSpotFleet.LaunchTemplateOverridesProperty
 - 
getPriority
Description copied from interface:CfnSpotFleet.LaunchTemplateOverridesPropertyThe priority for the launch template override. The highest priority is launched first.If
OnDemandAllocationStrategyis set toprioritized, Spot Fleet uses priority to determine which launch template override to use first in fulfilling On-Demand capacity.If the Spot
AllocationStrategyis set tocapacityOptimizedPrioritized, 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.- Specified by:
 getPriorityin interfaceCfnSpotFleet.LaunchTemplateOverridesProperty
 - 
getSpotPrice
Description copied from interface:CfnSpotFleet.LaunchTemplateOverridesPropertyThe maximum price per unit hour that you are willing to pay for a Spot Instance.We do not recommend using this parameter because it can lead to increased interruptions. If you do not specify this parameter, you will pay the current Spot price.
If you specify a maximum price, your instances will be interrupted more frequently than if you do not specify this parameter.
- Specified by:
 getSpotPricein interfaceCfnSpotFleet.LaunchTemplateOverridesProperty
 - 
getSubnetId
Description copied from interface:CfnSpotFleet.LaunchTemplateOverridesPropertyThe ID of the subnet in which to launch the instances.- Specified by:
 getSubnetIdin interfaceCfnSpotFleet.LaunchTemplateOverridesProperty
 - 
getWeightedCapacity
Description copied from interface:CfnSpotFleet.LaunchTemplateOverridesPropertyThe number of units provided by the specified instance type.- Specified by:
 getWeightedCapacityin interfaceCfnSpotFleet.LaunchTemplateOverridesProperty
 - 
$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() 
 -