public static interface CfnCodeSigningConfig.CodeSigningPoliciesProperty
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() |
java.lang.String |
getUntrustedArtifactOnDeployment()
Code signing configuration policy for deployment validation failure.
|
java.lang.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
static CfnCodeSigningConfig.CodeSigningPoliciesProperty.Builder builder()