Very simple question — how to list aws lambda applications using cli?
I’m following:
To get information about applications
The following
list-applications
example displays information about all applications that are associated with the user’s AWS account.aws deploy list-applications
And this is what I get:
$ aws deploy list-applications
applications: []
However, I have many aws lambda applications:
how to list them using cli?
UPDATE:
I’m aware of the aws lambda list-functions
command, however, it is not the ~functions~ but the applications that I need to list (as functions and the applications are named differently):
2
Answers
You are looking for:
This query will list all the details about your lambda, to list only the FunctionNames, or FunctionArns, you have to use:
You can also filter by region for this you can use for example:
aws deploy list-applications
is used to list all of the applications in an AWS CodeDeploy deployment group.Edit
This is not possible, there are no commands to list the lambda applications, because:
AWS Lambda applications
In fact, you can get the name of your application from CloudFormation:
but is it a good idea, I don’t know ?!
You should use
aws lambda list-functions
to list all functions.aws deploy list-applications
lists all CodeDeploy applications.All aws-cli calls have the format
aws <service> <operation>
, e.g.aws lambda list-functions
– AWS Lambdaaws deploy list-applications
– AWS CodeDeployaws s3 ls
– S3You can view all available services here – https://awscli.amazonaws.com/v2/documentation/api/2.1.29/reference/index.html#available-services