Skip to main content

autonomous_database_peers

Creates, updates, deletes, gets or lists an autonomous_database_peers resource.

Overview​

Nameautonomous_database_peers
TypeResource
Idaws.odb.autonomous_database_peers

Fields​

The following fields are returned by SELECT queries:

NameDatatypeDescription
autonomous_database_arnstringThe 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_idstringThe unique identifier of the peer Autonomous Database. (pattern: <code>[a-zA-Z0-9_~.-]+</code>)
ocidstringThe Oracle Cloud Identifier (OCID) of the peer Autonomous Database.
regionstringThe Amazon Web Services Region where the peer Autonomous Database is located.

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_autonomous_database_peersselectregionLists 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.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)

SELECT examples​

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
;