RDS for PostgreSQL
Parameter | Type | Required? | Example | Description |
Parameter | Type | Required? | Example | Description |
InstanceId | String | Yes | postgres-0af11cd4**** | Instance ID. |
EndpointId | String | Yes | postgres-0af11cd4****-cluster | Instance ID. |
ReadOnlyNodeDistributionType | String | No | Default | Read-only weight allocation mode. Values:
|
ReadOnlyNodeWeight | No | [ {"NodeType" : "Primary", "Weight" : 100 }, { "NodeId" : "postgres-c23003b1****-rof359", "Weight" : 100 } ] | Custom read weight allocation, which means passing the read request weights of the primary and read-only nodes. Increment by 100, with a maximum value of 40000. tip
| |
WriteNodeHaltWriting | Boolean | No | false | Specifies whether to prohibit the endpoint from sending write requests to the write node (currently, only the primary node is the write node). Values:
tip To ensure that write traffic can be properly handled, this configuration can only be enabled when the instance has another read/write endpoint available. |
Parameter | Type | Required? | Example | Description |
Parameter | Type | Required? | Example | Description |
NodeId | String | No | postgres-c23003b1****-ojmo | Read-only node requires passing in NodeId. tip No NodeId is needed for the primary node. |
NodeType | String | Yes | Primary | Node type. Values:
|
Weight | Integer | Yes | 100 | The read weight of the node, increasing by 100, with a maximum value of 40,000. tip Weights cannot all be set to 0. |