{"action":"created","comment":{"url":"https://api.github.com/repos/awslabs/serverless-application-model/pulls/comments/211357764","pull_request_review_id":147760464,"id":211357764,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxMTM1Nzc2NA==","diff_hunk":"@@ -0,0 +1,55 @@\n+\n+# Lambda function with VPC Access\n+\n+This example shows you how to create a Lambda function in VPC with the appropriate permissions using SAM. It primary aims to demonstrate Cloudformation parameters as well as a simplified configuration made possible with SAM Policies, therefore it'll not utilise API Gateway or any other Event source and as a result only the account owner can invoke it.","path":"examples/2016-10-31/hello_world_vpc/README.md","position":null,"original_position":4,"commit_id":"6aeb2bfd25dc335e720f649a8bfba7d30712477d","original_commit_id":"8ef46b644dd9a4305c257cc05d2f43ecf7de84d2","user":{"login":"heitorlessa","id":3340292,"node_id":"MDQ6VXNlcjMzNDAyOTI=","avatar_url":"https://avatars0.githubusercontent.com/u/3340292?v=4","gravatar_id":"","url":"https://api.github.com/users/heitorlessa","html_url":"https://github.com/heitorlessa","followers_url":"https://api.github.com/users/heitorlessa/followers","following_url":"https://api.github.com/users/heitorlessa/following{/other_user}","gists_url":"https://api.github.com/users/heitorlessa/gists{/gist_id}","starred_url":"https://api.github.com/users/heitorlessa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/heitorlessa/subscriptions","organizations_url":"https://api.github.com/users/heitorlessa/orgs","repos_url":"https://api.github.com/users/heitorlessa/repos","events_url":"https://api.github.com/users/heitorlessa/events{/privacy}","received_events_url":"https://api.github.com/users/heitorlessa/received_events","type":"User","site_admin":false},"body":"done!","created_at":"2018-08-20T18:11:33Z","updated_at":"2018-08-20T18:11:33Z","html_url":"https://github.com/awslabs/serverless-application-model/pull/551#discussion_r211357764","pull_request_url":"https://api.github.com/repos/awslabs/serverless-application-model/pulls/551","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/awslabs/serverless-application-model/pulls/comments/211357764"},"html":{"href":"https://github.com/awslabs/serverless-application-model/pull/551#discussion_r211357764"},"pull_request":{"href":"https://api.github.com/repos/awslabs/serverless-application-model/pulls/551"}},"in_reply_to_id":211347603},"pull_request":{"url":"https://api.github.com/repos/awslabs/serverless-application-model/pulls/551","id":208962913,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA4OTYyOTEz","html_url":"https://github.com/awslabs/serverless-application-model/pull/551","diff_url":"https://github.com/awslabs/serverless-application-model/pull/551.diff","patch_url":"https://github.com/awslabs/serverless-application-model/pull/551.patch","issue_url":"https://api.github.com/repos/awslabs/serverless-application-model/issues/551","number":551,"state":"open","locked":false,"title":"docs: add hello world example with VPCConfig","user":{"login":"heitorlessa","id":3340292,"node_id":"MDQ6VXNlcjMzNDAyOTI=","avatar_url":"https://avatars0.githubusercontent.com/u/3340292?v=4","gravatar_id":"","url":"https://api.github.com/users/heitorlessa","html_url":"https://github.com/heitorlessa","followers_url":"https://api.github.com/users/heitorlessa/followers","following_url":"https://api.github.com/users/heitorlessa/following{/other_user}","gists_url":"https://api.github.com/users/heitorlessa/gists{/gist_id}","starred_url":"https://api.github.com/users/heitorlessa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/heitorlessa/subscriptions","organizations_url":"https://api.github.com/users/heitorlessa/orgs","repos_url":"https://api.github.com/users/heitorlessa/repos","events_url":"https://api.github.com/users/heitorlessa/events{/privacy}","received_events_url":"https://api.github.com/users/heitorlessa/received_events","type":"User","site_admin":false},"body":"*Issue #, if available:* Issue created in SAM CLI: https://github.com/awslabs/aws-sam-cli/issues/617\r\n\r\n*Description of changes:*\r\n\r\nAdds a hello world VPC example to demonstrate how to add correct permissions for Lambda VPC enabled using SAM Policy Templates including link to the docs for other examples.\r\n\r\nBy submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.\r\n","created_at":"2018-08-16T19:38:13Z","updated_at":"2018-08-20T18:11:33Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c3f7e39109e544b7f447b5a83ccef7d6e0617244","assignee":{"login":"brettstack","id":1882775,"node_id":"MDQ6VXNlcjE4ODI3NzU=","avatar_url":"https://avatars0.githubusercontent.com/u/1882775?v=4","gravatar_id":"","url":"https://api.github.com/users/brettstack","html_url":"https://github.com/brettstack","followers_url":"https://api.github.com/users/brettstack/followers","following_url":"https://api.github.com/users/brettstack/following{/other_user}","gists_url":"https://api.github.com/users/brettstack/gists{/gist_id}","starred_url":"https://api.github.com/users/brettstack/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brettstack/subscriptions","organizations_url":"https://api.github.com/users/brettstack/orgs","repos_url":"https://api.github.com/users/brettstack/repos","events_url":"https://api.github.com/users/brettstack/events{/privacy}","received_events_url":"https://api.github.com/users/brettstack/received_events","type":"User","site_admin":false},"assignees":[{"login":"brettstack","id":1882775,"node_id":"MDQ6VXNlcjE4ODI3NzU=","avatar_url":"https://avatars0.githubusercontent.com/u/1882775?v=4","gravatar_id":"","url":"https://api.github.com/users/brettstack","html_url":"https://github.com/brettstack","followers_url":"https://api.github.com/users/brettstack/followers","following_url":"https://api.github.com/users/brettstack/following{/other_user}","gists_url":"https://api.github.com/users/brettstack/gists{/gist_id}","starred_url":"https://api.github.com/users/brettstack/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brettstack/subscriptions","organizations_url":"https://api.github.com/users/brettstack/orgs","repos_url":"https://api.github.com/users/brettstack/repos","events_url":"https://api.github.com/users/brettstack/events{/privacy}","received_events_url":"https://api.github.com/users/brettstack/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/awslabs/serverless-application-model/pulls/551/commits","review_comments_url":"https://api.github.com/repos/awslabs/serverless-application-model/pulls/551/comments","review_comment_url":"https://api.github.com/repos/awslabs/serverless-application-model/pulls/comments{/number}","comments_url":"https://api.github.com/repos/awslabs/serverless-application-model/issues/551/comments","statuses_url":"https://api.github.com/repos/awslabs/serverless-application-model/statuses/6aeb2bfd25dc335e720f649a8bfba7d30712477d","head":{"label":"heitorlessa:improv/vpc-example","ref":"improv/vpc-example","sha":"6aeb2bfd25dc335e720f649a8bfba7d30712477d","user":{"login":"heitorlessa","id":3340292,"node_id":"MDQ6VXNlcjMzNDAyOTI=","avatar_url":"https://avatars0.githubusercontent.com/u/3340292?v=4","gravatar_id":"","url":"https://api.github.com/users/heitorlessa","html_url":"https://github.com/heitorlessa","followers_url":"https://api.github.com/users/heitorlessa/followers","following_url":"https://api.github.com/users/heitorlessa/following{/other_user}","gists_url":"https://api.github.com/users/heitorlessa/gists{/gist_id}","starred_url":"https://api.github.com/users/heitorlessa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/heitorlessa/subscriptions","organizations_url":"https://api.github.com/users/heitorlessa/orgs","repos_url":"https://api.github.com/users/heitorlessa/repos","events_url":"https://api.github.com/users/heitorlessa/events{/privacy}","received_events_url":"https://api.github.com/users/heitorlessa/received_events","type":"User","site_admin":false},"repo":{"id":145030451,"node_id":"MDEwOlJlcG9zaXRvcnkxNDUwMzA0NTE=","name":"serverless-application-model","full_name":"heitorlessa/serverless-application-model","owner":{"login":"heitorlessa","id":3340292,"node_id":"MDQ6VXNlcjMzNDAyOTI=","avatar_url":"https://avatars0.githubusercontent.com/u/3340292?v=4","gravatar_id":"","url":"https://api.github.com/users/heitorlessa","html_url":"https://github.com/heitorlessa","followers_url":"https://api.github.com/users/heitorlessa/followers","following_url":"https://api.github.com/users/heitorlessa/following{/other_user}","gists_url":"https://api.github.com/users/heitorlessa/gists{/gist_id}","starred_url":"https://api.github.com/users/heitorlessa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/heitorlessa/subscriptions","organizations_url":"https://api.github.com/users/heitorlessa/orgs","repos_url":"https://api.github.com/users/heitorlessa/repos","events_url":"https://api.github.com/users/heitorlessa/events{/privacy}","received_events_url":"https://api.github.com/users/heitorlessa/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/heitorlessa/serverless-application-model","description":"AWS Serverless Application Model (AWS SAM) prescribes rules for expressing Serverless applications on AWS.","fork":true,"url":"https://api.github.com/repos/heitorlessa/serverless-application-model","forks_url":"https://api.github.com/repos/heitorlessa/serverless-application-model/forks","keys_url":"https://api.github.com/repos/heitorlessa/serverless-application-model/keys{/key_id}","collaborators_url":"https://api.github.com/repos/heitorlessa/serverless-application-model/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/heitorlessa/serverless-application-model/teams","hooks_url":"https://api.github.com/repos/heitorlessa/serverless-application-model/hooks","issue_events_url":"https://api.github.com/repos/heitorlessa/serverless-application-model/issues/events{/number}","events_url":"https://api.github.com/repos/heitorlessa/serverless-application-model/events","assignees_url":"https://api.github.com/repos/heitorlessa/serverless-application-model/assignees{/user}","branches_url":"https://api.github.com/repos/heitorlessa/serverless-application-model/branches{/branch}","tags_url":"https://api.github.com/repos/heitorlessa/serverless-application-model/tags","blobs_url":"https://api.github.com/repos/heitorlessa/serverless-application-model/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/heitorlessa/serverless-application-model/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/heitorlessa/serverless-application-model/git/refs{/sha}","trees_url":"https://api.github.com/repos/heitorlessa/serverless-application-model/git/trees{/sha}","statuses_url":"https://api.github.com/repos/heitorlessa/serverless-application-model/statuses/{sha}","languages_url":"https://api.github.com/repos/heitorlessa/serverless-application-model/languages","stargazers_url":"https://api.github.com/repos/heitorlessa/serverless-application-model/stargazers","contributors_url":"https://api.github.com/repos/heitorlessa/serverless-application-model/contributors","subscribers_url":"https://api.github.com/repos/heitorlessa/serverless-application-model/subscribers","subscription_url":"https://api.github.com/repos/heitorlessa/serverless-application-model/subscription","commits_url":"https://api.github.com/repos/heitorlessa/serverless-application-model/commits{/sha}","git_commits_url":"https://api.github.com/repos/heitorlessa/serverless-application-model/git/commits{/sha}","comments_url":"https://api.github.com/repos/heitorlessa/serverless-application-model/comments{/number}","issue_comment_url":"https://api.github.com/repos/heitorlessa/serverless-application-model/issues/comments{/number}","contents_url":"https://api.github.com/repos/heitorlessa/serverless-application-model/contents/{+path}","compare_url":"https://api.github.com/repos/heitorlessa/serverless-application-model/compare/{base}...{head}","merges_url":"https://api.github.com/repos/heitorlessa/serverless-application-model/merges","archive_url":"https://api.github.com/repos/heitorlessa/serverless-application-model/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/heitorlessa/serverless-application-model/downloads","issues_url":"https://api.github.com/repos/heitorlessa/serverless-application-model/issues{/number}","pulls_url":"https://api.github.com/repos/heitorlessa/serverless-application-model/pulls{/number}","milestones_url":"https://api.github.com/repos/heitorlessa/serverless-application-model/milestones{/number}","notifications_url":"https://api.github.com/repos/heitorlessa/serverless-application-model/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/heitorlessa/serverless-application-model/labels{/name}","releases_url":"https://api.github.com/repos/heitorlessa/serverless-application-model/releases{/id}","deployments_url":"https://api.github.com/repos/heitorlessa/serverless-application-model/deployments","created_at":"2018-08-16T19:26:10Z","updated_at":"2018-08-16T19:26:13Z","pushed_at":"2018-08-20T18:11:27Z","git_url":"git://github.com/heitorlessa/serverless-application-model.git","ssh_url":"git@github.com:heitorlessa/serverless-application-model.git","clone_url":"https://github.com/heitorlessa/serverless-application-model.git","svn_url":"https://github.com/heitorlessa/serverless-application-model","homepage":"","size":1199,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"awslabs:develop","ref":"develop","sha":"95173aa4c71091ab8e4b10b24a31f05b617b5679","user":{"login":"awslabs","id":3299148,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMyOTkxNDg=","avatar_url":"https://avatars0.githubusercontent.com/u/3299148?v=4","gravatar_id":"","url":"https://api.github.com/users/awslabs","html_url":"https://github.com/awslabs","followers_url":"https://api.github.com/users/awslabs/followers","following_url":"https://api.github.com/users/awslabs/following{/other_user}","gists_url":"https://api.github.com/users/awslabs/gists{/gist_id}","starred_url":"https://api.github.com/users/awslabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/awslabs/subscriptions","organizations_url":"https://api.github.com/users/awslabs/orgs","repos_url":"https://api.github.com/users/awslabs/repos","events_url":"https://api.github.com/users/awslabs/events{/privacy}","received_events_url":"https://api.github.com/users/awslabs/received_events","type":"Organization","site_admin":false},"repo":{"id":70530854,"node_id":"MDEwOlJlcG9zaXRvcnk3MDUzMDg1NA==","name":"serverless-application-model","full_name":"awslabs/serverless-application-model","owner":{"login":"awslabs","id":3299148,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMyOTkxNDg=","avatar_url":"https://avatars0.githubusercontent.com/u/3299148?v=4","gravatar_id":"","url":"https://api.github.com/users/awslabs","html_url":"https://github.com/awslabs","followers_url":"https://api.github.com/users/awslabs/followers","following_url":"https://api.github.com/users/awslabs/following{/other_user}","gists_url":"https://api.github.com/users/awslabs/gists{/gist_id}","starred_url":"https://api.github.com/users/awslabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/awslabs/subscriptions","organizations_url":"https://api.github.com/users/awslabs/orgs","repos_url":"https://api.github.com/users/awslabs/repos","events_url":"https://api.github.com/users/awslabs/events{/privacy}","received_events_url":"https://api.github.com/users/awslabs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/awslabs/serverless-application-model","description":"AWS Serverless Application Model (AWS SAM) prescribes rules for expressing Serverless applications on AWS.","fork":false,"url":"https://api.github.com/repos/awslabs/serverless-application-model","forks_url":"https://api.github.com/repos/awslabs/serverless-application-model/forks","keys_url":"https://api.github.com/repos/awslabs/serverless-application-model/keys{/key_id}","collaborators_url":"https://api.github.com/repos/awslabs/serverless-application-model/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/awslabs/serverless-application-model/teams","hooks_url":"https://api.github.com/repos/awslabs/serverless-application-model/hooks","issue_events_url":"https://api.github.com/repos/awslabs/serverless-application-model/issues/events{/number}","events_url":"https://api.github.com/repos/awslabs/serverless-application-model/events","assignees_url":"https://api.github.com/repos/awslabs/serverless-application-model/assignees{/user}","branches_url":"https://api.github.com/repos/awslabs/serverless-application-model/branches{/branch}","tags_url":"https://api.github.com/repos/awslabs/serverless-application-model/tags","blobs_url":"https://api.github.com/repos/awslabs/serverless-application-model/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/awslabs/serverless-application-model/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/awslabs/serverless-application-model/git/refs{/sha}","trees_url":"https://api.github.com/repos/awslabs/serverless-application-model/git/trees{/sha}","statuses_url":"https://api.github.com/repos/awslabs/serverless-application-model/statuses/{sha}","languages_url":"https://api.github.com/repos/awslabs/serverless-application-model/languages","stargazers_url":"https://api.github.com/repos/awslabs/serverless-application-model/stargazers","contributors_url":"https://api.github.com/repos/awslabs/serverless-application-model/contributors","subscribers_url":"https://api.github.com/repos/awslabs/serverless-application-model/subscribers","subscription_url":"https://api.github.com/repos/awslabs/serverless-application-model/subscription","commits_url":"https://api.github.com/repos/awslabs/serverless-application-model/commits{/sha}","git_commits_url":"https://api.github.com/repos/awslabs/serverless-application-model/git/commits{/sha}","comments_url":"https://api.github.com/repos/awslabs/serverless-application-model/comments{/number}","issue_comment_url":"https://api.github.com/repos/awslabs/serverless-application-model/issues/comments{/number}","contents_url":"https://api.github.com/repos/awslabs/serverless-application-model/contents/{+path}","compare_url":"https://api.github.com/repos/awslabs/serverless-application-model/compare/{base}...{head}","merges_url":"https://api.github.com/repos/awslabs/serverless-application-model/merges","archive_url":"https://api.github.com/repos/awslabs/serverless-application-model/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/awslabs/serverless-application-model/downloads","issues_url":"https://api.github.com/repos/awslabs/serverless-application-model/issues{/number}","pulls_url":"https://api.github.com/repos/awslabs/serverless-application-model/pulls{/number}","milestones_url":"https://api.github.com/repos/awslabs/serverless-application-model/milestones{/number}","notifications_url":"https://api.github.com/repos/awslabs/serverless-application-model/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/awslabs/serverless-application-model/labels{/name}","releases_url":"https://api.github.com/repos/awslabs/serverless-application-model/releases{/id}","deployments_url":"https://api.github.com/repos/awslabs/serverless-application-model/deployments","created_at":"2016-10-10T21:36:18Z","updated_at":"2018-08-20T17:10:13Z","pushed_at":"2018-08-20T18:11:29Z","git_url":"git://github.com/awslabs/serverless-application-model.git","ssh_url":"git@github.com:awslabs/serverless-application-model.git","clone_url":"https://github.com/awslabs/serverless-application-model.git","svn_url":"https://github.com/awslabs/serverless-application-model","homepage":"","size":1195,"stargazers_count":3533,"watchers_count":3533,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":684,"mirror_url":null,"archived":false,"open_issues_count":104,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":684,"open_issues":104,"watchers":3533,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/awslabs/serverless-application-model/pulls/551"},"html":{"href":"https://github.com/awslabs/serverless-application-model/pull/551"},"issue":{"href":"https://api.github.com/repos/awslabs/serverless-application-model/issues/551"},"comments":{"href":"https://api.github.com/repos/awslabs/serverless-application-model/issues/551/comments"},"review_comments":{"href":"https://api.github.com/repos/awslabs/serverless-application-model/pulls/551/comments"},"review_comment":{"href":"https://api.github.com/repos/awslabs/serverless-application-model/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/awslabs/serverless-application-model/pulls/551/commits"},"statuses":{"href":"https://api.github.com/repos/awslabs/serverless-application-model/statuses/6aeb2bfd25dc335e720f649a8bfba7d30712477d"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"heitorlessa"}}