UntrustedArtifactOnDeployment

class aws_cdk.aws_lambda.UntrustedArtifactOnDeployment(value)

Bases: enum.Enum

Code signing configuration policy for deployment validation failure.

Attributes

ENFORCE

Lambda blocks the deployment request if signature validation checks fail.

WARN

Lambda allows the deployment of the code package, but issues a warning.

Lambda issues a new Amazon CloudWatch metric, called a signature validation error and also stores the warning in CloudTrail.