(aws_lambda): execution role example uses wrong service principal #16427
Labels
@aws-cdk/aws-lambda
Related to AWS Lambda
cause/not-a-bug
Not a bug (might still be a documentation issue, might still need work)
docs/inline
Related to inline documentation of the API Reference
documentation
This is a problem with documentation.
p2
https://docs.aws.amazon.com/cdk/api/latest/docs/aws-lambda-readme.html
https://github.com/aws/aws-cdk/blob/master/packages/%40aws-cdk/aws-lambda/README.md
In the readme, the following code snippet is provided as an example of creating your own execution role for the lambda function:
I thought that the service principal should be lambda.amazonaws.com and not sns
I can attempt to create a PR for this, though I have never done that for such a project.
This is a 📕 documentation issue
The text was updated successfully, but these errors were encountered: