interface CfnAssessmentTargetProps
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.Inspector.CfnAssessmentTargetProps |
![]() | software.amazon.awscdk.services.inspector.CfnAssessmentTargetProps |
![]() | aws_cdk.aws_inspector.CfnAssessmentTargetProps |
![]() | @aws-cdk/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 * as inspector from '@aws-cdk/aws-inspector';
const cfnAssessmentTargetProps: inspector.CfnAssessmentTargetProps = {
assessmentTargetName: 'assessmentTargetName',
resourceGroupArn: 'resourceGroupArn',
};
Properties
Name | Type | Description |
---|---|---|
assessment | string | The name of the Amazon Inspector assessment target. |
resource | string | The 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.