AWS IAM Role Chaining Using Java, S3, and Dynamodb
Fatma Elverir

AWS IAM Role Chaining in Java – DynamoDB, S3

Choosing between IAM roles or IAM users for accessing AWS resources is a matter of the risk appetite you are taking. But for the fact, AWS encourages you to use IAM roles over the users.