class Aws::CloudFront::Types::TagResourceRequest

The request to add tags to a CloudFront resource.

@note When making an API call, you may pass TagResourceRequest

data as a hash:

    {
      resource: "ResourceARN", # required
      tags: { # required
        items: [
          {
            key: "TagKey", # required
            value: "TagValue",
          },
        ],
      },
    }

@!attribute [rw] resource

An ARN of a CloudFront resource.
@return [String]

@!attribute [rw] tags

A complex type that contains zero or more `Tag` elements.
@return [Types::Tags]

@see docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/TagResourceRequest AWS API Documentation

Constants

SENSITIVE