cloudformation/firehoseStack.yaml [218:236]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
          const sourceObjectArray = ['connect-ccp-metric-worker.js','connect-streams-min.js','main.js','libphonenumber-js.min.js'];
          exports.handler = async (event, context) => {
              let HtmlFile = [
                  '<!DOCTYPE html>',
                  '<meta charset="UTF-8">',
                  '<html>',
                  '  <head>',
                  '    <script type="text/javascript" src="connect-streams-min.js"></script>',
                  '    <script type="text/javascript" src="libphonenumber-js.min.js"></script>',
                  '  </head>',
                  '  <body>',
                  '    <div id=containerDiv style="width: 400px;height: 800px;"></div>',
                  '  </body>'
              ];
              var result = {responseStatus: 'FAILED', responseData: {Data: 'Never updated'}};
              try {
                  console.log(`Received event with type ${event.RequestType}`);
                  await checkPreconditions(event, context);   
                  if(event.RequestType === 'Create' || event.RequestType === 'Update') {
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



cloudformation/frontend.yaml [266:284]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
          const sourceObjectArray = ['connect-ccp-metric-worker.js','connect-streams-min.js','main.js','libphonenumber-js.min.js'];
          exports.handler = async (event, context) => {
              let HtmlFile = [
                  '<!DOCTYPE html>',
                  '<meta charset="UTF-8">',
                  '<html>',
                  '  <head>',
                  '    <script type="text/javascript" src="connect-streams-min.js"></script>',
                  '    <script type="text/javascript" src="libphonenumber-js.min.js"></script>',
                  '  </head>',
                  '  <body>',
                  '    <div id=containerDiv style="width: 400px;height: 800px;"></div>',
                  '  </body>'
              ];
              var result = {responseStatus: 'FAILED', responseData: {Data: 'Never updated'}};
              try {
                  console.log(`Received event with type ${event.RequestType}`);
                  await checkPreconditions(event, context);   
                  if(event.RequestType === 'Create' || event.RequestType === 'Update') {
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



