AWS::Config::ConfigRuleYou must first create and start the CC configuration recorder in order to create CC managed rules with CFNlong. For more information, see [Managing the Configuration Recorder](https://docs.aws.amazon.com/config/latest/developerguide/stop-start-recorder.html). Adds or updates an CC rule to evaluate if your AWS resources comply with your desired configurations. For information on how many CC rules you can have per account, see [Service Limits](https://docs.aws.amazon.com/config/latest/develop...
8 configurable properties. 1 required. Click a row to see details.
| Property | Type | Flags |
|---|---|---|
Source | Source | Required |
Compliance | object | |
ConfigRuleName | string | Create-only |
Description | string | |
EvaluationModes | Array<EvaluationModeConfiguration> | |
InputParameters | stringobject | |
MaximumExecutionFrequency | string | |
Scope | Scope |
Values returned after the resource is created. Access these with Fn::GetAtt.
| Attribute | Type | Description |
|---|---|---|
Arn | string | - |
ConfigRuleId | string | - |
A minimal template with required properties and common optional ones.
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::Config::ConfigRule
Resources:
MyResource:
Type: AWS::Config::ConfigRule
Properties:
Source: "value"
Description: !Ref "AWS::StackName"Permissions CloudFormation needs in your IAM role to manage this resource.
config:PutConfigRuleconfig:DescribeConfigRulesconfig:DescribeConfigRulesconfig:DescribeComplianceByConfigRuleconfig:DeleteConfigRuleconfig:DescribeConfigRulesconfig:DescribeConfigRulesconfig:PutConfigRuleconfig:DescribeConfigRulesOur bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to NewsletterConfigRuleNameThese properties cannot be changed after the resource is created. Updating them triggers a replacement.
ConfigRuleName