

Le traduzioni sono generate tramite traduzione automatica. In caso di conflitto tra il contenuto di una traduzione e la versione originale in Inglese, quest'ultima prevarrà.

# Lavorare con gli amministratori ARNs in Amazon Neptune
<a name="tagging-arns"></a>

Le risorse create in Amazon Web Services sono identificate in modo univoco con un nome della risorsa Amazon (ARN). Per determinate operazioni Amazon Neptune è necessario identificare in modo univoco una risorsa Neptune specificandone l'ARN. 

**Importante**  
Amazon Neptune condivide il formato di Amazon ARNs RDS per le azioni amministrative che utilizzano il. [Documentazione di riferimento delle API di gestione](api.md) Neptune contiene e non contiene ARNs `rds` amministrativamente. `neptune-db` [Per i piani dati ARNs che identificano le risorse di dati di Neptune, vedere Specificazione delle risorse di dati.](iam-data-resources.md)

**Topics**
+ [Costruzione di un ARN per Neptune](tagging-arns-constructing.md)
+ [Ottenere un ARN esistente in Amazon Neptune](#tagging-arns-getting)

## Ottenere un ARN esistente in Amazon Neptune
<a name="tagging-arns-getting"></a>

Puoi ottenere l'ARN di una risorsa Neptune utilizzando l'API, Console di gestione AWS( AWS Command Line Interface )AWS CLI o Neptune.

### Ottenere un ARN esistente utilizzando Console di gestione AWS
<a name="tagging-arns-console"></a>

Per ottenere un ARN utilizzando la console, accedere alla risorsa per cui ottenere un ARN e visualizzane i relativi dettagli. Ad esempio, per ottenere l'ARN per un'istanza database, scegli **Instances (Istanze)** nel riquadro di navigazione e successivamente l'istanza desiderata dall'elenco. L'ARN è indicato nella sezione **Instance Details (Dettagli istanza)**. 

### Ottenere un ARN esistente utilizzando AWS CLI
<a name="tagging-arns-cli"></a>

Per usare AWS CLI per ottenere un ARN per una particolare risorsa di Neptune, usa il comando per quella risorsa. `describe` La tabella seguente mostra ogni AWS CLI comando e la proprietà ARN utilizzata con il comando per ottenere un ARN.


****  

| AWS CLI Comando | Proprietà ARN | 
| --- | --- | 
|  [describe-event-subscriptions](https://docs.aws.amazon.com/cli/latest/reference/neptune/describe-event-subscriptions.html)  | EventSubscriptionArn | 
|  [describe-certificates](https://docs.aws.amazon.com/cli/latest/reference/neptune/describe-certificates.html) | CertificateArn | 
|  [describe-db-parameter-groups](https://docs.aws.amazon.com/cli/latest/reference/neptune/describe-db-parameter-groups.html) | DBParameterGroupArn | 
|  [describe-db-cluster-parameter-gruppi](https://docs.aws.amazon.com/cli/latest/reference/neptune/describe-db-cluster-parameter-groups.html) | DBClusterParameterGroupArn | 
|  [describe-db-instances](https://docs.aws.amazon.com/cli/latest/reference/neptune/describe-db-instances.html) | DBInstance- Arn | 
|  [describe-events](https://docs.aws.amazon.com/cli/latest/reference/neptune/describe-events.html) | SourceArn | 
|  [describe-db-subnet-groups](https://docs.aws.amazon.com/cli/latest/reference/neptune/describe-db-subnet-groups.html) | DBSubnetGroupArn | 
|  [describe-db-clusters](https://docs.aws.amazon.com/cli/latest/reference/neptune/describe-db-clusters.html) | DBClusterArn | 
|  [describe-db-cluster-snapshots](https://docs.aws.amazon.com/cli/latest/reference/neptune/describe-db-cluster-snapshots.html) | DBClusterSnapshotArn | 

Ad esempio, il AWS CLI comando seguente ottiene l'ARN per un'istanza DB.

**Example**  
Per Linux, OS X o Unix:  

```
1. aws neptune describe-db-instances \
2. --db-instance-identifier {{DBInstanceIdentifier}} \
3. --region {{us-west-2}}
```
Per Windows:  

```
1. aws neptune describe-db-instances ^
2. --db-instance-identifier {{DBInstanceIdentifier}} ^
3. --region {{us-west-2}}
```

### Ottenere un ARN esistente utilizzando l'API
<a name="tagging-arns-api"></a>

Per ottenere un ARN per una determinata risorsa Neptune, chiama le operazioni dell'API seguenti e usa le proprietà ARN mostrate.


****  

| Azione dell'API di Neptune | Proprietà ARN | 
| --- | --- | 
|  [DescribeEventSubscriptions](API_DescribeEventSubscriptions.html) | EventSubscriptionArn | 
|  [DescribeCertificates](API_DescribeCertificates.html) | CertificateArn | 
|  [Descrivi gruppi DBParameter](API_DescribeDBParameterGroups.html) | DBParameterGroupArn | 
|  [Descriva DBCluster ParameterGroups](API_DescribeDBClusterParameterGroups.html) | DBClusterParameterGroupArn | 
|  [Descriva DBInstances](API_DescribeDBInstances.html) | DBInstanceArn | 
|  [DescribeEvents](API_DescribeEvents.html) | SourceArn | 
|  [Descrivi gruppi DBSubnet](API_DescribeDBSubnetGroups.html) | DBSubnetGroupArn | 
|  [Descriva DBClusters](API_DescribeDBClusters.html) | DBClusterArn | 
|  [Descrivi le istantanee DBCluster](API_DescribeDBClusterSnapshots.html) | DBClusterSnapshotArn | 