Interface ILaunchTemplate
- All Superinterfaces:
software.constructs.IConstruct,software.constructs.IDependable,IEnvironmentAware,ILaunchTemplateRef,IResource,software.amazon.jsii.JsiiSerializable
- All Known Subinterfaces:
ILaunchTemplate.Jsii$Default
- All Known Implementing Classes:
ILaunchTemplate.Jsii$Proxy,LaunchTemplate
@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)",
date="2025-11-20T23:37:19.274Z")
@Stability(Stable)
public interface ILaunchTemplate
extends software.amazon.jsii.JsiiSerializable, IResource, ILaunchTemplateRef
Interface for LaunchTemplate-like objects.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceInternal default implementation forILaunchTemplate.static final classA proxy class which represents a concrete javascript instance of this type. -
Method Summary
Methods inherited from interface software.amazon.awscdk.interfaces.ec2.ILaunchTemplateRef
getLaunchTemplateRefMethods inherited from interface software.amazon.awscdk.IResource
applyRemovalPolicy, getStackMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getVersionNumber
The version number of this launch template to use. -
getLaunchTemplateId
The identifier of the Launch Template.Exactly one of
launchTemplateIdandlaunchTemplateNamewill be set. -
getLaunchTemplateName
The name of the Launch Template.Exactly one of
launchTemplateIdandlaunchTemplateNamewill be set. -
getNode
@Stability(Stable) @NotNull software.constructs.Node getNode()The tree node.- Specified by:
getNodein interfacesoftware.constructs.IConstruct
-
getEnv
The environment this resource belongs to.For resources that are created and managed in a Stack (those created by creating new class instances like
new Role(),new Bucket(), etc.), this is always the same as the environment of the stack they belong to.For referenced resources (those obtained from referencing methods like
Role.fromRoleArn(),Bucket.fromBucketName(), etc.), they might be different than the stack they were imported into.- Specified by:
getEnvin interfaceIEnvironmentAware
-