'API Gateway with EC2 Instance hosted API Integration

I am new to AWS I have hosted my API on EC2 Instance. Imported my API swagger file to Gateway. Now I want to call my EC2 instance API from API gateway how to integrate? should I choose integration type as HTTP, If yes then for each endpoint I have to map it manually in EndPoint section or should I integrate it with my EC2 instance

enter image description here

enter image description here



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source