AssertionResult
- class aws_cdk.integ_tests.AssertionResult(*, data, 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:
data (
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 as integ_tests assertion_result = integ_tests.AssertionResult( data="data", # the properties below are optional failed=False )
Attributes
- data
(experimental) The result of an assertion.
- Stability:
experimental
- failed
(experimental) Whether or not the assertion failed.
- Default:
false
- Stability:
experimental