public static final class LaunchTemplateOverrides.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements LaunchTemplateOverrides
LaunchTemplateOverrides
LaunchTemplateOverrides.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.
|
Modifier and Type | Method and Description |
---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(java.lang.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.
|
java.lang.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() |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
builder
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef
- Reference to the JSII managed object.public final InstanceType getInstanceType()
LaunchTemplateOverrides
Default: - Do not override instance type
getInstanceType
in interface LaunchTemplateOverrides
public final ILaunchTemplate getLaunchTemplate()
LaunchTemplateOverrides
For 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 LaunchTemplateOverrides
public final java.lang.Number getWeightedCapacity()
LaunchTemplateOverrides
When 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
public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
public final boolean equals(java.lang.Object o)
public final int hashCode()