Class CloudFormationStackNotificationCheckProps
Construction properties for a CloudFormationStackNotificationCheck.
Inheritance
Namespace: Amazon.CDK.AWS.Config
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CloudFormationStackNotificationCheckProps : Object, ICloudFormationStackNotificationCheckProps, IRuleProps
Syntax (vb)
Public Class CloudFormationStackNotificationCheckProps
Inherits Object
Implements ICloudFormationStackNotificationCheckProps, IRuleProps
Remarks
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
CloudFormationStackNotificationCheckProps() |
Properties
ConfigRuleName | A name for the AWS Config rule. |
Description | A description about this AWS Config rule. |
InputParameters | Input parameter values that are passed to the AWS Config rule. |
MaximumExecutionFrequency | The maximum frequency at which the AWS Config rule runs evaluations. |
RuleScope | Defines which resources trigger an evaluation for an AWS Config rule. |
Topics | A list of allowed topics. |
Constructors
CloudFormationStackNotificationCheckProps()
public CloudFormationStackNotificationCheckProps()
Properties
ConfigRuleName
A name for the AWS Config rule.
public string ConfigRuleName { get; set; }
Property Value
System.String
Remarks
Default: - CloudFormation generated name
Description
A description about this AWS Config rule.
public string Description { get; set; }
Property Value
System.String
Remarks
Default: - No description
InputParameters
Input parameter values that are passed to the AWS Config rule.
public IDictionary<string, object> InputParameters { get; set; }
Property Value
System.Collections.Generic.IDictionary<System.String, System.Object>
Remarks
Default: - No input parameters
MaximumExecutionFrequency
The maximum frequency at which the AWS Config rule runs evaluations.
public Nullable<MaximumExecutionFrequency> MaximumExecutionFrequency { get; set; }
Property Value
System.Nullable<MaximumExecutionFrequency>
Remarks
Default: MaximumExecutionFrequency.TWENTY_FOUR_HOURS
RuleScope
Defines which resources trigger an evaluation for an AWS Config rule.
public RuleScope RuleScope { get; set; }
Property Value
Remarks
Default: - evaluations for the rule are triggered when any resource in the recording group changes.
Topics
A list of allowed topics.
public ITopic[] Topics { get; set; }
Property Value
ITopic[]
Remarks
At most 5 topics.
Default: - No topics.