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.

Copy link
Contributor

@ellisms ellisms left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the submission. Please see the requested changes.

@shansv shansv requested a review from ellisms October 23, 2025 16:23
Copy link
Contributor

@ellisms ellisms left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Two small edits requested.

@shansv shansv requested a review from ellisms October 31, 2025 12:47
@ellisms
Copy link
Contributor

ellisms commented Oct 31, 2025

Thanks for the submission. I'll add this to the publishing queue.

@julianwood julianwood merged commit 2e1cec9 into aws-samples:main Nov 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants