{"repo":"cargo-lambda/cargo-lambda-cdk","free":true,"listed":false,"github":"https://github.com/cargo-lambda/cargo-lambda-cdk","clone":"git clone https://github.com/cargo-lambda/cargo-lambda-cdk.git","description":"CDK Construct to build Rust functions with Cargo Lambda","language":"Go","stars":141,"topics":["aws","rust","aws-cdk","aws-lambda"],"license":"MIT","category":"deployment-docker-iac","readme_excerpt":"Cargo Lambda CDK construct This library provides constructs for Rust Lambda functions built with Cargo Lambda To use this module you will either need to have Cargo Lambda installed ( 0.12.0 or later), or Docker installed. See Local Bundling/Docker Bundling for more information. Installation JavaScript / TypeScript You can add the npm package to your program as follows, Or using any other compatible package manager Go Add the following to your imports, Python You can add the Python package using pip , or any other package manager compatible with PyPI, Rust Function Define a RustFunction : The layout for this Rust project could look like this: Runtime The RustFunction uses the provided.al2023 runtime. If you want to change it, you can use the property runtime . The only other valid option is provided.al2 : Rust Extension Define a RustExtension that get's deployed as a layer to use it with any other function later. Remote Git sources Both RustFunction and RustExtension support cloning a git repository to get the source code for the function or extension. To download the source code from a remote git repository, specify the gitRemote . This option can be a valid git remote url, such as https://github.com/your user/your repo , or a valid ssh url, such as git@github.com:your user/your repo.git . By default, the latest commit from the HEAD branch will be downloaded. To download a different git reference, specify the gitReference option. This can be a branch name, tag, or commit hash","default_branch":null,"files":null,"tree":[],"storefront":"/r/cargo-lambda","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/cargo-lambda/cargo-lambda-cdk/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}