lambda-function-settings-check
Checks if the AWS Lambda function settings for runtime, role, timeout, and memory size match the expected values. The rule ignores functions with the 'Image' package type. The rule is NON_COMPLIANT if the Lambda function settings do not match the expected values.
Identifier: LAMBDA_FUNCTION_SETTINGS_CHECK
Trigger type: Configuration changes
AWS Region: All supported AWS regions except Asia Pacific (Hyderabad), Asia Pacific (Osaka), Europe (Spain), China (Ningxia), Europe (Zurich) Region
Parameters:
- runtime
- Type: CSV
-
Comma-separated list of AWS Lambda runtime values
- role (Optional)
- Type: String
-
Name or ARN of the AWS Lambda execution role
- timeout (Optional)
- Type: int
- Default: 3
-
AWS Lambda function timeout in seconds
- memorySize (Optional)
- Type: int
- Default: 128
-
AWS Lambda function size in megabytes
AWS CloudFormation template
To create AWS Config managed rules with AWS CloudFormation templates, see Creating AWS Config Managed Rules With AWS CloudFormation Templates.

