@wheatstalk/cdk-lambda-blowtorch
TypeScript icon, indicating that this package has built-in type declarations

0.1.0 • Public • Published

Warm your Lambda Functions With a Blowtorch

This CDK construct warms your Lambda functions. This construct operates by ensuring that a targeted function is invoked concurrently at a degree of concurrency at least once per given interval.

Example

declare const target: aws_lambda.IFunction; // The function you want to warm

new LambdaBlowtorch(stack, 'Blowtorch', {
  target, // The lambda function to warm
  desiredConcurrency: 50, // The desired degree of concurrency
  warmingInterval: Duration.minutes(1), // (optional) Warm once per minute
  warmingPayload: JSON.stringify({}), // (optional) warming event payload
});

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.1.0
    11
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.1.0
    11
  • 0.0.1
    0
  • 0.0.0
    0

Package Sidebar

Install

npm i @wheatstalk/cdk-lambda-blowtorch

Weekly Downloads

11

Version

0.1.0

License

Apache-2.0

Unpacked Size

23.6 MB

Total Files

15

Last publish

Collaborators

  • misterjoshua