---
title: "PUT /instance/{InstanceId}/lambda-function"
method: PUT
path: "/instance/{InstanceId}/lambda-function"
---

# PUT /instance/{InstanceId}/lambda-function

`PUT /instance/{InstanceId}/lambda-function`

This API is in preview release for Amazon Connect and is subject to change.

Allows the specified Amazon Connect instance to access the specified Lambda function.

## Path parameters

- `InstanceId` string, required

## Request body

- object
  - `FunctionArn` string, required — The Amazon Resource Name (ARN) for the Lambda function being associated. Maximum number of characters allowed is 140.

## Response `200`

Success

## Other responses

- `480` — ResourceNotFoundException
- `481` — ResourceConflictException
- `482` — InternalServiceException
- `483` — InvalidRequestException
- `484` — InvalidParameterException
- `485` — ServiceQuotaExceededException
- `486` — ThrottlingException

---

[API](https://skmtc.net/aws/apis/connect.md) · [All operations](https://skmtc.net/aws/apis/connect/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aws/connect/versions/fbcf0a4faed2/schema)
