https://docs.aws.amazon.com/zh_cn/sdk-for-java/v1/developer-guide/java-dg-roles.html
https://docs.aws.amazon.com/zh_cn/AWSEC2/latest/UserGuide/iam-roles-for-amazon-ec2.html#ec2-instance-profile
aws相关文档
原文:https://www.cnblogs.com/xiewenming/p/10235010.html