Amazon Lambda Rust Library
This is unofficial CDK library based on Amazon Lambda Node.js Library
This library provides constructs for Rust Lambda functions.
Rust Function
Define a RustFunction
:
new lambda.RustFunctionthis, 'my-handler', ;
By default, the construct will use directory where cdn
was invoked as directory where Cargo files are located.
Alternatively, directory can be specified:
new lambda.RustFunctionthis, 'MyFunction', ;
All other properties of lambda.Function
are supported, see also the AWS Lambda construct library.