@Stability(value=Stable)
public static interface CfnLaunchTemplate.LaunchTemplateTagSpecificationProperty
extends software.amazon.jsii.JsiiSerializable
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 String |
getResourceType()
The type of resource.
|
default List<CfnTag> |
getTags()
The tags for the resource.
|
@Stability(value=Stable) @Nullable default String getResourceType()
To tag the launch template, ResourceType must be launch-template .
@Stability(value=Stable) @Nullable default List<CfnTag> getTags()
@Stability(value=Stable) static CfnLaunchTemplate.LaunchTemplateTagSpecificationProperty.Builder builder()
Copyright © 2022. All rights reserved.