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

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

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing CreateResourceGroupRequest as input to an Aws::Client method, you can use a vanilla 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:

  • (Array<Types::ResourceGroupTag>)

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