interface CfnRuleAssertion
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnRuleAssertion |
Go | github.com/aws/aws-cdk-go/awscdk/v2#CfnRuleAssertion |
Java | software.amazon.awscdk.CfnRuleAssertion |
Python | aws_cdk.CfnRuleAssertion |
TypeScript (source) | aws-cdk-lib » CfnRuleAssertion |
A rule assertion.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as cdk from 'aws-cdk-lib';
declare const cfnConditionExpression: cdk.ICfnConditionExpression;
const cfnRuleAssertion: cdk.CfnRuleAssertion = {
assert: cfnConditionExpression,
assertDescription: 'assertDescription',
};
Properties
| Name | Type | Description |
|---|---|---|
| assert | ICfn | The assertion. |
| assert | string | The assertion description. |
assert
Type:
ICfn
The assertion.
assertDescription
Type:
string
The assertion description.

.NET
Go
Java
Python
TypeScript (