示例#1
0
 def __init__(self, ctx_node, resource_id=None, client=None, logger=None):
     AWSCloudwatchBase.__init__(
         self,
         ctx_node,
         resource_id,
         client or Boto3Connection(ctx_node).client('events'),
         logger)
     self.type_name = RESOURCE_TYPE
 def setUp(self):
     super(TestAWSCloudwatchBase, self).setUp()
     self.base = AWSCloudwatchBase("ctx_node",
                                   resource_id=True,
                                   client=True,
                                   logger=None)
示例#3
0
 def __init__(self, ctx_node, resource_id=None, client=None, logger=None):
     AWSCloudwatchBase.__init__(self, ctx_node, resource_id, client, logger)
     self.type_name = RESOURCE_TYPE