@Stability(value=Stable) @Internal public static final class LaunchTemplateOverrides.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements LaunchTemplateOverrides
LaunchTemplateOverridessoftware.amazon.jsii.JsiiObject.InitializationModeLaunchTemplateOverrides.Builder, LaunchTemplateOverrides.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
protected |
Jsii$Proxy(LaunchTemplateOverrides.Builder builder)
Constructor that initializes the object based on literal property values passed by the
LaunchTemplateOverrides.Builder. |
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
InstanceType |
getInstanceType()
The instance type, such as m3.xlarge.
|
ILaunchTemplate |
getLaunchTemplate()
Provides the launch template to be used when launching the instance type.
|
Number |
getWeightedCapacity()
The number of capacity units provided by the specified instance type in terms of virtual CPUs, memory, storage, throughput, or other relative performance characteristic.
|
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(LaunchTemplateOverrides.Builder builder)
LaunchTemplateOverrides.Builder.public final InstanceType getInstanceType()
LaunchTemplateOverridesDefault: - Do not override instance type
getInstanceType in interface LaunchTemplateOverridespublic final ILaunchTemplate getLaunchTemplate()
LaunchTemplateOverridesFor example, some instance types might require a launch template with a different AMI. If not provided, Amazon EC2 Auto Scaling uses the launch template that's defined for your mixed instances policy.
Default: - Do not override launch template
getLaunchTemplate in interface LaunchTemplateOverridespublic final Number getWeightedCapacity()
LaunchTemplateOverridesWhen a Spot or On-Demand Instance is provisioned, the capacity units count toward the desired capacity. Amazon EC2 Auto Scaling provisions instances until the desired capacity is totally fulfilled, even if this results in an overage. Value must be in the range of 1 to 999.
For example, If there are 2 units remaining to fulfill capacity, and Amazon EC2 Auto Scaling can only provision an instance with a WeightedCapacity of 5 units, the instance is provisioned, and the desired capacity is exceeded by 3 units.
Default: - Do not provide weight
getWeightedCapacity in interface LaunchTemplateOverrides@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2022. All rights reserved.