Package software.amazon.awscdk
Interface CfnRuleAssertion
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnRuleAssertion.Jsii$Proxy
@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)",
date="2025-11-13T16:09:57.301Z")
@Stability(Stable)
public interface CfnRuleAssertion
extends software.amazon.jsii.JsiiSerializable
A rule assertion.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.*;
ICfnConditionExpression cfnConditionExpression;
CfnRuleAssertion cfnRuleAssertion = CfnRuleAssertion.builder()
.assert(cfnConditionExpression)
.assertDescription("assertDescription")
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnRuleAssertionstatic final classAn implementation forCfnRuleAssertion -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnRuleAssertion.Builderbuilder()The assertion description.The assertion.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAssertValue
The assertion. -
getAssertDescription
The assertion description. -
builder
- Returns:
- a
CfnRuleAssertion.BuilderofCfnRuleAssertion
-