-
Notifications
You must be signed in to change notification settings - Fork 122
Open
Labels
Description
As we know AWS has announced a native Keep Warm routine using Provisioned Concurrency - supported through console as well as config. Serverless also has added Yaml support for this feature.
However they fall short in terms of flexible configuration options - such as the ability to control concurrency per schedules.
Since this plugin is flexible can we modify it to leverage the provisionedConcurrency while keeping all the flexibility it offers in scheduling?
const params = {
FunctionName: 'MyFunctionName',
ProvisionedConcurrentExecutions: '5'
};
const lambda = new AWS
lambda.putProvisionedConcurrency(params, function(err, data) {
if (err) console.log(err, err.stack); // an error occurred
else console.log(data); // successful response
});
};
`Reactions are currently unavailable