| Copyright | (c) 2013-2021 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
Amazonka.Lambda.Types.CodeSigningPolicies
Description
Documentation
data CodeSigningPolicies Source #
Code signing configuration policies specify the validation failure action for signature mismatch or expiry.
See: newCodeSigningPolicies smart constructor.
Constructors
| CodeSigningPolicies' | |
Fields
| |
Instances
newCodeSigningPolicies :: CodeSigningPolicies Source #
Create a value of CodeSigningPolicies with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:untrustedArtifactOnDeployment:CodeSigningPolicies', codeSigningPolicies_untrustedArtifactOnDeployment - 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 creates a CloudWatch log.
Default value: Warn
codeSigningPolicies_untrustedArtifactOnDeployment :: Lens' CodeSigningPolicies (Maybe CodeSigningPolicy) Source #
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 creates a CloudWatch log.
Default value: Warn