# Lambda foundations

{% hint style="info" %}
This page was generated from content adapted from the [AWS Developer Guide](https://github.com/awsdocs/aws-lambda-developer-guide.git)
{% endhint %}

## Programming model

* **Note**\
  Logging is subject to [CloudWatch Logs quotas](https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/cloudwatch_limits_cwl.html). Log data can be lost due to throttling or, in some cases, when an instance of your function is stopped.

## Execution environment

* **Note**\
  The Lambda reset does not clear the `/tmp` directory content prior to the next init phase. This behavior is consistent with the regular shutdown phase.

## Deployment packages

* **Note**\
  Container images aren't supported for Lambda functions in the Middle East (UAE) Region.

## Instruction sets (ARM/x86)

* **Note**\
  Runtimes that use the Amazon Linux operating system, such as Go 1.x, do not support the arm64 architecture. To use arm64 architecture, you can run Go with the provided.al2 runtime. For example, see [Build a Go function for the provided.al2 runtime](https://github.com/kevinslin/aws-reference-notes/blob/main/services/aws_lambda/golang-package.md#golang-package-al2) or [Create a Go image from the provided.al2 base image](https://github.com/kevinslin/aws-reference-notes/blob/main/services/aws_lambda/go-image.md#go-image-al2).


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://awsnotes.dendron.so/serverless/aws-lambda/topics/lambda-foundations.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
