Class CommonConstraintOptions
Properties for governance mechanisms and constraints.
Implements
Inherited Members
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
Remarks
Default: - No description provided
MessageLanguage
The language code.
public MessageLanguage? MessageLanguage { get; set; }
Property Value
Remarks
Configures the language for error messages from service catalog.
Default: - English