Interface CfnLaunchTemplate.ILaunchTemplateTagSpecificationProperty
Specifies the tags to apply to the launch template during creation.
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface CfnLaunchTemplate.ILaunchTemplateTagSpecificationProperty
Syntax (vb)
Public Interface CfnLaunchTemplate.ILaunchTemplateTagSpecificationProperty
Remarks
To specify the tags for the resources that are created during instance launch, use AWS::EC2::LaunchTemplate TagSpecification .
LaunchTemplateTagSpecification is a property of AWS::EC2::LaunchTemplate .
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 launchTemplateTagSpecificationProperty = new LaunchTemplateTagSpecificationProperty {
ResourceType = "resourceType",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
};
Synopsis
Properties
| ResourceType | The type of resource. |
| Tags | The tags for the resource. |
Properties
ResourceType
The type of resource.
string? ResourceType { get; }
Property Value
Remarks
To tag a launch template, ResourceType must be launch-template .