Interface CfnCodeSigningConfig.ICodeSigningPoliciesProperty
Code signing configuration policies specify the validation failure action for signature mismatch or expiry.
Namespace: Amazon.CDK.AWS.Lambda
Assembly: Amazon.CDK.AWS.Lambda.dll
Syntax (csharp)
public interface ICodeSigningPoliciesProperty
Syntax (vb)
Public Interface ICodeSigningPoliciesProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Lambda;
var codeSigningPoliciesProperty = new CodeSigningPoliciesProperty {
UntrustedArtifactOnDeployment = "untrustedArtifactOnDeployment"
};
Synopsis
Properties
UntrustedArtifactOnDeployment | Code signing configuration policy for deployment validation failure. |
Properties
UntrustedArtifactOnDeployment
Code signing configuration policy for deployment validation failure.
string UntrustedArtifactOnDeployment { get; }
Property Value
System.String
Remarks
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 creates a CloudWatch log.
Default value: Warn