Merge pull request #2156 from william-richard/set-lambda-function-physical-resource-id
Set lambda function physical resource id
This commit is contained in:
commit
8b2ddb7579
1 changed files with 4 additions and 0 deletions
|
|
@ -231,6 +231,10 @@ class LambdaFunction(BaseModel):
|
||||||
config.update({"VpcId": "vpc-123abc"})
|
config.update({"VpcId": "vpc-123abc"})
|
||||||
return config
|
return config
|
||||||
|
|
||||||
|
@property
|
||||||
|
def physical_resource_id(self):
|
||||||
|
return self.function_name
|
||||||
|
|
||||||
def __repr__(self):
|
def __repr__(self):
|
||||||
return json.dumps(self.get_configuration())
|
return json.dumps(self.get_configuration())
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue