@Stability(value=Stable) public static final class CfnConfigRuleProps.Builder extends Object implements software.amazon.jsii.Builder<CfnConfigRuleProps>
CfnConfigRuleProps| Constructor and Description |
|---|
Builder() |
@Stability(value=Stable) public CfnConfigRuleProps.Builder source(CfnConfigRule.SourceProperty source)
CfnConfigRuleProps.getSource()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 CfnConfigRuleProps.Builder source(IResolvable source)
CfnConfigRuleProps.getSource()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 CfnConfigRuleProps.Builder configRuleName(String configRuleName)
CfnConfigRuleProps.getConfigRuleName()configRuleName - A name for the AWS Config rule.
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 .this@Stability(value=Stable) public CfnConfigRuleProps.Builder description(String description)
CfnConfigRuleProps.getDescription()description - The description that you provide for the AWS Config rule.this@Stability(value=Stable) public CfnConfigRuleProps.Builder inputParameters(Object inputParameters)
CfnConfigRuleProps.getInputParameters()inputParameters - A string, in JSON format, that is passed to the AWS Config rule Lambda function.this@Stability(value=Stable) public CfnConfigRuleProps.Builder maximumExecutionFrequency(String maximumExecutionFrequency)
CfnConfigRuleProps.getMaximumExecutionFrequency()maximumExecutionFrequency - The maximum frequency with which AWS Config runs evaluations for a rule.
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.
this@Stability(value=Stable) public CfnConfigRuleProps.Builder scope(CfnConfigRule.ScopeProperty scope)
CfnConfigRuleProps.getScope()scope - Defines which resources can trigger an evaluation for the rule.
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.
this@Stability(value=Stable) public CfnConfigRuleProps.Builder scope(IResolvable scope)
CfnConfigRuleProps.getScope()scope - Defines which resources can trigger an evaluation for the rule.
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.
this@Stability(value=Stable) public CfnConfigRuleProps build()
build in interface software.amazon.jsii.Builder<CfnConfigRuleProps>CfnConfigRulePropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.