{"action":"created","comment":{"url":"https://api.github.com/repos/cloudtools/troposphere/pulls/comments/54935805","id":54935805,"diff_hunk":"@@ -0,0 +1,48 @@\n+# Copyright (c) 2013, David Irvine <irvined@gmail.com>\n+# All rights reserved.\n+#\n+# See LICENSE file for full license.\n+\n+from . import AWSObject, Ref, GetAtt, Tags, AWSProperty\n+from .validators import boolean, integer\n+\n+\n+class ElasticSearchEBSOption(AWSProperty):\n+    props = {\n+        \"EBSEnabled\": (boolean, False),\n+        \"Iops\": (integer, False),","path":"troposphere/elasticsearch.py","position":13,"original_position":13,"commit_id":"3150233889019d734e585b834a47cade739abb76","original_commit_id":"3150233889019d734e585b834a47cade739abb76","user":{"login":"phobologic","id":517334,"avatar_url":"https://avatars.githubusercontent.com/u/517334?v=3","gravatar_id":"","url":"https://api.github.com/users/phobologic","html_url":"https://github.com/phobologic","followers_url":"https://api.github.com/users/phobologic/followers","following_url":"https://api.github.com/users/phobologic/following{/other_user}","gists_url":"https://api.github.com/users/phobologic/gists{/gist_id}","starred_url":"https://api.github.com/users/phobologic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phobologic/subscriptions","organizations_url":"https://api.github.com/users/phobologic/orgs","repos_url":"https://api.github.com/users/phobologic/repos","events_url":"https://api.github.com/users/phobologic/events{/privacy}","received_events_url":"https://api.github.com/users/phobologic/received_events","type":"User","site_admin":false},"body":"The validator for this (and a few others in here) should probably be `positive_integer` I think.","created_at":"2016-03-03T19:42:55Z","updated_at":"2016-03-03T19:42:55Z","html_url":"https://github.com/cloudtools/troposphere/pull/414#discussion_r54935805","pull_request_url":"https://api.github.com/repos/cloudtools/troposphere/pulls/414","_links":{"self":{"href":"https://api.github.com/repos/cloudtools/troposphere/pulls/comments/54935805"},"html":{"href":"https://github.com/cloudtools/troposphere/pull/414#discussion_r54935805"},"pull_request":{"href":"https://api.github.com/repos/cloudtools/troposphere/pulls/414"}}},"pull_request":{"url":"https://api.github.com/repos/cloudtools/troposphere/pulls/414","id":61559950,"html_url":"https://github.com/cloudtools/troposphere/pull/414","diff_url":"https://github.com/cloudtools/troposphere/pull/414.diff","patch_url":"https://github.com/cloudtools/troposphere/pull/414.patch","issue_url":"https://api.github.com/repos/cloudtools/troposphere/issues/414","number":414,"state":"open","locked":false,"title":"Add support for elasticsearch domains","user":{"login":"irvined1982","id":3062147,"avatar_url":"https://avatars.githubusercontent.com/u/3062147?v=3","gravatar_id":"","url":"https://api.github.com/users/irvined1982","html_url":"https://github.com/irvined1982","followers_url":"https://api.github.com/users/irvined1982/followers","following_url":"https://api.github.com/users/irvined1982/following{/other_user}","gists_url":"https://api.github.com/users/irvined1982/gists{/gist_id}","starred_url":"https://api.github.com/users/irvined1982/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/irvined1982/subscriptions","organizations_url":"https://api.github.com/users/irvined1982/orgs","repos_url":"https://api.github.com/users/irvined1982/repos","events_url":"https://api.github.com/users/irvined1982/events{/privacy}","received_events_url":"https://api.github.com/users/irvined1982/received_events","type":"User","site_admin":false},"body":"For example:\r\n`es = t.add_resource(ElasticSearchDomain(\r\n        \"MySearchDomain\",\r\n        DomainName=\"mysearchdomain\",\r\n        AccessPolicies={\r\n                        \"Version\": \"2012-10-17\",\r\n                        \"Statement\": [\r\n                            {\r\n                              \"Effect\": \"Allow\",\r\n                              \"Principal\": {\r\n                                \"AWS\": \"arn:aws:iam::12345:root\"\r\n                              },\r\n                              \"Action\": \"es:*\",\r\n                              \"Resource\": \"*\"\r\n                            },\r\n                        ]\r\n                    }\r\n    ))`","created_at":"2016-03-03T13:38:53Z","updated_at":"2016-03-03T19:42:55Z","closed_at":null,"merged_at":null,"merge_commit_sha":"cf61d8484488ec4c4e070886c4ef1942b62b54c2","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/cloudtools/troposphere/pulls/414/commits","review_comments_url":"https://api.github.com/repos/cloudtools/troposphere/pulls/414/comments","review_comment_url":"https://api.github.com/repos/cloudtools/troposphere/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cloudtools/troposphere/issues/414/comments","statuses_url":"https://api.github.com/repos/cloudtools/troposphere/statuses/3150233889019d734e585b834a47cade739abb76","head":{"label":"irvined1982:elasticsearch-support","ref":"elasticsearch-support","sha":"3150233889019d734e585b834a47cade739abb76","user":{"login":"irvined1982","id":3062147,"avatar_url":"https://avatars.githubusercontent.com/u/3062147?v=3","gravatar_id":"","url":"https://api.github.com/users/irvined1982","html_url":"https://github.com/irvined1982","followers_url":"https://api.github.com/users/irvined1982/followers","following_url":"https://api.github.com/users/irvined1982/following{/other_user}","gists_url":"https://api.github.com/users/irvined1982/gists{/gist_id}","starred_url":"https://api.github.com/users/irvined1982/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/irvined1982/subscriptions","organizations_url":"https://api.github.com/users/irvined1982/orgs","repos_url":"https://api.github.com/users/irvined1982/repos","events_url":"https://api.github.com/users/irvined1982/events{/privacy}","received_events_url":"https://api.github.com/users/irvined1982/received_events","type":"User","site_admin":false},"repo":{"id":52974259,"name":"troposphere","full_name":"irvined1982/troposphere","owner":{"login":"irvined1982","id":3062147,"avatar_url":"https://avatars.githubusercontent.com/u/3062147?v=3","gravatar_id":"","url":"https://api.github.com/users/irvined1982","html_url":"https://github.com/irvined1982","followers_url":"https://api.github.com/users/irvined1982/followers","following_url":"https://api.github.com/users/irvined1982/following{/other_user}","gists_url":"https://api.github.com/users/irvined1982/gists{/gist_id}","starred_url":"https://api.github.com/users/irvined1982/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/irvined1982/subscriptions","organizations_url":"https://api.github.com/users/irvined1982/orgs","repos_url":"https://api.github.com/users/irvined1982/repos","events_url":"https://api.github.com/users/irvined1982/events{/privacy}","received_events_url":"https://api.github.com/users/irvined1982/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/irvined1982/troposphere","description":"troposphere - Python library to create AWS CloudFormation descriptions","fork":true,"url":"https://api.github.com/repos/irvined1982/troposphere","forks_url":"https://api.github.com/repos/irvined1982/troposphere/forks","keys_url":"https://api.github.com/repos/irvined1982/troposphere/keys{/key_id}","collaborators_url":"https://api.github.com/repos/irvined1982/troposphere/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/irvined1982/troposphere/teams","hooks_url":"https://api.github.com/repos/irvined1982/troposphere/hooks","issue_events_url":"https://api.github.com/repos/irvined1982/troposphere/issues/events{/number}","events_url":"https://api.github.com/repos/irvined1982/troposphere/events","assignees_url":"https://api.github.com/repos/irvined1982/troposphere/assignees{/user}","branches_url":"https://api.github.com/repos/irvined1982/troposphere/branches{/branch}","tags_url":"https://api.github.com/repos/irvined1982/troposphere/tags","blobs_url":"https://api.github.com/repos/irvined1982/troposphere/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/irvined1982/troposphere/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/irvined1982/troposphere/git/refs{/sha}","trees_url":"https://api.github.com/repos/irvined1982/troposphere/git/trees{/sha}","statuses_url":"https://api.github.com/repos/irvined1982/troposphere/statuses/{sha}","languages_url":"https://api.github.com/repos/irvined1982/troposphere/languages","stargazers_url":"https://api.github.com/repos/irvined1982/troposphere/stargazers","contributors_url":"https://api.github.com/repos/irvined1982/troposphere/contributors","subscribers_url":"https://api.github.com/repos/irvined1982/troposphere/subscribers","subscription_url":"https://api.github.com/repos/irvined1982/troposphere/subscription","commits_url":"https://api.github.com/repos/irvined1982/troposphere/commits{/sha}","git_commits_url":"https://api.github.com/repos/irvined1982/troposphere/git/commits{/sha}","comments_url":"https://api.github.com/repos/irvined1982/troposphere/comments{/number}","issue_comment_url":"https://api.github.com/repos/irvined1982/troposphere/issues/comments{/number}","contents_url":"https://api.github.com/repos/irvined1982/troposphere/contents/{+path}","compare_url":"https://api.github.com/repos/irvined1982/troposphere/compare/{base}...{head}","merges_url":"https://api.github.com/repos/irvined1982/troposphere/merges","archive_url":"https://api.github.com/repos/irvined1982/troposphere/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/irvined1982/troposphere/downloads","issues_url":"https://api.github.com/repos/irvined1982/troposphere/issues{/number}","pulls_url":"https://api.github.com/repos/irvined1982/troposphere/pulls{/number}","milestones_url":"https://api.github.com/repos/irvined1982/troposphere/milestones{/number}","notifications_url":"https://api.github.com/repos/irvined1982/troposphere/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/irvined1982/troposphere/labels{/name}","releases_url":"https://api.github.com/repos/irvined1982/troposphere/releases{/id}","deployments_url":"https://api.github.com/repos/irvined1982/troposphere/deployments","created_at":"2016-03-02T15:35:41Z","updated_at":"2016-03-02T15:35:42Z","pushed_at":"2016-03-03T13:36:56Z","git_url":"git://github.com/irvined1982/troposphere.git","ssh_url":"git@github.com:irvined1982/troposphere.git","clone_url":"https://github.com/irvined1982/troposphere.git","svn_url":"https://github.com/irvined1982/troposphere","homepage":"","size":887,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"cloudtools:master","ref":"master","sha":"47cc47ae9f8fc9e933eb1d52df04efc0dc6d2c9b","user":{"login":"cloudtools","id":3028687,"avatar_url":"https://avatars.githubusercontent.com/u/3028687?v=3","gravatar_id":"","url":"https://api.github.com/users/cloudtools","html_url":"https://github.com/cloudtools","followers_url":"https://api.github.com/users/cloudtools/followers","following_url":"https://api.github.com/users/cloudtools/following{/other_user}","gists_url":"https://api.github.com/users/cloudtools/gists{/gist_id}","starred_url":"https://api.github.com/users/cloudtools/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cloudtools/subscriptions","organizations_url":"https://api.github.com/users/cloudtools/orgs","repos_url":"https://api.github.com/users/cloudtools/repos","events_url":"https://api.github.com/users/cloudtools/events{/privacy}","received_events_url":"https://api.github.com/users/cloudtools/received_events","type":"Organization","site_admin":false},"repo":{"id":7137821,"name":"troposphere","full_name":"cloudtools/troposphere","owner":{"login":"cloudtools","id":3028687,"avatar_url":"https://avatars.githubusercontent.com/u/3028687?v=3","gravatar_id":"","url":"https://api.github.com/users/cloudtools","html_url":"https://github.com/cloudtools","followers_url":"https://api.github.com/users/cloudtools/followers","following_url":"https://api.github.com/users/cloudtools/following{/other_user}","gists_url":"https://api.github.com/users/cloudtools/gists{/gist_id}","starred_url":"https://api.github.com/users/cloudtools/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cloudtools/subscriptions","organizations_url":"https://api.github.com/users/cloudtools/orgs","repos_url":"https://api.github.com/users/cloudtools/repos","events_url":"https://api.github.com/users/cloudtools/events{/privacy}","received_events_url":"https://api.github.com/users/cloudtools/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cloudtools/troposphere","description":"troposphere - Python library to create AWS CloudFormation descriptions","fork":false,"url":"https://api.github.com/repos/cloudtools/troposphere","forks_url":"https://api.github.com/repos/cloudtools/troposphere/forks","keys_url":"https://api.github.com/repos/cloudtools/troposphere/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cloudtools/troposphere/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cloudtools/troposphere/teams","hooks_url":"https://api.github.com/repos/cloudtools/troposphere/hooks","issue_events_url":"https://api.github.com/repos/cloudtools/troposphere/issues/events{/number}","events_url":"https://api.github.com/repos/cloudtools/troposphere/events","assignees_url":"https://api.github.com/repos/cloudtools/troposphere/assignees{/user}","branches_url":"https://api.github.com/repos/cloudtools/troposphere/branches{/branch}","tags_url":"https://api.github.com/repos/cloudtools/troposphere/tags","blobs_url":"https://api.github.com/repos/cloudtools/troposphere/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cloudtools/troposphere/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cloudtools/troposphere/git/refs{/sha}","trees_url":"https://api.github.com/repos/cloudtools/troposphere/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cloudtools/troposphere/statuses/{sha}","languages_url":"https://api.github.com/repos/cloudtools/troposphere/languages","stargazers_url":"https://api.github.com/repos/cloudtools/troposphere/stargazers","contributors_url":"https://api.github.com/repos/cloudtools/troposphere/contributors","subscribers_url":"https://api.github.com/repos/cloudtools/troposphere/subscribers","subscription_url":"https://api.github.com/repos/cloudtools/troposphere/subscription","commits_url":"https://api.github.com/repos/cloudtools/troposphere/commits{/sha}","git_commits_url":"https://api.github.com/repos/cloudtools/troposphere/git/commits{/sha}","comments_url":"https://api.github.com/repos/cloudtools/troposphere/comments{/number}","issue_comment_url":"https://api.github.com/repos/cloudtools/troposphere/issues/comments{/number}","contents_url":"https://api.github.com/repos/cloudtools/troposphere/contents/{+path}","compare_url":"https://api.github.com/repos/cloudtools/troposphere/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cloudtools/troposphere/merges","archive_url":"https://api.github.com/repos/cloudtools/troposphere/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cloudtools/troposphere/downloads","issues_url":"https://api.github.com/repos/cloudtools/troposphere/issues{/number}","pulls_url":"https://api.github.com/repos/cloudtools/troposphere/pulls{/number}","milestones_url":"https://api.github.com/repos/cloudtools/troposphere/milestones{/number}","notifications_url":"https://api.github.com/repos/cloudtools/troposphere/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cloudtools/troposphere/labels{/name}","releases_url":"https://api.github.com/repos/cloudtools/troposphere/releases{/id}","deployments_url":"https://api.github.com/repos/cloudtools/troposphere/deployments","created_at":"2012-12-12T21:19:46Z","updated_at":"2016-03-03T10:44:14Z","pushed_at":"2016-03-03T13:38:53Z","git_url":"git://github.com/cloudtools/troposphere.git","ssh_url":"git@github.com:cloudtools/troposphere.git","clone_url":"https://github.com/cloudtools/troposphere.git","svn_url":"https://github.com/cloudtools/troposphere","homepage":"","size":1022,"stargazers_count":1035,"watchers_count":1035,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":290,"mirror_url":null,"open_issues_count":30,"forks":290,"open_issues":30,"watchers":1035,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cloudtools/troposphere/pulls/414"},"html":{"href":"https://github.com/cloudtools/troposphere/pull/414"},"issue":{"href":"https://api.github.com/repos/cloudtools/troposphere/issues/414"},"comments":{"href":"https://api.github.com/repos/cloudtools/troposphere/issues/414/comments"},"review_comments":{"href":"https://api.github.com/repos/cloudtools/troposphere/pulls/414/comments"},"review_comment":{"href":"https://api.github.com/repos/cloudtools/troposphere/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cloudtools/troposphere/pulls/414/commits"},"statuses":{"href":"https://api.github.com/repos/cloudtools/troposphere/statuses/3150233889019d734e585b834a47cade739abb76"}}}}