Set the physical resource ID property for the lambda model
This commit is contained in:
parent
a8384c0416
commit
e01d91b2d6
@ -231,6 +231,10 @@ class LambdaFunction(BaseModel):
|
||||
config.update({"VpcId": "vpc-123abc"})
|
||||
return config
|
||||
|
||||
@property
|
||||
def physical_resource_id(self):
|
||||
return self.function_name
|
||||
|
||||
def __repr__(self):
|
||||
return json.dumps(self.get_configuration())
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user