Skip to content

Commit 6961797

Browse files
committed
fixed the typo in the usage section
1 parent 9707438 commit 6961797

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

javav2/example_code/sts/src/main/java/com/example/sts/AssumeRole.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,7 @@
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

0 commit comments

Comments
 (0)