lambda-function-settings-check - AWS Config

lambda-function-settings-check

Checks that 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.

Identifier: LAMBDA_FUNCTION_SETTINGS_CHECK

Trigger type: Configuration changes

AWS Region: All supported AWS regions except China (Ningxia), Asia Pacific (Osaka) 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.