Skip to content

Returns details about the reserved concurrency configuration for a function

Description

Returns details about the reserved concurrency configuration for a function. To set a concurrency limit for a function, use put_function_concurrency.

Usage

lambda_get_function_concurrency(FunctionName)

Arguments

  • FunctionName

    [required] The name or ARN of the Lambda function.

    Name formats

    • Function name – my-function.
    • Function ARN – arn:aws:lambda:us-west-2:123456789012:function:my-function.
    • Partial ARN – 123456789012:function:my-function.

    The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.

Value

A list with the following syntax:

list(
  ReservedConcurrentExecutions = 123
)

Request syntax

svc$get_function_concurrency(
  FunctionName = "string"
)

Examples

# The following example returns the reserved concurrency setting for a
# function named my-function.
svc$get_function_concurrency(
  FunctionName = "my-function"
)