1 Answer
- Newest
- Most votes
- Most comments
1
In order to use Interface Endpoints you must specify the endpoint name in your code. If you don't specify it then the connection will be made to the default endpoint (for the region you've configured), not the private endpoint you've created.
Relevant content
- asked 5 years ago
- Accepted Answerasked 18 days ago
- AWS OFFICIALUpdated 7 months ago
- AWS OFFICIALUpdated 7 months ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 6 months ago
okay, does the endpoint can be deduced from the SQS URL? If I use for e.g https://sqs.us-east-1.amazonaws.com/<account_id>/<my_queue_name> in SDK v1 and sqs.us-east-1.amazonaws.com is my Private DNS name for the VPC endpoint. Does that mean I don't have to set the endpoint in the SQS client of SDK and it can be deduced from the SQS URL itself? and it will not use the default service endpoint although it's same as the private DNS name
I can't say how individual libraries will determine the endpoint even if it can be determined from the service URL (other services don't work that way). In general private endpoints have to be explicitly specified to the library.