Class CfnRemediationConfiguration.SsmControlsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.config.CfnRemediationConfiguration.SsmControlsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnRemediationConfiguration.SsmControlsProperty>
- Enclosing interface:
CfnRemediationConfiguration.SsmControlsProperty
@Stability(Stable)
public static final class CfnRemediationConfiguration.SsmControlsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnRemediationConfiguration.SsmControlsProperty>
A builder for
CfnRemediationConfiguration.SsmControlsProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.concurrentExecutionRatePercentage
(Number concurrentExecutionRatePercentage) errorPercentage
(Number errorPercentage) Sets the value ofCfnRemediationConfiguration.SsmControlsProperty.getErrorPercentage()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
concurrentExecutionRatePercentage
@Stability(Stable) public CfnRemediationConfiguration.SsmControlsProperty.Builder concurrentExecutionRatePercentage(Number concurrentExecutionRatePercentage) Sets the value ofCfnRemediationConfiguration.SsmControlsProperty.getConcurrentExecutionRatePercentage()
- Parameters:
concurrentExecutionRatePercentage
- The maximum percentage of remediation actions allowed to run in parallel on the non-compliant resources for that specific rule. You can specify a percentage, such as 10%. The default value is 10.- Returns:
this
-
errorPercentage
@Stability(Stable) public CfnRemediationConfiguration.SsmControlsProperty.Builder errorPercentage(Number errorPercentage) Sets the value ofCfnRemediationConfiguration.SsmControlsProperty.getErrorPercentage()
- Parameters:
errorPercentage
- The percentage of errors that are allowed before SSM stops running automations on non-compliant resources for that specific rule. You can specify a percentage of errors, for example 10%. If you do not specifiy a percentage, the default is 50%. For example, if you set the ErrorPercentage to 40% for 10 non-compliant resources, then SSM stops running the automations when the fifth error is received.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnRemediationConfiguration.SsmControlsProperty>
- Returns:
- a new instance of
CfnRemediationConfiguration.SsmControlsProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-