Class CloudFormationStackNotificationCheck

java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.Resource
software.amazon.awscdk.services.config.ManagedRule
software.amazon.awscdk.services.config.CloudFormationStackNotificationCheck
All Implemented Interfaces:
IResource, IRule, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct, software.constructs.IDependable

@Generated(value="jsii-pacmak/1.104.0 (build e79254c)", date="2024-11-22T02:23:59.297Z") @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.