code: def _get_properties(self, logical_id):
          
  
          if logical_id not in self.by_resource:
              self.by_resource[logical_id] = self.Properties(apis=[],
                                                             # Use a set() to be able to easily de-dupe
                                                             binary_media_types=set(),
                                                             cors=None)
  
          return self.by_resource[logical_id]
docs: Returns the properties of resource with given logical ID. If a resource is not found, then it returns an
          empty data.
  
          Parameters
          ----------
          logical_id : str
              Logical ID of the resource
  
          Returns
          -------
          samcli.commands.local.lib.sam_api_provider.ApiCollector.Properties
              Properties object for this resource.