S3 bucket policy – Action does not apply to any resource in statement

S3 bucket policy – Action does not apply to any resource in statement
Background In this post, I will address a common question about how to write an AWS Identity and Access Management (IAM) policy to grant read-write access to an Amazon S3 bucket. Doing so helps you control who can access your data stored in S3. In my program, I tried to list the objects under a ...

AWS SQS example AccessDenied AmazonServiceException

AWS SQS example AccessDenied AmazonServiceException
Background of SQS SQS (Simple Queue Service) is a fast, reliable, scalable, fully managed message queuing service offered by AWS. You may also heard of SNS, so what’s the difference between those two services offered by Amazon? In short, SNS (Simple Notification Service) is a Publish-Subscribe Service for Mobile and Enterprise Messaging. Messages are pushed to subscribers ...

AmazonS3 generatePresignedUrl SignatureDoesNotMatch 403

Recently I’m playing with AWS S3 client to generate a URL for client to upload files to our S3 bucket. The code example I referenced can be found here The above code works perfectly, I can get signed URL for file upload and upload file using uploadObject method. However, when I used CURL command to upload the ...