aws-cdk-lib.aws_inspector.CfnAssessmentTargetProps

interface CfnAssessmentTargetProps

LanguageType name
.NETAmazon.CDK.AWS.Inspector.CfnAssessmentTargetProps
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsinspector#CfnAssessmentTargetProps
Javasoftware.amazon.awscdk.services.inspector.CfnAssessmentTargetProps
Pythonaws_cdk.aws_inspector.CfnAssessmentTargetProps
TypeScript aws-cdk-lib » aws_inspector » CfnAssessmentTargetProps

Properties for defining a CfnAssessmentTarget.

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_inspector as inspector } from 'aws-cdk-lib';
const cfnAssessmentTargetProps: inspector.CfnAssessmentTargetProps = {
  assessmentTargetName: 'assessmentTargetName',
  resourceGroupArn: 'resourceGroupArn',
};

Properties

NameTypeDescription
assessmentTargetName?stringThe name of the Amazon Inspector assessment target.
resourceGroupArn?stringThe ARN that specifies the resource group that is used to create the assessment target.

assessmentTargetName?

Type: string (optional)

The name of the Amazon Inspector assessment target.

The name must be unique within the AWS account .


resourceGroupArn?

Type: string (optional)

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