class Amazonite::Lambda::CodeSigningPolicies

Overview

Code signing configuration policies specify the validation failure action for signature mismatch or expiry.

Included Modules

Defined in:

lambda/code_signing_policies.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]
def self.new(untrusted_artifact_on_deployment : CodeSigningPolicy | Nil = nil) #

[View source]

Instance Method Detail

def ==(other : self) #
Description copied from class Reference

Returns true if this reference is the same as other. Invokes same?.


def hash(hasher) #
Description copied from class Reference

See Object#hash(hasher)


def untrusted_artifact_on_deployment : CodeSigningPolicy | Nil #

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


[View source]
def untrusted_artifact_on_deployment=(untrusted_artifact_on_deployment : CodeSigningPolicy | Nil) #

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


[View source]
def validate! : Nil #

[View source]