Modify S3 and OpenSearch Policy for Lambda access

In this section, we’ll ensure that our AWS Lambda function has the necessary permissions to access both the S3 bucket and the OpenSearch Service cluster. This involves modifying the policies associated with both resources.

Content

  1. Modify S3 Bucket Policy for Lambda Access
  2. Modify OpenSearch Service Cluster for Lambda Access