-
Notifications
You must be signed in to change notification settings - Fork 363
AgentCore Runtime VPC設定機能とネットワーク構成オプションの追加 #1360
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
tbrand
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
agentCoreNetworkType の仕様について質問です。VpcId と SubnetIds がともに指定されている場合、自動で private 判定されるというロジックではだめでしょうか?また、PUBLIC、PRIVATE という文字列による指定である必要はありますか?例えば、これ以上選択肢が増える見込みがない場合、boolean で良いのではないでしょうか?
いいですね!そちらの方がシンプルで開発者の設定が少なくて良いと思います。 |
|
細かいところで、恐縮でした。ありがとございます。 |
- Add VPC network configuration section to DEPLOY_OPTION.md - Include AZ support requirements with AWS official documentation link - Add NAT Gateway requirements for MCP server installation - Add manual stack deletion procedure for AgentCore - Include both Generic Runtime and AgentBuilder Runtime settings
- Add use case scenarios for VPC mode - Include agentBuilderEnabled in configuration examples - Add AZ support requirements with official documentation link - Add NAT Gateway requirements for MCP server installation
- Remove agentCoreNetworkType parameter from user input - Add isAgentCoreNetworkPrivate computed in parameter.ts - Automatically set to true when both agentCoreVpcId and agentCoreSubnetIds are provided - Add validation to ensure VPC settings are provided together - Update GenericAgentCore to use boolean flag instead of enum - Applies to both Generic Runtime and Agent Builder Runtime
- Fix validation logic to properly handle null values for agentCoreSubnetIds - Remove agentCoreNetworkType parameter (network mode is now auto-detected) - Update documentation to reflect the simplified VPC configuration - Add isAgentCoreNetworkPrivate computed property
071d989 to
ae3953f
Compare
|
@tbrand |

概要
AgentCore RuntimeのVPCネットワーク設定機能を追加し、プライベートネットワーク環境での動作をサポートしました。
変更内容
🚀 新機能
🔧 実装詳細
新規パラメータ
agentCoreNetworkType:PUBLIC(デフォルト) /PRIVATEagentCoreVpcId: 使用するVPC IDagentCoreSubnetIds: 使用するサブネットIDリストコード変更
セキュリティグループのRetain設定
VPCモード使用時、セキュリティグループに
RemovalPolicy.RETAINを設定:📚 ドキュメント更新
🧪 テスト
使用例
影響範囲
参考リンク
参考動画
https://github.com/user-attachments/assets/259e315a-8d03-4083-bfc9-bfeba92fb819