Show / Hide Table of Contents

Class CfnLaunchTemplate.LaunchTemplateTagSpecificationProperty

Specifies the tags to apply to the launch template during creation.

Inheritance
object
CfnLaunchTemplate.LaunchTemplateTagSpecificationProperty
Implements
CfnLaunchTemplate.ILaunchTemplateTagSpecificationProperty
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnLaunchTemplate.LaunchTemplateTagSpecificationProperty : CfnLaunchTemplate.ILaunchTemplateTagSpecificationProperty
Syntax (vb)
Public Class CfnLaunchTemplate.LaunchTemplateTagSpecificationProperty Implements 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 .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-launchtemplatetagspecification.html

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

Constructors

LaunchTemplateTagSpecificationProperty()

Specifies the tags to apply to the launch template during creation.

Properties

ResourceType

The type of resource.

Tags

The tags for the resource.

Constructors

LaunchTemplateTagSpecificationProperty()

Specifies the tags to apply to the launch template during creation.

public LaunchTemplateTagSpecificationProperty()
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 .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-launchtemplatetagspecification.html

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"
                 } }
             };

Properties

ResourceType

The type of resource.

public string? ResourceType { get; set; }
Property Value

string

Remarks

To tag a launch template, ResourceType must be launch-template .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-launchtemplatetagspecification.html#cfn-ec2-launchtemplate-launchtemplatetagspecification-resourcetype

Tags

The tags for the resource.

public ICfnTag[]? Tags { get; set; }
Property Value

ICfnTag[]

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-launchtemplatetagspecification.html#cfn-ec2-launchtemplate-launchtemplatetagspecification-tags

Implements

CfnLaunchTemplate.ILaunchTemplateTagSpecificationProperty
Back to top Generated by DocFX