AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Class: Aws::DocDB::Types::FailoverDBClusterMessage

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-docdb/lib/aws-sdk-docdb/types.rb

Overview

Note:

When making an API call, you may pass FailoverDBClusterMessage data as a hash:

{
  db_cluster_identifier: "String",
  target_db_instance_identifier: "String",
}

Represents the input to FailoverDBCluster.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#db_cluster_identifierString

A cluster identifier to force a failover for. This parameter is not case sensitive.

Constraints:

  • Must match the identifier of an existing DBCluster.

^

Returns:

  • (String)


4003
4004
4005
4006
4007
4008
# File 'gems/aws-sdk-docdb/lib/aws-sdk-docdb/types.rb', line 4003

class FailoverDBClusterMessage < Struct.new(
  :db_cluster_identifier,
  :target_db_instance_identifier)
  SENSITIVE = []
  include Aws::Structure
end

#target_db_instance_identifierString

The name of the instance to promote to the primary instance.

You must specify the instance identifier for an Amazon DocumentDB replica in the cluster. For example, mydbcluster-replica1.

Returns:

  • (String)


4003
4004
4005
4006
4007
4008
# File 'gems/aws-sdk-docdb/lib/aws-sdk-docdb/types.rb', line 4003

class FailoverDBClusterMessage < Struct.new(
  :db_cluster_identifier,
  :target_db_instance_identifier)
  SENSITIVE = []
  include Aws::Structure
end