Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data AssessmentTemplate = AssessmentTemplate' {}
- newAssessmentTemplate :: Text -> Text -> Text -> Natural -> Int -> UTCTime -> AssessmentTemplate
- assessmentTemplate_lastAssessmentRunArn :: Lens' AssessmentTemplate (Maybe Text)
- assessmentTemplate_arn :: Lens' AssessmentTemplate Text
- assessmentTemplate_name :: Lens' AssessmentTemplate Text
- assessmentTemplate_assessmentTargetArn :: Lens' AssessmentTemplate Text
- assessmentTemplate_durationInSeconds :: Lens' AssessmentTemplate Natural
- assessmentTemplate_rulesPackageArns :: Lens' AssessmentTemplate [Text]
- assessmentTemplate_userAttributesForFindings :: Lens' AssessmentTemplate [Attribute]
- assessmentTemplate_assessmentRunCount :: Lens' AssessmentTemplate Int
- assessmentTemplate_createdAt :: Lens' AssessmentTemplate UTCTime
Documentation
data AssessmentTemplate Source #
Contains information about an Amazon Inspector assessment template. This data type is used as the response element in the DescribeAssessmentTemplates action.
See: newAssessmentTemplate
smart constructor.
AssessmentTemplate' | |
|
Instances
newAssessmentTemplate Source #
Create a value of AssessmentTemplate
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:lastAssessmentRunArn:AssessmentTemplate'
, assessmentTemplate_lastAssessmentRunArn
- The Amazon Resource Name (ARN) of the most recent assessment run
associated with this assessment template. This value exists only when
the value of assessmentRunCount is greaterpa than zero.
$sel:arn:AssessmentTemplate'
, assessmentTemplate_arn
- The ARN of the assessment template.
$sel:name:AssessmentTemplate'
, assessmentTemplate_name
- The name of the assessment template.
$sel:assessmentTargetArn:AssessmentTemplate'
, assessmentTemplate_assessmentTargetArn
- The ARN of the assessment target that corresponds to this assessment
template.
$sel:durationInSeconds:AssessmentTemplate'
, assessmentTemplate_durationInSeconds
- The duration in seconds specified for this assessment template. The
default value is 3600 seconds (one hour). The maximum value is 86400
seconds (one day).
$sel:rulesPackageArns:AssessmentTemplate'
, assessmentTemplate_rulesPackageArns
- The rules packages that are specified for this assessment template.
$sel:userAttributesForFindings:AssessmentTemplate'
, assessmentTemplate_userAttributesForFindings
- The user-defined attributes that are assigned to every generated finding
from the assessment run that uses this assessment template.
$sel:assessmentRunCount:AssessmentTemplate'
, assessmentTemplate_assessmentRunCount
- The number of existing assessment runs associated with this assessment
template. This value can be zero or a positive integer.
$sel:createdAt:AssessmentTemplate'
, assessmentTemplate_createdAt
- The time at which the assessment template is created.
assessmentTemplate_lastAssessmentRunArn :: Lens' AssessmentTemplate (Maybe Text) Source #
The Amazon Resource Name (ARN) of the most recent assessment run associated with this assessment template. This value exists only when the value of assessmentRunCount is greaterpa than zero.
assessmentTemplate_arn :: Lens' AssessmentTemplate Text Source #
The ARN of the assessment template.
assessmentTemplate_name :: Lens' AssessmentTemplate Text Source #
The name of the assessment template.
assessmentTemplate_assessmentTargetArn :: Lens' AssessmentTemplate Text Source #
The ARN of the assessment target that corresponds to this assessment template.
assessmentTemplate_durationInSeconds :: Lens' AssessmentTemplate Natural Source #
The duration in seconds specified for this assessment template. The default value is 3600 seconds (one hour). The maximum value is 86400 seconds (one day).
assessmentTemplate_rulesPackageArns :: Lens' AssessmentTemplate [Text] Source #
The rules packages that are specified for this assessment template.
assessmentTemplate_userAttributesForFindings :: Lens' AssessmentTemplate [Attribute] Source #
The user-defined attributes that are assigned to every generated finding from the assessment run that uses this assessment template.
assessmentTemplate_assessmentRunCount :: Lens' AssessmentTemplate Int Source #
The number of existing assessment runs associated with this assessment template. This value can be zero or a positive integer.
assessmentTemplate_createdAt :: Lens' AssessmentTemplate UTCTime Source #
The time at which the assessment template is created.