AWS Lambda · Schema

FunctionConfiguration

A Lambda function's configuration and metadata

Properties

Name Type Description
FunctionName string The name of the function
FunctionArn string The function's Amazon Resource Name (ARN)
Runtime string The identifier of the function's runtime. Runtime is required if the deployment package is a .zip file archive.
Role string The function's execution role ARN
Handler string The function entrypoint in your code. The format includes the file name without extension and the handler function name (e.g. index.handler)
CodeSize integer The size of the function's deployment package in bytes
Description string The function's description
Timeout integer The amount of time in seconds that Lambda allows a function to run before stopping it. Maximum is 900 seconds (15 minutes).
MemorySize integer The amount of memory available to the function at runtime in MB. Lambda allocates CPU power in proportion to the amount of memory configured.
LastModified string The date and time the function was last updated in ISO 8601 format
CodeSha256 string The SHA-256 hash of the function's deployment package
Version string The version of the Lambda function
DeadLetterConfig object The function's dead-letter queue configuration
Environment object The function's environment variables
KMSKeyArn string The ARN of the KMS key used to encrypt the function's environment variables at rest
TracingConfig object The function's X-Ray tracing configuration
MasterArn string For Lambda@Edge functions, the ARN of the main function
RevisionId string The latest updated revision of the function
Layers array The function's layers
State string The current state of the function
StateReason string The reason for the function's current state
StateReasonCode string The reason code for the function's current state
LastUpdateStatus string The status of the last update that was performed on the function
LastUpdateStatusReason string The reason for the last update that was performed on the function
LastUpdateStatusReasonCode string The reason code for the last update
PackageType string The type of deployment package
ImageConfigResponse object The function's image configuration values for container images
Architectures array The instruction set architecture that the function supports
EphemeralStorage object The size of the function's /tmp directory in MB
SnapStart object The function's SnapStart setting for reducing cold start latency
RuntimeVersionConfig object The ARN of the runtime and any errors that occurred
LoggingConfig object The function's Amazon CloudWatch Logs configuration
View JSON Schema on GitHub