Learn R Programming

paws.database (version 0.1.12)

elasticache_failover_global_replication_group: Used to failover the primary region to a selected secondary region

Description

Used to failover the primary region to a selected secondary region. The selected secondary region will become primary, and all other clusters will become secondary.

Usage

elasticache_failover_global_replication_group(GlobalReplicationGroupId,
  PrimaryRegion, PrimaryReplicationGroupId)

Value

A list with the following syntax:

list(
  GlobalReplicationGroup = list(
    GlobalReplicationGroupId = "string",
    GlobalReplicationGroupDescription = "string",
    Status = "string",
    CacheNodeType = "string",
    Engine = "string",
    EngineVersion = "string",
    Members = list(
      list(
        ReplicationGroupId = "string",
        ReplicationGroupRegion = "string",
        Role = "string",
        AutomaticFailover = "enabled"|"disabled"|"enabling"|"disabling",
        Status = "string"
      )
    ),
    ClusterEnabled = TRUE|FALSE,
    GlobalNodeGroups = list(
      list(
        GlobalNodeGroupId = "string",
        Slots = "string"
      )
    ),
    AuthTokenEnabled = TRUE|FALSE,
    TransitEncryptionEnabled = TRUE|FALSE,
    AtRestEncryptionEnabled = TRUE|FALSE,
    ARN = "string"
  )
)

Arguments

GlobalReplicationGroupId

[required] The name of the Global Datastore

PrimaryRegion

[required] The AWS region of the primary cluster of the Global Datastore

PrimaryReplicationGroupId

[required] The name of the primary replication group

Request syntax

svc$failover_global_replication_group(
  GlobalReplicationGroupId = "string",
  PrimaryRegion = "string",
  PrimaryReplicationGroupId = "string"
)