An object that represents the details about the remediation configuration that includes the remediation action, parameters, and data to execute the action.
import { CfnRemediationConfiguration } from 'aws-cdk-lib/aws-config';Or use the module namespace:
import * as config from 'aws-cdk-lib/aws-config';
// config.CfnRemediationConfigurationConfiguration passed to the constructor as CfnRemediationConfigurationProps.
configRuleNameRequiredstringThe name of the AWS Config rule.
targetIdRequiredstringTarget ID is the name of the SSM document.
targetTypeRequiredstringThe type of the target. Target executes remediation. For example, SSM document.
automaticOptionalboolean | IResolvableThe remediation is triggered automatically.
executionControlsOptionalIResolvable | ExecutionControlsPropertyAn ExecutionControls object.
maximumAutomaticAttemptsOptionalnumberThe maximum number of failed attempts for auto-remediation. If you do not select a number, the default is 5. 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.
parametersOptionalanyAn object of the RemediationParameterValue. For more information, see [RemediationParameterValue](https://docs.aws.amazon.com/config/latest/APIReference/API_RemediationParameterValue.html) . > The type is a map of strings to RemediationParameterValue.
resourceTypeOptionalstringThe type of a resource.
retryAttemptSecondsOptionalnumberTime window to determine whether or not to add a remediation exception to prevent infinite remediation attempts. If `MaximumAutomaticAttempts` remediation attempts have been made under `RetryAttemptSeconds` , a remediation exception will be added to the resource. 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 adding a remediation exception to the resource.
targetVersionOptionalstringVersion of the target. For example, version of the SSM document. > If you make backward incompatible changes to the SSM document, you must call PutRemediationConfiguration API again to ensure the remediations can run.
Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to Newsletteraws-config