Ejemplo n.º 1
0
 def __init__(self,
              ctx_node,
              aws_config=None,
              resource_id=None,
              client=None,
              logger=None):
     S3Base.__init__(self, ctx_node, aws_config, resource_id, client,
                     logger)
     self.type_name = RESOURCE_TYPE
Ejemplo n.º 2
0
 def __init__(self,
              ctx_node,
              aws_config=None,
              resource_id=None,
              client=None,
              logger=None):
     S3Base.__init__(self, ctx_node, aws_config, resource_id, client,
                     logger)
     self.type_name = RESOURCE_TYPE
     self.resource_config = self.get_resource_config(ctx_node)
     self._bucket_name = self.resource_config[BUCKET] if \
         self.resource_config.get(BUCKET) else None