Interface CommonConstraintOptions
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Subinterfaces:
CloudFormationRuleConstraintOptions
,StackSetsConstraintOptions
,TagUpdateConstraintOptions
- All Known Implementing Classes:
CloudFormationRuleConstraintOptions.Jsii$Proxy
,CommonConstraintOptions.Jsii$Proxy
,StackSetsConstraintOptions.Jsii$Proxy
,TagUpdateConstraintOptions.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-11-15T10:25:07.399Z")
@Stability(Stable)
public interface CommonConstraintOptions
extends software.amazon.jsii.JsiiSerializable
Properties for governance mechanisms and constraints.
Example:
import software.amazon.awscdk.services.sns.*; Portfolio portfolio; CloudFormationProduct product; Topic topic1 = new Topic(this, "Topic1"); portfolio.notifyOnStackEvents(product, topic1); Topic topic2 = new Topic(this, "Topic2"); portfolio.notifyOnStackEvents(product, topic2, CommonConstraintOptions.builder() .description("description for topic2") .build());
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCommonConstraintOptions
static final class
An implementation forCommonConstraintOptions
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default String
The description of the constraint.default MessageLanguage
The language code.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDescription
The description of the constraint.Default: - No description provided
-
getMessageLanguage
The language code.Configures the language for error messages from service catalog.
Default: - English
-
builder
- Returns:
- a
CommonConstraintOptions.Builder
ofCommonConstraintOptions
-