Skip to content
GitHub Discord

Rust function

Deploy a Rust Lambda function with a function URL and a linked S3 bucket.

sst.config.ts
const bucket = new sst.aws.Bucket("Bucket");
const lambda = new sst.aws.Function("RustFunction", {
runtime: "rust",
handler: "./",
url: true,
architecture: "arm64",
link: [bucket],
});

View the full example.