Class CfnAssessment.Builder
java.lang.Object
software.amazon.awscdk.services.auditmanager.CfnAssessment.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAssessment>
- Enclosing class:
CfnAssessment
@Stability(Stable)
public static final class CfnAssessment.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAssessment>
A fluent builder for
CfnAssessment
.-
Method Summary
Modifier and TypeMethodDescriptionassessmentReportsDestination
(IResolvable assessmentReportsDestination) The destination that evidence reports are stored in for the assessment.assessmentReportsDestination
(CfnAssessment.AssessmentReportsDestinationProperty assessmentReportsDestination) The destination that evidence reports are stored in for the assessment.awsAccount
(IResolvable awsAccount) The AWS account that's associated with the assessment.awsAccount
(CfnAssessment.AWSAccountProperty awsAccount) The AWS account that's associated with the assessment.build()
static CfnAssessment.Builder
delegations
(List<? extends Object> delegations) The delegations that are associated with the assessment.delegations
(IResolvable delegations) The delegations that are associated with the assessment.description
(String description) The description of the assessment.frameworkId
(String frameworkId) The unique identifier for the framework.The name of the assessment.The roles that are associated with the assessment.roles
(IResolvable roles) The roles that are associated with the assessment.scope
(IResolvable scope) The wrapper of AWS accounts and services that are in scope for the assessment.scope
(CfnAssessment.ScopeProperty scope) The wrapper of AWS accounts and services that are in scope for the assessment.The overall status of the assessment.The tags that are associated with the assessment.
-
Method Details
-
create
@Stability(Stable) public static CfnAssessment.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnAssessment.Builder
.
-
assessmentReportsDestination
@Stability(Stable) public CfnAssessment.Builder assessmentReportsDestination(IResolvable assessmentReportsDestination) The destination that evidence reports are stored in for the assessment.- Parameters:
assessmentReportsDestination
- The destination that evidence reports are stored in for the assessment. This parameter is required.- Returns:
this
- See Also:
-
assessmentReportsDestination
@Stability(Stable) public CfnAssessment.Builder assessmentReportsDestination(CfnAssessment.AssessmentReportsDestinationProperty assessmentReportsDestination) The destination that evidence reports are stored in for the assessment.- Parameters:
assessmentReportsDestination
- The destination that evidence reports are stored in for the assessment. This parameter is required.- Returns:
this
- See Also:
-
awsAccount
The AWS account that's associated with the assessment.- Parameters:
awsAccount
- The AWS account that's associated with the assessment. This parameter is required.- Returns:
this
- See Also:
-
awsAccount
@Stability(Stable) public CfnAssessment.Builder awsAccount(CfnAssessment.AWSAccountProperty awsAccount) The AWS account that's associated with the assessment.- Parameters:
awsAccount
- The AWS account that's associated with the assessment. This parameter is required.- Returns:
this
- See Also:
-
delegations
The delegations that are associated with the assessment.- Parameters:
delegations
- The delegations that are associated with the assessment. This parameter is required.- Returns:
this
- See Also:
-
delegations
The delegations that are associated with the assessment.- Parameters:
delegations
- The delegations that are associated with the assessment. This parameter is required.- Returns:
this
- See Also:
-
description
The description of the assessment.- Parameters:
description
- The description of the assessment. This parameter is required.- Returns:
this
- See Also:
-
frameworkId
The unique identifier for the framework.- Parameters:
frameworkId
- The unique identifier for the framework. This parameter is required.- Returns:
this
- See Also:
-
name
The name of the assessment.- Parameters:
name
- The name of the assessment. This parameter is required.- Returns:
this
- See Also:
-
roles
The roles that are associated with the assessment.- Parameters:
roles
- The roles that are associated with the assessment. This parameter is required.- Returns:
this
- See Also:
-
roles
The roles that are associated with the assessment.- Parameters:
roles
- The roles that are associated with the assessment. This parameter is required.- Returns:
this
- See Also:
-
scope
The wrapper of AWS accounts and services that are in scope for the assessment.- Parameters:
scope
- The wrapper of AWS accounts and services that are in scope for the assessment. This parameter is required.- Returns:
this
- See Also:
-
scope
The wrapper of AWS accounts and services that are in scope for the assessment.- Parameters:
scope
- The wrapper of AWS accounts and services that are in scope for the assessment. This parameter is required.- Returns:
this
- See Also:
-
status
The overall status of the assessment.When you create a new assessment, the initial
Status
value is alwaysACTIVE
. When you create an assessment, even if you specify the value asINACTIVE
, the value overrides toACTIVE
.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 toINACTIVE
.- Parameters:
status
- The overall status of the assessment. This parameter is required.- Returns:
this
- See Also:
-
tags
The tags that are associated with the assessment.- Parameters:
tags
- The tags that are associated with the assessment. This parameter is required.- Returns:
this
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnAssessment>
- Returns:
- a newly built instance of
CfnAssessment
.
-