AWS SDK allows us to create and manage AWS IAM Roles. To access the IAM service, we need to create the AmazonIdentityManagement object as described in the policy's AWS SDK - Java section.