@Stability(value=Stable) public static final class CfnConfigRule.Builder extends Object implements software.amazon.jsii.Builder<CfnConfigRule>
CfnConfigRule.| Modifier and Type | Method and Description |
|---|---|
CfnConfigRule |
build() |
CfnConfigRule.Builder |
configRuleName(String configRuleName)
A name for the AWS Config rule.
|
static CfnConfigRule.Builder |
create(software.constructs.Construct scope,
String id) |
CfnConfigRule.Builder |
description(String description)
The description that you provide for the AWS Config rule.
|
CfnConfigRule.Builder |
inputParameters(Object inputParameters)
A string, in JSON format, that is passed to the AWS Config rule Lambda function.
|
CfnConfigRule.Builder |
maximumExecutionFrequency(String maximumExecutionFrequency)
The maximum frequency with which AWS Config runs evaluations for a rule.
|
CfnConfigRule.Builder |
scope(CfnConfigRule.ScopeProperty scope)
Defines which resources can trigger an evaluation for the rule.
|
CfnConfigRule.Builder |
scope(IResolvable scope)
Defines which resources can trigger an evaluation for the rule.
|
CfnConfigRule.Builder |
source(CfnConfigRule.SourceProperty source)
Provides the rule owner ( AWS or customer), the rule identifier, and the notifications that cause the function to evaluate your AWS resources.
|
CfnConfigRule.Builder |
source(IResolvable source)
Provides the rule owner ( AWS or customer), the rule identifier, and the notifications that cause the function to evaluate your AWS resources.
|
@Stability(value=Stable) public static CfnConfigRule.Builder create(software.constructs.Construct scope, String id)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.CfnConfigRule.CustomPolicyDetailsProperty.Builder.@Stability(value=Stable) public CfnConfigRule.Builder source(CfnConfigRule.SourceProperty source)
source - Provides the rule owner ( AWS or customer), the rule identifier, and the notifications that cause the function to evaluate your AWS resources. This parameter is required.this@Stability(value=Stable) public CfnConfigRule.Builder source(IResolvable source)
source - Provides the rule owner ( AWS or customer), the rule identifier, and the notifications that cause the function to evaluate your AWS resources. This parameter is required.this@Stability(value=Stable) public CfnConfigRule.Builder configRuleName(String configRuleName)
If you don't specify a name, AWS CloudFormation generates a unique physical ID and uses that ID for the rule name. For more information, see Name Type .
configRuleName - A name for the AWS Config rule. This parameter is required.this@Stability(value=Stable) public CfnConfigRule.Builder description(String description)
description - The description that you provide for the AWS Config rule. This parameter is required.this@Stability(value=Stable) public CfnConfigRule.Builder inputParameters(Object inputParameters)
inputParameters - A string, in JSON format, that is passed to the AWS Config rule Lambda function. This parameter is required.this@Stability(value=Stable) public CfnConfigRule.Builder maximumExecutionFrequency(String maximumExecutionFrequency)
You can specify a value for MaximumExecutionFrequency when:
By default, rules with a periodic trigger are evaluated every 24 hours. To change the frequency, specify a valid value for the
MaximumExecutionFrequencyparameter.
maximumExecutionFrequency - The maximum frequency with which AWS Config runs evaluations for a rule. This parameter is required.this@Stability(value=Stable) public CfnConfigRule.Builder scope(CfnConfigRule.ScopeProperty scope)
The scope can include one or more resource types, a combination of one resource type and one resource ID, or a combination of a tag key and value. Specify a scope to constrain the resources that can trigger an evaluation for the rule. If you do not specify a scope, evaluations are triggered when any resource in the recording group changes.
The scope can be empty.
scope - Defines which resources can trigger an evaluation for the rule. This parameter is required.this@Stability(value=Stable) public CfnConfigRule.Builder scope(IResolvable scope)
The scope can include one or more resource types, a combination of one resource type and one resource ID, or a combination of a tag key and value. Specify a scope to constrain the resources that can trigger an evaluation for the rule. If you do not specify a scope, evaluations are triggered when any resource in the recording group changes.
The scope can be empty.
scope - Defines which resources can trigger an evaluation for the rule. This parameter is required.this@Stability(value=Stable) public CfnConfigRule build()
build in interface software.amazon.jsii.Builder<CfnConfigRule>Copyright © 2022. All rights reserved.