aws-cdk-lib.aws_ec2.CfnLaunchTemplate.LaunchTemplateTagSpecificationProperty

interface LaunchTemplateTagSpecificationProperty

LanguageType name
.NETAmazon.CDK.AWS.EC2.CfnLaunchTemplate.LaunchTemplateTagSpecificationProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsec2#CfnLaunchTemplate_LaunchTemplateTagSpecificationProperty
Javasoftware.amazon.awscdk.services.ec2.CfnLaunchTemplate.LaunchTemplateTagSpecificationProperty
Pythonaws_cdk.aws_ec2.CfnLaunchTemplate.LaunchTemplateTagSpecificationProperty
TypeScript aws-cdk-lib » aws_ec2 » CfnLaunchTemplate » LaunchTemplateTagSpecificationProperty

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

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

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_ec2 as ec2 } from 'aws-cdk-lib';
const launchTemplateTagSpecificationProperty: ec2.CfnLaunchTemplate.LaunchTemplateTagSpecificationProperty = {
  resourceType: 'resourceType',
  tags: [{
    key: 'key',
    value: 'value',
  }],
};

Properties

NameTypeDescription
resourceType?stringThe type of resource.
tags?CfnTag[]The tags for the resource.

resourceType?

Type: string (optional)

The type of resource.

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


tags?

Type: CfnTag[] (optional)

The tags for the resource.