AssertionResult

class aws_cdk.integ_tests_alpha.AssertionResult(*, assertion, failed=None)

Bases: object

(experimental) The result of an Assertion wrapping the actual result data in another struct.

Needed to access the whole message via getAtt() on the custom resource.

Parameters:
  • assertion (str) – (experimental) The result of an assertion.

  • failed (Optional[bool]) – (experimental) Whether or not the assertion failed. Default: false

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_alpha as integ_tests_alpha

assertion_result = integ_tests_alpha.AssertionResult(
    assertion="assertion",

    # the properties below are optional
    failed=False
)

Attributes

assertion

(experimental) The result of an assertion.

Stability:

experimental

failed

(experimental) Whether or not the assertion failed.

Default:

false

Stability:

experimental