Interface AssertionResult
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
AssertionResult.Jsii$Proxy
@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)",
date="2025-11-17T14:41:04.252Z")
@Stability(Experimental)
public interface AssertionResult
extends software.amazon.jsii.JsiiSerializable
(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.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.integtests.alpha.*;
AssertionResult assertionResult = AssertionResult.builder()
.assertion("assertion")
// the properties below are optional
.failed(false)
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forAssertionResultstatic final classAn implementation forAssertionResult -
Method Summary
Modifier and TypeMethodDescriptionstatic AssertionResult.Builderbuilder()(experimental) The result of an assertion.default Boolean(experimental) Whether or not the assertion failed.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAssertion
(experimental) The result of an assertion. -
getFailed
(experimental) Whether or not the assertion failed.Default: false
-
builder
- Returns:
- a
AssertionResult.BuilderofAssertionResult
-