We have a NodeJS lambda project in CodeStar. We have gotten it to work, and we have secured the API with an API key.
Is it possible to add a Resource Policy for the API in the CloudFormation template? So we don't have to add a Resource Policy in the web console every time we create a new project/API.
We have tried but haven't gotten it to work, and we can't find any documentation.
Thanks!