aws-cdk-lib.aws_servicecatalog.TemplateRuleAssertion

interface TemplateRuleAssertion

LanguageType name
.NETAmazon.CDK.AWS.Servicecatalog.TemplateRuleAssertion
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsservicecatalog#TemplateRuleAssertion
Javasoftware.amazon.awscdk.services.servicecatalog.TemplateRuleAssertion
Pythonaws_cdk.aws_servicecatalog.TemplateRuleAssertion
TypeScript (source)aws-cdk-lib » aws_servicecatalog » TemplateRuleAssertion

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

Example

// 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

NameTypeDescription
assertICfnRuleConditionExpressionThe assertion condition.
description?stringThe description for the asssertion.

assert

Type: ICfnRuleConditionExpression

The assertion condition.


description?

Type: string (optional, default: no description provided for the assertion.)

The description for the asssertion.