Skip to content
v2.275.0

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.

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',
};

Properties ​

messageoptionalstringmessageoptionalstrmessageoptionalStringMessageoptionalstringMessageoptional*string= none#
Any message returned with the assertion result typically this will be the diff if there is any.
statusStatusstatusStatusstatusStatusStatusStatusStatusStatusrequired#
The status of the assertion, i.e. pass or fail.