Interface CfnRemediationConfigurationProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnRemediationConfigurationProps.Jsii$Proxy
CfnRemediationConfiguration
.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.config.*; Object parameters; CfnRemediationConfigurationProps cfnRemediationConfigurationProps = CfnRemediationConfigurationProps.builder() .configRuleName("configRuleName") .targetId("targetId") .targetType("targetType") // the properties below are optional .automatic(false) .executionControls(ExecutionControlsProperty.builder() .ssmControls(SsmControlsProperty.builder() .concurrentExecutionRatePercentage(123) .errorPercentage(123) .build()) .build()) .maximumAutomaticAttempts(123) .parameters(parameters) .resourceType("resourceType") .retryAttemptSeconds(123) .targetVersion("targetVersion") .build();
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnRemediationConfigurationProps
static final class
An implementation forCfnRemediationConfigurationProps
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default Object
The remediation is triggered automatically.The name of the AWS Config rule.default Object
An ExecutionControls object.default Number
The maximum number of failed attempts for auto-remediation.default Object
An object of the RemediationParameterValue.default String
The type of a resource.default Number
Time window to determine whether or not to add a remediation exception to prevent infinite remediation attempts.Target ID is the name of the SSM document.The type of the target.default String
Version of the target.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getConfigRuleName
The name of the AWS Config rule.- See Also:
-
getTargetId
Target ID is the name of the SSM document.- See Also:
-
getTargetType
The type of the target.Target executes remediation. For example, SSM document.
- See Also:
-
getAutomatic
The remediation is triggered automatically.- See Also:
-
getExecutionControls
An ExecutionControls object.- See Also:
-
getMaximumAutomaticAttempts
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, AWS Config will put a RemediationException on your behalf for the failing resource after the 5th failed attempt within 50 seconds.
- See Also:
-
getParameters
An object of the RemediationParameterValue. For more information, see RemediationParameterValue .The type is a map of strings to RemediationParameterValue.
- See Also:
-
getResourceType
The type of a resource.- See Also:
-
getRetryAttemptSeconds
Time window to determine whether or not to add a remediation exception to prevent infinite remediation attempts.If
MaximumAutomaticAttempts
remediation attempts have been made underRetryAttemptSeconds
, 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 andMaximumAutomaticAttempts
as 5, AWS Config will run auto-remediations 5 times within 50 seconds before adding a remediation exception to the resource.- See Also:
-
getTargetVersion
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.
- See Also:
-
builder
-