An Config rule represents an Lambda function that you create for a custom rule or a predefined function for an Config managed rule. The function evaluates configuration items to assess whether your Amazon Web Services resources comply with your desired configurations. This function can run when Config detects a configuration change to an Amazon Web Services resource and at a periodic frequency that you choose (for example, every 24 hours).
You can use the Amazon Web Services CLI
{
"ConfigRuleName": "string",
"ConfigRuleArn": "string",
"ConfigRuleId": "string",
"Description": "string",
"Scope": {
"ComplianceResourceTypes": [],
"TagKey": "string",
"TagValue": "string",
"ComplianceResourceId": "string"
},
"Source": {
"Owner": "CUSTOM_LAMBDA",
"SourceIdentifier": "string",
"SourceDetails": [],
"CustomPolicyDetails": {
"PolicyRuntime": "string",
"PolicyText": "string",
"EnableDebugLogDelivery": true
}
},
"InputParameters": "string",
"MaximumExecutionFrequency": "One_Hour",
"ConfigRuleState": "ACTIVE",
"CreatedBy": "string"
}