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:
-
CreateChangeSetwith anaddintent – A new node is public. With anupdateintent, every node the change writes keeps the ACL it has. A statedaccessControlConfigreplaces the ACL of every node the change writes, and a stated but emptyaccessControlListlets nobody read them. Other intents rejectaccessControlConfig. -
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 withValidationException; name the principals, or sendALLOWfor*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.