This template creates an AWS::Events::EventBus resource named MyCustomEventBus and an AWS::Events::EventBusPolicy resource that grants permission to all AWS accounts in the organization with an organization ID of o-1234567890. The policy allows the accounts to perform the events:PutEvents action on the custom event bus and applies the aws:PrincipalOrgID condition to restrict access to the specified organization ID.

SampleCustomEventBus
AWS::Events::EventBus


SampleCustomEventBusPolicy
AWS::Events::EventBusPolicy


CloudFormation Template

Share Template