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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront/types.rb

Overview

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",
      },
    ],
  },
}

The request to add tags to a CloudFront resource.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#resourceString

An ARN of a CloudFront resource.

Returns:

  • (String)


7880
7881
7882
7883
7884
7885
# File 'gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront/types.rb', line 7880

class TagResourceRequest < Struct.new(
  :resource,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#tagsTypes::Tags

A complex type that contains zero or more Tag elements.

Returns:



7880
7881
7882
7883
7884
7885
# File 'gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront/types.rb', line 7880

class TagResourceRequest < Struct.new(
  :resource,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end