aws-cdk-lib.aws_ec2.LaunchTemplateSpecialVersions

class LaunchTemplateSpecialVersions

LanguageType name
.NETAmazon.CDK.AWS.EC2.LaunchTemplateSpecialVersions
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsec2#LaunchTemplateSpecialVersions
Javasoftware.amazon.awscdk.services.ec2.LaunchTemplateSpecialVersions
Pythonaws_cdk.aws_ec2.LaunchTemplateSpecialVersions
TypeScript (source)aws-cdk-lib » aws_ec2 » LaunchTemplateSpecialVersions

A class that provides convenient access to special version tokens for LaunchTemplate versions.

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_ec2 as ec2 } from 'aws-cdk-lib';
const launchTemplateSpecialVersions = new ec2.LaunchTemplateSpecialVersions();

Initializer

new LaunchTemplateSpecialVersions()

Properties

NameTypeDescription
static DEFAULT_VERSIONstringThe special value that denotes that users of a Launch Template should reference the DEFAULT version of the template.
static LATEST_VERSIONstringThe special value that denotes that users of a Launch Template should reference the LATEST version of the template.

static DEFAULT_VERSION

Type: string

The special value that denotes that users of a Launch Template should reference the DEFAULT version of the template.


static LATEST_VERSION

Type: string

The special value that denotes that users of a Launch Template should reference the LATEST version of the template.