CLI로 GetFunctionConcurrency 사용 - AWS Lambda

CLI로 GetFunctionConcurrency 사용

다음 코드 예시는 GetFunctionConcurrency의 사용 방법을 보여 줍니다.

CLI
AWS CLI

함수에 대한 예약된 동시성 설정을 보려면 다음을 수행합니다.

다음 get-function-concurrency 예시에서는 지정된 함수에 대한 예약된 동시성 설정을 가져옵니다.

aws lambda get-function-concurrency \ --function-name my-function

출력:

{ "ReservedConcurrentExecutions": 250 }
PowerShell
Tools for PowerShell V4

예제 1: 이 예제에서는 Lambda 함수에 대한 예약된 동시성을 가져옵니다.

Get-LMFunctionConcurrency -FunctionName "MylambdaFunction123" -Select *

출력:

ReservedConcurrentExecutions ---------------------------- 100
  • API 세부 정보는 AWS Tools for PowerShell Cmdlet 참조(V4)GetFunctionConcurrency를 참조하세요.

AWS SDK 개발자 가이드 및 코드 예시의 전체 목록은 AWS SDK에서 Lambda 사용 섹션을 참조하세요. 이 주제에는 시작하기에 대한 정보와 이전 SDK 버전에 대한 세부 정보도 포함되어 있습니다.