You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::Route53Resolver::Types::Tag
- Inherits:
-
Struct
- Object
- Struct
- Aws::Route53Resolver::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", # required
}
One tag that you want to add to the specified resource. A tag consists of a Key
(a name for the tag) and a Value
.
Instance Attribute Summary collapse
-
#key ⇒ String
The name for the tag.
-
#value ⇒ String
The value for the tag.
Instance Attribute Details
#key ⇒ String
The name for the tag. For example, if you want to associate Resolver
resources with the account IDs of your customers for billing purposes,
the value of Key
might be account-id
.
#value ⇒ String
The value for the tag. For example, if Key
is account-id
, then
Value
might be the ID of the customer account that you\'re creating
the resource for.