AWS Fundamentals Logo
AWS Fundamentals
L1 ConstructAWS::Inspector::AssessmentTemplate

CfnAssessmentTemplate

The `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

import { CfnAssessmentTemplate } from 'aws-cdk-lib/aws-inspector';

Or use the module namespace:

import * as inspector from 'aws-cdk-lib/aws-inspector';
// inspector.CfnAssessmentTemplate

Properties

Configuration passed to the constructor as CfnAssessmentTemplateProps.

assessmentTargetArnRequired
string | IAssessmentTargetRef

The ARN of the assessment target to be included in the assessment template.

durationInSecondsRequired
number

The duration of the assessment run in seconds.

rulesPackageArnsRequired
string[]

The ARNs of the rules packages that you want to use in the assessment template.

assessmentTemplateNameOptional
string

The 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.

userAttributesForFindingsOptional
IResolvable | 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.

CloudFormation Resource

This L1 construct maps directly to the following CloudFormation resource type.

Learn AWS the Practical Way

Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.

Subscribe to Newsletter

Quick Facts

LevelL1 (CloudFormation)
Moduleaws-inspector
CFN TypeAWS::Inspector::AssessmentTemplate
Properties5

External Links