CfnRemediationConfigurationProps

class aws_cdk.aws_config.CfnRemediationConfigurationProps(*, automatic=None, config_rule_name, execution_controls=None, maximum_automatic_attempts=None, parameters=None, resource_type=None, retry_attempt_seconds=None, target_id, target_type, target_version=None)

Bases: object

Properties for defining a AWS::Config::RemediationConfiguration.

Parameters
  • automatic (Union[bool, IResolvable, None]) – AWS::Config::RemediationConfiguration.Automatic.

  • config_rule_name (str) – AWS::Config::RemediationConfiguration.ConfigRuleName.

  • execution_controls (Union[IResolvable, ExecutionControlsProperty, None]) – AWS::Config::RemediationConfiguration.ExecutionControls.

  • maximum_automatic_attempts (Union[int, float, None]) – AWS::Config::RemediationConfiguration.MaximumAutomaticAttempts.

  • parameters (Optional[Any]) – AWS::Config::RemediationConfiguration.Parameters.

  • resource_type (Optional[str]) – AWS::Config::RemediationConfiguration.ResourceType.

  • retry_attempt_seconds (Union[int, float, None]) – AWS::Config::RemediationConfiguration.RetryAttemptSeconds.

  • target_id (str) – AWS::Config::RemediationConfiguration.TargetId.

  • target_type (str) – AWS::Config::RemediationConfiguration.TargetType.

  • target_version (Optional[str]) – AWS::Config::RemediationConfiguration.TargetVersion.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-config-remediationconfiguration.html

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_config as config

# parameters is of type object

cfn_remediation_configuration_props = config.CfnRemediationConfigurationProps(
    config_rule_name="configRuleName",
    target_id="targetId",
    target_type="targetType",

    # the properties below are optional
    automatic=False,
    execution_controls=config.CfnRemediationConfiguration.ExecutionControlsProperty(
        ssm_controls=config.CfnRemediationConfiguration.SsmControlsProperty(
            concurrent_execution_rate_percentage=123,
            error_percentage=123
        )
    ),
    maximum_automatic_attempts=123,
    parameters=parameters,
    resource_type="resourceType",
    retry_attempt_seconds=123,
    target_version="targetVersion"
)

Attributes

automatic

AWS::Config::RemediationConfiguration.Automatic.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-config-remediationconfiguration.html#cfn-config-remediationconfiguration-automatic

Return type

Union[bool, IResolvable, None]

config_rule_name

AWS::Config::RemediationConfiguration.ConfigRuleName.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-config-remediationconfiguration.html#cfn-config-remediationconfiguration-configrulename

Return type

str

execution_controls

AWS::Config::RemediationConfiguration.ExecutionControls.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-config-remediationconfiguration.html#cfn-config-remediationconfiguration-executioncontrols

Return type

Union[IResolvable, ExecutionControlsProperty, None]

maximum_automatic_attempts

AWS::Config::RemediationConfiguration.MaximumAutomaticAttempts.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-config-remediationconfiguration.html#cfn-config-remediationconfiguration-maximumautomaticattempts

Return type

Union[int, float, None]

parameters

AWS::Config::RemediationConfiguration.Parameters.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-config-remediationconfiguration.html#cfn-config-remediationconfiguration-parameters

Return type

Any

resource_type

AWS::Config::RemediationConfiguration.ResourceType.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-config-remediationconfiguration.html#cfn-config-remediationconfiguration-resourcetype

Return type

Optional[str]

retry_attempt_seconds

AWS::Config::RemediationConfiguration.RetryAttemptSeconds.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-config-remediationconfiguration.html#cfn-config-remediationconfiguration-retryattemptseconds

Return type

Union[int, float, None]

target_id

AWS::Config::RemediationConfiguration.TargetId.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-config-remediationconfiguration.html#cfn-config-remediationconfiguration-targetid

Return type

str

target_type

AWS::Config::RemediationConfiguration.TargetType.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-config-remediationconfiguration.html#cfn-config-remediationconfiguration-targettype

Return type

str

target_version

AWS::Config::RemediationConfiguration.TargetVersion.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-config-remediationconfiguration.html#cfn-config-remediationconfiguration-targetversion

Return type

Optional[str]