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
- Struct
- Aws::CloudFront::Types::TagResourceRequest
- 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
-
#resource ⇒ String
An ARN of a CloudFront resource.
-
#tags ⇒ Types::Tags
A complex type that contains zero or more
Tag
elements.
Instance Attribute Details
#resource ⇒ String
An ARN of a CloudFront resource.
#tags ⇒ Types::Tags
A complex type that contains zero or more Tag
elements.