-
Notifications
You must be signed in to change notification settings - Fork 4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(cfn2ts) Add support for Tags on L1 constructs (#1007)
* This adds the ability to define a TagManager at level in the construct tree and L1 constructs that support a known tag type will configure tags as expected (propagated from parents, etc). * changes to codegen to add support for currently known tag types - Standard Tags Key/Value - ASG Tags Standard + PropagateAtLaunch - Serverless and DAX Tags Map String-String * cfnspec updates to identify Tag Property and Taggable Resources * added to resource.ts a TaggableResource object that converts initial tags and address tag formatting on resolution via new TagType and ITagFormatter * TagManager now supports composition instead of inheritance with ITagFormatter interfaces. * If an L1 Resource has a property `Tags` then add support for a TagManager
- Loading branch information
Showing
12 changed files
with
436 additions
and
151 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.