winglang/wing

Function `concurrency` prop - implementation for tf-aws and awscdk

Open

#4,389 opened on Oct 3, 2023

View on GitHub
 (7 comments) (3 reactions) (0 assignees)TypeScript (214 forks)github user discovery
good first issue✨ enhancement🎨 sdk

Repository metrics

Stars
 (5,385 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

Feature Spec

https://www.winglang.io/contributing/rfcs/2023-01-20-wingsdk-spec#function The function's concurrency prop defines the maximum number of concurrent invocations of the function. (default is 10)

See more on: https://docs.aws.amazon.com/lambda/latest/dg/lambda-concurrency.html https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/lambda_function#reserved_concurrent_executions

Please make sure to:

  • add a test written in Wing,
  • add a test written in ts,
  • update the function documentation at libs/wingsdk/src/cloud/function.md

Use Cases

Running concurrent functions

Implementation Notes

No response

Component

No response

Community Notes

  • Please vote by adding a 👍 reaction to the issue to help us prioritize.
  • If you are interested to work on this issue, please leave a comment.
  • If this issue is labeled needs-discussion, it means the spec has not been finalized yet. Please reach out on the #dev channel in the Wing Slack.

Contributor guide