CfnRuleAssertion

class aws_cdk.core.CfnRuleAssertion(*, assert_, assert_description)

Bases: object

A rule assertion.

Parameters:
  • assert – The assertion.

  • assert_description (str) – The assertion description.

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.core as cdk

# cfn_condition_expression: cdk.ICfnConditionExpression

cfn_rule_assertion = cdk.CfnRuleAssertion(
    assert=cfn_condition_expression,
    assert_description="assertDescription"
)

Attributes

assert_

The assertion.

assert_description

The assertion description.