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:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
A fluent builder forCloudFormationStackNotificationCheck
.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default
Nested classes/interfaces inherited from interface software.amazon.awscdk.IResource
IResource.Jsii$Default
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.config.IRule
IRule.Jsii$Default, IRule.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
CloudFormationStackNotificationCheck
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
CloudFormationStackNotificationCheck
(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, setRuleScope
Methods inherited from class software.amazon.awscdk.Resource
applyRemovalPolicy, generatePhysicalName, getEnv, getPhysicalName, getResourceArnAttribute, getResourceNameAttribute, getStack, isOwnedResource, isResource
Methods inherited from class software.constructs.Construct
getNode, isConstruct, toString
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface software.constructs.IConstruct
getNode
Methods inherited from interface software.amazon.awscdk.IResource
applyRemovalPolicy, getEnv, getStack
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
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.
-