DocumentDB Specific Guide
This section provides detailed setup guides specific to Amazon DocumentDB.
Adjusting Connection Cluster Structure for Cloud Synchronization
This feature allows you to check cluster information created through cloud synchronization and access cluster endpoints, read-only endpoints, and instance endpoints according to their purposes, designed to work efficiently even in multi-host environments. This feature can be configured in Administrator Page > Databases > DB Connections.
After cloud synchronization, as shown in the screen below, it shows multi-host connection strings using Cluster endpoint address for the first cluster, read-only endpoint address for the second cluster, and instance endpoint address for the third cluster. It is recommended to use Cluster endpoint rather than connecting through instance endpoint.

Using Amazon DocumentDB TLS(SSL)
When creating a new DocumentDB in AWS, you can use TLS for transport encryption and users can optionally turn off this option. Data encryption in transit for Amazon DocumentDB clusters is managed through TLS parameters in cluster parameter groups. You can manage Amazon DocumentDB cluster TLS settings using AWS Management Console or AWS Command Line Interface (AWS CLI). Reference 
When TLS is enabled in Amazon DocumentDB, a CA bundle certificate provided by AWS is required for connection.
Registering CA Bundle Certificate
AWS provides two types: global bundle certificate that can be used jointly regardless of region and region-specific bundle certificate .
- Download the bundle certificate.
 - Navigate to Databases > Connection Management > SSL Configurations menu in QueryPie administrator console.
 

- Click the 
Create SSLbutton in the top right. - Specify a name in the 
Namefield for easy identification. - Select 
RequiredinSSL Mode. - Open the downloaded bundle certificate (.pem file) in a text editor, copy the entire content, and paste it into the 
CA Certificatefield. - Click the 
Savebutton to save the settings. 

Mapping Certificate to DocumentDB
- Navigate to Administrator > Databases > Connection Management > DB Connections menu.
 - Select the DocumentDB connection created through cloud synchronization.
 - Scroll down to move to the SSL / SSH Setting tab.
 - Check the 
Use SSLcheckbox to enable it, then select the setting name registered in the previous step (Registering CA Bundle Certificate) from SSL Configurations. 

- Click the 
Save Changesbutton in the top right to save the settings.