Thanks For the Response:
Public Access
Make PostgreSQL instance publicly accessible in AWS/GCP console.
Add inbound rule to allow traffic from Azure Database for PostgreSQL's IP/domain (port 5432).
Private Access
Use private link (ExpressRoute, VPN, Direct Connect, etc.) between source cloud and Azure.
In AWS/GCP, allow inbound traffic from Azure VNet IP range on port 5432.
In Azure:
Create VNet in same region as Azure DB.
Allow outbound to source PostgreSQL IP (port 5432).
Allow inbound from source cloud to Azure DB IP range.
Request to refer the below documents: