File tree Expand file tree Collapse file tree 2 files changed +1
-8
lines changed Expand file tree Collapse file tree 2 files changed +1
-8
lines changed Original file line number Diff line number Diff line change 11# Kotlin Native Runtime for AWS Lambda
22[ ![ Maven Central] ( https://maven-badges.herokuapp.com/maven-central/io.github.trueangle/lambda-runtime/badge.svg )] ( https://maven-badges.herokuapp.com/maven-central/io.github.trueangle/lambda-runtime/badge.svg )
33
4- A runtime for executing AWS Lambda Functions using Kotlin Native, designed to reduce cold start issues common with the JVM platform.
4+ A runtime for executing AWS Lambda Functions written in Kotlin/ Native, designed to reduce cold start issues common with the JVM platform.
55
66## Project Structure
77
@@ -145,7 +145,6 @@ $ aws lambda create-function --function-name LAMBDA_FUNCTION_NAME \
145145 --zip-file YOUR_MODULE_NAME.zip \
146146 --runtime provided.al2023 \ # Change this to provided.al2 if you would like to use Amazon Linux 2
147147 --role arn:aws:iam::XXXXXXXXXXXXX:role/YOUR_LAMBDA_EXECUTION_ROLE \
148- --environment Variables={RUST_BACKTRACE=1} \
149148 --tracing-config Mode=Active
150149```
151150
Original file line number Diff line number Diff line change @@ -2,12 +2,6 @@ FROM public.ecr.aws/lambda/provided:al2
22
33COPY sample/build/bin/linuxX64/releaseExecutable/sample.kexe /var/runtime/bootstrap
44
5- COPY large-file.json /var/task/large-file.json
6- RUN chmod +r /var/task/large-file.json
7-
8- COPY o.json /var/task/o.json
9- RUN chmod +r /var/task/o.json
10-
115# Check if RIE is in /usr/local/bin or /opt/aws
126RUN if [ -f /usr/local/bin/aws-lambda-rie ] || [ -f /opt/aws/aws-lambda-rie ]; then echo "RIE is present" ; else echo "RIE is not present" ; fi
137
You can’t perform that action at this time.
0 commit comments