-
Dear Team,
We would like to be able to display the actual code written in lambda function. Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
Hi @ParthaI, The Alternatively, you can create an s3 bucket yourself, upload your code there in the form of a zip file , and configure the lambda to load the code from the desired s3 bucket. |
Beta Was this translation helpful? Give feedback.
-
Thanks @RanVaknin, for your answer. Is there any direct Lambda Function API to get Lambda Function code details instead of doing S3 configurations? |
Beta Was this translation helpful? Give feedback.
-
Hello! Reopening this discussion to make it searchable. |
Beta Was this translation helpful? Give feedback.
Hi @ParthaI,
The
Location
field is a string describing the s3 bucket in which your code lives in. If you used the lambda console to upload your code / write code directly, you will not have access to the bucket.Alternatively, you can create an s3 bucket yourself, upload your code there in the form of a zip file , and configure the lambda to load the code from the desired s3 bucket.
Just keep in mind that updating the s3 bucket with newer code will not trigger the lambda to rebuild the artifacts and run the updated code.