Class CloudFormationStackNotificationCheck

java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
All Implemented Interfaces:
IConstruct, IDependable, IResource, IRule, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:48.597Z") @Stability(Stable) public class CloudFormationStackNotificationCheck extends ManagedRule
Checks whether your CloudFormation stacks are sending event notifications to a SNS topic.

Optionally checks whether specified SNS topics are used.

Example:

 // topics to which CloudFormation stacks may send event notifications
 Topic topic1 = new Topic(this, "AllowedTopic1");
 Topic topic2 = new Topic(this, "AllowedTopic2");
 // non-compliant if CloudFormation stack does not send notifications to 'topic1' or 'topic2'
 // non-compliant if CloudFormation stack does not send notifications to 'topic1' or 'topic2'
 CloudFormationStackNotificationCheck.Builder.create(this, "NotificationCheck")
         .topics(List.of(topic1, topic2))
         .build();
 

See Also:
  • Constructor Details

    • CloudFormationStackNotificationCheck

      protected CloudFormationStackNotificationCheck(software.amazon.jsii.JsiiObjectRef objRef)
    • CloudFormationStackNotificationCheck

      protected CloudFormationStackNotificationCheck(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • CloudFormationStackNotificationCheck

      @Stability(Stable) public CloudFormationStackNotificationCheck(@NotNull software.constructs.Construct scope, @NotNull String id, @Nullable CloudFormationStackNotificationCheckProps props)
      Parameters:
      scope - This parameter is required.
      id - This parameter is required.
      props -
    • CloudFormationStackNotificationCheck

      @Stability(Stable) public CloudFormationStackNotificationCheck(@NotNull software.constructs.Construct scope, @NotNull String id)
      Parameters:
      scope - This parameter is required.
      id - This parameter is required.