Is there any way to invoke the Lambda function in which we send the IP of the current system through POST API Request to add it into EC2 instance Security Group, so that IP is automatl=icly added to the security group, and only those IP's can ssh into ec2 instances?
i.e making automation by using AWS API GATEWAY + AWS LAMBDA