Created
November 23, 2019 03:21
-
-
Save vineettalwar/338d2950c693b6d18c69f372c4d8527e to your computer and use it in GitHub Desktop.
Elastic Search AWS Policy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"Version": "2012-10-17", | |
"Statement": [ | |
{ | |
"Effect": "Allow", | |
"Principal": { | |
"AWS": "*" | |
}, | |
"Action": "es:*", | |
"Resource": "arn:aws:es:<region>:<account_id>:domain/<elasticsearch_domain/*", | |
"Condition": { | |
"IpAddress": { | |
"aws:SourceIp": [ | |
"xx.xx.xx.xx", | |
"xx.xx.xx.xx", | |
] | |
} | |
} | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment