Show / Hide Table of Contents

Class CommonConstraintOptions

Properties for governance mechanisms and constraints.

Inheritance
object
CommonConstraintOptions
Implements
ICommonConstraintOptions
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 CommonConstraintOptions : ICommonConstraintOptions
Syntax (vb)
Public Class CommonConstraintOptions Implements ICommonConstraintOptions
Remarks

ExampleMetadata: infused

Examples
using Amazon.CDK.AWS.SNS;

            Portfolio portfolio;
            CloudFormationProduct product;


            var topic1 = new Topic(this, "Topic1");
            portfolio.NotifyOnStackEvents(product, topic1);

            var topic2 = new Topic(this, "Topic2");
            portfolio.NotifyOnStackEvents(product, topic2, new CommonConstraintOptions {
                Description = "description for topic2"
            });

Synopsis

Constructors

CommonConstraintOptions()

Properties for governance mechanisms and constraints.

Properties

Description

The description of the constraint.

MessageLanguage

The language code.

Constructors

CommonConstraintOptions()

Properties for governance mechanisms and constraints.

public CommonConstraintOptions()
Remarks

ExampleMetadata: infused

Examples
using Amazon.CDK.AWS.SNS;

            Portfolio portfolio;
            CloudFormationProduct product;


            var topic1 = new Topic(this, "Topic1");
            portfolio.NotifyOnStackEvents(product, topic1);

            var topic2 = new Topic(this, "Topic2");
            portfolio.NotifyOnStackEvents(product, topic2, new CommonConstraintOptions {
                Description = "description for topic2"
            });

Properties

Description

The description of the constraint.

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

string

Remarks

Default: - No description provided

MessageLanguage

The language code.

public MessageLanguage? MessageLanguage { get; set; }
Property Value

MessageLanguage?

Remarks

Configures the language for error messages from service catalog.

Default: - English

Implements

ICommonConstraintOptions
Back to top Generated by DocFX