LambdaVersion providing ARN on __repr__

Just a dirty patch
This commit is contained in:
Alan Justino da Silva 2018-05-15 15:13:01 -03:00 committed by GitHub
parent cb364eedc6
commit d4cc7f1399
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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):