Skip to content

Promotes a data replication replica broker to the primary broker role

Description

Promotes a data replication replica broker to the primary broker role.

Usage

mq_promote(BrokerId, Mode)

Arguments

  • BrokerId

    [required] The unique ID that Amazon MQ generates for the broker.

  • Mode

    [required] The Promote mode requested. Note: Valid values for the parameter are SWITCHOVER, FAILOVER.

Value

A list with the following syntax:

list(
  BrokerId = "string"
)

Request syntax

svc$promote(
  BrokerId = "string",
  Mode = "SWITCHOVER"|"FAILOVER"
)