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

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

Overview

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)


2671
2672
2673
2674
2675
2676
# File 'gems/aws-sdk-inspector/lib/aws-sdk-inspector/types.rb', line 2671

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

#valueString

A value assigned to a tag key.

Returns:

  • (String)


2671
2672
2673
2674
2675
2676
# File 'gems/aws-sdk-inspector/lib/aws-sdk-inspector/types.rb', line 2671

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