interface AssertionResult
Language | Type name |
---|---|
.NET | Amazon.CDK.IntegTests.Alpha.AssertionResult |
Go | github.com/aws/aws-cdk-go/awscdkintegtestsalpha/v2#AssertionResult |
Java | software.amazon.awscdk.integtests.alpha.AssertionResult |
Python | aws_cdk.integ_tests_alpha.AssertionResult |
TypeScript (source) | @aws-cdk/integ-tests-alpha » AssertionResult |
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.
Example
// 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 assertionResult: integ_tests_alpha.AssertionResult = {
assertion: 'assertion',
// the properties below are optional
failed: false,
};
Properties
Name | Type | Description |
---|---|---|
assertion | string | The result of an assertion. |
failed? | boolean | Whether or not the assertion failed. |
assertion
Type:
string
The result of an assertion.
failed?
Type:
boolean
(optional, default: false)
Whether or not the assertion failed.