cpp-lambda:带有C ++的AWS Lambda

时间:2021-03-12 20:53:48
【文件属性】:
文件名称:cpp-lambda:带有C ++的AWS Lambda
文件大小:6KB
文件格式:ZIP
更新时间:2021-03-12 20:53:48
C++ cpp_lambda 建立影像 docker build -t cpp-lambda . 生成C ++代码并创建zip文件 docker run --rm -v $(pwd)/sample:/src cpp-lambda aws-lambda-package-sample 在本地构建C ++代码。 将aws-sdk-cpp构建到指定目录 git clone https://github.com/aws/aws-sdk-cpp.git cd aws-sdk-cpp mkdir build cd build cmake .. -DBUILD_ONLY="dynamodb" \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/path/to/sdk-install-dir \ -DENABLE_TESTING=OFF \
【文件预览】:
cpp-lambda-main
----dynamodb_test()
--------create_table.cpp(2KB)
--------compile_flags.txt(21B)
--------CMakeLists.txt(306B)
----apigw()
--------main.cpp(2KB)
--------compile_flags.txt(21B)
--------CMakeLists.txt(354B)
----sample()
--------main.cpp(565B)
--------CMakeLists.txt(482B)
----Dockerfile(996B)
----upload.sh(279B)
----run.sh(188B)
----.gitignore(36B)
----README.md(827B)

网友评论