Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagejson
...
"statement": {
  ...
  "action": "*",
  "resourcesresource": [...],
  "conditionscondition": {...}
  ...
}

Pass a string for a single action:

Code Block
languagejson
...
"statement": {
  ...
  "action": "create",
  "resourcesresource": [...],
  "conditionscondition": {...}
  ...
}

When using multiple actions, pass an array.

Code Block
languagejson
...
"statement": {
  "action": [
    "create",
    "update"
  ],
  "resourcesresource": [...],
  "conditionscondition": {...}
  ...
}