View a markdown version of this page

ACLs on content you write - AWS Context

ACLs on content you write

Not every node comes from a connected source. A curator can add or change nodes with CreateChangeSet, and an agent can submit its execution traces with PutTrace so that AWS Context extracts reusable knowledge from them. Content from either path carries an ACL too, and you set it on the request with accessControlConfig.

An accessControlConfig holds an accessControlList of up to 100 entries. Each entry allows or denies one principal: a USER, a GROUP, or * for every reader of the Agent Context. A reader matched by a DENY entry is denied even when an ALLOW entry also matches; a reader matched by an ALLOW entry is allowed; every other reader is denied. Principal ids are the user and group ids your identity source holds. AWS Context stores them as given and does not check them against a directory.

What an omitted accessControlConfig means depends on the operation:

  • CreateChangeSet with an add intent – A new node is public. With an update intent, every node the change writes keeps the ACL it has. A stated accessControlConfig replaces the ACL of every node the change writes, and a stated but empty accessControlList lets nobody read them. Other intents reject accessControlConfig.

  • PutTrace – Only the end user named by the caller’s trusted identity session may see the knowledge extracted from the traces. When the session names no end user, the call fails with ValidationException; name the principals, or send ALLOW for * to let every reader of the Agent Context see them. The traces of one session share one ACL, the union of the entries sent for them, and a call that would take that union over 100 entries fails.

A change held for curator review keeps the ACL it was submitted with and applies it when the change is accepted. For how changes are reviewed, see Building and curating context.