Interface AssertionRequest
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
AssertionRequest.Jsii$Proxy
@Generated(value="jsii-pacmak/1.120.0 (build 192dc88)",
date="2025-12-12T17:54:26.400Z")
@Stability(Experimental)
public interface AssertionRequest
extends software.amazon.jsii.JsiiSerializable
(experimental) A request to make an assertion that the actual value matches the expected.
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.*;
Object actual;
Object expected;
AssertionRequest assertionRequest = AssertionRequest.builder()
.actual(actual)
.expected(expected)
// the properties below are optional
.failDeployment(false)
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forAssertionRequeststatic final classAn implementation forAssertionRequest -
Method Summary
Modifier and TypeMethodDescriptionstatic AssertionRequest.Builderbuilder()(experimental) The actual value received.(experimental) The expected value to assert.default Boolean(experimental) Set this to true if a failed assertion should result in a CloudFormation deployment failure.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getActual
(experimental) The actual value received. -
getExpected
(experimental) The expected value to assert. -
getFailDeployment
(experimental) Set this to true if a failed assertion should result in a CloudFormation deployment failure.This is only necessary if assertions are being executed outside of
integ-runner.Default: false
-
builder
- Returns:
- a
AssertionRequest.BuilderofAssertionRequest
-