All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
Tag.Jsii$Proxy

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:29:54.702Z") @Stability(Stable) public interface Tag extends software.amazon.jsii.JsiiSerializable
Metadata Entry spec for stack tag.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.cloudassembly.schema.*;
 Tag tag = Tag.builder()
         .key("key")
         .value("value")
         .build();
 
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static final class 
    A builder for Tag
    static final class 
    An implementation for Tag
  • Method Summary

    Modifier and Type
    Method
    Description
     
    Tag key.
    Tag value.

    Methods inherited from interface software.amazon.jsii.JsiiSerializable

    $jsii$toJson
  • Method Details

    • getKey

      @Stability(Stable) @NotNull String getKey()
      Tag key.

      (In the actual file on disk this will be cased as "Key", and the structure is patched to match this structure upon loading: https://github.com/aws/aws-cdk/blob/4aadaa779b48f35838cccd4e25107b2338f05547/packages/%40aws-cdk/cloud-assembly-schema/lib/manifest.ts#L137)

    • getValue

      @Stability(Stable) @NotNull String getValue()
      Tag value.

      (In the actual file on disk this will be cased as "Value", and the structure is patched to match this structure upon loading: https://github.com/aws/aws-cdk/blob/4aadaa779b48f35838cccd4e25107b2338f05547/packages/%40aws-cdk/cloud-assembly-schema/lib/manifest.ts#L137)

    • builder

      @Stability(Stable) static Tag.Builder builder()
      Returns:
      a Tag.Builder of Tag