feat(project): add gateway resources - #2028
Open
aidandaly24 wants to merge 7 commits into
Open
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## refactor #2028 +/- ##
============================================
+ Coverage 97.24% 97.30% +0.05%
============================================
Files 396 400 +4
Lines 24019 24531 +512
============================================
+ Hits 23357 23869 +512
Misses 662 662 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
aidandaly24
force-pushed
the
feat/project-gateway-add
branch
4 times, most recently
from
August 21, 2026 19:05
dbcb3b6 to
fd627a1
Compare
aidandaly24
marked this pull request as ready for review
August 21, 2026 19:26
aidandaly24
marked this pull request as draft
August 21, 2026 20:17
aidandaly24
force-pushed
the
feat/project-gateway-add
branch
from
August 21, 2026 20:28
fd627a1 to
41a946d
Compare
aidandaly24
force-pushed
the
feat/project-gateway-add
branch
from
August 21, 2026 22:47
41a946d to
7753af0
Compare
aidandaly24
marked this pull request as ready for review
August 21, 2026 23:13
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.
Summary
Adds project-based Gateway mutation commands:
Project-command JSON maps directly to the existing version 1
agentcore.jsonschemas:--authorizer-configurationacceptsGatewayAuthorizerConfigSchema;--target-configurationaccepts one completeAgentCoreGatewayTargetSchemaobject;--connector-configurationaccepts the same complete Target object and requirestargetType: "connector";file://, and through stdin;Scalar endpoint, Runtime, and curated connector shortcuts remain. They construct the same
project-schema objects accepted through JSON.
The change also:
--enable-semantic-searchproject field;agentcore.jsonwrite;handled specially;
unassignedTargets[], matching the oldCLI and existing L3 output contract.
No project schema files change. The CLI does not create or copy files referenced by Target JSON;
paths such as
schemaSource.inline.pathandlambdaFunctionArn.toolSchemaFileremain explicit inagentcore.json.Testing
Rebased onto
upstream/refactorat38c30ae4; verification ran on PR head854514eb.bun run format:checkbun run lint:checkbun run typecheckbun test srcoutside the restricted sandbox: 1,789 passedbun run buildfile://, and through stdinunassignedTargets[]Live deployment
Earlier end-to-end verification of the same persisted Gateway shapes used a clean generated project
in account
603141041947, regionus-west-2, with@aws/agentcore-cdk@0.1.0-alpha.45.gateway-connector; synthesis produced the expected connectorconfiguration and IAM dependency. The service rejected live Target creation because
Connector integration web-search is not available for this account.SearchType: NONEwhen MCP semantic search is disabled, which currentCloudFormation rejects. The deployment fixture used
project add gateway --protocol mcp --enable-semantic-search, allowing deployment without changing the CLI or L3 dependency.READY.runtime-target/invocationsthrough the Gateway and received HTTP 200 withruntime gateway works.initializeandtools/listthrough the MCP Gateway; both returned HTTP 200 and thedirect DeepWiki Target tools were listed.
Targets return not-found.
Credential-provider authoring is owned by the separate project credentials commands. This PR
validates Gateway Target references to those project credentials but does not create them.