Class UntrustedArtifactOnDeployment
Code signing configuration policy for deployment validation failure.
Inheritance
System.Object
UntrustedArtifactOnDeployment
Namespace: Amazon.CDK.AWS.Lambda
Assembly: Amazon.CDK.AWS.Lambda.dll
Syntax (csharp)
public sealed class UntrustedArtifactOnDeployment : Enum
Syntax (vb)
Public NotInheritable Class UntrustedArtifactOnDeployment
Inherits
Enum
Synopsis
Fields
ENFORCE | Lambda blocks the deployment request if signature validation checks fail. |
value__ | |
WARN | Lambda allows the deployment of the code package, but issues a warning. |
Fields
ENFORCE
Lambda blocks the deployment request if signature validation checks fail.
public const UntrustedArtifactOnDeployment ENFORCE
Field Value
Type | Description |
---|---|
UntrustedArtifactOnDeployment |
value__
public int value__
Field Value
Type | Description |
---|---|
System.Int32 |
WARN
Lambda allows the deployment of the code package, but issues a warning.
public const UntrustedArtifactOnDeployment WARN
Field Value
Type | Description |
---|---|
UntrustedArtifactOnDeployment |
Remarks
Lambda issues a new Amazon CloudWatch metric, called a signature validation error and also stores the warning in CloudTrail.