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();
-
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
Maximum time in seconds that AWS Config runs auto-remediation.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. -
getTargetId
Target ID is the name of the SSM document. -
getTargetType
The type of the target.Target executes remediation. For example, SSM document.
-
getAutomatic
The remediation is triggered automatically. -
getExecutionControls
An ExecutionControls object. -
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.
-
getParameters
An object of the RemediationParameterValue. For more information, see RemediationParameterValue .The type is a map of strings to RemediationParameterValue.
-
getResourceType
The type of a resource. -
getRetryAttemptSeconds
Maximum time in seconds that AWS 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, AWS Config will run auto-remediations 5 times within 50 seconds before throwing an exception.
-
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.
-
builder
-