Skip to content

Commit

Permalink
feat: inject-comments4
Browse files Browse the repository at this point in the history
  • Loading branch information
LIEN-YUHSIANG committed Nov 8, 2023
1 parent d08c23e commit eb40017
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/constructs/common/lambda-functions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1223,13 +1223,13 @@ export class ForumCommentAIFunctions extends Construct {

const DBSyncRole: iam.LazyRole = new iam.LazyRole(
this,
'dynamodb-s3-forum-comment-ai-role',
'dynamodb-s3-ai-comment-role',
{
assumedBy: new iam.ServicePrincipal(AwsServicePrincipal.LAMBDA),
description:
'Allow lambda function to perform crud operation on dynamodb and s3',
path: `/service-role/${AwsServicePrincipal.LAMBDA}/`,
roleName: 'dynamodb-s3-forum-comment-ai-role',
roleName: 'dynamodb-s3-ai-comment-role',
managedPolicies: [
iam.ManagedPolicy.fromManagedPolicyArn(
this,
Expand Down

0 comments on commit eb40017

Please sign in to comment.