A single, auto-updated reference for the entire (documented) IAM specification. The included reference.json file is autogenerated from the source of the IAM Policy Generator and updates are auto-pushed to this repo every 30 minutes. Take a look at this repo's git history for a full timeline of IAM additions.
This JSON can be used to validate the policies that you're writing and powers the Atom IAM Syntax Highlighter. You can use reference.json like:
Update The Servicemap:
go run main.go
Querying:
# Optionally Download Map Directly
curl -sO https://raw.githubusercontent.com/witoff/aws-iam-reference/master/reference.json
# Query for a key
jq '.["AWS Config"]' reference.json
# {
# "StringPrefix": "config",
# "Actions": [
# "DeleteConfigRule",
# ...
# ]
# }
# Get a list of available keys
jq keys reference.json
# [
# "AWS Application Discovery Service",
# "AWS Billing",
# "AWS Budgets",
# .....
# ]
# Get actions for a single key
jq '.["AWS WAF"].Actions' reference.json
# [
# "CreateByteMatchSet",
# "CreateIPSet",
# "CreateRule",
# ...
# ]