AWS CLI での IAM ロールの使用 - AWS Command Line Interface
AWS Identity and Access Management で定義されたロールを使用するよう AWS CLI を設定します。