Action is now recorded as event:PutEvents (fully qualified)
We no longer need to amend how the Action is reported in the describe_event_bus policy
This commit is contained in:
parent
b6e795ce61
commit
176f19136c
1 changed files with 1 additions and 1 deletions
|
|
@ -235,7 +235,7 @@ class EventsBackend(BaseBackend):
|
|||
'Sid': statement_id,
|
||||
'Effect': 'Allow',
|
||||
'Principal': {'AWS': 'arn:aws:iam::{0}:root'.format(data['principal'])},
|
||||
'Action': 'events:{0}'.format(data['action']),
|
||||
'Action': data['action'],
|
||||
'Resource': arn
|
||||
})
|
||||
return {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue