AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Class: Aws::SNS::Types::Tag

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-sns/lib/aws-sdk-sns/types.rb

Overview

Note:

When making an API call, you may pass Tag data as a hash:

{
  key: "TagKey", # required
  value: "TagValue", # required
}

The list of tags to be added to the specified topic.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#keyString

The required key portion of the tag.

Returns:

  • (String)


2229
2230
2231
2232
2233
2234
# File 'gems/aws-sdk-sns/lib/aws-sdk-sns/types.rb', line 2229

class Tag < Struct.new(
  :key,
  :value)
  SENSITIVE = []
  include Aws::Structure
end

#valueString

The optional value portion of the tag.

Returns:

  • (String)


2229
2230
2231
2232
2233
2234
# File 'gems/aws-sdk-sns/lib/aws-sdk-sns/types.rb', line 2229

class Tag < Struct.new(
  :key,
  :value)
  SENSITIVE = []
  include Aws::Structure
end