CfnAssessmentTargetProps

class aws_cdk.aws_inspector.CfnAssessmentTargetProps(*, assessment_target_name=None, resource_group_arn=None)

Bases: object

Properties for defining a CfnAssessmentTarget.

Parameters:
  • assessment_target_name (Optional[str]) – The name of the Amazon Inspector assessment target. The name must be unique within the AWS account .

  • resource_group_arn (Optional[str]) – 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.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-inspector-assessmenttarget.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_inspector as inspector

cfn_assessment_target_props = inspector.CfnAssessmentTargetProps(
    assessment_target_name="assessmentTargetName",
    resource_group_arn="resourceGroupArn"
)

Attributes

assessment_target_name

The name of the Amazon Inspector assessment target.

The name must be unique within the AWS account .

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-inspector-assessmenttarget.html#cfn-inspector-assessmenttarget-assessmenttargetname

resource_group_arn

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.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-inspector-assessmenttarget.html#cfn-inspector-assessmenttarget-resourcegrouparn