code: def connect_to_cloud_cdn(region=None):
      
      global default_region
      # (nicholaskuechler/keekz) 2017-11-30 - Not a very elegant solution...
      # Cloud CDN only exists in 2 regions: DFW and LON
      # But this isn't playing nicely with the identity service catalog results.
      # US auth based regions (DFW, ORD, IAD, SYD, HKG) need to use CDN in DFW
      # UK auth based regions (LON) need to use CDN in LON
      if region in ['DFW', 'IAD', 'ORD', 'SYD', 'HKG']:
          return _create_client(ep_name="cdn", region="DFW")
      elif region in ['LON']:
          return _create_client(ep_name="cdn", region="LON")
      else:
          if default_region in ['DFW', 'IAD', 'ORD', 'SYD', 'HKG']:
              return _create_client(ep_name="cdn", region="DFW")
          elif default_region in ['LON']:
              return _create_client(ep_name="cdn", region="LON")
          else:
              return _create_client(ep_name="cdn", region=region)
docs: Creates a client for working with cloud loadbalancers.