aws-cdk-lib.aws_config.CloudFormationStackNotificationCheckProps

interface CloudFormationStackNotificationCheckProps

LanguageType name
.NETAmazon.CDK.AWS.Config.CloudFormationStackNotificationCheckProps
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsconfig#CloudFormationStackNotificationCheckProps
Javasoftware.amazon.awscdk.services.config.CloudFormationStackNotificationCheckProps
Pythonaws_cdk.aws_config.CloudFormationStackNotificationCheckProps
TypeScript (source)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

NameTypeDescription
configRuleName?stringA name for the AWS Config rule.
description?stringA description about this AWS Config rule.
inputParameters?{ [string]: any }Input parameter values that are passed to the AWS Config rule.
maximumExecutionFrequency?MaximumExecutionFrequencyThe maximum frequency at which the AWS Config rule runs evaluations.
ruleScope?RuleScopeDefines 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.


inputParameters?

Type: { [string]: any } (optional, default: No input parameters)

Input parameter values that are passed to the AWS Config rule.


maximumExecutionFrequency?

Type: MaximumExecutionFrequency (optional, default: MaximumExecutionFrequency.TWENTY_FOUR_HOURS)

The maximum frequency at which the AWS Config rule runs evaluations.


ruleScope?

Type: RuleScope (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.