Class: Aws::Athena::Types::Tag
- Inherits:
-
Struct
- Object
- Struct
- Aws::Athena::Types::Tag
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-athena/types.rb
Overview
When making an API call, you may pass Tag data as a hash:
{
key: "TagKey",
value: "TagValue",
}
A tag that you can add to a resource. A tag is a label that you assign to an AWS Athena resource (a workgroup). Each tag consists of a key and an optional value, both of which you define. Tags enable you to categorize workgroups in Athena, for example, by purpose, owner, or environment. Use a consistent set of tag keys to make it easier to search and filter workgroups in your account. The maximum tag key length is 128 Unicode characters in UTF-8. The maximum tag value length is 256 Unicode characters in UTF-8. You can use letters and numbers representable in UTF-8, and the following characters: + - = . _ : / @. Tag keys and values are case-sensitive. Tag keys must be unique per resource.
Instance Attribute Summary collapse
-
#key ⇒ String
A tag key.
-
#value ⇒ String
A tag value.
Instance Attribute Details
#key ⇒ String
A tag key. The tag key length is from 1 to 128 Unicode characters in UTF-8. You can use letters and numbers representable in UTF-8, and the following characters: + - = . _ : / @. Tag keys are case-sensitive and must be unique per resource.
1196 1197 1198 1199 1200 |
# File 'lib/aws-sdk-athena/types.rb', line 1196 class Tag < Struct.new( :key, :value) include Aws::Structure end |
#value ⇒ String
A tag value. The tag value length is from 0 to 256 Unicode characters in UTF-8. You can use letters and numbers representable in UTF-8, and the following characters: + - = . _ : / @. Tag values are case-sensitive.
1196 1197 1198 1199 1200 |
# File 'lib/aws-sdk-athena/types.rb', line 1196 class Tag < Struct.new( :key, :value) include Aws::Structure end |