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
@ -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…
Reference in New Issue
Block a user