Merge pull request #1643 from alanjds/patch-1
LambdaVersion providing ARN on __repr__
This commit is contained in:
commit
e3ff6601bf
@ -445,6 +445,9 @@ class LambdaVersion(BaseModel):
|
||||
def __init__(self, spec):
|
||||
self.version = spec['Version']
|
||||
|
||||
def __repr__(self):
|
||||
return str(self.logical_resource_id)
|
||||
|
||||
@classmethod
|
||||
def create_from_cloudformation_json(cls, resource_name, cloudformation_json,
|
||||
region_name):
|
||||
|
Loading…
Reference in New Issue
Block a user