Interface CodeSigningPolicies.Builder

  • Method Details

    • untrustedArtifactOnDeployment

      CodeSigningPolicies.Builder untrustedArtifactOnDeployment(String 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 issues a new Amazon CloudWatch metric ( SignatureValidationErrors) and also stores the warning in the CloudTrail log.

      Default value: Warn

      Parameters:
      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 issues a new Amazon CloudWatch metric (SignatureValidationErrors) and also stores the warning in the CloudTrail log.

      Default value: Warn

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • untrustedArtifactOnDeployment

      CodeSigningPolicies.Builder untrustedArtifactOnDeployment(CodeSigningPolicy 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 issues a new Amazon CloudWatch metric ( SignatureValidationErrors) and also stores the warning in the CloudTrail log.

      Default value: Warn

      Parameters:
      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 issues a new Amazon CloudWatch metric (SignatureValidationErrors) and also stores the warning in the CloudTrail log.

      Default value: Warn

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: