Implement serverless AWS architecture with Lambda functions and Bedrock Agent integration#1
Draft
Implement serverless AWS architecture with Lambda functions and Bedrock Agent integration#1
Conversation
Co-authored-by: luke-cheng <[email protected]>
Co-authored-by: luke-cheng <[email protected]>
Co-authored-by: luke-cheng <[email protected]>
Co-authored-by: luke-cheng <[email protected]>
Co-authored-by: luke-cheng <[email protected]>
Co-authored-by: luke-cheng <[email protected]>
Copilot
AI
changed the title
[WIP] Add personalized League of Legends insights via AWS AI agent
Implement serverless AWS architecture with Lambda functions and Bedrock Agent integration
Nov 7, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Implements serverless architecture for personalized LoL insights using AWS CDK, 3 Lambda functions, API Gateway, S3 storage, and Amazon Bedrock Agent orchestration.
Infrastructure (AWS CDK)
/api,/ingest,/tools)Lambda Functions
API Lambda (
amplify/functions/api/)Orchestrates Bedrock Agent invocations with streaming response handling. Falls back gracefully when agent unconfigured.
Ingest Lambda (
amplify/functions/ingest/)Validates and persists match data to S3 at
match-data/{playerId}/{matchId}.jsonwith metadata.Tools Lambda (
amplify/functions/tools/)Provides 3 actions for Bedrock Agent:
getPlayerMatches,getMatchDetails,getPlayerStats. Handles S3 NoSuchKey errors and JSON parsing failures.Frontend
Interactive Next.js UI with tabbed documentation showcasing architecture components and API examples with request/response payloads.
Configuration
amplify/backend.tscreates custom CDK stackPost-deployment requires configuring Bedrock Agent and updating Lambda environment variables with Agent ID/Alias.
Warning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
fonts.googleapis.com/usr/local/bin/node /home/REDACTED/work/Rift-Rewind-Reviewer/Rift-Rewind-Reviewer/node_modules/next/dist/compiled/jest-worker/processChild.js(dns block)If you need me to access, download, or install something from one of these locations, you can either:
Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.