CodeSigningPolicies
¶
Used by
Source code in docs_src/capo_lambda/types/code_signing_policies.py
untrusted_artifact_on_deployment
instance-attribute
¶
untrusted_artifact_on_deployment: NotRequired[CodeSigningPolicy]
Code signing configuration policy for deployment validation failure. If you set the policy to Enforce, Lambda blocks the deployment request if signature validation checks fail. If you set the policy to Warn, Lambda allows the deployment and issues a new Amazon CloudWatch metric (SignatureValidationErrors) and also stores the warning in the CloudTrail log.
Default value: Warn