Actions, resources, and condition keys for AWS Context
AWS Context (service prefix: context) provides the following
service-specific operations, resources, actions, and condition keys for use in IAM permission
policies.
References:
-
Learn how to configure this service.
-
View a list of the API operations available for this service.
-
Learn how to secure this service and its resources by using IAM permission policies.
-
View the programmatic service authorization reference
for this service.
Topics
API operations defined by AWS Context
The following table maps API operations to the IAM actions they authorize. Only condition keys that have static values for the given API and action are listed; for the full set of condition keys supported by each action, see the Actions table.
| Operation | IAM action | Condition key | Possible value(s) | Access level |
|---|---|---|---|---|
|
AcceptCurationProposal |
Write |
|||
|
AgenticRetrieve |
Read |
|||
|
AgenticRetrieveStream |
Read |
|||
|
AssociateCurationPolicy |
Write |
|||
|
CancelOntologyInduction |
Write |
|||
|
CancelTask |
Write |
|||
|
CreateAgentContext |
Write |
|||
Tagging, Write |
||||
|
CreateChangeSet |
Write |
|||
|
CreateConnection |
Write |
|||
Tagging, Write |
||||
|
CreateCurationPolicy |
Write |
|||
Tagging, Write |
||||
|
CreateCurationPolicyVersion |
Write |
|||
|
CreateOntology |
Write |
|||
Tagging, Write |
||||
|
DeleteAgentContext |
Write |
|||
|
DeleteConnection |
Write |
|||
|
DeleteCurationPolicy |
Write |
|||
|
DeleteOntology |
Write |
|||
|
DeleteOntologyInduction |
Write |
|||
|
DeleteResourcePolicy |
Permissions management, Write |
|||
|
DisassociateCurationPolicy |
Write |
|||
|
ExecuteSql |
Read |
|||
|
GetAgentContext |
Read |
|||
|
GetChangeSet |
Read |
|||
|
GetConnection |
Read |
|||
|
GetCurationPolicy |
Read |
|||
|
GetCurationProposal |
Read |
|||
|
GetOntology |
Read |
|||
|
GetOntologyInduction |
Read |
|||
|
GetResourcePolicy |
Read |
|||
|
GetTask |
Read |
|||
|
ListAgentContexts |
List |
|||
|
ListChangeSetOperations |
List |
|||
|
ListChangeSets |
List |
|||
|
ListConnections |
List |
|||
|
ListCurationPolicies |
List |
|||
|
ListCurationProposals |
List |
|||
|
ListOntologies |
List |
|||
|
ListOntologyInductions |
List |
|||
|
ListTagsForResource |
Read |
|||
|
ListTasks |
List |
|||
|
PutResourcePolicy |
Permissions management, Write |
|||
|
PutTrace |
Write |
|||
|
RejectCurationProposal |
Write |
|||
|
SearchAgentContext |
Read |
|||
|
StartTask |
Write |
|||
Write |
||||
|
TagResource |
Tagging, Write |
|||
|
TraverseAgentContext |
Read |
|||
|
UntagResource |
Tagging, Write |
|||
|
UpdateAgentContext |
Write |
|||
|
UpdateChangeSet |
Write |
|||
|
UpdateConnection |
Write |
|||
|
UpdateCurationPolicy |
Write |
Actions defined by AWS Context
You can specify the following actions in the Action element of an IAM
policy statement. For each action, the table lists the resource types and condition keys
supported by that action. Use policies to grant permissions to perform an operation in AWS.
When you use an action in a policy, you usually allow or deny access to the API operation or CLI
command with the same name. However, in some cases, a single action controls access to more
than one operation. Alternatively, some operations require several different actions.
| Actions | Description | Resource types (*required) | Condition keys | Access level |
|---|---|---|---|---|
Grants permission to accept a curation proposal |
Write |
|||
Grants permission to retrieve ranked context from an agent context for a natural-language question |
Read |
|||
Grants permission to stream an answer to a natural language question from an agent context |
Read |
|||
Grants permission to associate a curation policy with an agent context |
Write |
|||
Grants permission to cancel an ontology induction |
Write |
|||
Grants permission to cancel a task |
Write |
|||
Grants permission to create an agent context |
Write |
|||
Grants permission to create a change set for an agent context |
Write |
|||
Grants permission to create a connection to a data source |
Write |
|||
Grants permission to create a curation policy |
Write |
|||
Grants permission to create a version of a curation policy |
Write |
|||
Grants permission to create an ontology |
Write |
|||
Grants permission to delete an agent context |
Write |
|||
Grants permission to delete a connection |
Write |
|||
Grants permission to delete a curation policy |
Write |
|||
Grants permission to delete an ontology |
Write |
|||
Grants permission to delete an ontology induction |
Write |
|||
Grants permission to delete the resource-based policy of an agent context |
Permissions management, Write |
|||
Grants permission to remove a curation policy from an agent context |
Write |
|||
Grants permission to run a SQL query over the data in an agent context |
Read |
|||
Grants permission to retrieve the configuration and status of an agent context |
Read |
|||
Grants permission to retrieve a change set |
Read |
|||
Grants permission to retrieve the configuration and status of a connection |
Read |
|||
Grants permission to retrieve a curation policy |
Read |
|||
Grants permission to retrieve a curation proposal |
Read |
|||
Grants permission to retrieve an ontology |
Read |
|||
Grants permission to retrieve an ontology induction |
Read |
|||
Grants permission to retrieve the resource-based policy of an agent context |
Read |
|||
Grants permission to retrieve a task |
Read |
|||
Grants permission to list the agent contexts in your account |
List |
|||
Grants permission to list the operations in a change set of an agent context |
List |
|||
Grants permission to list the change sets of an agent context |
List |
|||
Grants permission to list the connections in your account |
List |
|||
Grants permission to list the curation policies in your account, or the ones associated with an agent context |
List |
|||
Grants permission to list the curation proposals of an agent context |
List |
|||
Grants permission to list the ontologies in your account |
List |
|||
Grants permission to list the ontology inductions in your account |
List |
|||
Grants permission to list the tags of an AWS Context resource |
Read |
|||
Grants permission to list the tasks of an agent context |
List |
|||
Grants permission to attach a resource-based policy to an agent context |
Permissions management, Write |
|||
Grants permission to submit an agent trace as feedback to AWS Context |
Write |
|||
Grants permission to reject a curation proposal |
Write |
|||
Grants permission to search an agent context |
Read |
|||
Grants permission to start an ontology induction, which creates an ontology |
Write |
|||
Grants permission to start a task on an agent context |
Write |
|||
Grants permission to add tags to an AWS Context resource |
Tagging, Write |
|||
Grants permission to traverse an agent context |
Read |
|||
Grants permission to remove tags from an AWS Context resource |
Tagging, Write |
|||
Grants permission to update the configuration of an agent context |
Write |
|||
Grants permission to update a change set of an agent context |
Write |
|||
Grants permission to update the configuration of a connection |
Write |
|||
Grants permission to update a curation policy |
Write |
Permission-only actions for AWS Context
The following actions are defined by AWS Context but are not directly invocable through any API operation. They can only be used in IAM policy statements to grant or deny permissions.
| Actions | Description | Resource types (*required) | Condition keys | Access level |
|---|---|---|---|---|
Grants permission to configure vended log delivery for an agent context |
Permissions management, Write |
|||
Grants permission to delete an evaluation |
Write |
|||
Grants permission to retrieve an overview of the data in an agent context |
Read |
|||
Grants permission to retrieve the top nodes of an agent context and the edges between them |
Read |
|||
Grants permission to retrieve the node, edge, and curation proposal counts of an agent context, its ingestion counts, and the backfill status of its connections |
Read |
|||
Grants permission to retrieve the trace analysis statistics of an agent context |
Read |
|||
Grants permission to retrieve an evaluation |
Read |
|||
Grants permission to retrieve the sample agent context job in your account |
Read |
|||
Grants permission to deliver ingestion payloads to the agent contexts subscribed to a data source |
Write |
|||
Grants permission to list the evaluations of an agent context |
List |
|||
Grants permission to link a connection to an agent context |
Write |
|||
Grants permission to start an evaluation of an agent context |
Write |
|||
Grants permission to start a job that fills your sample agent context with sample data |
Write |
|||
Grants permission to update an ontology |
Write |
Resource types defined by AWS Context
The following resource types are defined by this service and can be used in the
Resource element of IAM permission policy statements.
| Resource types | ARN | Condition keys |
|---|---|---|
arn:${Partition}:context:${Region}:${Account}:agent-context/${AgentContextId} |
||
arn:${Partition}:context:${Region}:${Account}:connection/${ConnectionId} |
||
arn:${Partition}:context:${Region}:${Account}:curation-policy/${CurationPolicyId} |
||
arn:${Partition}:context:${Region}:${Account}:agent-context/${AgentContextId}/evaluation/${EvaluationId} |
||
arn:${Partition}:context:${Region}:${Account}:ontology/${OntologyId} |
||
arn:${Partition}:context:${Region}:${Account}:ontology-induction/${OntologyInductionId} |
||
arn:${Partition}:context:${Region}:${Account}:agent-context/${AgentContextId}/task/${TaskId} |
Condition keys for AWS Context
AWS Context defines the following condition keys that can be used in the
Condition element of an IAM policy.
| Condition keys | Description | Type |
|---|---|---|
Filters access by a tag's key and value in a request |
String |
|
Filters actions based on the presence of tag key-value pairs in the request |
String |
|
Filters access by the tag keys in a request |
ArrayOfString |
|
Filters access by the ARN of the data source that an ingestion payload is delivered from |
ARN |