Link S3 Bucket with Dynamodb android?

Laman Ansari

I want to do the following(Android App) :-

  1. Upload UserProfile photo to S3 bucket.
  2. Connect S3 bucket to Dynamodb(userprofile.png link next to user id in Table).

I have read the Amazon documentation which is quie confusing ?

Can anyone give the sample code of uploading image to AWS S3 and get the image file's S3 bucket url and save it to dynamodb all at once?

Ali

There might be two possibilities of doing this:

First possibility:(Done completely internal to app)

  1. In the android app upload the image to the s3 bucket using the Java sdk (refer : https://github.com/awsdocs/aws-doc-sdk-examples/tree/master/java/example_code/s3/src/main/java)
  2. Once the image is uploaded add the url to the Dynamodb table

Second possibility:

  1. Upload the image to S3
  2. Enable and Configure Event Notifications for S3 Bucket and send to SNS topic
  3. Subscribe a lambda function to SNS topic
  4. Execute a lambda function to add s3 object url to dynamodb table

この記事はインターネットから収集されたものであり、転載の際にはソースを示してください。

侵害の場合は、連絡してください[email protected]

編集
0

コメントを追加

0

関連記事

分類Dev

Authorization issue when uploading image to the s3 bucket using Android

分類Dev

List contents of AWS S3 bucket

分類Dev

AWS LastModified S3 Bucket different

分類Dev

Wildcard at end of principal for s3 bucket

分類Dev

Amazon S3 Bucket cache clear

分類Dev

uploading to S3 bucket from Codeigniter

分類Dev

Copy from Google Cloud Storage Bucket to S3 Bucket

分類Dev

Copy content from one S3 bucket to another S3 bucket with different keys

分類Dev

Polling S3 Bucket for file using Spring integration

分類Dev

Upload file to S3 Bucket using HTTP POST

分類Dev

amazon s3, upload file in folder in bucket

分類Dev

amazon s3, upload file in folder in bucket

分類Dev

How to transfer an Amazon S3 bucket to another account?

分類Dev

S3 direct bucket upload: success but file not there

分類Dev

Amazon AWS Athena S3 and Glacier Mixed Bucket

分類Dev

How to find size of a folder inside an S3 bucket?

分類Dev

In AWS S3 Bucket Uploading images as 0 Bytes

分類Dev

Application in EKS fails to access S3 bucket

分類Dev

Uploading object into transfer accelerated S3 bucket using PHP

分類Dev

Serve subfolders from separate S3 bucket

分類Dev

Configure AWS S3 bucket for Django static files with Terraform

分類Dev

How to automate permissions for AWS s3 bucket objects

分類Dev

Is there a way to specify an already created s3 deployment bucket in serverless?

分類Dev

Cannot set bucket policy of amazon s3

分類Dev

How to copy an S3 bucket onto Kubernetes nodes

分類Dev

AWS S3: Recommend Nested Bucket Architecture

分類Dev

Best choice of uploading files into S3 bucket

分類Dev

403 forbidden error when changing s3 bucket files

分類Dev

AccessDenied for ListObjectsV2 operation for S3 bucket

Related 関連記事

  1. 1

    Authorization issue when uploading image to the s3 bucket using Android

  2. 2

    List contents of AWS S3 bucket

  3. 3

    AWS LastModified S3 Bucket different

  4. 4

    Wildcard at end of principal for s3 bucket

  5. 5

    Amazon S3 Bucket cache clear

  6. 6

    uploading to S3 bucket from Codeigniter

  7. 7

    Copy from Google Cloud Storage Bucket to S3 Bucket

  8. 8

    Copy content from one S3 bucket to another S3 bucket with different keys

  9. 9

    Polling S3 Bucket for file using Spring integration

  10. 10

    Upload file to S3 Bucket using HTTP POST

  11. 11

    amazon s3, upload file in folder in bucket

  12. 12

    amazon s3, upload file in folder in bucket

  13. 13

    How to transfer an Amazon S3 bucket to another account?

  14. 14

    S3 direct bucket upload: success but file not there

  15. 15

    Amazon AWS Athena S3 and Glacier Mixed Bucket

  16. 16

    How to find size of a folder inside an S3 bucket?

  17. 17

    In AWS S3 Bucket Uploading images as 0 Bytes

  18. 18

    Application in EKS fails to access S3 bucket

  19. 19

    Uploading object into transfer accelerated S3 bucket using PHP

  20. 20

    Serve subfolders from separate S3 bucket

  21. 21

    Configure AWS S3 bucket for Django static files with Terraform

  22. 22

    How to automate permissions for AWS s3 bucket objects

  23. 23

    Is there a way to specify an already created s3 deployment bucket in serverless?

  24. 24

    Cannot set bucket policy of amazon s3

  25. 25

    How to copy an S3 bucket onto Kubernetes nodes

  26. 26

    AWS S3: Recommend Nested Bucket Architecture

  27. 27

    Best choice of uploading files into S3 bucket

  28. 28

    403 forbidden error when changing s3 bucket files

  29. 29

    AccessDenied for ListObjectsV2 operation for S3 bucket

ホットタグ

アーカイブ