sparse-intern-71089
10/04/2018, 8:16 PMcreamy-potato-29402
10/04/2018, 9:00 PMcreamy-potato-29402
10/04/2018, 9:00 PMcreamy-potato-29402
10/04/2018, 9:00 PMcreamy-potato-29402
10/04/2018, 9:01 PMfaint-application-2746
10/04/2018, 9:21 PMfaint-application-2746
10/04/2018, 9:21 PMbitter-oil-46081
10/04/2018, 9:31 PMon*
style methods.
I think that some of the stuff @lemon-spoon-91807 is working on will make it easy to take an existing S3 bucket and then add handlers to it, similar to if how you created a cloud.Bucket
directly.lemon-spoon-91807
10/04/2018, 9:34 PMlemon-spoon-91807
10/04/2018, 9:34 PMimport * as aws from "@pulumi/aws"
lemon-spoon-91807
10/04/2018, 9:34 PMconst bucket = aws.s3.Bucket.get("yourbucketid")
lemon-spoon-91807
10/04/2018, 9:35 PMlemon-spoon-91807
10/04/2018, 9:35 PMbucket.onObjectCreated(...)
.