Is it possible to get the s3 objects that are bein...
# help
g
Is it possible to get the s3 objects that are being inputted in an sns event? basically i have one bucket that triggers an sns topic, and that sns topic will triggers multiple lambda. inside the lambda i want to get the bucket and the keys that are being put in the s3 bucket.
f
Hey @Gerald, I just gave this a try, the bucket/file info is in the Lambda’s event object.
Trying printing this out:
Copy code
JSON.parse(event.Records[0].Sns.Message)