File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
javav2/example_code/sts/src/main/java/com/example/sts Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change 2929 * {
3030 * "Effect": "Allow",
3131 * "Principal": {
32- * "AWS": "<Specify the ARN of your IAM user you are using in this code
33- * example>"
32+ * "AWS": "<Specify the ARN of your IAM user you are using in this code example>"
3433 * },
3534 * "Action": "sts:AssumeRole"
3635 * }
@@ -54,7 +53,7 @@ public static void main(String[] args) {
5453 <roleArn> <roleSessionName>\s
5554
5655 Where:
57- roleArn - The Amazon Resource Name (ARN) of the role to assume (for example, rn :aws:iam::000008047983:role/s3role).\s
56+ roleArn - The Amazon Resource Name (ARN) of the role to assume (for example, arn :aws:iam::000008047983:role/s3role).\s
5857 roleSessionName - An identifier for the assumed role session (for example, mysession).\s
5958 """ ;
6059
You can’t perform that action at this time.
0 commit comments