faast.js

faast.js

  • Docs
  • API
  • Community
  • GitHub
  • Blog

faastjs > CostAnalyzer > awsConfigurations

CostAnalyzer.awsConfigurations variable

Default AWS cost analyzer configurations include all memory sizes for AWS Lambda.

Signature:

awsConfigurations: Configuration[]

Remarks

The default AWS cost analyzer configurations include every memory size from 128MB to 3008MB in 64MB increments. Each configuration has the following settings:

{
    provider: "aws",
    options: {
        mode: "https",
        memorySize,
        timeout: 300,
        gc: "off",
        childProcess: true
    }
}

Use Array.map to change or Array.filter to remove some of these configurations. For example:

const configsWithAtLeast1GB = awsConfigurations.filter(c => c.memorySize > 1024)
const shorterTimeout = awsConfigurations.map(c => ({...c, timeout: 60 }));
  • CostAnalyzer.awsConfigurations variable
  • Remarks
faast.js
Docs
IntroductionAPI ReferenceContributingExamples
Community
DiscordTwitterStack Overflow
More
BlogUser Showcase
Copyright © 2025 Andy Chou