Show / Hide Table of Contents

Class TemplateRuleAssertion

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

Inheritance
object
TemplateRuleAssertion
Implements
ITemplateRuleAssertion
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.AWS.Servicecatalog
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class TemplateRuleAssertion : ITemplateRuleAssertion
Syntax (vb)
Public Class TemplateRuleAssertion Implements ITemplateRuleAssertion
Remarks

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
            // The values are placeholders you should change.
            using Amazon.CDK;
            using Amazon.CDK.AWS.Servicecatalog;

            ICfnRuleConditionExpression cfnRuleConditionExpression;

            var templateRuleAssertion = new TemplateRuleAssertion {
                Assert = cfnRuleConditionExpression,

                // the properties below are optional
                Description = "description"
            };

Synopsis

Constructors

TemplateRuleAssertion()

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

Properties

Assert

The assertion condition.

Description

The description for the asssertion.

Constructors

TemplateRuleAssertion()

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

public TemplateRuleAssertion()
Remarks

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
            // The values are placeholders you should change.
            using Amazon.CDK;
            using Amazon.CDK.AWS.Servicecatalog;

            ICfnRuleConditionExpression cfnRuleConditionExpression;

            var templateRuleAssertion = new TemplateRuleAssertion {
                Assert = cfnRuleConditionExpression,

                // the properties below are optional
                Description = "description"
            };

Properties

Assert

The assertion condition.

public ICfnRuleConditionExpression Assert { get; set; }
Property Value

ICfnRuleConditionExpression

Remarks

ExampleMetadata: fixture=_generated

Description

The description for the asssertion.

public string? Description { get; set; }
Property Value

string

Remarks

Default: - no description provided for the assertion.

Implements

ITemplateRuleAssertion
Back to top Generated by DocFX