Class CfnRemediationConfiguration
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.config.CfnRemediationConfiguration
- All Implemented Interfaces:
 IInspectable,IRemediationConfigurationRef,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.116.0 (build 0eddcff)",
           date="2025-10-29T11:15:35.546Z")
@Stability(Stable)
public class CfnRemediationConfiguration
extends CfnResource
implements IInspectable, IRemediationConfigurationRef
An object that represents the details about the remediation configuration that includes the remediation action, parameters, and data to execute the action.
 
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;
 CfnRemediationConfiguration cfnRemediationConfiguration = CfnRemediationConfiguration.Builder.create(this, "MyCfnRemediationConfiguration")
         .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
Nested ClassesModifier and TypeClassDescriptionstatic final classA fluent builder forCfnRemediationConfiguration.static interfaceAn ExecutionControls object.static interfaceThe value is either a dynamic (resource) value or a static value.static interfaceExample:static interfaceAWS Systems Manager (SSM) specific remediation controls.static interfaceExample:Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.services.config.IRemediationConfigurationRef
IRemediationConfigurationRef.Jsii$Default, IRemediationConfigurationRef.Jsii$Proxy - 
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. - 
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCfnRemediationConfiguration(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnRemediationConfiguration(software.amazon.jsii.JsiiObjectRef objRef) CfnRemediationConfiguration(software.constructs.Construct scope, String id, CfnRemediationConfigurationProps props)  - 
Method Summary
Modifier and TypeMethodDescriptionstatic IRemediationConfigurationReffromRemediationConfigurationId(software.constructs.Construct scope, String id, String remediationConfigurationId) Creates a new IRemediationConfigurationRef from a remediationConfigurationId.The remediation is triggered automatically.The name of the AWS Config rule.An ExecutionControls object.The maximum number of failed attempts for auto-remediation.An object of the RemediationParameterValue.A reference to a RemediationConfiguration resource.The type of a resource.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.Version of the target.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties(Map<String, Object> props) voidsetAutomatic(Boolean value) The remediation is triggered automatically.voidsetAutomatic(IResolvable value) The remediation is triggered automatically.voidsetConfigRuleName(String value) The name of the AWS Config rule.voidsetExecutionControls(IResolvable value) An ExecutionControls object.voidAn ExecutionControls object.voidThe maximum number of failed attempts for auto-remediation.voidsetParameters(Object value) An object of the RemediationParameterValue.voidsetResourceType(String value) The type of a resource.voidsetRetryAttemptSeconds(Number value) Time window to determine whether or not to add a remediation exception to prevent infinite remediation attempts.voidsetTargetId(String value) Target ID is the name of the SSM document.voidsetTargetType(String value) The type of the target.voidsetTargetVersion(String value) Version of the target.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdMethods inherited from class software.constructs.Construct
getNode, isConstructMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.constructs.IConstruct
getNodeMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson 
- 
Field Details
- 
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class. 
 - 
 - 
Constructor Details
- 
CfnRemediationConfiguration
protected CfnRemediationConfiguration(software.amazon.jsii.JsiiObjectRef objRef)  - 
CfnRemediationConfiguration
protected CfnRemediationConfiguration(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)  - 
CfnRemediationConfiguration
@Stability(Stable) public CfnRemediationConfiguration(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnRemediationConfigurationProps props) - Parameters:
 scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.props- Resource properties. This parameter is required.
 
 - 
 - 
Method Details
- 
fromRemediationConfigurationId
@Stability(Stable) @NotNull public static IRemediationConfigurationRef fromRemediationConfigurationId(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull String remediationConfigurationId) Creates a new IRemediationConfigurationRef from a remediationConfigurationId.- Parameters:
 scope- This parameter is required.id- This parameter is required.remediationConfigurationId- This parameter is required.
 - 
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
 inspectin interfaceIInspectable- Parameters:
 inspector- tree inspector to collect and process attributes. This parameter is required.
 - 
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
 renderPropertiesin classCfnResource- Parameters:
 props- This parameter is required.
 - 
getAttrId
 - 
getCfnProperties
- Overrides:
 getCfnPropertiesin classCfnResource
 - 
getRemediationConfigurationRef
@Stability(Stable) @NotNull public RemediationConfigurationReference getRemediationConfigurationRef()A reference to a RemediationConfiguration resource.- Specified by:
 getRemediationConfigurationRefin interfaceIRemediationConfigurationRef
 - 
getConfigRuleName
The name of the AWS Config rule. - 
setConfigRuleName
The name of the AWS Config rule. - 
getTargetId
Target ID is the name of the SSM document. - 
setTargetId
Target ID is the name of the SSM document. - 
getTargetType
The type of the target. - 
setTargetType
The type of the target. - 
getAutomatic
The remediation is triggered automatically.Returns union: either
BooleanorIResolvable - 
setAutomatic
The remediation is triggered automatically. - 
setAutomatic
The remediation is triggered automatically. - 
getExecutionControls
An ExecutionControls object.Returns union: either
IResolvableorCfnRemediationConfiguration.ExecutionControlsProperty - 
setExecutionControls
An ExecutionControls object. - 
setExecutionControls
@Stability(Stable) public void setExecutionControls(@Nullable CfnRemediationConfiguration.ExecutionControlsProperty value) An ExecutionControls object. - 
getMaximumAutomaticAttempts
The maximum number of failed attempts for auto-remediation.If you do not select a number, the default is 5.
 - 
setMaximumAutomaticAttempts
The maximum number of failed attempts for auto-remediation.If you do not select a number, the default is 5.
 - 
getParameters
An object of the RemediationParameterValue.For more information, see RemediationParameterValue .
 - 
setParameters
An object of the RemediationParameterValue.For more information, see RemediationParameterValue .
 - 
getResourceType
The type of a resource. - 
setResourceType
The type of a resource. - 
getRetryAttemptSeconds
Time window to determine whether or not to add a remediation exception to prevent infinite remediation attempts. - 
setRetryAttemptSeconds
Time window to determine whether or not to add a remediation exception to prevent infinite remediation attempts. - 
getTargetVersion
Version of the target.For example, version of the SSM document.
 - 
setTargetVersion
Version of the target.For example, version of the SSM document.
 
 -