

# Actions, resources, and condition keys for Amazon Neptune
<a name="list_amazonneptune"></a>

Amazon Neptune (service prefix: `neptune-db`) provides the following service-specific resources, actions, and condition context keys for use in IAM permission policies.

References:
+ Learn how to [configure this service](https://docs.aws.amazon.com/neptune/latest/userguide/intro.html).
+ View a list of the [API operations available for this service](https://docs.aws.amazon.com/neptune/latest/userguide/api.html).
+ Learn how to secure this service and its resources by [using IAM](https://docs.aws.amazon.com/neptune/latest/userguide/iam-auth.html) permission policies.

**Topics**
+ [Actions defined by Amazon Neptune](#amazonneptune-actions-as-permissions)
+ [Resource types defined by Amazon Neptune](#amazonneptune-resources-for-iam-policies)
+ [Condition keys for Amazon Neptune](#amazonneptune-policy-keys)

## Actions defined by Amazon Neptune
<a name="amazonneptune-actions-as-permissions"></a>

You can specify the following actions in the `Action` element of an IAM policy statement. 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.

The **Access level** column of the Actions table describes how the action is classified (List, Read, Permissions management, or Tagging). This classification can help you understand the level of access that an action grants when you use it in a policy. For more information about access levels, see [Access levels in policy summaries](https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_understand-policy-summary-access-level-summaries.html).

The **Resource types** column of the Actions table indicates whether each action supports resource-level permissions. If there is no value for this column, you must specify all resources ("\*") to which the policy applies in the `Resource` element of your policy statement. If the column includes a resource type, then you can specify an ARN of that type in a statement with that action. If the action has one or more required resources, the caller must have permission to use the action with those resources. Required resources are indicated in the table with an asterisk (\*). If you limit resource access with the `Resource` element in an IAM policy, you must include an ARN or pattern for each required resource type. Some actions support multiple resource types. If the resource type is optional (not indicated as required), then you can choose to use one of the optional resource types.

The **Condition keys** column of the Actions table includes keys that you can specify in a policy statement's `Condition` element. For more information on the condition keys that are associated with resources for the service, see the **Condition keys** column of the Resource types table.

The **Dependent actions** column of the Actions table shows additional permissions that may be required to successfully call an action. These permissions may be needed in addition to the permission for the action itself. When an action specifies dependent actions, those dependencies may apply to additional resources defined for that action, not only the first resource listed in the table.

**Note**  
Resource condition keys are listed in the [Resource types](#amazonneptune-resources-for-iam-policies) table. You can find a link to the resource type that applies to an action in the **Resource types (\*required)** column of the Actions table. The resource type in the Resource types table includes the **Condition keys** column, which are the resource condition keys that apply to an action in the Actions table.

For details about the columns in the following table, see [Actions table](reference_policies_actions-resources-contextkeys.html#actions_table).


****  


- **  [https://docs.aws.amazon.com/neptune/latest/userguide/iam-dp-actions.html#cancelloaderjob](https://docs.aws.amazon.com/neptune/latest/userguide/iam-dp-actions.html#cancelloaderjob) **
  - **Description:** Grants permission to cancel a loader job
  - **Access level:** Write
  - **Resource types (\*required):**  [#amazonneptune-database](#amazonneptune-database) 
  - **Condition keys:** 
  - **Dependent actions:** 

- **  [https://docs.aws.amazon.com/neptune/latest/userguide/iam-dp-actions.html#cancelmldataprocessingjob](https://docs.aws.amazon.com/neptune/latest/userguide/iam-dp-actions.html#cancelmldataprocessingjob) **
  - **Description:** Grants permission to cancel an ML data processing job
  - **Access level:** Write
  - **Resource types (\*required):**  [#amazonneptune-database](#amazonneptune-database) 
  - **Condition keys:** 
  - **Dependent actions:** 

- **  [https://docs.aws.amazon.com/neptune/latest/userguide/iam-dp-actions.html#cancelmlmodeltrainingjob](https://docs.aws.amazon.com/neptune/latest/userguide/iam-dp-actions.html#cancelmlmodeltrainingjob) **
  - **Description:** Grants permission to cancel an ML model training job
  - **Access level:** Write
  - **Resource types (\*required):**  [#amazonneptune-database](#amazonneptune-database) 
  - **Condition keys:** 
  - **Dependent actions:** 

- **  [https://docs.aws.amazon.com/neptune/latest/userguide/iam-dp-actions.html#cancelmlmodeltransformjob](https://docs.aws.amazon.com/neptune/latest/userguide/iam-dp-actions.html#cancelmlmodeltransformjob) **
  - **Description:** Grants permission to cancel an ML model transform job
  - **Access level:** Write
  - **Resource types (\*required):**  [#amazonneptune-database](#amazonneptune-database) 
  - **Condition keys:** 
  - **Dependent actions:** 

- **  [https://docs.aws.amazon.com/neptune/latest/userguide/iam-dp-actions.html#cancelquery](https://docs.aws.amazon.com/neptune/latest/userguide/iam-dp-actions.html#cancelquery) **
  - **Description:** Grants permission to cancel a query
  - **Access level:** Write
  - **Resource types (\*required):**  [#amazonneptune-database](#amazonneptune-database) 
  - **Condition keys:** 
  - **Dependent actions:** 

- **  [https://docs.aws.amazon.com/neptune/latest/userguide/iam-dp-actions.html#createmlendpoint](https://docs.aws.amazon.com/neptune/latest/userguide/iam-dp-actions.html#createmlendpoint) **
  - **Description:** Grants permission to create an ML endpoint
  - **Access level:** Write
  - **Resource types (\*required):**  [#amazonneptune-database](#amazonneptune-database) 
  - **Condition keys:** 
  - **Dependent actions:** 

- **  [https://docs.aws.amazon.com/neptune/latest/userguide/iam-dp-actions.html#deletedataviaquery](https://docs.aws.amazon.com/neptune/latest/userguide/iam-dp-actions.html#deletedataviaquery) **
  - **Description:** Grants permission to run delete data via query APIs on database
  - **Access level:** Write
  - **Resource types (\*required):**  [#amazonneptune-database](#amazonneptune-database)  / **Condition keys:**  / **Dependent actions:** 
  - **Resource types (\*required):**  / **Condition keys:**  [#amazonneptune-neptune-db_QueryLanguage](#amazonneptune-neptune-db_QueryLanguage)  / **Dependent actions:** 

- **  [https://docs.aws.amazon.com/neptune/latest/userguide/iam-dp-actions.html#deletemlendpoint](https://docs.aws.amazon.com/neptune/latest/userguide/iam-dp-actions.html#deletemlendpoint) **
  - **Description:** Grants permission to delete an ML endpoint
  - **Access level:** Write
  - **Resource types (\*required):**  [#amazonneptune-database](#amazonneptune-database) 
  - **Condition keys:** 
  - **Dependent actions:** 

- **  [https://docs.aws.amazon.com/neptune/latest/userguide/iam-dp-actions.html#deletestatistics](https://docs.aws.amazon.com/neptune/latest/userguide/iam-dp-actions.html#deletestatistics) **
  - **Description:** Grants permission to delete all the statistics in the database
  - **Access level:** Write
  - **Resource types (\*required):**  [#amazonneptune-database](#amazonneptune-database) 
  - **Condition keys:** 
  - **Dependent actions:** 

- **  [https://docs.aws.amazon.com/neptune/latest/userguide/iam-dp-actions.html#getenginestatus](https://docs.aws.amazon.com/neptune/latest/userguide/iam-dp-actions.html#getenginestatus) **
  - **Description:** Grants permission to check the status of the Neptune engine
  - **Access level:** Read
  - **Resource types (\*required):**  [#amazonneptune-database](#amazonneptune-database) 
  - **Condition keys:** 
  - **Dependent actions:** 

- **  [https://docs.aws.amazon.com/neptune/latest/userguide/iam-dp-actions.html#getgraphsummary](https://docs.aws.amazon.com/neptune/latest/userguide/iam-dp-actions.html#getgraphsummary) **
  - **Description:** Grants permission to get the graph summary from the database
  - **Access level:** Read
  - **Resource types (\*required):**  [#amazonneptune-database](#amazonneptune-database) 
  - **Condition keys:** 
  - **Dependent actions:** 

- **  [https://docs.aws.amazon.com/neptune/latest/userguide/iam-dp-actions.html#getloaderjobstatus](https://docs.aws.amazon.com/neptune/latest/userguide/iam-dp-actions.html#getloaderjobstatus) **
  - **Description:** Grants permission to check the status of a loader job
  - **Access level:** Read
  - **Resource types (\*required):**  [#amazonneptune-database](#amazonneptune-database) 
  - **Condition keys:** 
  - **Dependent actions:** 

- **  [https://docs.aws.amazon.com/neptune/latest/userguide/iam-dp-actions.html#getmldataprocessingjobstatus](https://docs.aws.amazon.com/neptune/latest/userguide/iam-dp-actions.html#getmldataprocessingjobstatus) **
  - **Description:** Grants permission to check the status of an ML data processing job
  - **Access level:** Read
  - **Resource types (\*required):**  [#amazonneptune-database](#amazonneptune-database) 
  - **Condition keys:** 
  - **Dependent actions:** 

- **  [https://docs.aws.amazon.com/neptune/latest/userguide/iam-dp-actions.html#getmlendpointstatus](https://docs.aws.amazon.com/neptune/latest/userguide/iam-dp-actions.html#getmlendpointstatus) **
  - **Description:** Grants permission to check the status of an ML endpoint
  - **Access level:** Read
  - **Resource types (\*required):**  [#amazonneptune-database](#amazonneptune-database) 
  - **Condition keys:** 
  - **Dependent actions:** 

- **  [https://docs.aws.amazon.com/neptune/latest/userguide/iam-dp-actions.html#getmlmodeltrainingjobstatus](https://docs.aws.amazon.com/neptune/latest/userguide/iam-dp-actions.html#getmlmodeltrainingjobstatus) **
  - **Description:** Grants permission to check the status of an ML model training job
  - **Access level:** Read
  - **Resource types (\*required):**  [#amazonneptune-database](#amazonneptune-database) 
  - **Condition keys:** 
  - **Dependent actions:** 

- **  [https://docs.aws.amazon.com/neptune/latest/userguide/iam-dp-actions.html#getmlmodeltransformjobstatus](https://docs.aws.amazon.com/neptune/latest/userguide/iam-dp-actions.html#getmlmodeltransformjobstatus) **
  - **Description:** Grants permission to check the status of an ML model transform job
  - **Access level:** Read
  - **Resource types (\*required):**  [#amazonneptune-database](#amazonneptune-database) 
  - **Condition keys:** 
  - **Dependent actions:** 

- **  [https://docs.aws.amazon.com/neptune/latest/userguide/iam-dp-actions.html#getquerystatus](https://docs.aws.amazon.com/neptune/latest/userguide/iam-dp-actions.html#getquerystatus) **
  - **Description:** Grants permission to check the status of all active queries
  - **Access level:** Read
  - **Resource types (\*required):**  [#amazonneptune-database](#amazonneptune-database)  / **Condition keys:**  / **Dependent actions:** 
  - **Resource types (\*required):**  / **Condition keys:**  [#amazonneptune-neptune-db_QueryLanguage](#amazonneptune-neptune-db_QueryLanguage)  / **Dependent actions:** 

- **  [https://docs.aws.amazon.com/neptune/latest/userguide/iam-dp-actions.html#getstatisticsstatus](https://docs.aws.amazon.com/neptune/latest/userguide/iam-dp-actions.html#getstatisticsstatus) **
  - **Description:** Grants permission to check the status of statistics of the database
  - **Access level:** Read
  - **Resource types (\*required):**  [#amazonneptune-database](#amazonneptune-database) 
  - **Condition keys:** 
  - **Dependent actions:** 

- **  [https://docs.aws.amazon.com/neptune/latest/userguide/iam-dp-actions.html#getstreamrecords](https://docs.aws.amazon.com/neptune/latest/userguide/iam-dp-actions.html#getstreamrecords) **
  - **Description:** Grants permission to fetch stream records from Neptune
  - **Access level:** Read
  - **Resource types (\*required):**  [#amazonneptune-database](#amazonneptune-database)  / **Condition keys:**  / **Dependent actions:** 
  - **Resource types (\*required):**  / **Condition keys:**  [#amazonneptune-neptune-db_QueryLanguage](#amazonneptune-neptune-db_QueryLanguage)  / **Dependent actions:** 

- **  [https://docs.aws.amazon.com/neptune/latest/userguide/iam-dp-actions.html#listloaderjobs](https://docs.aws.amazon.com/neptune/latest/userguide/iam-dp-actions.html#listloaderjobs) **
  - **Description:** Grants permission to list all the loader jobs
  - **Access level:** List
  - **Resource types (\*required):**  [#amazonneptune-database](#amazonneptune-database) 
  - **Condition keys:** 
  - **Dependent actions:** 

- **  [https://docs.aws.amazon.com/neptune/latest/userguide/iam-dp-actions.html#listmldataprocessingjobs](https://docs.aws.amazon.com/neptune/latest/userguide/iam-dp-actions.html#listmldataprocessingjobs) **
  - **Description:** Grants permission to list all the ML data processing jobs
  - **Access level:** List
  - **Resource types (\*required):**  [#amazonneptune-database](#amazonneptune-database) 
  - **Condition keys:** 
  - **Dependent actions:** 

- **  [https://docs.aws.amazon.com/neptune/latest/userguide/iam-dp-actions.html#listmlendpoints](https://docs.aws.amazon.com/neptune/latest/userguide/iam-dp-actions.html#listmlendpoints) **
  - **Description:** Grants permission to list all the ML endpoints
  - **Access level:** List
  - **Resource types (\*required):**  [#amazonneptune-database](#amazonneptune-database) 
  - **Condition keys:** 
  - **Dependent actions:** 

- **  [https://docs.aws.amazon.com/neptune/latest/userguide/iam-dp-actions.html#listmlmodeltrainingjobs](https://docs.aws.amazon.com/neptune/latest/userguide/iam-dp-actions.html#listmlmodeltrainingjobs) **
  - **Description:** Grants permission to list all the ML model training jobs
  - **Access level:** List
  - **Resource types (\*required):**  [#amazonneptune-database](#amazonneptune-database) 
  - **Condition keys:** 
  - **Dependent actions:** 

- **  [https://docs.aws.amazon.com/neptune/latest/userguide/iam-dp-actions.html#listmlmodeltransformjobs](https://docs.aws.amazon.com/neptune/latest/userguide/iam-dp-actions.html#listmlmodeltransformjobs) **
  - **Description:** Grants permission to list all the ML model transform jobs
  - **Access level:** List
  - **Resource types (\*required):**  [#amazonneptune-database](#amazonneptune-database) 
  - **Condition keys:** 
  - **Dependent actions:** 

- **  [https://docs.aws.amazon.com/neptune/latest/userguide/iam-dp-actions.html#managestatistics](https://docs.aws.amazon.com/neptune/latest/userguide/iam-dp-actions.html#managestatistics) **
  - **Description:** Grants permission to manage statistics in the database
  - **Access level:** Write
  - **Resource types (\*required):**  [#amazonneptune-database](#amazonneptune-database) 
  - **Condition keys:** 
  - **Dependent actions:** 

- **  [https://docs.aws.amazon.com/neptune/latest/userguide/iam-dp-actions.html#readdataviaquery](https://docs.aws.amazon.com/neptune/latest/userguide/iam-dp-actions.html#readdataviaquery) **
  - **Description:** Grants permission to run read data via query APIs on database
  - **Access level:** Read
  - **Resource types (\*required):**  [#amazonneptune-database](#amazonneptune-database)  / **Condition keys:**  / **Dependent actions:** 
  - **Resource types (\*required):**  / **Condition keys:**  [#amazonneptune-neptune-db_QueryLanguage](#amazonneptune-neptune-db_QueryLanguage)  / **Dependent actions:** 

- **  [https://docs.aws.amazon.com/neptune/latest/userguide/iam-dp-actions.html#resetdatabase](https://docs.aws.amazon.com/neptune/latest/userguide/iam-dp-actions.html#resetdatabase) **
  - **Description:** Grants permission to get the token needed for reset and resets the Neptune database
  - **Access level:** Write
  - **Resource types (\*required):**  [#amazonneptune-database](#amazonneptune-database) 
  - **Condition keys:** 
  - **Dependent actions:** 

- **  [https://docs.aws.amazon.com/neptune/latest/userguide/iam-dp-actions.html#startloaderjob](https://docs.aws.amazon.com/neptune/latest/userguide/iam-dp-actions.html#startloaderjob) **
  - **Description:** Grants permission to start a loader job
  - **Access level:** Write
  - **Resource types (\*required):**  [#amazonneptune-database](#amazonneptune-database) 
  - **Condition keys:** 
  - **Dependent actions:** 

- **  [https://docs.aws.amazon.com/neptune/latest/userguide/iam-dp-actions.html#startmldataprocessingjob](https://docs.aws.amazon.com/neptune/latest/userguide/iam-dp-actions.html#startmldataprocessingjob) **
  - **Description:** Grants permission to start an ML data processing job
  - **Access level:** Write
  - **Resource types (\*required):**  [#amazonneptune-database](#amazonneptune-database) 
  - **Condition keys:** 
  - **Dependent actions:** 

- **  [https://docs.aws.amazon.com/neptune/latest/userguide/iam-dp-actions.html#startmlmodeltrainingjob](https://docs.aws.amazon.com/neptune/latest/userguide/iam-dp-actions.html#startmlmodeltrainingjob) **
  - **Description:** Grants permission to start an ML model training job
  - **Access level:** Write
  - **Resource types (\*required):**  [#amazonneptune-database](#amazonneptune-database) 
  - **Condition keys:** 
  - **Dependent actions:** 

- **  [https://docs.aws.amazon.com/neptune/latest/userguide/iam-dp-actions.html#startmlmodeltransformjob](https://docs.aws.amazon.com/neptune/latest/userguide/iam-dp-actions.html#startmlmodeltransformjob) **
  - **Description:** Grants permission to start an ML model transform job
  - **Access level:** Write
  - **Resource types (\*required):**  [#amazonneptune-database](#amazonneptune-database) 
  - **Condition keys:** 
  - **Dependent actions:** 

- **  [https://docs.aws.amazon.com/neptune/latest/userguide/iam-dp-actions.html#writedataviaquery](https://docs.aws.amazon.com/neptune/latest/userguide/iam-dp-actions.html#writedataviaquery) **
  - **Description:** Grants permission to run write data via query APIs on database
  - **Access level:** Write
  - **Resource types (\*required):**  [#amazonneptune-database](#amazonneptune-database)  / **Condition keys:**  / **Dependent actions:** 
  - **Resource types (\*required):**  / **Condition keys:**  [#amazonneptune-neptune-db_QueryLanguage](#amazonneptune-neptune-db_QueryLanguage)  / **Dependent actions:** 

- **  [https://docs.aws.amazon.com/neptune/latest/userguide/iam-dp-actions.html](https://docs.aws.amazon.com/neptune/latest/userguide/iam-dp-actions.html) **
  - **Description:** Grants permission to all data-access actions in engine versions prior to 1.2.0.0
  - **Access level:** Write
  - **Resource types (\*required):**  [#amazonneptune-database](#amazonneptune-database) 
  - **Condition keys:** 
  - **Dependent actions:** 



## Resource types defined by Amazon Neptune
<a name="amazonneptune-resources-for-iam-policies"></a>

The following resource types are defined by this service and can be used in the `Resource` element of IAM permission policy statements. Each action in the [Actions table](#amazonneptune-actions-as-permissions) identifies the resource types that can be specified with that action. A resource type can also define which condition keys you can include in a policy. These keys are displayed in the last column of the Resource types table. For details about the columns in the following table, see [Resource types table](reference_policies_actions-resources-contextkeys.html#resources_table).


****  

| Resource types | ARN | Condition keys | 
| --- | --- | --- | 
|   [https://docs.aws.amazon.com/neptune/latest/userguide/iam-data-resources.html](https://docs.aws.amazon.com/neptune/latest/userguide/iam-data-resources.html)  |  arn:${Partition}:neptune-db:${Region}:${Account}:${ClusterResourceId}/\*  |  | 

## Condition keys for Amazon Neptune
<a name="amazonneptune-policy-keys"></a>

Amazon Neptune defines the following condition keys that can be used in the `Condition` element of an IAM policy. You can use these keys to further refine the conditions under which the policy statement applies. For details about the columns in the following table, see [Condition keys table](reference_policies_actions-resources-contextkeys.html#context_keys_table).

To view the global condition keys that are available to all services, see [AWS global condition context keys](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_condition-keys.html).


****  

| Condition keys | Description | Type | 
| --- | --- | --- | 
|   [https://docs.aws.amazon.com/neptune/latest/userguide/iam-data-condition-keys.html#iam-neptune-condition-keys](https://docs.aws.amazon.com/neptune/latest/userguide/iam-data-condition-keys.html#iam-neptune-condition-keys)  | Filters access by graph model | String | 