Interface TagOptionsProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
TagOptionsProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.103.1 (build bef2dea)",
date="2024-09-11T18:01:23.742Z")
@Stability(Stable)
public interface TagOptionsProps
extends software.amazon.jsii.JsiiSerializable
Properties for TagOptions.
Example:
Portfolio portfolio; CloudFormationProduct product; TagOptions tagOptionsForPortfolio = TagOptions.Builder.create(this, "OrgTagOptions") .allowedValuesForTags(Map.of( "Group", List.of("finance", "engineering", "marketing", "research"), "CostCenter", List.of("01", "02", "03"))) .build(); portfolio.associateTagOptions(tagOptionsForPortfolio); TagOptions tagOptionsForProduct = TagOptions.Builder.create(this, "ProductTagOptions") .allowedValuesForTags(Map.of( "Environment", List.of("dev", "alpha", "prod"))) .build(); product.associateTagOptions(tagOptionsForProduct);
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forTagOptionsProps
static final class
An implementation forTagOptionsProps
-
Method Summary
Modifier and TypeMethodDescriptionstatic TagOptionsProps.Builder
builder()
The values that are allowed to be set for specific tags.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAllowedValuesForTags
The values that are allowed to be set for specific tags.The keys of the map represent the tag keys, and the values of the map are a list of allowed values for that particular tag key.
-
builder
- Returns:
- a
TagOptionsProps.Builder
ofTagOptionsProps
-