Interface UpdateFunctionCommandInputProtected

The input for UpdateFunctionCommand.

Hierarchy

Properties

asyncInvokeConfig?: AsyncInvokeConfig
environmentVariables?: Record<string, string>
functionName: undefined | string

The user-friendly name of the function.

idempotencyKey?: string
issueManagerName?: string
logRetention?: number

Sets the log retention of the function. Defaults to THREE_MONTHS.

packageBucket?: string
packageKey?: string
packageSha256?: string
reservedConcurrentExecutions?: number

The number of simultaneous executions to reserve for the function.

Functions run with unreserved concurrency by default (-1), and will scale up automatically up to the overall account's unreserved concurrency limit. This limit is shared among all functions that are not explicitly configured to run with reserved concurrency.

A value greater than 1 reserves the respective amount of concurrency out of the account's overall concurrency limit for exclusive use by the specified function. The function will still scale up according to load, but will never exceed the specified reserved concurrency limit. This reserved concurrency will not be available to other functions and account's available unreserved concurrency will be reduced by the same amount.

A value of 0 will prevent the function from running at all.

See also: the GetAccountSettings operation can be used to query the account's concurrency limits and more.

timeout?: number