amazonka-inspector-1.3.7: Amazon Inspector SDK.

Copyright(c) 2013-2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.Inspector.CreateResourceGroup

Contents

Description

Creates a resource group using the specified set of tags (key and value pairs) that are used to select the EC2 instances to be included in an Inspector application. The created resource group is then used to create an Inspector application.

See: AWS API Reference for CreateResourceGroup.

Synopsis

Creating a Request

createResourceGroup Source

Creates a value of CreateResourceGroup with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Request Lenses

crgResourceGroupTags :: Lens' CreateResourceGroup Text Source

A collection of keys and an array of possible values in JSON format.

For example, [{ "key1" : ["Value1","Value2"]},{"Key2": ["Value3"]}]

Destructuring the Response

createResourceGroupResponse Source

Creates a value of CreateResourceGroupResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Response Lenses

crgrsResourceGroupARN :: Lens' CreateResourceGroupResponse (Maybe Text) Source

The ARN specifying the resource group that is created.