@Stability(value=Stable) public static final class CfnRemediationConfiguration.Builder extends Object implements software.amazon.jsii.Builder<CfnRemediationConfiguration>
CfnRemediationConfiguration.@Stability(value=Stable) public static CfnRemediationConfiguration.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.CfnRemediationConfiguration.ExecutionControlsProperty.Builder.@Stability(value=Stable) public CfnRemediationConfiguration.Builder configRuleName(String configRuleName)
configRuleName - The name of the AWS Config rule. This parameter is required.this@Stability(value=Stable) public CfnRemediationConfiguration.Builder targetId(String targetId)
targetId - Target ID is the name of the public document. This parameter is required.this@Stability(value=Stable) public CfnRemediationConfiguration.Builder targetType(String targetType)
Target executes remediation. For example, SSM document.
targetType - The type of the target. This parameter is required.this@Stability(value=Stable) public CfnRemediationConfiguration.Builder automatic(Boolean automatic)
automatic - The remediation is triggered automatically. This parameter is required.this@Stability(value=Stable) public CfnRemediationConfiguration.Builder automatic(IResolvable automatic)
automatic - The remediation is triggered automatically. This parameter is required.this@Stability(value=Stable) public CfnRemediationConfiguration.Builder executionControls(CfnRemediationConfiguration.ExecutionControlsProperty executionControls)
executionControls - An ExecutionControls object. This parameter is required.this@Stability(value=Stable) public CfnRemediationConfiguration.Builder executionControls(IResolvable executionControls)
executionControls - An ExecutionControls object. This parameter is required.this@Stability(value=Stable) public CfnRemediationConfiguration.Builder maximumAutomaticAttempts(Number maximumAutomaticAttempts)
For example, if you specify MaximumAutomaticAttempts as 5 with RetryAttemptSeconds as 50 seconds, AWS Config will put a RemediationException on your behalf for the failing resource after the 5th failed attempt within 50 seconds.
maximumAutomaticAttempts - The maximum number of failed attempts for auto-remediation. If you do not select a number, the default is 5. This parameter is required.this@Stability(value=Stable) public CfnRemediationConfiguration.Builder parameters(Object parameters)
The type is a map of strings to RemediationParameterValue.
parameters - An object of the RemediationParameterValue. This parameter is required.this@Stability(value=Stable) public CfnRemediationConfiguration.Builder resourceType(String resourceType)
resourceType - The type of a resource. This parameter is required.this@Stability(value=Stable) public CfnRemediationConfiguration.Builder retryAttemptSeconds(Number retryAttemptSeconds)
If you do not select a number, the default is 60 seconds.
For example, if you specify RetryAttemptSeconds as 50 seconds and MaximumAutomaticAttempts as 5, AWS Config will run auto-remediations 5 times within 50 seconds before throwing an exception.
retryAttemptSeconds - Maximum time in seconds that AWS Config runs auto-remediation. This parameter is required.this@Stability(value=Stable) public CfnRemediationConfiguration.Builder targetVersion(String targetVersion)
If you make backward incompatible changes to the SSM document, you must call PutRemediationConfiguration API again to ensure the remediations can run.
targetVersion - Version of the target. For example, version of the SSM document. This parameter is required.this@Stability(value=Stable) public CfnRemediationConfiguration build()
build in interface software.amazon.jsii.Builder<CfnRemediationConfiguration>Copyright © 2022. All rights reserved.