Interface CfnRemediationConfigurationMixinProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnRemediationConfigurationMixinProps.Jsii$Proxy
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.config.*;
Object parameters;
CfnRemediationConfigurationMixinProps cfnRemediationConfigurationMixinProps = CfnRemediationConfigurationMixinProps.builder()
.automatic(false)
.configRuleName("configRuleName")
.executionControls(ExecutionControlsProperty.builder()
.ssmControls(SsmControlsProperty.builder()
.concurrentExecutionRatePercentage(123)
.errorPercentage(123)
.build())
.build())
.maximumAutomaticAttempts(123)
.parameters(parameters)
.resourceType("resourceType")
.retryAttemptSeconds(123)
.targetId("targetId")
.targetType("targetType")
.targetVersion("targetVersion")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnRemediationConfigurationMixinPropsstatic final classAn implementation forCfnRemediationConfigurationMixinProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectThe remediation is triggered automatically.default StringThe name of the AWS Config rule.default ObjectAn ExecutionControls object.default NumberThe maximum number of failed attempts for auto-remediation.default ObjectAn object of the RemediationParameterValue.default StringThe type of a resource.default NumberTime window to determine whether or not to add a remediation exception to prevent infinite remediation attempts.default StringTarget ID is the name of the SSM document.default StringThe type of the target.default StringVersion of the target.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAutomatic
The remediation is triggered automatically.Returns union: either
BooleanorIResolvable- See Also:
-
getConfigRuleName
The name of the AWS Config rule.- See Also:
-
getExecutionControls
An ExecutionControls object.Returns union: either
IResolvableorCfnRemediationConfigurationPropsMixin.ExecutionControlsProperty- 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
MaximumAutomaticAttemptsremediation 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
RetryAttemptSecondsas 50 seconds andMaximumAutomaticAttemptsas 5, AWS Config will run auto-remediations 5 times within 50 seconds before adding a remediation exception to the resource.- 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:
-
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
-