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

Class: Aws::Inspector::Types::CreateResourceGroupRequest

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

{
  resource_group_tags: [ # required
    {
      key: "TagKey", # required
      value: "TagValue",
    },
  ],
}

Instance Attribute Summary collapse

Instance Attribute Details

#resource_group_tagsArray<Types::ResourceGroupTag>

A collection of keys and an array of possible values, '[{"key":"key1","values":["Value1","Value2"]\},{"key":"Key2","values":["Value3"]\}]'.

For example,'[{"key":"Name","values":["TestEC2Instance"]\}]'.

Returns:



753
754
755
756
# File 'gems/aws-sdk-inspector/lib/aws-sdk-inspector/types.rb', line 753

class CreateResourceGroupRequest < Struct.new(
  :resource_group_tags)
  include Aws::Structure
end