Tagging Resources
Tags are key-value metadata that you can add to the resources in your SST app. A tag applied to a given construct and also applies to all of its taggable children. You can use tags to identify and categorize resources to simplify management, control costs, and for access control.
Let's look at how to add tags.
Tagging the app
To add tags to all the resources in your app.
stacks/index.js
import { Tags } from "aws-cdk-lib";
export default function main(app) {
Tags.of(app).add("my-tag", `${app.stage}-${app.region}`);
}