# AWS Lambda hosted Python function / confluent libraries

**URL:** <https://forum.confluent.io/t/aws-lambda-hosted-python-function-confluent-libraries/8158>\
**Category:** Clients\
**Created:** [23 June 2023 08:51 UTC](https://forum.confluent.io/t/aws-lambda-hosted-python-function-confluent-libraries/8158 "2023-06-23T08:51:01Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![georgelza](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.confluent.io/georgelza/32/3026_2.png) [@georgelza](https://forum.confluent.io/u/georgelza)\
**Post date:** [23 June 2023 08:51 UTC](https://forum.confluent.io/t/aws-lambda-hosted-python-function-confluent-libraries/8158/1 "2023-06-23T08:51:01Z")

</div>

Hi all.

doing a simple :  
from confluent\_kafka import Producer, KafkaError, KafkaException

is to easy… as i some how need to make the library available to the Lambda container.  
is anyone aware if there is a ARN object that can be included as a Layer or how can I install the confluent\_kafka\*

G

---

<div class="post-metadata">

**Author:** ![georgelza](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.confluent.io/georgelza/32/3026_2.png) [@georgelza](https://forum.confluent.io/u/georgelza)\
**Post date:** [28 June 2023 11:43 UTC](https://forum.confluent.io/t/aws-lambda-hosted-python-function-confluent-libraries/8158/2 "2023-06-28T11:43:25Z")

</div>

See Thread: [AWS Confluent based layer for Lambda usage](https://forum.confluent.io/t/aws-confluent-based-layer-for-lambda-usage/8174/2)

for solution.

for some background, I’m working on a M1 based MAC… which just made everything/ transportability of libraries a bit more difficult.

G

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex019/uploads/confluentcommunity/original/1X/c49438c90c9df282e9996fdf6971be890c71b65a.svg) [@system](https://forum.confluent.io/u/system)\
**Post date:** [28 July 2023 11:43 UTC](https://forum.confluent.io/t/aws-lambda-hosted-python-function-confluent-libraries/8158/3 "2023-07-28T11:43:30Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
