CloudFormationStackNotificationCheckProps
- class aws_cdk.aws_config.CloudFormationStackNotificationCheckProps(*, config_rule_name=None, description=None, evaluation_modes=None, input_parameters=None, maximum_execution_frequency=None, rule_scope=None, topics=None)
Bases:
RuleProps
Construction properties for a CloudFormationStackNotificationCheck.
- Parameters:
config_rule_name (
Optional
[str
]) – A name for the AWS Config rule. Default: - CloudFormation generated namedescription (
Optional
[str
]) – A description about this AWS Config rule. Default: - No descriptionevaluation_modes (
Optional
[EvaluationMode
]) – The modes the AWS Config rule can be evaluated in. The valid values are distinct objects. Default: - Detective evaluation mode onlyinput_parameters (
Optional
[Mapping
[str
,Any
]]) – Input parameter values that are passed to the AWS Config rule. Default: - No input parametersmaximum_execution_frequency (
Optional
[MaximumExecutionFrequency
]) – The maximum frequency at which the AWS Config rule runs evaluations. Default: MaximumExecutionFrequency.TWENTY_FOUR_HOURSrule_scope (
Optional
[RuleScope
]) – Defines which resources trigger an evaluation for an AWS Config rule. Default: - evaluations for the rule are triggered when any resource in the recording group changes.topics (
Optional
[Sequence
[ITopic
]]) – A list of allowed topics. At most 5 topics. Default: - No topics.
- ExampleMetadata:
infused
Example:
# topics to which CloudFormation stacks may send event notifications topic1 = sns.Topic(self, "AllowedTopic1") topic2 = sns.Topic(self, "AllowedTopic2") # non-compliant if CloudFormation stack does not send notifications to 'topic1' or 'topic2' config.CloudFormationStackNotificationCheck(self, "NotificationCheck", topics=[topic1, topic2] )
Attributes
- config_rule_name
A name for the AWS Config rule.
- Default:
CloudFormation generated name
- description
A description about this AWS Config rule.
- Default:
No description
- evaluation_modes
The modes the AWS Config rule can be evaluated in.
The valid values are distinct objects.
- Default:
Detective evaluation mode only
- input_parameters
Input parameter values that are passed to the AWS Config rule.
- Default:
No input parameters
- maximum_execution_frequency
The maximum frequency at which the AWS Config rule runs evaluations.
- Default:
MaximumExecutionFrequency.TWENTY_FOUR_HOURS
- rule_scope
Defines which resources trigger an evaluation for an AWS Config rule.
- Default:
evaluations for the rule are triggered when any resource in the recording group changes.
- topics
A list of allowed topics.
At most 5 topics.
- Default:
No topics.