You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::CloudFront::Types::TagResourceRequest

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing TagResourceRequest as input to an Aws::Client method, you can use a vanilla Hash:

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

The request to add tags to a CloudFront resource.

Instance Attribute Summary collapse

Instance Attribute Details

#resourceString

An ARN of a CloudFront resource.

Returns:

  • (String)

    An ARN of a CloudFront resource.

#tagsTypes::Tags

A complex type that contains zero or more Tag elements.

Returns:

  • (Types::Tags)

    A complex type that contains zero or more Tag elements.