SimonH
SimonH

Reputation: 984

Capturing user information for S3 upload from browser

I need to upload a file via browser to an S3 bucket - this will be via an authenticated application.

Is there anyway to capture the details of the authenticated user who uploads the file from AWS - say in an S3 event, or encoding meta-data and associating it with the file via the upload?

Ideally, I'd like to pass the data via an SQS message along with the upload notification.

Upvotes: 1

Views: 285

Answers (1)

Mark B
Mark B

Reputation: 200850

You can place your custom metadata (user info) on an S3 object. Read the "User-Defined Metadata" section here.

After that you could configure S3 to insert an event message into an SQS queue, as described here.

Upvotes: 2

Related Questions