---
title: "PUT /2020-06-30/functions/{FunctionName}/code-signing-config"
method: PUT
path: "/2020-06-30/functions/{FunctionName}/code-signing-config"
---

# PUT /2020-06-30/functions/{FunctionName}/code-signing-config

`PUT /2020-06-30/functions/{FunctionName}/code-signing-config`

Update the code signing configuration for the function. Changes to the code signing configuration take effect the next time a user tries to deploy a code package to the function.

## Path parameters

- `FunctionName` string, required

## Request body

- object
  - `CodeSigningConfigArn` string, required — The The Amazon Resource Name (ARN) of the code signing configuration.

## Response `200`

Success

- PutFunctionCodeSigningConfigResponse
  - `CodeSigningConfigArn` string, required — The The Amazon Resource Name (ARN) of the code signing configuration.
  - `FunctionName` string, required — <p>The name of the Lambda function.</p> <p class="title"> <b>Name formats</b> </p> <ul> <li> <p> <b>Function name</b> - <code>MyFunction</code>.</p> </li> <li> <p> <b>Function ARN</b> - <code>arn:aws:lambda:us-west-2:123456789012:function:MyFunction</code>.</p> </li> <li> <p> <b>Partial ARN</b> - <code>123456789012:function:MyFunction</code>.</p> </li> </ul> <p>The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.</p>

## Other responses

- `480` — ServiceException
- `481` — InvalidParameterValueException
- `482` — ResourceNotFoundException
- `483` — TooManyRequestsException
- `484` — ResourceConflictException
- `485` — CodeSigningConfigNotFoundException

---

[API](https://skmtc.net/aws/apis/lambda.md) · [All operations](https://skmtc.net/aws/apis/lambda/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aws/lambda/versions/2d9fde023ce9/schema)
