1 Answer
- Newest
- Most votes
- Most comments
1
To add additional permissions to you function use the addToRolePolicy method.
As a basic example for EventBridge.
myFunction.addToRolePolicy(new iam.PolicyStatement({
actions: ['events:PutEvents'],
resources: ['*'],
}))
answered 4 years ago
Relevant content
asked 8 months ago
asked 4 years ago
