aws-cdk-lib.CfnRuleAssertion

interface CfnRuleAssertion

LanguageType name
.NETAmazon.CDK.CfnRuleAssertion
Gogithub.com/aws/aws-cdk-go/awscdk/v2#CfnRuleAssertion
Javasoftware.amazon.awscdk.CfnRuleAssertion
Pythonaws_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

NameTypeDescription
assertICfnConditionExpressionThe assertion.
assertDescriptionstringThe assertion description.

assert

Type: ICfnConditionExpression

The assertion.


assertDescription

Type: string

The assertion description.