As noted in Tagging AWS resources, tags are metadata you can add to your AWS resources to help your resource management:
This demonstration builds on the queue demo by adding tags to the Amazon SQS queue resource.
This demonstration includes steps to copy distinct versions of the tagging-stack.ts
file to illustrate certain tagging techniques in the CDK.
This method was chosen so that those following this demonstration do not need to type code,
just copy and paste commands.
This technique is repeated in other demonstrations as well.
Here are the purpose points for the tagging demo deck.
Steps:
lib/tagging-stack.ts).
cdk deploy).
git clone https://github.com/bwer432/awsdemo
cd awsdemo/tagging-demo/tagging
npm install # repopulate node_modules
npx cdk deploy
vi lib/tagging-stack.ts # show pre-tags baseline
cp ../tagging-stack-direct.ts lib/tagging-stack.ts
npx cdk deploy # then show results and/or source
cp ../tagging-stack-via-map.ts lib/tagging-stack.ts
npx cdk deploy # then show results and/or source
Tagging documentation: Tagging AWS resources Filtering AWS CLI output