Class CloudFormationStackNotificationCheck
Checks whether your CloudFormation stacks are sending event notifications to a SNS topic.
Inherited Members
Namespace: Amazon.CDK.AWS.Config
Assembly: Amazon.CDK.AWS.Config.dll
Syntax (csharp)
public class CloudFormationStackNotificationCheck : ManagedRule, IRule, IResource, IConstruct, IDependable
Syntax (vb)
Public Class CloudFormationStackNotificationCheck
Inherits ManagedRule
Implements IRule, IResource, IConstruct, IDependable
Remarks
Optionally checks whether specified SNS topics are used.
Resource: AWS::Config::ConfigRule
ExampleMetadata: infused
Examples
// topics to which CloudFormation stacks may send event notifications
var topic1 = new Topic(this, "AllowedTopic1");
var 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'
new CloudFormationStackNotificationCheck(this, "NotificationCheck", new CloudFormationStackNotificationCheckProps {
Topics = new [] { topic1, topic2 }
});
Synopsis
Constructors
CloudFormationStackNotificationCheck(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
CloudFormationStackNotificationCheck(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
CloudFormationStackNotificationCheck(Construct, String, ICloudFormationStackNotificationCheckProps) |
Constructors
CloudFormationStackNotificationCheck(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected CloudFormationStackNotificationCheck(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
CloudFormationStackNotificationCheck(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected CloudFormationStackNotificationCheck(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
CloudFormationStackNotificationCheck(Construct, String, ICloudFormationStackNotificationCheckProps)
public CloudFormationStackNotificationCheck(Construct scope, string id, ICloudFormationStackNotificationCheckProps props = null)
Parameters
- scope Constructs.Construct
- id System.String
- props ICloudFormationStackNotificationCheckProps
Implements
Constructs.IConstruct