Skip to content

Commit d8df716

Browse files
committed
Update README.md
1 parent 063bd39 commit d8df716

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ $ aws lambda add-permission \
149149
--action "lambda:InvokeFunction" \
150150
--principal arn:aws:iam::789789789789789:role/webserver
151151
--region us-east-1
152-
-
152+
# should yield
153153
{
154154
"Statement": "{\"Action\":[\"lambda:InvokeFunction\"],\"Resource\":\"arn:aws:lambda:us-east-1:123123123123123:function:hello-world-lambda-fn\",\"Effect\":\"Allow\",\"Principal\":{\"AWS\":\"arn:aws:iam::789789789789789:role/webserver\"},\"Sid\":\"stmt-lambda-Id-456\"}"
155155
}

0 commit comments

Comments
 (0)