Skip to content

Commit 197a6ba

Browse files
authored
fix JSON syntax in example resource-based policy
1 parent 05284e1 commit 197a6ba

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc_source/access-control-resource-based.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ For Lambda functions, you can [grant an account permission](#permissions-resourc
2727
"Service": "s3.amazonaws.com"
2828
},
2929
"Action": "lambda:InvokeFunction",
30-
"Resource": "arn:aws:lambda:us-east-2:123456789012:function:my-function
30+
"Resource": "arn:aws:lambda:us-east-2:123456789012:function:my-function",
3131
"Condition": {
3232
"StringEquals": {
3333
"AWS:SourceAccount": "123456789012"
@@ -225,4 +225,4 @@ Use `remove-layer-version-permission` to remove statements from the policy\.
225225

226226
```
227227
aws lambda remove-layer-version-permission --layer-name my-layer --version-number 3 --statement-id engineering-org
228-
```
228+
```

0 commit comments

Comments
 (0)