TemplateRuleAssertion

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

Bases: object

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

Parameters
  • assert – The assertion condition.

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

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.aws_servicecatalog as servicecatalog
import aws_cdk.core as cdk

# cfn_rule_condition_expression: cdk.ICfnRuleConditionExpression

template_rule_assertion = servicecatalog.TemplateRuleAssertion(
    assert=cfn_rule_condition_expression,

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

Attributes

assert_

The assertion condition.

Return type

ICfnRuleConditionExpression

description

The description for the asssertion.

Default
  • no description provided for the assertion.

Return type

Optional[str]