When a VPC is used with an elasticsearch Domain, the resulting connections object does not have a default port. However, when enforceHttps is set, we know communications will be over port 443.
Use Case
So I don't have to manually specify a port when setting up VPC connections to the Domain.
Proposed Solution
Include a defaultPort when constructing the connections object if enforceHttps is true.
This is a 🚀 Feature Request
When a VPC is used with an elasticsearch Domain, the resulting connections object does not have a default port. However, when enforceHttps is set, we know communications will be over port 443.
Use Case
So I don't have to manually specify a port when setting up VPC connections to the Domain.
Proposed Solution
Include a defaultPort when constructing the connections object if enforceHttps is true.
This is a 🚀 Feature Request