Experimental
@aws-cdk/integ-tests-alpha is an experimental (alpha) package: its API may change in any release, without a major version bump.
AssertionResultData Struct
The result of an assertion.
| Stability | Experimental |
|---|---|
| Source | lib/assertions/providers/lambda-handler/types.ts |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as integ_tests_alpha from '@aws-cdk/integ-tests-alpha';
const assertionResultData: integ_tests_alpha.AssertionResultData = {
status: integ_tests_alpha.Status.PASS,
// the properties below are optional
message: 'message',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.integ_tests_alpha as integ_tests_alpha
assertion_result_data = integ_tests_alpha.AssertionResultData(
status=integ_tests_alpha.Status.PASS,
# the properties below are optional
message="message"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.integtests.alpha.*;
AssertionResultData assertionResultData = AssertionResultData.builder()
.status(Status.PASS)
// the properties below are optional
.message("message")
.build();
csharp
// Install: dotnet add package Amazon.CDK.IntegTests.Alpha
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.IntegTests.Alpha;
var assertionResultData = new AssertionResultData {
Status = Status.PASS,
// the properties below are optional
Message = "message"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdkintegtestsalpha/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import integ_tests_alpha "github.com/aws/aws-cdk-go/awscdkintegtestsalpha"
assertionResultData := &AssertionResultData{
Status: integ_tests_alpha.Status_PASS,
// the properties below are optional
Message: jsii.String("message"),
}
Properties
messageoptionalstringmessageoptionalstrmessageoptionalStringMessageoptionalstringMessageoptional*string = none #Any message returned with the assertion result typically this will be the diff if there is any.