Interface IAssertionResult
(experimental) The result of an Assertion wrapping the actual result data in another struct.
Namespace: Amazon.CDK.IntegTests
Assembly: Amazon.CDK.IntegTests.dll
Syntax (csharp)
public interface IAssertionResult
Syntax (vb)
Public Interface IAssertionResult
Remarks
Needed to access the whole message via getAtt() on the custom resource.
Stability: Experimental
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.IntegTests;
var assertionResult = new AssertionResult {
Data = "data",
// the properties below are optional
Failed = false
};
Synopsis
Properties
Data | (experimental) The result of an assertion. |
Failed | (experimental) Whether or not the assertion failed. |
Properties
Data
(experimental) The result of an assertion.
string Data { get; }
Property Value
System.String
Remarks
Stability: Experimental
Failed
(experimental) Whether or not the assertion failed.
virtual Nullable<bool> Failed { get; }
Property Value
System.Nullable<System.Boolean>
Remarks
Default: false
Stability: Experimental