Implement CloudFormation's physical_resource_id for Data Pipeline

This commit is contained in:
Hugo Lopes Tavares 2015-09-17 15:19:36 -04:00
commit dafddb094b
2 changed files with 9 additions and 1 deletions

View file

@ -30,6 +30,10 @@ class Pipeline(object):
self.objects = []
self.status = "PENDING"
@property
def physical_resource_id(self):
return self.pipeline_id
def to_meta_json(self):
return {
"id": self.pipeline_id,