Class: Aws::IAM::Types::Tag
- Inherits:
-
Struct
- Object
- Struct
- Aws::IAM::Types::Tag
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-iam/types.rb
Overview
A structure that represents user-provided metadata that can be associated with an IAM resource. For more information about tagging, see [Tagging IAM resources] in the *IAM User Guide*.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#key ⇒ String
The key name that can be used to look up or retrieve the associated value.
-
#value ⇒ String
The value associated with this tag.
Instance Attribute Details
#key ⇒ String
The key name that can be used to look up or retrieve the associated value. For example, ‘Department` or `Cost Center` are common choices.
10992 10993 10994 10995 10996 10997 |
# File 'lib/aws-sdk-iam/types.rb', line 10992 class Tag < Struct.new( :key, :value) SENSITIVE = [] include Aws::Structure end |
#value ⇒ String
The value associated with this tag. For example, tags with a key name of ‘Department` could have values such as `Human Resources`, `Accounting`, and `Support`. Tags with a key name of `Cost Center` might have values that consist of the number associated with the different cost centers in your company. Typically, many resources have tags with the same key name but with different values.
10992 10993 10994 10995 10996 10997 |
# File 'lib/aws-sdk-iam/types.rb', line 10992 class Tag < Struct.new( :key, :value) SENSITIVE = [] include Aws::Structure end |