title: How to make Aamzon API Gateway accept requests only from specific host
body: <p>So my problem is I have a lambda function created in AWS Lambda and is linked to the api gateway. So I want to make sure the request to the lambda function only happens throug my domain www.example.com</p>
  
  <p>In this domain I make a request to run the serverless lambda function to perform a specific task.</p>
  
  <p>Is there a way to ensure the api request is accepted only from my domain or host.</p>
  
  <p>Also I make use of Python 2.7 to write the lambda function if there is any alternative please do suggest me, I am new to python and AWS Lambda.</p>