Class: Aws::Lambda::Types::CodeSigningPolicies

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-lambda/types.rb

Overview

Note:

When making an API call, you may pass CodeSigningPolicies data as a hash:

{
  untrusted_artifact_on_deployment: "Warn", # accepts Warn, Enforce
}

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

[1]: docs.aws.amazon.com/lambda/latest/dg/configuration-codesigning.html#config-codesigning-policies

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#untrusted_artifact_on_deploymentString

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`

Returns:

  • (String)

446
447
448
449
450
# File 'lib/aws-sdk-lambda/types.rb', line 446

class CodeSigningPolicies < Struct.new(
  :untrusted_artifact_on_deployment)
  SENSITIVE = []
  include Aws::Structure
end