Ejemplo n.º 1
0
 def get_destination_arn(self):
     return troposphere.Ref(
         self.bucket_notification_configuration.project.reference(
             utils.lambda_friendly_name_to_grn(
                 self.settings['lambda']
             )
         )
     )
Ejemplo n.º 2
0
 def get_destination_arn(self):
     return troposphere.Ref(
         self.bucket_notification_configuration.project.reference(
             utils.lambda_friendly_name_to_grn(
                 self.settings['lambda']
             )
         )
     )
Ejemplo n.º 3
0
 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
         )
     )
Ejemplo n.º 4
0
 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'])
     )
Ejemplo n.º 5
0
 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'])
     )
Ejemplo n.º 6
0
 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))