Google Documentation includes a check list which has the ToS
Especially read the first item on the list on that page.
For Amazon you should probably start here:
And look at "Certification and Badging&...
As of know they don’t have any restrictions as they give you permission to tether with your television music player and etc , they don’t have any problem by accessing your own product through Alexa or google assistant., if you can make effective product you can do that and on other hand you are just going to pass the voice command to Alexa and Alexa should ...