Skip to main content

Size

SST makes it easy to specify size values as typed string values.

Type : ${number} MB | ${number} GB

Examples

Function memory size

new Function(this, "MyFunction", {
handler: "src/lambda.main",
memorySize: "512 MB",
});

Function disk size

new Function(this, "MyFunction", {
handler: "src/lambda.main",
diskSize: "5 GB",
});