Amazon EventBridge
Serverless event bus that matches events against rules and fans them out to AWS, SaaS and API targets.
- Provider
- aws
- Kind
- Pub/Sub topic
- Category
- Messaging
- Also known as
- CloudWatch Events
| property | type | values | required | kind default | this component |
|---|---|---|---|---|---|
| archiveEnabled | boolean | — | no | false | inherited |
| busType | enum | default | custom | partner | no | default | inherited |
| customerManagedKey | boolean | — | no | false | inherited |
| delivery | enum | at-most-once | at-least-once | exactly-once | yes | — | ▸ at-least-once |
| managed | boolean | — | no | false | ▸ true |
| maxDeliveryDurationHours | integer | — | no | 24 | inherited |
| ordering | enum | none | per-key | no | none | ▸ none |
| replay | boolean | — | no | false | ▸ false |
| targetsPerRule | integer | — | no | 5 | inherited |
| topicPerEventType | boolean | — | no | true | ▸ false |
Every rule whose selector covers this component's kind or its category. Whether a rule fires depends on the design: its properties, its edges and its groups.
pubsub-replay-required
The design declares that consumers must be able to replay history. A fan-out topic that does not retain messages cannot deliver that.
- — all of these hold:
- — the design requirement `messaging.replay` is true
- — the node's `replay` is false
nodes:
- { id: "eventbridge", component: "aws-eventbridge" }EventBridgealibaba-eventbridgeAmazon SNSsnsAzure Event Gridazure-event-gridAzure Event Grid MQTT Brokerazure-event-grid-mqttEclipse MosquittomosquittoMQTT brokermqtt-brokerNanoMQnanomqGeneric Pub/Sub topicpubsub-topicRedis Pub/Subredis-pubsubEventarcgoogle-eventarcGoogle Cloud Pub/Subgoogle-pubsubOCI Eventsoci-events
# yaml-language-server: $schema=../../schema/component.schema.json # Amazon EventBridge event bus: serverless router that matches events against rules and fans them # out to up to five targets per rule. "Troubleshooting Amazon EventBridge" states delivery is # retried for up to 24 hours and that a rule can run more than once for a single event # (at-least-once); archives, which are what makes replay possible, are not created by default. schemaVersion: "1" type: "component" id: "aws-eventbridge" kind: "pubsub-topic" provider: "aws" docs: "https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-what-is.html" aliases: ["CloudWatch Events"] defaults: managed: true delivery: "at-least-once" ordering: "none" replay: false topicPerEventType: false properties: busType: type: "enum" values: ["default", "custom", "partner"] default: "default" archiveEnabled: type: "boolean" default: false customerManagedKey: type: "boolean" default: false maxDeliveryDurationHours: type: "integer" default: 24 targetsPerRule: type: "integer" default: 5