Services or capabilities described in AWS documentation might vary by Region. To see the differences applicable to the AWS European Sovereign Cloud Region, see the AWS European Sovereign Cloud User Guide.Use GetFunctionConcurrency with a CLI
The following code examples show how to use GetFunctionConcurrency.
- CLI
-
- AWS CLI
-
To view the reserved concurrency setting for a function
The following get-function-concurrency example retrieves the reserved concurrency setting for the specified function.
aws lambda get-function-concurrency \
--function-name my-function
Output:
{
"ReservedConcurrentExecutions": 250
}
- PowerShell
-
- Tools for PowerShell V4
-
Example 1: This examples gets the Reserved concurrency for the Lambda Function
Get-LMFunctionConcurrency -FunctionName "MylambdaFunction123" -Select *
Output:
ReservedConcurrentExecutions
----------------------------
100
- Tools for PowerShell V5
-
Example 1: This examples gets the Reserved concurrency for the Lambda Function
Get-LMFunctionConcurrency -FunctionName "MylambdaFunction123" -Select *
Output:
ReservedConcurrentExecutions
----------------------------
100
For a complete list of AWS SDK developer guides and code examples, see
Using Lambda with an AWS SDK.
This topic also includes information about getting started and details about previous SDK versions.