-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docs: Create a "How-To Tag my Resources" section #360
Labels
docs/guide
Related to the developer guide
effort/small
Small work item – less than a day of effort
p1
pr/work-in-progress
This PR is a draft and needs further work.
Comments
See PR #538 |
I'm working on this now. |
eladb
pushed a commit
that referenced
this issue
Feb 6, 2019
A generalized aspect framework is added. Aspects can be used to affect the construct tree without modifying the class hierarchy. This framework is designed to be generic for future use cases. Tagging is the first implementation. Tagging has been reimplemented to leverage the aspect framework and simplify the original tag design. Tag Manager still exists, but is no longer intended for use by L2 construct authors. There are two new classes `cdk.Tag` and `cdk.RemoveTag`. As new resources are added tag support will be automatic as long as they implement one of the existing tag specifications. All L2 constructs have removed the TagManager. Code generation has been modified to add tag support to any CloudFormation Resource with a matching specification, by creating a Tag Manager for that resource as a `tags` attribute. The schema code now includes the ability to detect 3 forms of tags which include the current CloudFormation Resources. BREAKING CHANGE: if you are using TagManager the API for this object has completely changed. You should no longer use TagManager directly, but instead replace this with Tag Aspects. `cdk.Tag` has been renamed to `cdk.CfnTag` to enable `cdk.Tag` to be the Tag Aspect. Fixes #1136 Fixes #1497 Related #360
I'm going to tackle this today. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
docs/guide
Related to the developer guide
effort/small
Small work item – less than a day of effort
p1
pr/work-in-progress
This PR is a draft and needs further work.
No description provided.
The text was updated successfully, but these errors were encountered: