Exemplo n.º 1
0
 def process_bucket(self, f, b):
     from c7n.mu import BucketNotification
     source = BucketNotification({}, self.manager.session_factory, b)
     return source.add(f)
Exemplo n.º 2
0
 def process_bucket(self, func, bucket, account_id, session_factory):
     from c7n.mu import BucketNotification
     source = BucketNotification(
         {'account_s3': account_id}, session_factory, bucket)
     return source.add(func)
Exemplo n.º 3
0
 def process_bucket(self, func, bucket, account_id, session_factory):
     from c7n.mu import BucketNotification
     source = BucketNotification({'account_s3': account_id},
                                 session_factory, bucket)
     return source.add(func)
Exemplo n.º 4
0
 def process_bucket(self, f, b):
     from c7n.mu import BucketNotification
     source = BucketNotification({}, self.manager.session_factory, b)
     return source.add(f)