Skip to content

Commit

Permalink
Merge pull request #2416 from krao14/krao14-feature-lambda-kendra-bed…
Browse files Browse the repository at this point in the history
…rock

Update lambda-kendra-bedrock pattern: modifying data source role
  • Loading branch information
julianwood committed Sep 11, 2024
2 parents 8e2df8c + 47176e8 commit cf2ea44
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions lambda-kendra-bedrock/template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,14 @@ Resources:
Action:
- kendra:BatchPutDocument
- kendra:BatchDeleteDocument
- Effect: Allow
Resource: !Sub arn:aws:s3:::${S3DSBucketName}/*
Action:
- s3:GetObject
- Effect: Allow
Resource: !Sub arn:aws:s3:::${S3DSBucketName}
Action:
- s3:ListBucket
PolicyName: !Sub ${AWS::StackName}-DocsDSPolicy
RoleName: !Sub ${AWS::StackName}-DocsDSRole
# Kendra S3 data source
Expand Down

0 comments on commit cf2ea44

Please sign in to comment.