Interface CfnCodeSigningConfig.CodeSigningPoliciesProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnCodeSigningConfig.CodeSigningPoliciesProperty.Jsii$Proxy
- Enclosing class:
CfnCodeSigningConfig
@Stability(Stable)
public static interface CfnCodeSigningConfig.CodeSigningPoliciesProperty
extends software.amazon.jsii.JsiiSerializable
Code signing configuration policies specify the validation failure action for signature mismatch or expiry.
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();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forCfnCodeSigningConfig.CodeSigningPoliciesProperty
static final class
An implementation forCfnCodeSigningConfig.CodeSigningPoliciesProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
Code signing configuration policy for deployment validation failure.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getUntrustedArtifactOnDeployment
Code signing configuration policy for deployment validation failure.If you set the policy to
Enforce
, Lambda blocks the deployment request if signature validation checks fail. If you set the policy toWarn
, Lambda allows the deployment and creates a CloudWatch log.Default value:
Warn
Default: - "Warn"
- See Also:
-
builder
-