Skip to content

Conversation

shansv
Copy link
Contributor

@shansv shansv commented Aug 28, 2025

Issue #, if available:

Description of changes:
Added a new serverless pattern that demonstrates automated synchronization of Amazon Bedrock Knowledge Bases using EventBridge Scheduler and Step Functions.

Key components and changes include:

Architecture Components:
    EventBridge Scheduler (15-minute intervals)
    Step Functions with nested Map states
    S3 bucket for data sources
    Bedrock Knowledge Base integration

Implementation Details:
    Created CDK stack for infrastructure deployment
    Implemented Step Functions workflow with:
        Outer Map state for multiple Knowledge Bases
        Inner Map state for data source handling
        Status checking and result reporting
    Added necessary IAM roles and permissions

Features:
    Automated scheduling of Knowledge Base syncs
    Support for multiple Knowledge Bases
    Sequential processing of data sources (due to current Bedrock limitations)
    Comprehensive error handling and status reporting
    Future-proofed design for parallel processing

Documentation:
    Added README with deployment instructions
    Included testing procedures
    Documented architecture and workflow
    Added cleanup instructions

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants