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
View tags for a report group
(console)
You can use the CodeBuild console to view the tags associated with a CodeBuild report group.
Open the CodeBuild console at https://console.aws.amazon.com/codebuild/
. -
In Report groups, choose the name of the report group where you want to view tags.
-
In the navigation pane, choose Settings.
View tags for a report group
(AWS CLI)
Follow these steps to use the AWS CLI to view the AWS tags for a report group. If no tags have been added, the returned tags list is empty.
-
Use the console or the AWS CLI to locate the ARN of your report group. Make a note of it.
Run the following command.
aws list-report-groups
This command returns JSON-formatted information similar to the following:
{ "reportGroups": [ "arn:aws:codebuild:
region
:123456789012
:report-group/report-group-1
", "arn:aws:codebuild:region
:123456789012
:report-group/report-group-2
", "arn:aws:codebuild:region
:123456789012
:report-group/report-group-3
" ] }A report group ARN ends with its name, which you can use to identify the ARN for your report group.
-
Run the following command. Use the ARN you made a note of for the
--report-group-arns
parameter.aws codebuild batch-get-report-groups --report-group-arns arn:aws:codebuild:
region
:123456789012
:report-group/report-group-name
If successful, this command returns JSON-formatted information that contains a
tags
section similar to the following:{ ... "tags": { "Status": "Secret", "Project": "TestBuild" } ... }