Class: Aws::Redshift::Types::CreateTagsMessage
- Inherits:
-
Struct
- Object
- Struct
- Aws::Redshift::Types::CreateTagsMessage
- Defined in:
- gems/aws-sdk-redshift/lib/aws-sdk-redshift/types.rb
Overview
Contains the output from the CreateTags
action.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#resource_name ⇒ String
The Amazon Resource Name (ARN) to which you want to add the tag or tags.
-
#tags ⇒ Array<Types::Tag>
One or more name/value pairs to add as tags to the specified resource.
Instance Attribute Details
#resource_name ⇒ String
The Amazon Resource Name (ARN) to which you want to add the tag or
tags. For example,
arn:aws:redshift:us-east-2:123456789:cluster:t1
.
3139 3140 3141 3142 3143 3144 |
# File 'gems/aws-sdk-redshift/lib/aws-sdk-redshift/types.rb', line 3139 class CreateTagsMessage < Struct.new( :resource_name, :tags) SENSITIVE = [] include Aws::Structure end |
#tags ⇒ Array<Types::Tag>
One or more name/value pairs to add as tags to the specified
resource. Each tag name is passed in with the parameter Key
and
the corresponding value is passed in with the parameter Value
. The
Key
and Value
parameters are separated by a comma (,). Separate
multiple tags with a space. For example, --tags
"Key"="owner","Value"="admin" "Key"="environment","Value"="test"
"Key"="version","Value"="1.0"
.
3139 3140 3141 3142 3143 3144 |
# File 'gems/aws-sdk-redshift/lib/aws-sdk-redshift/types.rb', line 3139 class CreateTagsMessage < Struct.new( :resource_name, :tags) SENSITIVE = [] include Aws::Structure end |