Serverless framework custom Lambda function

Currently, I am using aws code sign to sign the code before pushing, so that genuine code will be running on Lambda funcions.
I am using this plugin “@ioiotv/serverless-aws-signer” for all my serverless.yml file and it works fine for all pre-defined Lambda function.

My issue is, this plugin is not working for custom function which crated using cloudformation.

Can anyone help me how to configure CodeSign part for Custom Lambda functions using serverless framework?

I’m going to check out SAM, thanks for the advice. I just inherited some lambdas managed via Serverless, and I’m new to the process. Kodi