Class AssertionResult
(experimental) The result of an Assertion wrapping the actual result data in another struct.
Inheritance
System.Object
AssertionResult
Implements
Namespace: Amazon.CDK.IntegTests
Assembly: Amazon.CDK.IntegTests.dll
Syntax (csharp)
public class AssertionResult : Object, IAssertionResult
Syntax (vb)
Public Class AssertionResult
Inherits Object
Implements 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
Constructors
AssertionResult() |
Properties
Data | (experimental) The result of an assertion. |
Failed | (experimental) Whether or not the assertion failed. |
Constructors
AssertionResult()
public AssertionResult()
Properties
Data
(experimental) The result of an assertion.
public string Data { get; set; }
Property Value
System.String
Remarks
Stability: Experimental
Failed
(experimental) Whether or not the assertion failed.
public Nullable<bool> Failed { get; set; }
Property Value
System.Nullable<System.Boolean>
Remarks
Default: false
Stability: Experimental