CfnRuleAssertion

class aws_cdk.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 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.