Class: Aws::CloudFormation::Types::Tag
- Inherits:
-
Struct
- Object
- Struct
- Aws::CloudFormation::Types::Tag
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-cloudformation/types.rb
Overview
Note:
When making an API call, you may pass Tag data as a hash:
{
key: "TagKey", # required
value: "TagValue", # required
}
The Tag type enables you to specify a key-value pair that can be used to store information about an AWS CloudFormation stack.
Instance Attribute Summary collapse
-
#key ⇒ String
Required.
-
#value ⇒ String
Required.
Instance Attribute Details
#key ⇒ String
Required. A string used to identify this tag. You can specify a maximum of 128 characters for a tag key. Tags owned by Amazon Web Services (AWS) have the reserved prefix: ‘aws:`.
4245 4246 4247 4248 4249 |
# File 'lib/aws-sdk-cloudformation/types.rb', line 4245 class Tag < Struct.new( :key, :value) include Aws::Structure end |
#value ⇒ String
Required. A string containing the value for this tag. You can specify a maximum of 256 characters for a tag value.
4245 4246 4247 4248 4249 |
# File 'lib/aws-sdk-cloudformation/types.rb', line 4245 class Tag < Struct.new( :key, :value) include Aws::Structure end |