You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

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.

Instance Attribute Summary collapse

Instance Attribute Details

#keyString

A tag key.

Returns:

  • (String)


2131
2132
2133
2134
2135
# File 'gems/aws-sdk-inspector/lib/aws-sdk-inspector/types.rb', line 2131

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

#valueString

The value assigned to a tag key.

Returns:

  • (String)


2131
2132
2133
2134
2135
# File 'gems/aws-sdk-inspector/lib/aws-sdk-inspector/types.rb', line 2131

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