Interface Tag
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
Tag.Jsii$Proxy
@Generated(value="jsii-pacmak/1.139.0 (build 26a6b54)", date="2026-07-30T08:06:26.721Z") @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 classTag.BuilderA builder forTagstatic classTag.Jsii$ProxyAn implementation forTag
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description static Tag.Builderbuilder()StringgetKey()Tag key.StringgetValue()Tag value.
-
-
-
Method Detail
-
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.BuilderofTag
-
-