AWS::Inspector::AssessmentTargetThe `AWS::Inspector::AssessmentTarget` resource is used to create Amazon Inspector assessment targets, which specify the Amazon EC2 instances that will be analyzed during an assessment run.
import { CfnAssessmentTarget } from 'aws-cdk-lib/aws-inspector';Or use the module namespace:
import * as inspector from 'aws-cdk-lib/aws-inspector';
// inspector.CfnAssessmentTargetConfiguration passed to the constructor as CfnAssessmentTargetProps.
assessmentTargetNameOptionalstringThe name of the Amazon Inspector assessment target. The name must be unique within the AWS account .
resourceGroupArnOptionalstring | IResourceGroupRefThe ARN that specifies the resource group that is used to create the assessment target. If `resourceGroupArn` is not specified, all EC2 instances in the current AWS account and Region are included in the assessment target.
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::AssessmentTarget