v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1451364414.8 KB

Associates tags with the specified Amazon Web Services resource. Tags are key:value pairs that you can use to categorize and manage your resources, for purposes like billing. For example, you might set the tag key to "customer" and the value to the customer name or ID. You can specify one or more tags to add to each Amazon Web Services resource, up to 50 tags for a resource.

You can tag the Amazon Web Services resources that you manage through WAF: web ACLs, rule groups, IP sets, and regex pattern sets. You can't manage or view tags through the WAF console.

post/#X-Amz-Target=AWSWAF_20190729.TagResource

Headers

X-Amz-Target'AWSWAF_20190729.TagResource' required

Request body

ResourceARNstring required

The Amazon Resource Name (ARN) of the resource.

Response

Success

TagResourceResponse required