This error indicates that there is an issue with the permissions of your Lambda function in AWS CloudWatch Logs. To resolve this error, you need to ensure that CloudWatch Logs has the necessary permissions to execute your Lambda function. \n\nHere are the steps to fix this issue:\n\n1. Go to the AWS Management Console and open the AWS Lambda service.\n2. Locate and select your Lambda function that is causing the error.\n3. Scroll down to the "Permissions" section and click on the function's execution role.\n4. This will take you to the IAM console, where you can edit the role's permissions.\n5. In the IAM console, click on "Attach policies" to add the necessary permissions.\n6. Search for and select the "AWSLambdaBasicExecutionRole" policy. This policy grants the basic permissions required for Lambda function execution.\n7. Click on "Attach policy" to add the selected policy to your execution role.\n8. Return to the Lambda function console and try invoking the PutSubscriptionFilter operation again.\n\nBy adding the "AWSLambdaBasicExecutionRole" policy, you grant CloudWatch Logs the necessary permissions to execute your Lambda function successfully.

AWS CloudWatch Logs Error: Could Not Execute Lambda Function (InvalidParameterException)

原文地址: https://www.cveoy.top/t/topic/psPS 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录