def main()

in scripts/vpn-endpoint-security-resource-handler.py [0:0]


def main(event, context):
  
  logger.info(event)
  
  #installDepCommands = ['pip3 install pip awscli --upgrade --no-cache-dir --ignore-installed --target=/tmp/']
  #runCommandSet(installDepCommands)
  
  if event['RequestType'] == 'Delete':
    deleteCert(event, context)
  elif event['RequestType'] == 'Create':
    createCert(event, context)