You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::CloudFront::Types::Tag
- Inherits:
-
Struct
- Object
- Struct
- Aws::CloudFront::Types::Tag
- Defined in:
- (unknown)
Overview
Note:
When passing Tag as input to an Aws::Client method, you can use a vanilla Hash:
{
key: "TagKey", # required
value: "TagValue",
}
A complex type that contains Tag key and Tag value.
Instance Attribute Summary collapse
-
#key ⇒ String
A string that contains
Tagkey. -
#value ⇒ String
A string that contains an optional
Tagvalue.
Instance Attribute Details
#key ⇒ String
A string that contains Tag key.
The string length should be between 1 and 128 characters. Valid
characters include a-z, A-Z, 0-9, space, and the special
characters _ - . : / = + @.
#value ⇒ String
A string that contains an optional Tag value.
The string length should be between 0 and 256 characters. Valid
characters include a-z, A-Z, 0-9, space, and the special
characters _ - . : / = + @.