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.116.0 (build 0eddcff)",
date="2025-10-29T11:15:35.565Z")
@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:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA fluent builder forCloudFormationStackNotificationCheck.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.IResource
IResource.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.services.config.IRule
IRule.Jsii$Default, IRule.Jsii$Proxy -
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCloudFormationStackNotificationCheck(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCloudFormationStackNotificationCheck(software.amazon.jsii.JsiiObjectRef objRef) CloudFormationStackNotificationCheck(software.constructs.Construct scope, String id) CloudFormationStackNotificationCheck(software.constructs.Construct scope, String id, CloudFormationStackNotificationCheckProps props) -
Method Summary
Methods inherited from class software.amazon.awscdk.services.config.ManagedRule
fromConfigRuleName, getConfigRuleArn, getConfigRuleComplianceType, getConfigRuleId, getConfigRuleName, getIsCustomWithChanges, getIsManaged, getRuleScope, onComplianceChange, onComplianceChange, onEvent, onEvent, onReEvaluationStatus, onReEvaluationStatus, setIsCustomWithChanges, setIsManaged, setRuleScopeMethods inherited from class software.amazon.awscdk.Resource
applyRemovalPolicy, generatePhysicalName, getEnv, getPhysicalName, getResourceArnAttribute, getResourceNameAttribute, getStack, isOwnedResource, isResourceMethods inherited from class software.constructs.Construct
getNode, isConstruct, toStringMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.constructs.IConstruct
getNodeMethods inherited from interface software.amazon.awscdk.IResource
applyRemovalPolicy, getEnv, getStackMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
PROPERTY_INJECTION_ID
Uniquely identifies this class.
-
-
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.
-