EventBridge ユースケースおよびアーキパターン
EventBridge ユースケースおよびアーキテクチャパターン
Section titled “EventBridge ユースケースおよびアーキテクチャパターン”1. イベント駆動処理
Section titled “1. イベント駆動処理”構成: S3 Upload → EventBridge → Lambda(画像処理)
イベントパターン: source: aws.s3 detail-type: Object Created detail.bucket.name: my-bucket
メリット: - 疎結合 - フィルタリング2. スケジュール実行
Section titled “2. スケジュール実行”構成: EventBridge(cron) → Lambda(日次バッチ)
スケジュール: cron(0 3 * * ? *) # 毎日3:00 UTC
用途: - 日次レポート - データバックアップ - クリーンアップ3. クロスアカウント統合
Section titled “3. クロスアカウント統合”構成: アカウントA(ソース)→ EventBridge → アカウントB(ターゲット)
用途: - 組織全体のイベント集約 - セキュリティイベント監視4. SaaS統合
Section titled “4. SaaS統合”構成: Zendesk → EventBridge → Lambda → Slack通知
イベント: - チケット作成 - ステータス変更
自動化: - 通知 - ワークフロー起動