Class: Aws::CloudFront::Types::Tag
- Inherits:
-
Struct
- Object
- Struct
- Aws::CloudFront::Types::Tag
- Defined in:
- gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront/types.rb
Overview
Note:
When making an API call, you may pass Tag data as a hash:
{
key: "TagKey", # required
value: "TagValue",
}
A complex type that contains Tag
key and Tag
value.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#key ⇒ String
A string that contains
Tag
key. -
#value ⇒ String
A string that contains an optional
Tag
value.
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 _ - . : / = + @
.
13147 13148 13149 13150 13151 13152 |
# File 'gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront/types.rb', line 13147 class Tag < Struct.new( :key, :value) SENSITIVE = [] include Aws::Structure end |
#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 _ - . : / = + @
.
13147 13148 13149 13150 13151 13152 |
# File 'gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront/types.rb', line 13147 class Tag < Struct.new( :key, :value) SENSITIVE = [] include Aws::Structure end |