Creates a new Lambda function. The function metadata is created from the request parameters, and the code for the function is provided by a .zip file in the request body. If the function name already exists, the operation will fail. Note that the function name is case-sensitive.

If you are using versioning, you can also publish a version of the Lambda

function you are creating using the Publish parameter. For more information about versioning, see AWS Lambda Function Versioning and Aliases (

This operation requires permission for the lambda:CreateFunction action.