EventBridgeEventRule

Description (What does this pattern/example do?)

Create an EventBridge rule resource that is configured with a specified event pattern. Events generated by AWS services go to your account’s default event bus. To attach the rule with a custom event bus that you have created, use this pattern together with EventRuleAttachEventBus pattern.

Resources

AWS::Events::Rule

Input

eventPattern

The event pattern of the rule. For more information, see Events and Event Patterns in the Amazon EventBridge User Guide.

Output

EventRule

Logical ID of EventBridge rule resource AWS::Events::Rule created by this pattern.