# CommonConstraintOptions

Properties for governance mechanisms and constraints.

- Source: [`aws-servicecatalog/lib/constraints.ts`](https://github.com/aws/aws-cdk/blob/v2.277.0/packages/aws-cdk-lib/aws-servicecatalog/lib/constraints.ts#L8)
- Type last changed: v2.23.0 · 4 May 2022

## Example

```ts
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

- `description`: string — The description of the constraint.

  **Default:** No description provided

- `messageLanguage`: [MessageLanguage](/cdk/api/v2/docs/aws-cdk-lib.aws_servicecatalog.MessageLanguage.html) = English — The language code.

  Configures the language for error messages from service catalog.
