I am using serverless and AWS-Lambda. So I need a method where the name of the cloudwatch logs can be managed from the serverless.yml.
this is the yml for the function:
updatePermission:
handler: permissionupdate.handler
events:
- cloudwatchLog: 'updatePermission'
- http:
path: /
method: put
cors: true
integration: lambda
request:
parameters:
querystrings:
companyId: true
userId: true
No cloudwatch log name has formed with this title.