winglang/wing

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

Open

#4,389 创建于 2023年10月3日

在 GitHub 查看
 (7 评论) (3 反应) (0 负责人)TypeScript (214 fork)github user discovery
good first issue✨ enhancement🎨 sdk

仓库指标

Star
 (5,385 star)
PR 合并指标
 (30 天内没有已合并 PR)

描述

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.

贡献者指南