interface LaunchTemplateAttributes
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.EC2.LaunchTemplateAttributes |
Java | software.amazon.awscdk.services.ec2.LaunchTemplateAttributes |
Python | aws_cdk.aws_ec2.LaunchTemplateAttributes |
TypeScript (source) | @aws-cdk/aws-ec2 » LaunchTemplateAttributes |
Attributes for an imported LaunchTemplate.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as ec2 from '@aws-cdk/aws-ec2';
const launchTemplateAttributes: ec2.LaunchTemplateAttributes = {
launchTemplateId: 'launchTemplateId',
launchTemplateName: 'launchTemplateName',
versionNumber: 'versionNumber',
};
Properties
Name | Type | Description |
---|---|---|
launch | string | The identifier of the Launch Template. |
launch | string | The name of the Launch Template. |
version | string | The version number of this launch template to use. |
launchTemplateId?
Type:
string
(optional, default: None)
The identifier of the Launch Template.
Exactly one of launchTemplateId
and launchTemplateName
may be set.
launchTemplateName?
Type:
string
(optional, default: None)
The name of the Launch Template.
Exactly one of launchTemplateId
and launchTemplateName
may be set.
versionNumber?
Type:
string
(optional, default: Version: "$Default")
The version number of this launch template to use.