A Config rule that checks that the lambda function settings for runtime, role, timeout, and memory size match the expected values.
This config rule supports the following parameters:
- runtime
- Required: Yes
- Type: CSV
- Description:Comma-separated list of AWS Lambda runtime values
- role
- Required: No
- Type: String
- Description:Name or ARN of the AWS Lambda execution role
- timeout
- Required: No
- Type: int
- Description:AWS Lambda function timeout in seconds
- Default Value: 3
- memorySize
- Required: No
- Type: int
- Description:AWS Lambda function size in megabytes
- Default Value: 128
CloudFormation Template