Interface CfnAssessmentProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnAssessmentProps.Jsii$Proxy
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();
- See Also:
-
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.Returns union: either
IResolvableorCfnAssessment.AssessmentReportsDestinationProperty- See Also:
-
getAwsAccount
The AWS account that's associated with the assessment.Returns union: either
IResolvableorCfnAssessment.AWSAccountProperty- See Also:
-
getDelegations
The delegations that are associated with the assessment.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnAssessment.DelegationProperty>- See Also:
-
getDescription
The description of the assessment.- See Also:
-
getFrameworkId
The unique identifier for the framework.- See Also:
-
getName
The name of the assessment.- See Also:
-
getRoles
The roles that are associated with the assessment.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnAssessment.RoleProperty>- See Also:
-
getScope
The wrapper of AWS accounts and services that are in scope for the assessment.Returns union: either
IResolvableorCfnAssessment.ScopeProperty- See Also:
-
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.- See Also:
-
getTags
The tags that are associated with the assessment.- See Also:
-
builder
- Returns:
- a
CfnAssessmentProps.BuilderofCfnAssessmentProps
-