1 Answer
- Newest
- Most votes
- Most comments
0
Hi, @sniranjan.
It looks like you're not using credentials with the proper permissions.
Where is your development environment hosted? EC2? Lambda?
I assume you're using the AWS SDK for Java, but check the credentials below. Check your environment variables and instance profile.
https://docs.aws.amazon.com/sdk-for-java/v1/developer-guide/credentials.html
Next, if you can get IAM information, first check if the IAM policy settings are the same as your local environment. (In the end it's correct to set least privilege)
Relevant content
- Accepted Answer
- asked 2 years ago
- AWS OFFICIALUpdated 3 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 7 months ago