Values.RemediationConfigurationSourceAn object that represents the details about the remediation configuration that includes the remediation action, parameters, and data to execute the action.
type nonrec t = {configRuleName : ConfigRuleName.t;The name of the Config rule.
*)targetType : RemediationTargetType.t;The type of the target. Target executes remediation. For example, SSM document.
*)targetId : StringWithCharLimit256.t;Target ID is the name of the SSM document.
*)targetVersion : String_.t option;Version 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.
*)parameters : RemediationParameters.t option;An object of the RemediationParameterValue.
*)resourceType : String_.t option;The type of a resource.
*)automatic : Boolean.t option;The remediation is triggered automatically.
*)executionControls : ExecutionControls.t option;An ExecutionControls object.
*)maximumAutomaticAttempts : AutoRemediationAttempts.t option;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.
*)retryAttemptSeconds : AutoRemediationAttemptSeconds.t option;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.
*)arn : StringWithCharLimit1024.t option;Amazon Resource Name (ARN) of remediation configuration.
*)createdByService : StringWithCharLimit1024.t option;Name of the service that owns the service-linked rule, if applicable.
*)}val make :
?targetVersion:??? ->
?parameters:??? ->
?resourceType:??? ->
?automatic:??? ->
?executionControls:??? ->
?maximumAutomaticAttempts:??? ->
?retryAttemptSeconds:??? ->
?arn:??? ->
?createdByService:??? ->
configRuleName:ConfigRuleName.t ->
targetType:RemediationTargetType.t ->
targetId:StringWithCharLimit256.t ->
unit ->
tval to_value :
t ->
[> `Structure of
(string
* [> `Boolean of Boolean.t
| `Enum of string
| `Integer of AutoRemediationAttempts.t
| `Long of AutoRemediationAttemptSeconds.t
| `Map of
([> `String of StringWithCharLimit256.t ]
* [> `Structure of
(string
* [> `Structure of
(string
* [> `Enum of string
| `List of
[> `String of StringWithCharLimit256.t ] list ])
list ])
list ])
list
| `String of ConfigRuleName.t
| `Structure of
(string
* [> `Structure of (string * [> `Integer of Percentage.t ]) list ])
list ])
list ]