---
type: resource-type
title: ConfigRule
description: aws resource type AWS::Config::ConfigRule
name: ConfigRule
lexicon: aws
resource_type: AWS::Config::ConfigRule
---
`AWS::Config::ConfigRule`, a resource type of the aws lexicon.

## Properties

- `Source` (`ConfigRule_Source`, required): Provides the rule owner (```` for managed rules, ``CUSTOM_POLICY`` for Custom Policy rules, and ``CUSTOM_LAMBDA`` for Custom Lambda rules), the rule identifier, and the notifications that cause the function to evaluate your AWS resources.
- `Arn` (`string`, optional)
- `Compliance` (`Record<string, unknown>`, optional): Indicates whether an AWS resource or CC rule is compliant and provides the number of contributors that affect the compliance.
- `ConfigRuleId` (`string`, optional)
- `ConfigRuleName` (`string`, optional): A name for the CC rule. If you don't specify a name, CFN generates a unique physical ID and uses that ID for the rule name. For more information, see [Name Type](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-name.html).
- `Description` (`string`, optional): The description that you provide for the CC rule.
- `EvaluationModes` (`ConfigRule_EvaluationModeConfiguration[]`, optional): The modes the CC rule can be evaluated in. The valid values are distinct objects. By default, the value is Detective evaluation mode only.
- `InputParameters` (`string`, optional): A string, in JSON format, that is passed to the CC rule Lambda function.
- `MaximumExecutionFrequency` (`string`, optional): The maximum frequency with which CC runs evaluations for a rule. You can specify a value for ``MaximumExecutionFrequency`` when: + You are using an AWS managed rule that is triggered at a periodic frequency. + Your custom rule is triggered when CC delivers the configuration snapshot. For more information, see [ConfigSnapshotDeliveryProperties](https://docs.aws.amazon.com/config/latest/APIReference/API_ConfigSnapshotDeliveryProperties.html). By default, rules with a periodic trigger are evaluated every 24 hours. To change the frequency, specify a valid value for the ``MaximumExecutionFrequency`` parameter.
- `Scope` (`ConfigRule_Scope`, optional): Defines which resources can trigger an evaluation for the rule. The scope can include one or more resource types, a combination of one resource type and one resource ID, or a combination of a tag key and value. Specify a scope to constrain the resources that can trigger an evaluation for the rule. If you do not specify a scope, evaluations are triggered when any resource in the recording group changes. The scope can be empty.

## Attributes

- `Arn`
- `Compliance.Type`
- `ConfigRuleId`
