@Stability(value=Stable)
public static interface CfnCodeSigningConfig.CodeSigningPoliciesProperty
extends software.amazon.jsii.JsiiSerializable
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.lambda.*;
CodeSigningPoliciesProperty codeSigningPoliciesProperty = CodeSigningPoliciesProperty.builder()
.untrustedArtifactOnDeployment("untrustedArtifactOnDeployment")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnCodeSigningConfig.CodeSigningPoliciesProperty.Builder
A builder for
CfnCodeSigningConfig.CodeSigningPoliciesProperty |
static class |
CfnCodeSigningConfig.CodeSigningPoliciesProperty.Jsii$Proxy
An implementation for
CfnCodeSigningConfig.CodeSigningPoliciesProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnCodeSigningConfig.CodeSigningPoliciesProperty.Builder |
builder() |
String |
getUntrustedArtifactOnDeployment()
Code signing configuration policy for deployment validation failure.
|
@Stability(value=Stable) @NotNull String getUntrustedArtifactOnDeployment()
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
@Stability(value=Stable) static CfnCodeSigningConfig.CodeSigningPoliciesProperty.Builder builder()
Copyright © 2023. All rights reserved.