Class: Aws::Inspector::Types::Tag

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

Overview

Note:

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

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

A key and value pair. This data type is used as a request parameter in the SetTagsForResource action and a response element in the ListTagsForResource action.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#keyString

A tag key.

Returns:

  • (String)


3136
3137
3138
3139
3140
3141
# File 'gems/aws-sdk-inspector/lib/aws-sdk-inspector/types.rb', line 3136

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

#valueString

A value assigned to a tag key.

Returns:

  • (String)


3136
3137
3138
3139
3140
3141
# File 'gems/aws-sdk-inspector/lib/aws-sdk-inspector/types.rb', line 3136

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