aws-cdk-lib.aws_auditmanager.CfnAssessmentProps

interface CfnAssessmentProps

LanguageType name
.NETAmazon.CDK.AWS.AuditManager.CfnAssessmentProps
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsauditmanager#CfnAssessmentProps
Javasoftware.amazon.awscdk.services.auditmanager.CfnAssessmentProps
Pythonaws_cdk.aws_auditmanager.CfnAssessmentProps
TypeScript aws-cdk-lib » aws_auditmanager » CfnAssessmentProps

Properties for defining a CfnAssessment.

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_auditmanager as auditmanager } from 'aws-cdk-lib';
const cfnAssessmentProps: auditmanager.CfnAssessmentProps = {
  assessmentReportsDestination: {
    destination: 'destination',
    destinationType: 'destinationType',
  },
  awsAccount: {
    emailAddress: 'emailAddress',
    id: 'id',
    name: 'name',
  },
  delegations: [{
    assessmentId: 'assessmentId',
    assessmentName: 'assessmentName',
    comment: 'comment',
    controlSetId: 'controlSetId',
    createdBy: 'createdBy',
    creationTime: 123,
    id: 'id',
    lastUpdated: 123,
    roleArn: 'roleArn',
    roleType: 'roleType',
    status: 'status',
  }],
  description: 'description',
  frameworkId: 'frameworkId',
  name: 'name',
  roles: [{
    roleArn: 'roleArn',
    roleType: 'roleType',
  }],
  scope: {
    awsAccounts: [{
      emailAddress: 'emailAddress',
      id: 'id',
      name: 'name',
    }],
    awsServices: [{
      serviceName: 'serviceName',
    }],
  },
  status: 'status',
  tags: [{
    key: 'key',
    value: 'value',
  }],
};

Properties

NameTypeDescription
assessmentReportsDestination?IResolvable | AssessmentReportsDestinationPropertyThe destination that evidence reports are stored in for the assessment.
awsAccount?IResolvable | AWSAccountPropertyThe AWS account that's associated with the assessment.
delegations?IResolvable | IResolvable | DelegationProperty[]The delegations that are associated with the assessment.
description?stringThe description of the assessment.
frameworkId?stringThe unique identifier for the framework.
name?stringThe name of the assessment.
roles?IResolvable | IResolvable | RoleProperty[]The roles that are associated with the assessment.
scope?IResolvable | ScopePropertyThe wrapper of AWS accounts and services that are in scope for the assessment.
status?stringThe overall status of the assessment.
tags?CfnTag[]The tags that are associated with the assessment.

assessmentReportsDestination?

Type: IResolvable | AssessmentReportsDestinationProperty (optional)

The destination that evidence reports are stored in for the assessment.


awsAccount?

Type: IResolvable | AWSAccountProperty (optional)

The AWS account that's associated with the assessment.


delegations?

Type: IResolvable | IResolvable | DelegationProperty[] (optional)

The delegations that are associated with the assessment.


description?

Type: string (optional)

The description of the assessment.


frameworkId?

Type: string (optional)

The unique identifier for the framework.


name?

Type: string (optional)

The name of the assessment.


roles?

Type: IResolvable | IResolvable | RoleProperty[] (optional)

The roles that are associated with the assessment.


scope?

Type: IResolvable | ScopeProperty (optional)

The wrapper of AWS accounts and services that are in scope for the assessment.


status?

Type: string (optional)

The overall status of the assessment.

When you create a new assessment, the initial Status value is always ACTIVE . When you create an assessment, even if you specify the value as INACTIVE , the value overrides to ACTIVE .

After you create an assessment, you can change the value of the Status property at any time. For example, when you want to stop collecting evidence for your assessment, you can change the assessment status to INACTIVE .


tags?

Type: CfnTag[] (optional)

The tags that are associated with the assessment.