79256031

Date: 2024-12-05 19:43:50
Score: 0.5
Natty:
Report link

Update

I have added the following policies to my amplify/backend.ts

const backend = defineBackend({
   auth,
   data,
   sendEmail
});

   backend.sendEmail.resources.lambda.addToRolePolicy(
     new PolicyStatement({
     actions: ['ses:SendEmail', 'ses:SendRawEmail'],
     resources: ['*']
   })
)

This is working now.

Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: dev.learn