Skip to content

Latest commit

 

History

History
36 lines (28 loc) · 1.06 KB

faastjs.awsoptions.awslambdaoptions.md

File metadata and controls

36 lines (28 loc) · 1.06 KB
id title hide_title
faastjs.awsoptions.awslambdaoptions
AwsOptions.awsLambdaOptions property
true

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
  };