TemplateRuleAssertion

class aws_cdk.aws_servicecatalog.TemplateRuleAssertion(*, assert_, description=None)

Bases: object

(experimental) An assertion within a template rule, defined by intrinsic functions.

Parameters
  • assert – (experimental) The assertion condition.

  • description (Optional[str]) – (experimental) The description for the asssertion. Default: - no description provided for the assertion.

Stability

experimental

Example:

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

# cfn_rule_condition_expression is of type ICfnRuleConditionExpression

template_rule_assertion = servicecatalog.TemplateRuleAssertion(
    assert=cfn_rule_condition_expression,

    # the properties below are optional
    description="description"
)

Attributes

assert_

(experimental) The assertion condition.

Stability

experimental

Return type

ICfnRuleConditionExpression

description

(experimental) The description for the asssertion.

Default
  • no description provided for the assertion.

Stability

experimental

Return type

Optional[str]