Is it possible to set up the trusted_networks by Hostname?

I use the Amazon echo to control different switches. (according to Amazon Alexa Smart Home Skill integration).

I always get the notification: Login attempt or request with invalid authentication from IP is varied.

When I check those IP, I found they’re from Amazon AWS (Hostname: The start of the hostname can be different according to IP but it always end with

Are there any possibilities to set up the trusted_networks by Hostname e.g. *

Or are there any solutions to prevent notifications for those IPs?

I use Alexa a lot using that skill and have never had any login attempts from amazon servers.