amazonka-inspector-1.3.6: 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.CreateAssessment

Contents

Description

Creates an assessment for the application specified by the application ARN. You can create up to 500 assessments per AWS account.

See: AWS API Reference for CreateAssessment.

Synopsis

Creating a Request

createAssessment :: CreateAssessment Source

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

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

Request Lenses

caApplicationARN :: Lens' CreateAssessment (Maybe Text) Source

The ARN specifying the application for which you want to create an assessment.

caUserAttributesForFindings :: Lens' CreateAssessment [Attribute] Source

The user-defined attributes that are assigned to every finding generated by running this assessment.

caDurationInSeconds :: Lens' CreateAssessment (Maybe Int) Source

The duration of the assessment in seconds. The default value is 3600 seconds (one hour). The maximum value is 86400 seconds (one day).

caAssessmentName :: Lens' CreateAssessment (Maybe Text) Source

The user-defined name identifying the assessment that you want to create. You can create several assessments for an application. The names of the assessments corresponding to a particular application must be unique.

Destructuring the Response

createAssessmentResponse Source

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

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

Response Lenses

crsAssessmentARN :: Lens' CreateAssessmentResponse (Maybe Text) Source

The ARN specifying the assessment that is created.