aws pi tag-resource
Adds metadata tags to the Amazon RDS Performance Insights resource. AWS CLI reference
1 example 3 options Its page in the AWS CLI reference
Examples
To add a tag to a performance analysis report
The following tag-resource example adds the tag key name with the tag value test-tag to a performance analysis report with the report ID report-0d99cc91c4422ee61.
aws pi tag-resource --service-type RDS --resource-arn arn:aws:pi:us-west-2:123456789012:perf-reports/RDS/db-abcdefg123456789/report-0d99cc91c4422ee61 --tags Key=name,Value=test-tagIdentify--service-typeThe Amazon Web Services service for which Performance Insights returns metrics.--resource-arnThe Amazon RDS Performance Insights resource that the tags are added to.--tagsThe metadata assigned to an Amazon RDS resource consisting of a key-value pair.This command produces no output.
For more information about tagging performance analysis reports, see AWS CLI examples for Performance Insights in the Amazon RDS User Guide and AWS CLI examples for Performance Insights in the Amazon Aurora User Guide.
Options
--resource-arnThe Amazon RDS Performance Insights resource that the tags are added to.--service-typeThe Amazon Web Services service for which Performance Insights returns metrics.--tagsThe metadata assigned to an Amazon RDS resource consisting of a key-value pair.