static/cft/c1as-lambda-workshop.yaml [394:406]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Type: AWS::Lambda::Function
    Properties:
      Code:
        ZipFile: |+
          import os
          import json
          import urllib3
          HTTP = urllib3.PoolManager()
          def main_handler(event, context):
              web_app_url = os.environ['WEB_APP_URL']
              backend_url = f'{web_app_url}/backend/'
              resp = HTTP.request('GET', backend_url)
              message = json.loads(resp.data).get('message')
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



static/cft/c1as-lambda-workshop.yaml [461:473]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Type: AWS::Lambda::Function
    Properties:
      Code:
        ZipFile: |+
          import os
          import json
          import urllib3
          HTTP = urllib3.PoolManager()
          def main_handler(event, context):
              web_app_url = os.environ['WEB_APP_URL']
              backend_url = f'{web_app_url}/backend/'
              resp = HTTP.request('GET', backend_url)
              message = json.loads(resp.data).get('message')
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



