@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:37.738Z") @Stability(value=Stable) public class CloudFormationStackNotificationCheck extends ManagedRule
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();
| Modifier and Type | Class and Description |
|---|---|
static class |
CloudFormationStackNotificationCheck.Builder
A fluent builder for
CloudFormationStackNotificationCheck. |
software.amazon.jsii.JsiiObject.InitializationModeIRule.Jsii$Default, IRule.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
|
CloudFormationStackNotificationCheck(software.constructs.Construct scope,
String id) |
|
CloudFormationStackNotificationCheck(software.constructs.Construct scope,
String id,
CloudFormationStackNotificationCheckProps props) |
protected |
CloudFormationStackNotificationCheck(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CloudFormationStackNotificationCheck(software.amazon.jsii.JsiiObjectRef objRef) |
fromConfigRuleName, getConfigRuleArn, getConfigRuleComplianceType, getConfigRuleId, getConfigRuleName, getIsCustomWithChanges, getIsManaged, getRuleScope, onComplianceChange, onComplianceChange, onEvent, onEvent, onReEvaluationStatus, onReEvaluationStatus, setIsCustomWithChanges, setIsManaged, setRuleScopeapplyRemovalPolicy, generatePhysicalName, getEnv, getPhysicalName, getResourceArnAttribute, getResourceNameAttribute, getStack, isOwnedResource, isResourcejsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitapplyRemovalPolicy, getEnv, getStackprotected CloudFormationStackNotificationCheck(software.amazon.jsii.JsiiObjectRef objRef)
protected CloudFormationStackNotificationCheck(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public CloudFormationStackNotificationCheck(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@Nullable
CloudFormationStackNotificationCheckProps props)
scope - This parameter is required.id - This parameter is required.props - @Stability(value=Stable)
public CloudFormationStackNotificationCheck(@NotNull
software.constructs.Construct scope,
@NotNull
String id)
scope - This parameter is required.id - This parameter is required.Copyright © 2022. All rights reserved.