You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::DocDB::Types::DBClusterMember

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

Overview

Contains information about an instance that is part of a DB cluster.

Instance Attribute Summary collapse

Instance Attribute Details

#db_cluster_parameter_group_statusString

Specifies the status of the DB cluster parameter group for this member of the DB cluster.

Returns:

  • (String)


1211
1212
1213
1214
1215
1216
1217
# File 'gems/aws-sdk-docdb/lib/aws-sdk-docdb/types.rb', line 1211

class DBClusterMember < Struct.new(
  :db_instance_identifier,
  :is_cluster_writer,
  :db_cluster_parameter_group_status,
  :promotion_tier)
  include Aws::Structure
end

#db_instance_identifierString

Specifies the instance identifier for this member of the DB cluster.

Returns:

  • (String)


1211
1212
1213
1214
1215
1216
1217
# File 'gems/aws-sdk-docdb/lib/aws-sdk-docdb/types.rb', line 1211

class DBClusterMember < Struct.new(
  :db_instance_identifier,
  :is_cluster_writer,
  :db_cluster_parameter_group_status,
  :promotion_tier)
  include Aws::Structure
end

#is_cluster_writerBoolean

A value that is true if the cluster member is the primary instance for the DB cluster and false otherwise.

Returns:

  • (Boolean)


1211
1212
1213
1214
1215
1216
1217
# File 'gems/aws-sdk-docdb/lib/aws-sdk-docdb/types.rb', line 1211

class DBClusterMember < Struct.new(
  :db_instance_identifier,
  :is_cluster_writer,
  :db_cluster_parameter_group_status,
  :promotion_tier)
  include Aws::Structure
end

#promotion_tierInteger

A value that specifies the order in which an Amazon DocumentDB replica is promoted to the primary instance after a failure of the existing primary instance.

Returns:

  • (Integer)


1211
1212
1213
1214
1215
1216
1217
# File 'gems/aws-sdk-docdb/lib/aws-sdk-docdb/types.rb', line 1211

class DBClusterMember < Struct.new(
  :db_instance_identifier,
  :is_cluster_writer,
  :db_cluster_parameter_group_status,
  :promotion_tier)
  include Aws::Structure
end