faastjs > AwsOptions > awsLambdaOptions
AwsOptions.awsLambdaOptions property
Additional options to pass to AWS Lambda creation. See CreateFunction.
Signature:
awsLambdaOptions?: Partial<CreateFunctionRequest>;
Remarks
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
};