Class: Aws::Inspector::Types::ResourceGroupTag

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 ResourceGroupTag data as a hash:

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

This data type is used as one of the elements of the ResourceGroup data type.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#keyString

A tag key.

Returns:

  • (String)


2852
2853
2854
2855
2856
2857
# File 'gems/aws-sdk-inspector/lib/aws-sdk-inspector/types.rb', line 2852

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

#valueString

The value assigned to a tag key.

Returns:

  • (String)


2852
2853
2854
2855
2856
2857
# File 'gems/aws-sdk-inspector/lib/aws-sdk-inspector/types.rb', line 2852

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