Show / Hide Table of Contents

Class CfnLaunchTemplate.LaunchTemplateTagSpecificationProperty

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

Inheritance
System.Object
CfnLaunchTemplate.LaunchTemplateTagSpecificationProperty
Implements
CfnLaunchTemplate.ILaunchTemplateTagSpecificationProperty
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.AWS.EC2.dll
Syntax (csharp)
public class LaunchTemplateTagSpecificationProperty : Object, CfnLaunchTemplate.ILaunchTemplateTagSpecificationProperty
Syntax (vb)
Public Class LaunchTemplateTagSpecificationProperty
    Inherits Object
    Implements CfnLaunchTemplate.ILaunchTemplateTagSpecificationProperty
Remarks

LaunchTemplateTagSpecification is a property of AWS::EC2::LaunchTemplate .

Link: 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;

LaunchTemplateTagSpecificationProperty launchTemplateTagSpecificationProperty = new LaunchTemplateTagSpecificationProperty {
    ResourceType = "resourceType",
    Tags = new [] { new CfnTag {
        Key = "key",
        Value = "value"
    } }
};

Synopsis

Constructors

LaunchTemplateTagSpecificationProperty()

Properties

ResourceType

The type of resource.

Tags

The tags for the resource.

Constructors

LaunchTemplateTagSpecificationProperty()

public LaunchTemplateTagSpecificationProperty()

Properties

ResourceType

The type of resource.

public string ResourceType { get; set; }
Property Value

System.String

Remarks

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

Link: 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

Link: 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