AssertionResultData

class aws_cdk.integ_tests.AssertionResultData(*, status, message=None)

Bases: object

(experimental) The result of an assertion.

Parameters:
  • status (Status) – (experimental) The status of the assertion, i.e. pass or fail.

  • message (Optional[str]) – (experimental) Any message returned with the assertion result typically this will be the diff if there is any. Default: - none

Stability:

experimental

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.integ_tests as integ_tests

assertion_result_data = integ_tests.AssertionResultData(
    status=integ_tests.Status.PASS,

    # the properties below are optional
    message="message"
)

Attributes

message

(experimental) Any message returned with the assertion result typically this will be the diff if there is any.

Default:
  • none

Stability:

experimental

status

(experimental) The status of the assertion, i.e. pass or fail.

Stability:

experimental