AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-lambda/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 specifies the validation failure action for signature mismatch or expiry.

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)


432
433
434
435
436
# File 'gems/aws-sdk-lambda/lib/aws-sdk-lambda/types.rb', line 432

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