Interface CfnLaunchTemplate.LaunchTemplateTagSpecificationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnLaunchTemplate.LaunchTemplateTagSpecificationProperty.Jsii$Proxy
- Enclosing class:
CfnLaunchTemplate
@Stability(Stable)
public static interface CfnLaunchTemplate.LaunchTemplateTagSpecificationProperty
extends software.amazon.jsii.JsiiSerializable
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 software.amazon.awscdk.services.ec2.*; LaunchTemplateTagSpecificationProperty launchTemplateTagSpecificationProperty = LaunchTemplateTagSpecificationProperty.builder() .resourceType("resourceType") .tags(List.of(CfnTag.builder() .key("key") .value("value") .build())) .build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forCfnLaunchTemplate.LaunchTemplateTagSpecificationProperty
static final class
An implementation forCfnLaunchTemplate.LaunchTemplateTagSpecificationProperty
-
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getResourceType
The type of resource.To tag the launch template,
ResourceType
must belaunch-template
. -
getTags
The tags for the resource. -
builder
@Stability(Stable) static CfnLaunchTemplate.LaunchTemplateTagSpecificationProperty.Builder builder()
-