Skip to content

Leverage native Provisioned Concurrency #201

@devasur

Description

@devasur

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions