@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:42.111Z") @Stability(value=Stable) public interface TagOptionsProps extends software.amazon.jsii.JsiiSerializable
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);
| Modifier and Type | Interface and Description |
|---|---|
static class |
TagOptionsProps.Builder
A builder for
TagOptionsProps |
static class |
TagOptionsProps.Jsii$Proxy
An implementation for
TagOptionsProps |
| Modifier and Type | Method and Description |
|---|---|
static TagOptionsProps.Builder |
builder() |
Map<String,List<String>> |
getAllowedValuesForTags()
The values that are allowed to be set for specific tags.
|
@Stability(value=Stable) @NotNull Map<String,List<String>> getAllowedValuesForTags()
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.
@Stability(value=Stable) static TagOptionsProps.Builder builder()
TagOptionsProps.Builder of TagOptionsPropsCopyright © 2022. All rights reserved.