Use GetFunctionConcurrency with a CLI - AWS SDK Code Examples

There are more AWS SDK examples available in the AWS Doc SDK Examples GitHub repo.

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

Example 1: This examples gets the Reserved concurrency for the Lambda Function

Get-LMFunctionConcurrency -FunctionName "MylambdaFunction123" -Select *

Output:

ReservedConcurrentExecutions ---------------------------- 100