interface TemplateRuleAssertion
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Servicecatalog.TemplateRuleAssertion |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsservicecatalog#TemplateRuleAssertion |
Java | software.amazon.awscdk.services.servicecatalog.TemplateRuleAssertion |
Python | aws_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
| Name | Type | Description |
|---|---|---|
| assert | ICfn | The assertion condition. |
| description? | string | The description for the asssertion. |
assert
Type:
ICfn
The assertion condition.
description?
Type:
string
(optional, default: no description provided for the assertion.)
The description for the asssertion.

.NET
Go
Java
Python
TypeScript (