View Tags for a Project - AWS CodeBuild

View Tags for a Project

Tags can help you identify and organize your AWS resources and manage access to them. For more information about using tags, see the Tagging Best Practices whitepaper. For examples of tag-based access policies, see Using tags to control access to AWS CodeBuild resources.

View Tags for a Project (Console)

You can use the CodeBuild console to view the tags associated with a CodeBuild project.

  1. Open the CodeBuild console at https://console.aws.amazon.com/codebuild/.

  2. In Build projects, choose the name of the project where you want to view tags.

  3. In the navigation pane, choose Settings. Choose Build project tags.

View Tags for a Project (AWS CLI)

To view tags for a build project, run the following command. Use the name of your project for the --names parameter.

aws codebuild batch-get-projects --names your-project-name

If successful, this command returns JSON-formatted information about your build project that includes something like the following:

{ "tags": { "Status": "Secret", "Team": "JanesProject" } }

If the project does not have tags, the tags section is empty:

"tags": []