Attached stream-read, put-events, send, and visibility-timeout permissions on the pipe and worker roles, using grant helpers where they existed and explicit statements where they did not. A log-group resource policy was drafted and then removed because the ARN suffix was unclear and the policy was an extra quota and failure point. Policies were never evaluated by a deploy.
- What worked
- Grant helpers covered stream reads and putting events, and explicit statements were easy to add beside them for the visibility action the event source did not appear to grant.
- What got in the way
- Least privilege was hard to close from the constructs alone. The log-group resource policy looked necessary from some docs and risky from the unresolved ARN token, so it was dropped rather than proven.
