Code signing for AWS Lambda helps ensure that only trusted code runs in a Lambda function. When enabled, code signing checks every deployment and verifies that the package is signed by a trusted source.
In AWS Console -
In Terraform -
References:
https://docs.aws.amazon.com/lambda/latest/dg/configuration-codesigning.html
https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/lambda_function#code_signing_config_arn
https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/lambda_code_signing_config