Class LaunchTemplateAttributes
Attributes for an imported LaunchTemplate.
Inheritance
System.Object
LaunchTemplateAttributes
Implements
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class LaunchTemplateAttributes : Object, ILaunchTemplateAttributes
Syntax (vb)
Public Class LaunchTemplateAttributes
Inherits Object
Implements ILaunchTemplateAttributes
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.EC2;
var launchTemplateAttributes = new LaunchTemplateAttributes {
LaunchTemplateId = "launchTemplateId",
LaunchTemplateName = "launchTemplateName",
VersionNumber = "versionNumber"
};
Synopsis
Constructors
LaunchTemplateAttributes() |
Properties
LaunchTemplateId | The identifier of the Launch Template. |
LaunchTemplateName | The name of the Launch Template. |
VersionNumber | The version number of this launch template to use. |
Constructors
LaunchTemplateAttributes()
public LaunchTemplateAttributes()
Properties
LaunchTemplateId
The identifier of the Launch Template.
public string LaunchTemplateId { get; set; }
Property Value
System.String
Remarks
Exactly one of launchTemplateId
and launchTemplateName
may be set.
Default: None
LaunchTemplateName
The name of the Launch Template.
public string LaunchTemplateName { get; set; }
Property Value
System.String
Remarks
Exactly one of launchTemplateId
and launchTemplateName
may be set.
Default: None
VersionNumber
The version number of this launch template to use.
public string VersionNumber { get; set; }
Property Value
System.String
Remarks
Default: Version: "$Default"