winglang/wing

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

Open

#4389 aperta il 3 ott 2023

Vedi su GitHub
 (7 commenti) (3 reazioni) (0 assegnatari)TypeScript (214 fork)github user discovery
good first issue✨ enhancement🎨 sdk

Metriche repository

Star
 (5385 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

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.

Guida contributor