interface CloudFormationStackNotificationCheckProps
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.Config.CloudFormationStackNotificationCheckProps |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsconfig#CloudFormationStackNotificationCheckProps |
![]() | software.amazon.awscdk.services.config.CloudFormationStackNotificationCheckProps |
![]() | aws_cdk.aws_config.CloudFormationStackNotificationCheckProps |
![]() | aws-cdk-lib » aws_config » CloudFormationStackNotificationCheckProps |
Construction properties for a CloudFormationStackNotificationCheck.
Example
// topics to which CloudFormation stacks may send event notifications
const topic1 = new sns.Topic(this, 'AllowedTopic1');
const topic2 = new sns.Topic(this, 'AllowedTopic2');
// non-compliant if CloudFormation stack does not send notifications to 'topic1' or 'topic2'
new config.CloudFormationStackNotificationCheck(this, 'NotificationCheck', {
topics: [topic1, topic2],
});
Properties
Name | Type | Description |
---|---|---|
config | string | A name for the AWS Config rule. |
description? | string | A description about this AWS Config rule. |
evaluation | Evaluation | The modes the AWS Config rule can be evaluated in. |
input | { [string]: any } | Input parameter values that are passed to the AWS Config rule. |
maximum | Maximum | The maximum frequency at which the AWS Config rule runs evaluations. |
rule | Rule | Defines which resources trigger an evaluation for an AWS Config rule. |
topics? | ITopic [] | A list of allowed topics. |
configRuleName?
Type:
string
(optional, default: CloudFormation generated name)
A name for the AWS Config rule.
description?
Type:
string
(optional, default: No description)
A description about this AWS Config rule.
evaluationModes?
Type:
Evaluation
(optional, default: Detective evaluation mode only)
The modes the AWS Config rule can be evaluated in.
The valid values are distinct objects.
inputParameters?
Type:
{ [string]: any }
(optional, default: No input parameters)
Input parameter values that are passed to the AWS Config rule.
maximumExecutionFrequency?
Type:
Maximum
(optional, default: MaximumExecutionFrequency.TWENTY_FOUR_HOURS)
The maximum frequency at which the AWS Config rule runs evaluations.
ruleScope?
Type:
Rule
(optional, default: evaluations for the rule are triggered when any resource in the recording group changes.)
Defines which resources trigger an evaluation for an AWS Config rule.
topics?
Type:
ITopic
[]
(optional, default: No topics.)
A list of allowed topics.
At most 5 topics.