Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

FailoverState

import type { FailoverState } from "https://aws-api.deno.dev/v0.4/services/rds.ts?docs=full";

Contains the state of scheduled or in-process failover operations on an Aurora global database ("GlobalCluster"). This Data type is empty unless a failover operation is scheduled or is currently underway on the Aurora global database.

interface FailoverState {
FromDbClusterArn?: string | null;
Status?: FailoverStatus | null;
ToDbClusterArn?: string | null;
}

§Properties

§
FromDbClusterArn?: string | null
[src]

The Amazon Resource Name (ARN) of the Aurora DB cluster that is currently being demoted, and which is associated with this state.

§
Status?: FailoverStatus | null
[src]

The current status of the Aurora global database ("GlobalCluster"). Possible values are as follows:

  • pending – A request to fail over the Aurora global database ("GlobalCluster") has been received by the service. The GlobalCluster's primary DB cluster and the specified secondary DB cluster are being verified before the failover process can start.
  • failing-over – This status covers the range of Aurora internal operations that take place during the failover process, such as demoting the primary Aurora DB cluster, promoting the secondary Aurora DB, and synchronizing replicas.
  • cancelling – The request to fail over the Aurora global database ("GlobalCluster") was cancelled and the primary Aurora DB cluster and the selected secondary Aurora DB cluster are returning to their previous states.
§
ToDbClusterArn?: string | null
[src]

The Amazon Resource Name (ARN) of the Aurora DB cluster that is currently being promoted, and which is associated with this state.