feat: add bedrock plugin for Amazon Bedrock setup and operations#127
feat: add bedrock plugin for Amazon Bedrock setup and operations#127balak4 wants to merge 1 commit intoawslabs:mainfrom
Conversation
|
Hi @balak4, thank you for the thorough work here — the level of detail in the implementation and testing is really impressive! After reviewing this, we think the Bedrock setup and operations functionality would be a better fit as part of a broader AWS plugin rather than a standalone plugin. There's an active RFC in #101 (Work With AWS) that's shaping up to be the umbrella for this kind of AWS-specific tooling, and Bedrock support would be a great addition to that effort. We'd love for you to share your ideas and this work over on that RFC discussion — your expertise here would be really valuable in shaping the direction of that plugin. Per our Contributing Guidelines, new plugins should go through the RFC process first, which helps ensure alignment before implementation work begins. Thanks again for your interest in contributing, and we hope to see you involved in the RFC discussion! |
Authors
Bala Krishnamoorthy, Sr. GenAI Data Scientist, Bedrock GTM
Summary
bedrockplugin v1 providing guided Amazon Bedrock setup — IAM configuration, model access, prompt caching, observability, quota optimization, and cost analysiscommands/directory pattern for intent-based routing via/bedrockentry pointWhat's Included
/bedrockrouter + 7 sub-commands (setup, cache, cache-debug, quota, usage, costs, validate-model-access)aws-documentationfor live AWS docs lookupHow It Works
The
/bedrockcommand acts as a natural-language router — it matches developer intent to the appropriate sub-command or knowledge source. All AWS operations require explicit--profileselection (instruction-based enforcement, no hooks). Scripts make real AWS API calls for validation (~$0.01–0.08 per run).Testing
All 6 scripts validated against a live AWS account with
defaultprofile:validate-bedrock-access.sh— 4/4 checks passvalidate-prompt-caching.py— cache write + read confirmedcheck-quota-health.py— quota analysis completes with recommendationsdebug-prompt-cache.py— 6/6 diagnostic tests passanalyze-bedrock-usage.py— usage report generatesanalyze-bedrock-costs.py— cost report generatesRepo validations:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of the project license.