Class: Aws::Route53Resolver::Types::Tag
- Inherits:
-
Struct
- Object
- Struct
- Aws::Route53Resolver::Types::Tag
- Defined in:
- gems/aws-sdk-route53resolver/lib/aws-sdk-route53resolver/types.rb
Overview
Note:
When making an API call, you may pass Tag data as a 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
.
Constant Summary collapse
- SENSITIVE =
[]
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
.
4786 4787 4788 4789 4790 4791 |
# File 'gems/aws-sdk-route53resolver/lib/aws-sdk-route53resolver/types.rb', line 4786 class Tag < Struct.new( :key, :value) SENSITIVE = [] include Aws::Structure end |
#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.
4786 4787 4788 4789 4790 4791 |
# File 'gems/aws-sdk-route53resolver/lib/aws-sdk-route53resolver/types.rb', line 4786 class Tag < Struct.new( :key, :value) SENSITIVE = [] include Aws::Structure end |