Class: Aws::CloudTrail::Types::Tag
- Inherits:
-
Struct
- Object
- Struct
- Aws::CloudTrail::Types::Tag
- Defined in:
- gems/aws-sdk-cloudtrail/lib/aws-sdk-cloudtrail/types.rb
Overview
Note:
When making an API call, you may pass Tag data as a hash:
{
key: "String", # required
value: "String",
}
A custom key-value pair associated with a resource such as a CloudTrail trail.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#key ⇒ String
The key in a key-value pair.
-
#value ⇒ String
The value in a key-value pair of a tag.
Instance Attribute Details
#key ⇒ String
The key in a key-value pair. The key must be must be no longer than 128 Unicode characters. The key must be unique for the resource to which it applies.
2183 2184 2185 2186 2187 2188 |
# File 'gems/aws-sdk-cloudtrail/lib/aws-sdk-cloudtrail/types.rb', line 2183 class Tag < Struct.new( :key, :value) SENSITIVE = [] include Aws::Structure end |