Redirect simple site dns and lunched AWS lambda

Hi,
We are trying to learn Kong.
Our current simple use case is to use Kong to execute AWS lambda or any bash/python script to start AWS EC2 when we are browsing to our dns like www.mydomain.com.
(We will redirect the DNS to Kong)
We also want to that until the EC2 will start and the nginx there will be up and running that Kong will redirect to a page that will say somthing like “the site is being launching” and then it will redirect the traffic to the site .

Is it possible to accived with Kong?