Skip to content

CodeSigningPolicies

Source code in docs_src/capo_lambda/types/code_signing_policies.py
class CodeSigningPolicies(TypedDict, closed=True):
    untrusted_artifact_on_deployment: NotRequired[
        "capo_lambda.types.code_signing_policy.CodeSigningPolicy"
    ]
    """<p>Code signing configuration policy for deployment validation failure. If you set the policy to <code>Enforce</code>, Lambda blocks the deployment request if signature validation checks fail. If you set the policy to <code>Warn</code>, Lambda allows the deployment and issues a new Amazon CloudWatch metric (<code>SignatureValidationErrors</code>) and also stores the warning in the CloudTrail log.</p> <p>Default value: <code>Warn</code> </p>"""

untrusted_artifact_on_deployment instance-attribute

untrusted_artifact_on_deployment: NotRequired[CodeSigningPolicy]

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 to Warn, Lambda allows the deployment and issues a new Amazon CloudWatch metric (SignatureValidationErrors) and also stores the warning in the CloudTrail log.

Default value: Warn