@Stability(value=Stable) @Internal public static final class CfnComputeEnvironment.LaunchTemplateSpecificationProperty.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnComputeEnvironment.LaunchTemplateSpecificationProperty
CfnComputeEnvironment.LaunchTemplateSpecificationPropertysoftware.amazon.jsii.JsiiObject.InitializationModeCfnComputeEnvironment.LaunchTemplateSpecificationProperty.Builder, CfnComputeEnvironment.LaunchTemplateSpecificationProperty.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(CfnComputeEnvironment.LaunchTemplateSpecificationProperty.Builder builder)
Constructor that initializes the object based on literal property values passed by the
CfnComputeEnvironment.ComputeResourcesProperty.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 |
getLaunchTemplateId()
The ID of the launch template.
|
String |
getLaunchTemplateName()
The name of the launch template.
|
String |
getVersion()
The version number of the launch template, `$Latest` , or `$Default` .
|
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(CfnComputeEnvironment.LaunchTemplateSpecificationProperty.Builder builder)
CfnComputeEnvironment.ComputeResourcesProperty.Builder.public final String getLaunchTemplateId()
CfnComputeEnvironment.LaunchTemplateSpecificationPropertygetLaunchTemplateId in interface CfnComputeEnvironment.LaunchTemplateSpecificationPropertypublic final String getLaunchTemplateName()
CfnComputeEnvironment.LaunchTemplateSpecificationPropertygetLaunchTemplateName in interface CfnComputeEnvironment.LaunchTemplateSpecificationPropertypublic final String getVersion()
CfnComputeEnvironment.LaunchTemplateSpecificationProperty
If the value is $Latest , the latest version of the launch template is used. If the value is $Default , the default version of the launch template is used.
If the AMI ID that's used in a compute environment is from the launch template, the AMI isn't changed when the compute environment is updated. It's only changed if the
updateToLatestImageVersionparameter for the compute environment is set totrue. During an infrastructure update, if either$Latestor$Defaultis specified, AWS Batch re-evaluates the launch template version, and it might use a different version of the launch template. This is the case even if the launch template isn't specified in the update. When updating a compute environment, changing the launch template requires an infrastructure update of the compute environment. For more information, see Updating compute environments in the AWS Batch User Guide .
Default: $Default .
getVersion in interface CfnComputeEnvironment.LaunchTemplateSpecificationProperty@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2022. All rights reserved.