Helper method to construct lambda name based on the rule specified in doc string of
        boto_apigateway.api_present function

def _lambda_name(self, resourcePath, httpMethod):
        '''
        Helper method to construct lambda name based on the rule specified in doc string of
        boto_apigateway.api_present function
        '''
        lambda_name = self._lambda_funcname_format.format(stage=self._stage_name,
                                                          api=self.rest_api_name,
                                                          resource=resourcePath,
                                                          method=httpMethod)
        lambda_name = lambda_name.strip()
        lambda_name = re.sub(r'{|}', '', lambda_name)
        lambda_name = re.sub(r'\s+|/', '_', lambda_name).lower()
        return re.sub(r'_+', '_', lambda_name)