Skip to content

Latest commit

 

History

History
59 lines (36 loc) · 1.84 KB

File metadata and controls

59 lines (36 loc) · 1.84 KB

MongoDB::Atlas::FederatedDatabaseInstance ReadPreference

Syntax

To declare this entity in your AWS CloudFormation template, use the following syntax:

JSON

{
    "Mode" : String,
    "MaxStalenessSeconds" : String,
    "TagSets" : [ [ TagSet, ... ], ... ]
}

YAML

Mode: String
MaxStalenessSeconds: String
TagSets: 
      - 
      - TagSet

Properties

Mode

"primary" "primaryPreferred" "secondary" "secondaryPreferred" "nearest" Read preference mode that specifies to which replica set member to route the read requests.

Required: No

Type: String

Update requires: No interruption

MaxStalenessSeconds

Maximum replication lag, or staleness, for reads from secondaries.

Required: No

Type: String

Update requires: No interruption

TagSets

List that contains tag sets or tag specification documents. If specified, Atlas Data Federation routes read requests to replica set member or members that are associated with the specified tags.

Required: No

Type: List of List of TagSet

Update requires: No interruption