Skip to content
v2.278.0

AssessmentReference Struct ​

A reference to a Assessment resource.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_auditmanager as interfaces_auditmanager } from 'aws-cdk-lib/interfaces';
const assessmentReference: interfaces_auditmanager.AssessmentReference = {
  assessmentArn: 'assessmentArn',
  assessmentId: 'assessmentId',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.interfaces import aws_auditmanager as interfaces_auditmanager

assessment_reference = interfaces_auditmanager.AssessmentReference(
    assessment_arn="assessmentArn",
    assessment_id="assessmentId"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.interfaces.auditmanager.*;

AssessmentReference assessmentReference = AssessmentReference.builder()
        .assessmentArn("assessmentArn")
        .assessmentId("assessmentId")
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.Interfaces.AuditManager;

var assessmentReference = new AssessmentReference {
    AssessmentArn = "assessmentArn",
    AssessmentId = "assessmentId"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

assessmentReference := &AssessmentReference{
	AssessmentArn: jsii.String("assessmentArn"),
	AssessmentId: jsii.String("assessmentId"),
}

Properties ​

assessmentArnstringassessment_arnstrassessmentArnStringAssessmentArnstringAssessmentArn*string required #
The ARN of the Assessment resource.
assessmentIdstringassessment_idstrassessmentIdStringAssessmentIdstringAssessmentId*string required #
The AssessmentId of the Assessment resource.