Interface Tag
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
Tag.Jsii$Proxy
@Generated(value="jsii-pacmak/1.103.1 (build bef2dea)",
date="2024-10-05T03:43:43.746Z")
@Stability(Stable)
public interface Tag
extends software.amazon.jsii.JsiiSerializable
Metadata that you apply to a resource to help categorize and organize the resource.
Each tag consists of a key and an optional value, both of which you define.
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.events.targets.*; Tag tag = Tag.builder() .key("key") .value("value") .build();
-
Method Details
-
getKey
Key is the name of the tag. -
getValue
Value is the metadata contents of the tag. -
builder
- Returns:
- a
Tag.Builder
ofTag
-