Class CfnAssessment
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.auditmanager.CfnAssessment
- All Implemented Interfaces:
IInspectable
,ITaggable
,software.amazon.jsii.JsiiSerializable
,software.constructs.IConstruct
,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.103.1 (build bef2dea)",
date="2024-10-05T03:43:39.004Z")
@Stability(Stable)
public class CfnAssessment
extends CfnResource
implements IInspectable, ITaggable
The
AWS::AuditManager::Assessment
resource is an Audit Manager resource type that defines the scope of audit evidence collected by Audit Manager .
An Audit Manager assessment is an implementation of an Audit Manager framework.
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.*; CfnAssessment cfnAssessment = CfnAssessment.Builder.create(this, "MyCfnAssessment") .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
Modifier and TypeClassDescriptionstatic interface
TheAssessmentReportsDestination
property type specifies the location in which AWS Audit Manager saves assessment reports for the given assessment.static interface
TheAWSAccount
property type specifies the wrapper of the AWS account details, such as account ID, email address, and so on.static interface
TheAWSService
property type specifies an AWS service such as Amazon S3 , AWS CloudTrail , and so on.static final class
A fluent builder forCfnAssessment
.static interface
TheDelegation
property type specifies the assignment of a control set to a delegate for review.static interface
TheRole
property type specifies the wrapper that contains AWS Audit Manager role information, such as the role type and IAM Amazon Resource Name (ARN).static interface
TheScope
property type specifies the wrapper that contains the AWS accounts and services that are in scope for the assessment.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default
Nested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy
Nested classes/interfaces inherited from interface software.amazon.awscdk.ITaggable
ITaggable.Jsii$Default, ITaggable.Jsii$Proxy
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
The CloudFormation resource type name for this resource class. -
Constructor Summary
ModifierConstructorDescriptionprotected
CfnAssessment
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
CfnAssessment
(software.amazon.jsii.JsiiObjectRef objRef) CfnAssessment
(software.constructs.Construct scope, String id) CfnAssessment
(software.constructs.Construct scope, String id, CfnAssessmentProps props) -
Method Summary
Modifier and TypeMethodDescriptionThe destination that evidence reports are stored in for the assessment.The Amazon Resource Name (ARN) of the assessment.The unique identifier for the assessment.Specifies when the assessment was created.The AWS account that's associated with the assessment.The delegations that are associated with the assessment.The description of the assessment.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.The overall status of the assessment.getTags()
Tag Manager which manages the tags for this resource.The tags that are associated with the assessment.void
inspect
(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties
(Map<String, Object> props) void
The destination that evidence reports are stored in for the assessment.void
The destination that evidence reports are stored in for the assessment.void
setAwsAccount
(IResolvable value) The AWS account that's associated with the assessment.void
The AWS account that's associated with the assessment.void
setDelegations
(List<Object> value) The delegations that are associated with the assessment.void
setDelegations
(IResolvable value) The delegations that are associated with the assessment.void
setDescription
(String value) The description of the assessment.void
setFrameworkId
(String value) The unique identifier for the framework.void
The name of the assessment.void
The roles that are associated with the assessment.void
setRoles
(IResolvable value) The roles that are associated with the assessment.void
setScope
(IResolvable value) The wrapper of AWS accounts and services that are in scope for the assessment.void
The wrapper of AWS accounts and services that are in scope for the assessment.void
The overall status of the assessment.void
setTagsRaw
(List<CfnTag> value) The tags that are associated with the assessment.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validateProperties
Methods inherited from class software.amazon.awscdk.CfnRefElement
getRef
Methods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId
Methods inherited from class software.constructs.Construct
getNode, isConstruct
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
-
-
Constructor Details
-
CfnAssessment
protected CfnAssessment(software.amazon.jsii.JsiiObjectRef objRef) -
CfnAssessment
protected CfnAssessment(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnAssessment
@Stability(Stable) public CfnAssessment(@NotNull software.constructs.Construct scope, @NotNull String id, @Nullable CfnAssessmentProps props) - 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.props
- Resource properties.
-
CfnAssessment
@Stability(Stable) public CfnAssessment(@NotNull software.constructs.Construct scope, @NotNull 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.
-
-
Method Details
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspect
in interfaceIInspectable
- Parameters:
inspector
- tree inspector to collect and process attributes. This parameter is required.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderProperties
in classCfnResource
- Parameters:
props
- This parameter is required.
-
getAttrArn
The Amazon Resource Name (ARN) of the assessment. -
getAttrAssessmentId
The unique identifier for the assessment. -
getAttrCreationTime
Specifies when the assessment was created. -
getCfnProperties
- Overrides:
getCfnProperties
in classCfnResource
-
getTags
Tag Manager which manages the tags for this resource. -
getAssessmentReportsDestination
The destination that evidence reports are stored in for the assessment. -
setAssessmentReportsDestination
The destination that evidence reports are stored in for the assessment. -
setAssessmentReportsDestination
@Stability(Stable) public void setAssessmentReportsDestination(@Nullable CfnAssessment.AssessmentReportsDestinationProperty value) The destination that evidence reports are stored in for the assessment. -
getAwsAccount
The AWS account that's associated with the assessment. -
setAwsAccount
The AWS account that's associated with the assessment. -
setAwsAccount
The AWS account that's associated with the assessment. -
getDelegations
The delegations that are associated with the assessment. -
setDelegations
The delegations that are associated with the assessment. -
setDelegations
The delegations that are associated with the assessment. -
getDescription
The description of the assessment. -
setDescription
The description of the assessment. -
getFrameworkId
The unique identifier for the framework. -
setFrameworkId
The unique identifier for the framework. -
getName
The name of the assessment. -
setName
The name of the assessment. -
getRoles
The roles that are associated with the assessment. -
setRoles
The roles that are associated with the assessment. -
setRoles
The roles that are associated with the assessment. -
getScope
The wrapper of AWS accounts and services that are in scope for the assessment. -
setScope
The wrapper of AWS accounts and services that are in scope for the assessment. -
setScope
The wrapper of AWS accounts and services that are in scope for the assessment. -
getStatus
The overall status of the assessment. -
setStatus
The overall status of the assessment. -
getTagsRaw
The tags that are associated with the assessment. -
setTagsRaw
The tags that are associated with the assessment.
-