Class: Aws::Comprehend::Types::Tag
- Inherits:
-
Struct
- Object
- Struct
- Aws::Comprehend::Types::Tag
- Defined in:
- gems/aws-sdk-comprehend/lib/aws-sdk-comprehend/types.rb
Overview
A key-value pair that adds as a metadata to a resource used by Amazon Comprehend. For example, a tag with the key-value pair ‘Department’:’Sales’ might be added to a resource to indicate its use by a particular department.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#key ⇒ String
The initial part of a key-value pair that forms a tag associated with a given resource.
-
#value ⇒ String
The second part of a key-value pair that forms a tag associated with a given resource.
Instance Attribute Details
#key ⇒ String
The initial part of a key-value pair that forms a tag associated with a given resource. For instance, if you want to show which resources are used by which departments, you might use “Department” as the key portion of the pair, with multiple possible values such as “sales,” “legal,” and “administration.”
8171 8172 8173 8174 8175 8176 |
# File 'gems/aws-sdk-comprehend/lib/aws-sdk-comprehend/types.rb', line 8171 class Tag < Struct.new( :key, :value) SENSITIVE = [] include Aws::Structure end |
#value ⇒ String
The second part of a key-value pair that forms a tag associated with a given resource. For instance, if you want to show which resources are used by which departments, you might use “Department” as the initial (key) portion of the pair, with a value of “sales” to indicate the sales department.
8171 8172 8173 8174 8175 8176 |
# File 'gems/aws-sdk-comprehend/lib/aws-sdk-comprehend/types.rb', line 8171 class Tag < Struct.new( :key, :value) SENSITIVE = [] include Aws::Structure end |