winglang / wing

A programming language for the cloud ☁️ A unified programming model, combining infrastructure and runtime code into one language ⚡
https://winglang.io
Other
5.05k stars 198 forks source link

[Tracking Issue] Range limits of cloud resources #4584

Open garysassano opened 1 year ago

garysassano commented 1 year ago

Feature Spec

As originally discussed here, this issue aims to track the range limits of each cloud resource in the Wing SDK. By doing so, we can throw errors at compile time based on the target chosen by the user.

cloud.Queue

Description Cloud Provider Service SDK Property Name Default Value Min Value Max Value
Visibility Timeout AWS SQS VisibilityTimeout 30s 0s 12h
GCP Cloud Pub/Sub ackDeadlineSeconds 10s 0s 10m
Azure Service Bus - - - -
Message Retention AWS SQS MessageRetentionPeriod 4d 1m 14d
GCP Cloud Pub/Sub retentionDuration 7d 10m 7d
Azure Service Bus - - - -

Use Cases

Notify the user of any invalid range values prior to deployment.

Implementation Notes

No response

Component

SDK

Community Notes

github-actions[bot] commented 11 months ago

Hi,

This issue hasn't seen activity in 60 days. Therefore, we are marking this issue as stale for now. It will be closed after 7 days. Feel free to re-open this issue when there's an update or relevant information to be added. Thanks!

garysassano commented 11 months ago

Keep.

github-actions[bot] commented 9 months ago

Hi,

This issue hasn't seen activity in 60 days. Therefore, we are marking this issue as stale for now. It will be closed after 7 days. Feel free to re-open this issue when there's an update or relevant information to be added. Thanks!