# UntrustedArtifactOnDeployment

Code signing configuration policy for deployment validation failure.

- Source: [`aws-lambda/lib/code-signing-config.ts`](https://github.com/aws/aws-cdk/blob/v2.275.0/packages/aws-cdk-lib/aws-lambda/lib/code-signing-config.ts#L15)

## Members

| Member | Description |
| --- | --- |
| `ENFORCE` | Lambda blocks the deployment request if signature validation checks fail. |
| `WARN` | Lambda allows the deployment of the code package, but issues a warning. |

## Referenced by

- [`CodeSigningConfigProps`](/v2/docs/aws-cdk-lib.aws_lambda.CodeSigningConfigProps).untrustedArtifactOnDeployment
