Description
The user is asking for Resource Priority on Gateway Targets / tools — a way to express ordering / precedence so that when multiple targets expose tools with overlapping names or when the gateway needs to choose among targets, the priority breaks ties.
Today neither CFN nor the CLI exposes this. ApiGatewayToolFilter only has FilterPath and Methods (CFN docs) — no Priority. The L3 schema (src/schema/schemas/mcp.ts) has nothing analogous.
Acceptance Criteria
Additional Context
- CFN support: NO — no priority field on any GatewayTarget property, tool filter, tool override, or target-level config.
- Data-plane: unknown — needs internal confirmation.
- This may collapse to "service-team request" until the API exposes it.
Description
The user is asking for Resource Priority on Gateway Targets / tools — a way to express ordering / precedence so that when multiple targets expose tools with overlapping names or when the gateway needs to choose among targets, the priority breaks ties.
Today neither CFN nor the CLI exposes this.
ApiGatewayToolFilteronly hasFilterPathandMethods(CFN docs) — noPriority. The L3 schema (src/schema/schemas/mcp.ts) has nothing analogous.Acceptance Criteria
AgentCoreGatewayTargetSchema(and/orToolDefinitionSchema) with an optionalpriority?: numberfield; apply via a post-deploy imperative call (same pattern as feat: support resource based policies. #542 for resource-based policies).--priorityflag toagentcore add gateway-targetand surface it in the TUI.Priorityproperty onGatewayTargetor its tool filters, switch to the CDK path and deprecate the imperative one.Additional Context