Merge pull request #1643 from alanjds/patch-1

LambdaVersion providing ARN on __repr__
This commit is contained in:
Steve Pulec 2018-05-29 22:40:00 -04:00 committed by GitHub
commit e3ff6601bf
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):