autonomous_database_peers
Creates, updates, deletes, gets or lists an autonomous_database_peers resource.
Overview
| Name | autonomous_database_peers |
| Type | Resource |
| Id | aws.odb.autonomous_database_peers |
Fields
The following fields are returned by SELECT queries:
- list_autonomous_database_peers
| Name | Datatype | Description |
|---|---|---|
autonomous_database_arn | string | The Amazon Resource Name (ARN) of the peer Autonomous Database. (pattern: <code>arn:(?:aws|aws-cn|aws-us-gov|aws-iso-{0,1}[a-z]{0,1}):[a-z0-9-]+:[a-z0-9-]*:[0-9]+:[a-z0-9-]+/[a-z0-9-_]{6,64}</code>) |
autonomous_database_id | string | The unique identifier of the peer Autonomous Database. (pattern: <code>[a-zA-Z0-9_~.-]+</code>) |
ocid | string | The Oracle Cloud Identifier (OCID) of the peer Autonomous Database. |
region | string | The Amazon Web Services Region where the peer Autonomous Database is located. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list_autonomous_database_peers | select | region | Lists the peer databases of the specified Autonomous Database. |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
region | string | AWS region (default: us-east-1) |
SELECT examples
- list_autonomous_database_peers
Lists the peer databases of the specified Autonomous Database.
SELECT
autonomous_database_arn,
autonomous_database_id,
ocid,
region
FROM aws.odb.autonomous_database_peers
WHERE region = '{{ region }}' -- required
;