code: def impacted_table(event):
      
      table = formatting.Table([
          "Type", "Id", "Hostname", "PrivateIp", "Label"
      ])
      for item in event.get('impactedResources', []):
          table.add_row([
              item.get('resourceType'),
              item.get('resourceTableId'),
              item.get('hostname'),
              item.get('privateIp'),
              item.get('filterLabel')
          ])
      return table
docs: Formats a basic impacted resources table