Class CfnComputeEnvironment.LaunchTemplateSpecificationProperty.Jsii$Proxy
- All Implemented Interfaces:
CfnComputeEnvironment.LaunchTemplateSpecificationProperty,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnComputeEnvironment.LaunchTemplateSpecificationProperty
CfnComputeEnvironment.LaunchTemplateSpecificationProperty-
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.batch.CfnComputeEnvironment.LaunchTemplateSpecificationProperty
CfnComputeEnvironment.LaunchTemplateSpecificationProperty.Builder, CfnComputeEnvironment.LaunchTemplateSpecificationProperty.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor that initializes the object based on literal property values passed by theCfnComputeEnvironment.LaunchTemplateSpecificationProperty.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 ID of the launch template.final StringThe name of the launch template.final ObjectA launch template to use in place of the default launch template.final StringThe EKS node initialization process to use.final StringThe version number of the launch template,$Default, or$Latest.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 theCfnComputeEnvironment.LaunchTemplateSpecificationProperty.Builder.
-
-
Method Details
-
getLaunchTemplateId
Description copied from interface:CfnComputeEnvironment.LaunchTemplateSpecificationPropertyThe ID of the launch template.- Specified by:
getLaunchTemplateIdin interfaceCfnComputeEnvironment.LaunchTemplateSpecificationProperty- See Also:
-
getLaunchTemplateName
Description copied from interface:CfnComputeEnvironment.LaunchTemplateSpecificationPropertyThe name of the launch template.- Specified by:
getLaunchTemplateNamein interfaceCfnComputeEnvironment.LaunchTemplateSpecificationProperty- See Also:
-
getOverrides
Description copied from interface:CfnComputeEnvironment.LaunchTemplateSpecificationPropertyA launch template to use in place of the default launch template.You must specify either the launch template ID or launch template name in the request, but not both.
You can specify up to ten (10) launch template overrides that are associated to unique instance types or families for each compute environment.
To unset all override templates for a compute environment, you can pass an empty array to the UpdateComputeEnvironment.overrides parameter, or not include the
overridesparameter when submitting theUpdateComputeEnvironmentAPI operation.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnComputeEnvironment.LaunchTemplateSpecificationOverrideProperty>- Specified by:
getOverridesin interfaceCfnComputeEnvironment.LaunchTemplateSpecificationProperty- See Also:
-
getUserdataType
Description copied from interface:CfnComputeEnvironment.LaunchTemplateSpecificationPropertyThe EKS node initialization process to use.You only need to specify this value if you are using a custom AMI. The default value is
EKS_BOOTSTRAP_SH. If imageType is a custom AMI based on EKS_AL2023 or EKS_AL2023_NVIDIA then you must chooseEKS_NODEADM.- Specified by:
getUserdataTypein interfaceCfnComputeEnvironment.LaunchTemplateSpecificationProperty- See Also:
-
getVersion
Description copied from interface:CfnComputeEnvironment.LaunchTemplateSpecificationPropertyThe version number of the launch template,$Default, or$Latest.If the value is
$Default, the default version of the launch template is used. If the value is$Latest, the latest 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$Defaultor$Latestis 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:
$DefaultLatest:
$Latest- Specified by:
getVersionin interfaceCfnComputeEnvironment.LaunchTemplateSpecificationProperty- See Also:
-
$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()
-