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 29
29
* {
30
30
* "Effect": "Allow",
31
31
* "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>"
34
33
* },
35
34
* "Action": "sts:AssumeRole"
36
35
* }
@@ -54,7 +53,7 @@ public static void main(String[] args) {
54
53
<roleArn> <roleSessionName>\s
55
54
56
55
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
58
57
roleSessionName - An identifier for the assumed role session (for example, mysession).\s
59
58
""" ;
60
59
You can’t perform that action at this time.
0 commit comments