AWS Lambda · Schema

CreateFunctionRequest

Request body for creating a Lambda function

Properties

Name Type Description
FunctionName string The name of the Lambda function (1-64 characters). Can also specify an ARN.
Runtime string The identifier of the function's runtime. Required for .zip file deployment packages.
Role string The ARN of the function's execution role
Handler string The name of the function handler (e.g. index.handler)
Description string Description of the function
Timeout integer Execution timeout in seconds
MemorySize integer Memory allocated in MB
Publish boolean Set to true to publish the first version of the function
PackageType string The type of deployment package
DeadLetterConfig object
Environment object
KMSKeyArn string ARN of the KMS key to encrypt environment variables
TracingConfig object
Tags object Key-value pairs for tagging the function
Layers array A list of function layer ARNs (with version) to add to the function's execution environment. Up to five layers.
Architectures array The instruction set architecture
EphemeralStorage object
SnapStart object
LoggingConfig object
View JSON Schema on GitHub