2.0.0 • Published 4 years ago
@qmatic/cdk v2.0.0
Qmatic CDK Library
Qmatic CDK Lib is an npm library for use with AWS CDK. It contains helper functions and constructs to make it easier to work with but also to help follow conventions.
Tagging
The following code will add the given tags to the construct and all its taggable children. The function is available for both an array of tags and single tags.
QConstructTagger.applyTagsRecursively(app, [
[CommonTagKey.Environment, "prod"],
[CommonTagKey.Team, "Team Onyx"]
]
)
QConstructTagger.applyTagRecursively(app, CommonTagKey.Component, "prod")
For custom string based tags use the tagging use the built in functionality that is built in to the CDK.