Interface ICfnRemediationConfigurationMixinProps
Properties for CfnRemediationConfigurationPropsMixin.
Namespace: Amazon.CDK.CfnPropertyMixins.AWS.Config
Assembly: Amazon.CDK.CfnPropertyMixins.dll
Syntax (csharp)
public interface ICfnRemediationConfigurationMixinProps
Syntax (vb)
Public Interface ICfnRemediationConfigurationMixinProps
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.CfnPropertyMixins.AWS.Config;
var parameters;
var cfnRemediationConfigurationMixinProps = new CfnRemediationConfigurationMixinProps {
Automatic = false,
ConfigRuleName = "configRuleName",
ExecutionControls = new ExecutionControlsProperty {
SsmControls = new SsmControlsProperty {
ConcurrentExecutionRatePercentage = 123,
ErrorPercentage = 123
}
},
MaximumAutomaticAttempts = 123,
Parameters = parameters,
ResourceType = "resourceType",
RetryAttemptSeconds = 123,
TargetId = "targetId",
TargetType = "targetType",
TargetVersion = "targetVersion"
};
Synopsis
Properties
| Automatic | The remediation is triggered automatically. |
| ConfigRuleName | The name of the AWS Config rule. |
| ExecutionControls | An ExecutionControls object. |
| MaximumAutomaticAttempts | The maximum number of failed attempts for auto-remediation. If you do not select a number, the default is 5. |
| Parameters | An object of the RemediationParameterValue. For more information, see RemediationParameterValue . |
| ResourceType | The type of a resource. |
| RetryAttemptSeconds | Time window to determine whether or not to add a remediation exception to prevent infinite remediation attempts. |
| TargetId | Target ID is the name of the SSM document. |
| TargetType | The type of the target. |
| TargetVersion | Version of the target. For example, version of the SSM document. |
Properties
Automatic
The remediation is triggered automatically.
object? Automatic { get; }
Property Value
Remarks
ConfigRuleName
The name of the AWS Config rule.
string? ConfigRuleName { get; }
Property Value
Remarks
ExecutionControls
An ExecutionControls object.
object? ExecutionControls { get; }
Property Value
Remarks
MaximumAutomaticAttempts
The maximum number of failed attempts for auto-remediation. If you do not select a number, the default is 5.
double? MaximumAutomaticAttempts { get; }
Property Value
Remarks
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.
Parameters
An object of the RemediationParameterValue. For more information, see RemediationParameterValue .
object? Parameters { get; }
Property Value
Remarks
The type is a map of strings to RemediationParameterValue.
ResourceType
The type of a resource.
string? ResourceType { get; }
Property Value
Remarks
RetryAttemptSeconds
Time window to determine whether or not to add a remediation exception to prevent infinite remediation attempts.
double? RetryAttemptSeconds { get; }
Property Value
Remarks
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, AWS Config will run auto-remediations 5 times within 50 seconds before adding a remediation exception to the resource.
TargetId
Target ID is the name of the SSM document.
string? TargetId { get; }
Property Value
Remarks
TargetType
The type of the target.
string? TargetType { get; }
Property Value
Remarks
Target executes remediation. For example, SSM document.
TargetVersion
Version of the target. For example, version of the SSM document.
string? TargetVersion { get; }
Property Value
Remarks
If you make backward incompatible changes to the SSM document, you must call PutRemediationConfiguration API again to ensure the remediations can run.