public static final class CustomRuleProps.Builder
extends java.lang.Object
CustomRuleProps
Constructor and Description |
---|
Builder() |
public CustomRuleProps.Builder lambdaFunction(IFunction lambdaFunction)
CustomRuleProps.getLambdaFunction()
lambdaFunction
- The Lambda function to run. This parameter is required.this
public CustomRuleProps.Builder configurationChanges(java.lang.Boolean configurationChanges)
CustomRuleProps.getConfigurationChanges()
configurationChanges
- Whether to run the rule on configuration changes.this
public CustomRuleProps.Builder periodic(java.lang.Boolean periodic)
CustomRuleProps.getPeriodic()
periodic
- Whether to run the rule on a fixed frequency.this
public CustomRuleProps.Builder configRuleName(java.lang.String configRuleName)
RuleProps.getConfigRuleName()
configRuleName
- A name for the AWS Config rule.this
public CustomRuleProps.Builder description(java.lang.String description)
RuleProps.getDescription()
description
- A description about this AWS Config rule.this
public CustomRuleProps.Builder inputParameters(java.util.Map<java.lang.String,? extends java.lang.Object> inputParameters)
RuleProps.getInputParameters()
inputParameters
- Input parameter values that are passed to the AWS Config rule.this
public CustomRuleProps.Builder maximumExecutionFrequency(MaximumExecutionFrequency maximumExecutionFrequency)
RuleProps.getMaximumExecutionFrequency()
maximumExecutionFrequency
- The maximum frequency at which the AWS Config rule runs evaluations.this
public CustomRuleProps.Builder ruleScope(RuleScope ruleScope)
RuleProps.getRuleScope()
ruleScope
- Defines which resources trigger an evaluation for an AWS Config rule.this
public CustomRuleProps build()
CustomRuleProps
java.lang.NullPointerException
- if any required attribute was not provided