# TagOptionsProps

Properties for TagOptions.

Extends: TagOptionsProps
Used as props by: TagOptions

- Source: [`aws-servicecatalog/lib/tag-options.ts`](https://github.com/aws/aws-cdk/blob/v2.276.0/packages/aws-cdk-lib/aws-servicecatalog/lib/tag-options.ts#L14)
- Type last changed: v2.23.0 · 4 May 2022

## Example

```ts
declare const portfolio: servicecatalog.Portfolio;
declare const product: servicecatalog.CloudFormationProduct;

const tagOptionsForPortfolio = new servicecatalog.TagOptions(this, 'OrgTagOptions', {
  allowedValuesForTags: {
    Group: ['finance', 'engineering', 'marketing', 'research'],
    CostCenter: ['01', '02','03'],
  },
});
portfolio.associateTagOptions(tagOptionsForPortfolio);

const tagOptionsForProduct = new servicecatalog.TagOptions(this, 'ProductTagOptions', {
  allowedValuesForTags: {
    Environment: ['dev', 'alpha', 'prod'],
  },
});
product.associateTagOptions(tagOptionsForProduct);
```

## Properties

- `allowedValuesForTags`: { [key: string]: string[] } (required) — 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.
