ReplicationPeer
¶
Source code in docs_src/capo_opensearch/types/replication_peer.py
peer_domain_arn
instance-attribute
¶
peer_domain_arn: NotRequired[DomainArn]
The Amazon Resource Name (ARN) of the peer domain.
peer_role
instance-attribute
¶
peer_role: NotRequired[ReplicationRole]
The peer's role in the relationship, either PRIMARY or SECONDARY.
status
instance-attribute
¶
status: NotRequired[ReplicationStatus]
The state of the relationship:
-
PENDING_SETUP- replication is being established. -
ACTIVE- replication is running. -
SWITCHING_OVER- a planned promotion is in progress. -
FAILING_OVER- an unplanned promotion is in progress. -
PENDING_REMOVAL- replication is being stopped. -
DETACHED- the relationship has ended. -
EJECTED- a failover promoted the other domain. The former primary keeps the data it had when it was ejected and stays read-only until you remove the peer, or discard that data and pair again. -
FAILED- setup or teardown could not complete. You can still remove the relationship.
A relationship that is removed successfully no longer appears in Peers.
status_message
instance-attribute
¶
status_message: NotRequired[ReplicationStatusMessage]
An explanation of why the relationship is in its current state, when more detail is available.