title: Lambda function to whitelist ip in security group
body: <h2>Usage :</h2>
  <p>We have an admin panel (web application) and their are around 10 admin who access this application, some of them access panel from home where they are using a dynamic ip.</p>
  <h2>Problem :</h2>
  <p>We do not want to allow https from all in security group but as all admins having dynamic ip we are unable to control inbound traffic by manually change in security group.</p>
  <h1>Solution Required :</h1>
  <p>A lambda function or other solution which have an endpoint(aws url) where admins, login with preset credentials which automatically whitelist their IP address for 9 hours in security group.</p>
  <h2>Additional :</h2>
  <p>Would be great if solution along with IAM policy for role.</p>
  <h2>Thanks</h2>