Interface CfnAssessmentProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnAssessmentProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:29:55.791Z")
@Stability(Stable)
public interface CfnAssessmentProps
extends software.amazon.jsii.JsiiSerializable
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 software.amazon.awscdk.services.auditmanager.*;
CfnAssessmentProps cfnAssessmentProps = CfnAssessmentProps.builder()
.assessmentReportsDestination(AssessmentReportsDestinationProperty.builder()
.destination("destination")
.destinationType("destinationType")
.build())
.awsAccount(AWSAccountProperty.builder()
.emailAddress("emailAddress")
.id("id")
.name("name")
.build())
.delegations(List.of(DelegationProperty.builder()
.assessmentId("assessmentId")
.assessmentName("assessmentName")
.comment("comment")
.controlSetId("controlSetId")
.createdBy("createdBy")
.creationTime(123)
.id("id")
.lastUpdated(123)
.roleArn("roleArn")
.roleType("roleType")
.status("status")
.build()))
.description("description")
.frameworkId("frameworkId")
.name("name")
.roles(List.of(RoleProperty.builder()
.roleArn("roleArn")
.roleType("roleType")
.build()))
.scope(ScopeProperty.builder()
.awsAccounts(List.of(AWSAccountProperty.builder()
.emailAddress("emailAddress")
.id("id")
.name("name")
.build()))
.awsServices(List.of(AWSServiceProperty.builder()
.serviceName("serviceName")
.build()))
.build())
.status("status")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnAssessmentPropsstatic final classAn implementation forCfnAssessmentProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnAssessmentProps.Builderbuilder()default ObjectThe destination that evidence reports are stored in for the assessment.default ObjectThe AWS account that's associated with the assessment.default ObjectThe delegations that are associated with the assessment.default StringThe description of the assessment.default StringThe unique identifier for the framework.default StringgetName()The name of the assessment.default ObjectgetRoles()The roles that are associated with the assessment.default ObjectgetScope()The wrapper of AWS accounts and services that are in scope for the assessment.default StringThe overall status of the assessment.getTags()The tags that are associated with the assessment.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAssessmentReportsDestination
The destination that evidence reports are stored in for the assessment. -
getAwsAccount
The AWS account that's associated with the assessment. -
getDelegations
The delegations that are associated with the assessment. -
getDescription
The description of the assessment. -
getFrameworkId
The unique identifier for the framework. -
getName
The name of the assessment. -
getRoles
The roles that are associated with the assessment. -
getScope
The wrapper of AWS accounts and services that are in scope for the assessment. -
getStatus
The overall status of the assessment.When you create a new assessment, the initial
Statusvalue 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
Statusproperty at any time. For example, when you want to stop collecting evidence for your assessment, you can change the assessment status toINACTIVE. -
getTags
The tags that are associated with the assessment. -
builder
- Returns:
- a
CfnAssessmentProps.BuilderofCfnAssessmentProps
-