You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::Inspector::Types::Tag
- Inherits:
-
Struct
- Object
- Struct
- Aws::Inspector::Types::Tag
- Defined in:
- (unknown)
Overview
Note:
When passing Tag as input to an Aws::Client method, you can use a vanilla Hash:
{
key: "TagKey", # required
value: "TagValue",
}
A key and value pair. This data type is used as a request parameter in the SetTagsForResource action and a response element in the ListTagsForResource action.
Instance Attribute Summary collapse
-
#key ⇒ String
A tag key.
-
#value ⇒ String
A value assigned to a tag key.
Instance Attribute Details
#key ⇒ String
A tag key.
#value ⇒ String
A value assigned to a tag key.