Add physical_resource_id to ECS task definition
This commit is contained in:
parent
5fe575b6ed
commit
4636a2afc3
2 changed files with 10 additions and 1 deletions
|
|
@ -109,6 +109,10 @@ class TaskDefinition(BaseObject):
|
|||
del response_object['arn']
|
||||
return response_object
|
||||
|
||||
@property
|
||||
def physical_resource_id(self):
|
||||
return self.arn
|
||||
|
||||
@classmethod
|
||||
def create_from_cloudformation_json(cls, resource_name, cloudformation_json, region_name):
|
||||
properties = cloudformation_json['Properties']
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue