Interface AssertionRequest
- All Superinterfaces:
- software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
- AssertionRequest.Jsii$Proxy
@Generated(value="jsii-pacmak/1.116.0 (build 0eddcff)",
           date="2025-10-29T11:15:51.016Z")
@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 SummaryNested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forAssertionRequeststatic final classAn implementation forAssertionRequest
- 
Method SummaryModifier 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
 
 
-