public static interface RemediationConfiguration.Builder extends SdkPojo, CopyableBuilder<RemediationConfiguration.Builder,RemediationConfiguration>
| Modifier and Type | Method and Description |
|---|---|
RemediationConfiguration.Builder |
arn(String arn)
Amazon Resource Name (ARN) of remediation configuration.
|
RemediationConfiguration.Builder |
automatic(Boolean automatic)
The remediation is triggered automatically.
|
RemediationConfiguration.Builder |
configRuleName(String configRuleName)
The name of the Config rule.
|
RemediationConfiguration.Builder |
createdByService(String createdByService)
Name of the service that owns the service-linked rule, if applicable.
|
default RemediationConfiguration.Builder |
executionControls(Consumer<ExecutionControls.Builder> executionControls)
An ExecutionControls object.
|
RemediationConfiguration.Builder |
executionControls(ExecutionControls executionControls)
An ExecutionControls object.
|
RemediationConfiguration.Builder |
maximumAutomaticAttempts(Integer maximumAutomaticAttempts)
The maximum number of failed attempts for auto-remediation.
|
RemediationConfiguration.Builder |
parameters(Map<String,RemediationParameterValue> parameters)
An object of the RemediationParameterValue.
|
RemediationConfiguration.Builder |
resourceType(String resourceType)
The type of a resource.
|
RemediationConfiguration.Builder |
retryAttemptSeconds(Long retryAttemptSeconds)
Maximum time in seconds that Config runs auto-remediation.
|
RemediationConfiguration.Builder |
targetId(String targetId)
Target ID is the name of the SSM document.
|
RemediationConfiguration.Builder |
targetType(RemediationTargetType targetType)
The type of the target.
|
RemediationConfiguration.Builder |
targetType(String targetType)
The type of the target.
|
RemediationConfiguration.Builder |
targetVersion(String targetVersion)
Version of the target.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildRemediationConfiguration.Builder configRuleName(String configRuleName)
The name of the Config rule.
configRuleName - The name of the Config rule.RemediationConfiguration.Builder targetType(String targetType)
The type of the target. Target executes remediation. For example, SSM document.
targetType - The type of the target. Target executes remediation. For example, SSM document.RemediationTargetType,
RemediationTargetTypeRemediationConfiguration.Builder targetType(RemediationTargetType targetType)
The type of the target. Target executes remediation. For example, SSM document.
targetType - The type of the target. Target executes remediation. For example, SSM document.RemediationTargetType,
RemediationTargetTypeRemediationConfiguration.Builder targetId(String targetId)
Target ID is the name of the SSM document.
targetId - Target ID is the name of the SSM document.RemediationConfiguration.Builder targetVersion(String targetVersion)
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.
targetVersion - 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.
RemediationConfiguration.Builder parameters(Map<String,RemediationParameterValue> parameters)
An object of the RemediationParameterValue.
parameters - An object of the RemediationParameterValue.RemediationConfiguration.Builder resourceType(String resourceType)
The type of a resource.
resourceType - The type of a resource.RemediationConfiguration.Builder automatic(Boolean automatic)
The remediation is triggered automatically.
automatic - The remediation is triggered automatically.RemediationConfiguration.Builder executionControls(ExecutionControls executionControls)
An ExecutionControls object.
executionControls - An ExecutionControls object.default RemediationConfiguration.Builder executionControls(Consumer<ExecutionControls.Builder> executionControls)
An ExecutionControls object.
This is a convenience method that creates an instance of theExecutionControls.Builder avoiding the
need to create one manually via ExecutionControls.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to executionControls(ExecutionControls).
executionControls - a consumer that will call methods on ExecutionControls.BuilderexecutionControls(ExecutionControls)RemediationConfiguration.Builder maximumAutomaticAttempts(Integer maximumAutomaticAttempts)
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.
maximumAutomaticAttempts - 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.
RemediationConfiguration.Builder retryAttemptSeconds(Long retryAttemptSeconds)
Maximum time in seconds that Config runs auto-remediation. 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 throwing an exception.
retryAttemptSeconds - Maximum time in seconds that Config runs auto-remediation. 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 throwing an exception.
RemediationConfiguration.Builder arn(String arn)
Amazon Resource Name (ARN) of remediation configuration.
arn - Amazon Resource Name (ARN) of remediation configuration.RemediationConfiguration.Builder createdByService(String createdByService)
Name of the service that owns the service-linked rule, if applicable.
createdByService - Name of the service that owns the service-linked rule, if applicable.Copyright © 2023. All rights reserved.