CmdID / aws / aws opensearch
aws opensearch switchover-replication
Promotes a secondary domain to primary, coordinating with the current primary so that no writes are lost. AWS CLI reference
2 options Its page in the AWS CLI reference
Options
--domain-nameThe name of an OpenSearch Service domain.--peer-domain-arnThe Amazon Resource Name (ARN) of the relationship's current primary.