0
votes

Using the serverless toolkit (serverless.com), I'd like to deploy some AWS Lambda functions that are used for internal purposes only (private).

API Gateway events can be set to private requiring a key; however, the endpoint would still be exposed to the public and add overhead of gateway to invocations.

I was hoping to find some invocation event such as RPC.

What event type can I use with serverless to invoke a non-publicly exposed Lambda function during deploys in CodePipeline or manual invocation?

2

2 Answers

1
votes
0
votes

Remove the serverless event bindings/configuration for the Lambda function.

The function will deploy without setting up a dependency on another AWS service.