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.
  • Method Details

    • getVersionNumber

      @Stability(Stable) @NotNull String getVersionNumber()
      The version number of this launch template to use.
    • getLaunchTemplateId

      @Stability(Stable) @Nullable default String getLaunchTemplateId()
      The identifier of the Launch Template.

      Exactly one of launchTemplateId and launchTemplateName will be set.

    • getLaunchTemplateName

      @Stability(Stable) @Nullable default String getLaunchTemplateName()
      The name of the Launch Template.

      Exactly one of launchTemplateId and launchTemplateName will be set.

    • getNode

      @Stability(Stable) @NotNull software.constructs.Node getNode()
      The tree node.
      Specified by:
      getNode in interface software.constructs.IConstruct
    • getEnv

      @Stability(Stable) @NotNull ResourceEnvironment 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:
      getEnv in interface IEnvironmentAware