id | title | hide_title |
---|---|---|
faastjs.awsoptions.awslambdaoptions |
AwsOptions.awsLambdaOptions property |
true |
faastjs > AwsOptions > awsLambdaOptions
Additional options to pass to AWS Lambda creation. See CreateFunction.
Signature:
awsLambdaOptions?: Partial<CreateFunctionRequest>;
If you need specialized options, you can pass them to the AWS Lambda SDK directly. Note that if you override any settings set by faast.js, you may cause faast.js to not work:
const request: aws.Lambda.CreateFunctionRequest = {
FunctionName,
Role,
Runtime: "nodejs18.x",
Handler: "index.trampoline",
Code,
Description: "faast trampoline function",
Timeout,
MemorySize,
...awsLambdaOptions
};