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)


9633
9634
9635
9636
9637
9638
# File 'gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront/types.rb', line 9633

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

#tagsTypes::Tags

A complex type that contains zero or more Tag elements.

Returns:



9633
9634
9635
9636
9637
9638
# File 'gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront/types.rb', line 9633

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