Skip to content

Commit 381eb29

Browse files
authored
Merge pull request #236 from eanbyrne/patch-2
Fix to VPC endpoint policy example
2 parents 60579d1 + 0bb4f8b commit 381eb29

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

doc_source/configuration-vpc-endpoints.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,9 @@ The following is an example of an endpoint policy for Lambda\. When attached to
8080
{
8181
"Statement":[
8282
{
83-
"Principal": "arn:aws:iam::123412341234:user/MyUser",
83+
"Principal": {
84+
"AWS": "arn:aws:iam::123412341234:user/MyUser",
85+
}
8486
"Effect":"Allow",
8587
"Action":[
8688
"lambda:InvokeFunction"
@@ -91,4 +93,4 @@ The following is an example of an endpoint policy for Lambda\. When attached to
9193
}
9294
]
9395
}
94-
```
96+
```

0 commit comments

Comments
 (0)