tall-librarian-49374
07/13/2018, 1:00 PMaws.sqs.Queue
from JS?stocky-spoon-28903
07/13/2018, 4:38 PMtall-librarian-49374
07/13/2018, 6:48 PMstocky-spoon-28903
07/13/2018, 8:02 PMpulumi-aws
package?big-piano-35669
07/14/2018, 4:02 PMpulumi-aws
package itself
2) In a higher level package, similar to https://github.com/pulumi/pulumi-aws-serverless
(1) is very appealing, because it'll "just work" and discoverability will be improved, except that we tend to like to keep this layer unopinionated. (2) at least lets us call this what it is -- an optional opinionated layer atop the raw primitive resources -- however, that gets a big -1 in the "it just works" and easy-to-discover category.
I also think @white-balloon-205 is worried about our ability to keep up with covering such a broad surface area (in the limit, the entire AWS SDK), however I suspect we can deliver most of the value by doing the Top 20 resource types (SQS queues, Dynamo Tables, etc).lemon-spoon-91807
07/14/2018, 4:04 PMbig-piano-35669
07/14/2018, 4:05 PMlemon-spoon-91807
07/14/2018, 4:06 PMbig-piano-35669
07/14/2018, 4:06 PMsqs.Queue
type "just works" out of the box.lemon-spoon-91807
07/14/2018, 4:07 PMserverless.sqs.onQueueEvent(queue, () => ...)
if you could just have the serverless package augment Queue itself so you could write: queue.onEvent(() => ...)
big-piano-35669
07/14/2018, 4:31 PMstocky-spoon-28903
07/14/2018, 4:34 PM