Home > Software design >  Writing Java code to check how many instances of an AWS function are running
Writing Java code to check how many instances of an AWS function are running

Time:11-23

I want to write some Java code to see how many instances of a specific AWS Lambda function are currently running, but I can't find an appropriate API to do this.

I've searched the web (AWS Documentation, StackOverflow, and general Google searches) but the only information I can find describes how to use the AWS Web Interface to view graphs. This is not what I need.

Does such an API exist? I imagine that the AWS dashboard uses some API to get its statistics, but maybe this is isn't publicly available?

CodePudding user response:

We can get this information via enter image description here.

Just a small catch that this information has a lag of 60 seconds. To get the number of concurrent connections at any instant, there is no direct way.

  • Related