public static interface CfnLaunchTemplate.LaunchTemplateTagSpecificationProperty
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 software.amazon.awscdk.services.ec2.*; LaunchTemplateTagSpecificationProperty launchTemplateTagSpecificationProperty = LaunchTemplateTagSpecificationProperty.builder() .resourceType("resourceType") .tags(List.of(CfnTag.builder() .key("key") .value("value") .build())) .build();
Modifier and Type | Interface and Description |
---|---|
static class |
CfnLaunchTemplate.LaunchTemplateTagSpecificationProperty.Builder
A builder for
CfnLaunchTemplate.LaunchTemplateTagSpecificationProperty |
static class |
CfnLaunchTemplate.LaunchTemplateTagSpecificationProperty.Jsii$Proxy
An implementation for
CfnLaunchTemplate.LaunchTemplateTagSpecificationProperty |
Modifier and Type | Method and Description |
---|---|
static CfnLaunchTemplate.LaunchTemplateTagSpecificationProperty.Builder |
builder() |
default java.lang.String |
getResourceType()
The type of resource.
|
default java.util.List<CfnTag> |
getTags()
The tags for the resource.
|
default java.lang.String getResourceType()
To tag the launch template, ResourceType
must be launch-template
.
default java.util.List<CfnTag> getTags()