Constructor
new EC2MultiRegionTranslator()
Methods
logError(address, err)
Log method called to log errors that occurred while performing dns resolution.
You can assign your own method to the class instance to do proper logging.
Parameters:
Name | Type | Description |
---|---|---|
address |
String | |
err |
Error |
translate()
Addresses in the same EC2 region are translated to private IPs and addresses in
different EC2 regions (than the client) are unchanged