0.1.0 • Published 1 year ago

@wheatstalk/cdk-lambda-blowtorch v0.1.0

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
1 year ago

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

1 year ago

0.0.1

3 years ago

0.0.0

3 years ago