@aws-cdk_integ-tests-alpha.AssertionResult

interface AssertionResult ๐Ÿ”น

LanguageType name
.NETAmazon.CDK.IntegTests.Alpha.AssertionResult
Gogithub.com/aws/aws-cdk-go/awscdkintegtestsalpha/v2#AssertionResult
Javasoftware.amazon.awscdk.integtests.alpha.AssertionResult
Pythonaws_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

NameTypeDescription
assertion๐Ÿ”นstringThe result of an assertion.
failed?๐Ÿ”นbooleanWhether 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.