def get_destination_arn(self): return troposphere.Ref( self.bucket_notification_configuration.project.reference( utils.lambda_friendly_name_to_grn( self.settings['lambda'] ) ) )
def get_destination_arn(self): return troposphere.Ref( self.bucket_notification_configuration.project.reference( utils.lambda_friendly_name_to_grn( self.settings['lambda'] ) ) )
def get_function_name(self, name): """Returns a reference to the current alias of the lambda which will process this stream.""" return self.project.reference( utils.lambda_friendly_name_to_grn( name ) )
def get_function_name(self, resource): """Returns a reference to the current alias of the lambda which will process this stream.""" return self.project.reference( utils.lambda_friendly_name_to_grn(resource['integration']['lambda']) )
def get_function_name(self, resource): """Returns a reference to the current alias of the lambda which will process this stream.""" return self.project.reference( utils.lambda_friendly_name_to_grn(resource['integration']['lambda']) )
def get_function_name(self, name): """Returns a reference to the current alias of the lambda which will process this stream.""" return self.project.reference(utils.lambda_friendly_name_to_grn(name))