aws-cdk-lib/aws-stepfunctions-tasks: sesv2 task does not grant ses:SendEmail permission #30745
Labels
@aws-cdk/aws-lambda
Related to AWS Lambda
bug
This issue is a bug.
needs-reproduction
This issue needs reproduction.
Describe the bug
I am creating a state machine with a sesv2 task defined like
If I try to run this step, I get the error
This is because the resulting step function CDK added this permission for the task
This should have been
ses:sendEmail
, which causes the error.Expected Behavior
the sesv2 task successfully sends an email
Current Behavior
permission error since CDK does not grant the step function role ses:sendEmail permission.
Reproduction Steps
Define a step function with step
You will find that the step function does not have ses:sendEmail permission and will run into the above error.
Possible Solution
No response
Additional Information/Context
No response
CDK CLI Version
2.130.0
Framework Version
No response
Node.js Version
6.14.17
OS
macOS
Language
TypeScript
Language Version
No response
Other information
No response
The text was updated successfully, but these errors were encountered: