interface CommonConstraintOptions
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.Servicecatalog.CommonConstraintOptions |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsservicecatalog#CommonConstraintOptions |
![]() | software.amazon.awscdk.services.servicecatalog.CommonConstraintOptions |
![]() | aws_cdk.aws_servicecatalog.CommonConstraintOptions |
![]() | aws-cdk-lib » aws_servicecatalog » CommonConstraintOptions |
Properties for governance mechanisms and constraints.
Example
import * as sns from 'aws-cdk-lib/aws-sns';
declare const portfolio: servicecatalog.Portfolio;
declare const product: servicecatalog.CloudFormationProduct;
const topic1 = new sns.Topic(this, 'Topic1');
portfolio.notifyOnStackEvents(product, topic1);
const topic2 = new sns.Topic(this, 'Topic2');
portfolio.notifyOnStackEvents(product, topic2, {
description: 'description for topic2', // description is an optional field.
});
Properties
Name | Type | Description |
---|---|---|
description? | string | The description of the constraint. |
message | Message | The language code. |
description?
Type:
string
(optional, default: No description provided)
The description of the constraint.
messageLanguage?
Type:
Message
(optional, default: English)
The language code.
Configures the language for error messages from service catalog.