Skip to content
v2.274.0

TemplateRuleAssertion Struct ​

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

Example ​

ts
// 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';
import { aws_servicecatalog as servicecatalog } from 'aws-cdk-lib';

declare const cfnRuleConditionExpression: cdk.ICfnRuleConditionExpression;
const templateRuleAssertion: servicecatalog.TemplateRuleAssertion = {
  assert: cfnRuleConditionExpression,

  // the properties below are optional
  description: 'description',
};

Properties ​

descriptionoptionalstringdescriptionoptionalstrdescriptionoptionalStringDescriptionoptionalstringDescriptionoptional*string#
The description for the asssertion.

Default: no description provided for the assertion.