sparse-intern-71089
03/20/2019, 8:28 AMwhite-balloon-205
let s3client = new aws.sdk.S3()
to get an S3 client. We expose a copy of the AWS SDK off the aws.sdk
variable.
You can see an example of this at https://github.com/pulumi/examples/blob/master/aws-ts-s3-lambda-copyzip/index.ts#L18.
Which was also covered in a recent blog post at https://blog.pulumi.com/easy-serverless-apps-and-infrastructure-real-events-real-code.wide-judge-30323
03/21/2019, 12:53 AM