Class CloudFormationStackNotificationCheck.Builder
java.lang.Object
software.amazon.awscdk.services.config.CloudFormationStackNotificationCheck.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CloudFormationStackNotificationCheck>
- Enclosing class:
CloudFormationStackNotificationCheck
@Stability(Stable)
public static final class CloudFormationStackNotificationCheck.Builder
extends Object
implements software.amazon.jsii.Builder<CloudFormationStackNotificationCheck>
A fluent builder for
CloudFormationStackNotificationCheck
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
configRuleName
(String configRuleName) A name for the AWS Config rule.description
(String description) A description about this AWS Config rule.evaluationModes
(EvaluationMode evaluationModes) The modes the AWS Config rule can be evaluated in.inputParameters
(Map<String, ? extends Object> inputParameters) Input parameter values that are passed to the AWS Config rule.maximumExecutionFrequency
(MaximumExecutionFrequency maximumExecutionFrequency) The maximum frequency at which the AWS Config rule runs evaluations.Defines which resources trigger an evaluation for an AWS Config rule.A list of allowed topics.
-
Method Details
-
create
@Stability(Stable) public static CloudFormationStackNotificationCheck.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- This parameter is required.id
- This parameter is required.- Returns:
- a new instance of
CloudFormationStackNotificationCheck.Builder
.
-
configRuleName
@Stability(Stable) public CloudFormationStackNotificationCheck.Builder configRuleName(String configRuleName) A name for the AWS Config rule.Default: - CloudFormation generated name
- Parameters:
configRuleName
- A name for the AWS Config rule. This parameter is required.- Returns:
this
-
description
@Stability(Stable) public CloudFormationStackNotificationCheck.Builder description(String description) A description about this AWS Config rule.Default: - No description
- Parameters:
description
- A description about this AWS Config rule. This parameter is required.- Returns:
this
-
evaluationModes
@Stability(Stable) public CloudFormationStackNotificationCheck.Builder evaluationModes(EvaluationMode evaluationModes) The modes the AWS Config rule can be evaluated in.The valid values are distinct objects.
Default: - Detective evaluation mode only
- Parameters:
evaluationModes
- The modes the AWS Config rule can be evaluated in. This parameter is required.- Returns:
this
-
inputParameters
@Stability(Stable) public CloudFormationStackNotificationCheck.Builder inputParameters(Map<String, ? extends Object> inputParameters) Input parameter values that are passed to the AWS Config rule.Default: - No input parameters
- Parameters:
inputParameters
- Input parameter values that are passed to the AWS Config rule. This parameter is required.- Returns:
this
-
maximumExecutionFrequency
@Stability(Stable) public CloudFormationStackNotificationCheck.Builder maximumExecutionFrequency(MaximumExecutionFrequency maximumExecutionFrequency) The maximum frequency at which the AWS Config rule runs evaluations.Default: MaximumExecutionFrequency.TWENTY_FOUR_HOURS
- Parameters:
maximumExecutionFrequency
- The maximum frequency at which the AWS Config rule runs evaluations. This parameter is required.- Returns:
this
-
ruleScope
@Stability(Stable) public CloudFormationStackNotificationCheck.Builder ruleScope(RuleScope 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.
- Parameters:
ruleScope
- Defines which resources trigger an evaluation for an AWS Config rule. This parameter is required.- Returns:
this
-
topics
@Stability(Stable) public CloudFormationStackNotificationCheck.Builder topics(List<? extends ITopic> topics) A list of allowed topics.At most 5 topics.
Default: - No topics.
- Parameters:
topics
- A list of allowed topics. This parameter is required.- Returns:
this
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CloudFormationStackNotificationCheck>
- Returns:
- a newly built instance of
CloudFormationStackNotificationCheck
.
-