

Enabling AWS API Gateway CloudWatch logging
source link: https://www.kevinhooke.com/2021/10/23/enabling-aws-api-gateway-cloudwatch-logging/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

Enabling AWS API Gateway CloudWatch logging
I deployed a new Lamdba with API Gateway, and when I tried turning on the CloudWatch logging for this API Gateway from the console:
… I got this error that I haven’t seen before:
Turns out per the steps on this page, you need to create an IAM role with API Gateway as the Trusted Entity, and attach the managed policy ‘AmazonAPIGatewayPushToCloudWatchLogs’ :
Add the ARN for the role you created to the Settings for the API you are working with here:
Done!
CategoriesKev's BlogTagsapi gateway, aws, cloudwach, iam
Leave a Reply Cancel reply
Your email address will not be published. Required fields are marked *
Comment
Name *
Email *
Website
Save my name, email, and website in this browser for the next time I comment.
Notify me of follow-up comments by email.
Notify me of new posts by email.
This site uses Akismet to reduce spam. Learn how your comment data is processed.
Post navigation
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK