RemediationConfiguration
¶
Source code in docs_src/capo_config_service/types/remediation_configuration.py
arn
instance-attribute
¶
arn: NotRequired[StringWithCharLimit1024]
Amazon Resource Name (ARN) of remediation configuration.
created_by_service
instance-attribute
¶
created_by_service: NotRequired[StringWithCharLimit1024]
Name of the service that owns the service-linked rule, if applicable.
execution_controls
instance-attribute
¶
execution_controls: NotRequired[ExecutionControls]
An ExecutionControls object.
maximum_automatic_attempts
instance-attribute
¶
maximum_automatic_attempts: NotRequired[AutoRemediationAttempts]
The 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, Config will put a RemediationException on your behalf for the failing resource after the 5th failed attempt within 50 seconds.
parameters
instance-attribute
¶
parameters: NotRequired[RemediationParameters]
An object of the RemediationParameterValue.
retry_attempt_seconds
instance-attribute
¶
retry_attempt_seconds: NotRequired[AutoRemediationAttemptSeconds]
Time 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, Config will run auto-remediations 5 times within 50 seconds before adding a remediation exception to the resource.
target_id
instance-attribute
¶
target_id: StringWithCharLimit256
Target ID is the name of the SSM document.
target_type
instance-attribute
¶
target_type: RemediationTargetType
The type of the target. Target executes remediation. For example, SSM document.