> For the complete documentation index, see [llms.txt](https://docs.panther.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.panther.com/ko/cloud-scanning/cloud-resource-attributes/aws/lambda-function.md).

# Lambda 함수

## 리소스 유형

`AWS.Lambda.Function`

## 리소스 ID 형식

Lambda 함수의 리소스 ID는 ARN입니다.

`arn:aws:lambda:us-west-2:123456789012:function:example-function`

## 배경

AWS Lambda는 서버를 프로비저닝하거나 관리하지 않고 코드를 실행할 수 있게 해주는 컴퓨팅 서비스입니다.

## 필드

| 필드    | 유형    | 설명                                                     |
| ----- | ----- | ------------------------------------------------------ |
| `정책`  | `맵`   | 다음을 포함하는 매핑 `정책` (리소스 기반 정책) 및 `리비전 ID` (정책의 현재 리비전) 키 |
| `환경`  | `맵`   | 함수의 환경 변수 및 오류 상태                                      |
| `런타임` | `문자열` | 함수의 런타임 환경, 예를 들어 `go1.x` 또는 `python3.x`               |

## 예시

```javascript
{
    "AccountId": "123456789012",
    "Arn": "arn:aws:lambda:us-west-2:123456789012:function:example-function",
    "CodeSha256": "1234=",
    "CodeSize": 10000,
    "DeadLetterConfig": null,
    "Description": "이것은 예시 Lambda 함수입니다",
    "Environment": {
        "Error": null,
        "Variables": {
            "DEBUG": "False",
            "VAR1": "Var1Value"
        }
    },
    "Handler": "handler",
    "KMSKeyArn": null,
    "LastModified": "2019-01-01T00:00:00.000+0000",
    "Layers": null,
    "MasterArn": null,
    "MemorySize": 256,
    "Name": "example-function",
    "Policy": {
        "Policy": "{\"Policy\": \"{\"Version\":\"2012-10-17\",\"Id\":\"default\",\"Statement\":[{\"Sid\":\"sns\",\"Effect\":\"Allow\",\"Principal\":{\"Service\":\"sns.amazonaws.com\"},\"Action\":\"lambda:InvokeFunction\",\"Resource\":\"arn:aws:lambda:us-west-2:123456789012:function:example-function\"}]}",
        "RevisionId": "abcdefg-1234567890-abcdefg"
    },
    "Region": "us-west-2",
    "ResourceId": "arn:aws:lambda:us-west-2:123456789012:function:example-function",
    "ResourceType": "AWS.Lambda.Function",
    "RevisionId": "1",
    "Role": "arn:aws:iam::123456789012:role/example-function-role",
    "Runtime": "go1.x",
    "Tags": {
        "Key1": "Value1",
        "Key2": "Value2"
    },
    "TimeCreated": null,
    "Timeout": 60,
    "TracingConfig": {
        "Mode": "PassThrough"
    },
    "Version": "$LATEST",
    "VpcConfig": null
}
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.panther.com/ko/cloud-scanning/cloud-resource-attributes/aws/lambda-function.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
