AWS::Inspector::AssessmentTemplateThe `AWS::Inspector::AssessmentTemplate` resource creates an Amazon Inspector assessment template, which specifies the Inspector assessment targets that will be evaluated by an assessment run and its related configurations.
import { CfnAssessmentTemplate } from 'aws-cdk-lib/aws-inspector';Or use the module namespace:
import * as inspector from 'aws-cdk-lib/aws-inspector';
// inspector.CfnAssessmentTemplateConfiguration passed to the constructor as CfnAssessmentTemplateProps.
assessmentTargetArnRequiredstring | IAssessmentTargetRefThe ARN of the assessment target to be included in the assessment template.
durationInSecondsRequirednumberThe duration of the assessment run in seconds.
rulesPackageArnsRequiredstring[]The ARNs of the rules packages that you want to use in the assessment template.
assessmentTemplateNameOptionalstringThe user-defined name that identifies the assessment template that you want to create. You can create several assessment templates for the same assessment target. The names of the assessment templates that correspond to a particular assessment target must be unique.
userAttributesForFindingsOptionalIResolvable | IResolvable | CfnTag[]The user-defined attributes that are assigned to every finding that is generated by the assessment run that uses this assessment template. Within an assessment template, each key must be unique.
This L1 construct maps directly to the following CloudFormation resource type.
Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to Newsletteraws-inspectorAWS::Inspector::AssessmentTemplate