@aws/agentcore-cdk 0.1.0-alpha.8 → 1.0.0-rc.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +242 -40
- package/dist/cdk/constants.d.ts +2 -0
- package/dist/cdk/constants.d.ts.map +1 -1
- package/dist/cdk/constants.js +6 -1
- package/dist/cdk/constants.js.map +1 -1
- package/dist/cdk/constructs/bundling/container/ContainerSourceAsset.d.ts +26 -4
- package/dist/cdk/constructs/bundling/container/ContainerSourceAsset.d.ts.map +1 -1
- package/dist/cdk/constructs/bundling/container/ContainerSourceAsset.js +69 -10
- package/dist/cdk/constructs/bundling/container/ContainerSourceAsset.js.map +1 -1
- package/dist/cdk/constructs/bundling/container/ContainerSourceAssetFromPath.d.ts +17 -0
- package/dist/cdk/constructs/bundling/container/ContainerSourceAssetFromPath.d.ts.map +1 -0
- package/dist/cdk/constructs/bundling/container/ContainerSourceAssetFromPath.js +20 -0
- package/dist/cdk/constructs/bundling/container/ContainerSourceAssetFromPath.js.map +1 -0
- package/dist/cdk/constructs/bundling/container/index.d.ts +1 -0
- package/dist/cdk/constructs/bundling/container/index.d.ts.map +1 -1
- package/dist/cdk/constructs/bundling/container/index.js +3 -1
- package/dist/cdk/constructs/bundling/container/index.js.map +1 -1
- package/dist/cdk/constructs/bundling/index.d.ts +2 -0
- package/dist/cdk/constructs/bundling/index.d.ts.map +1 -1
- package/dist/cdk/constructs/bundling/index.js +6 -2
- package/dist/cdk/constructs/bundling/index.js.map +1 -1
- package/dist/cdk/constructs/bundling/zip/BundledCodeZipAsset.d.ts +5 -0
- package/dist/cdk/constructs/bundling/zip/BundledCodeZipAsset.d.ts.map +1 -1
- package/dist/cdk/constructs/bundling/zip/BundledCodeZipAsset.js +2 -7
- package/dist/cdk/constructs/bundling/zip/BundledCodeZipAsset.js.map +1 -1
- package/dist/cdk/constructs/bundling/zip/NodeBundledCodeZipAsset.d.ts +7 -0
- package/dist/cdk/constructs/bundling/zip/NodeBundledCodeZipAsset.d.ts.map +1 -0
- package/dist/cdk/constructs/bundling/zip/NodeBundledCodeZipAsset.js +30 -0
- package/dist/cdk/constructs/bundling/zip/NodeBundledCodeZipAsset.js.map +1 -0
- package/dist/cdk/constructs/bundling/zip/index.d.ts +1 -0
- package/dist/cdk/constructs/bundling/zip/index.d.ts.map +1 -1
- package/dist/cdk/constructs/bundling/zip/index.js +3 -1
- package/dist/cdk/constructs/bundling/zip/index.js.map +1 -1
- package/dist/cdk/constructs/components/base-props.d.ts +9 -2
- package/dist/cdk/constructs/components/base-props.d.ts.map +1 -1
- package/dist/cdk/constructs/components/container/ContainerBuildProject.d.ts +35 -8
- package/dist/cdk/constructs/components/container/ContainerBuildProject.d.ts.map +1 -1
- package/dist/cdk/constructs/components/container/ContainerBuildProject.js +117 -13
- package/dist/cdk/constructs/components/container/ContainerBuildProject.js.map +1 -1
- package/dist/cdk/constructs/components/container/ContainerImageBuilder.d.ts +25 -7
- package/dist/cdk/constructs/components/container/ContainerImageBuilder.d.ts.map +1 -1
- package/dist/cdk/constructs/components/container/ContainerImageBuilder.js +45 -7
- package/dist/cdk/constructs/components/container/ContainerImageBuilder.js.map +1 -1
- package/dist/cdk/constructs/components/container/ContainerRepository.d.ts +30 -0
- package/dist/cdk/constructs/components/container/ContainerRepository.d.ts.map +1 -0
- package/dist/cdk/constructs/components/container/{AgentEcrRepository.js → ContainerRepository.js} +19 -8
- package/dist/cdk/constructs/components/container/ContainerRepository.js.map +1 -0
- package/dist/cdk/constructs/components/container/container-build-handler.d.ts +4 -1
- package/dist/cdk/constructs/components/container/container-build-handler.d.ts.map +1 -1
- package/dist/cdk/constructs/components/container/container-build-handler.js +16 -3
- package/dist/cdk/constructs/components/container/container-build-handler.js.map +1 -1
- package/dist/cdk/constructs/components/container/index.d.ts +1 -1
- package/dist/cdk/constructs/components/container/index.d.ts.map +1 -1
- package/dist/cdk/constructs/components/container/index.js +3 -3
- package/dist/cdk/constructs/components/container/index.js.map +1 -1
- package/dist/cdk/constructs/components/gateway/AgentCoreGateway.d.ts +111 -0
- package/dist/cdk/constructs/components/gateway/AgentCoreGateway.d.ts.map +1 -0
- package/dist/cdk/constructs/components/gateway/AgentCoreGateway.js +611 -0
- package/dist/cdk/constructs/components/gateway/AgentCoreGateway.js.map +1 -0
- package/dist/cdk/constructs/components/gateway/connector-defaults.d.ts +20 -0
- package/dist/cdk/constructs/components/gateway/connector-defaults.d.ts.map +1 -0
- package/dist/cdk/constructs/components/gateway/connector-defaults.js +16 -0
- package/dist/cdk/constructs/components/gateway/connector-defaults.js.map +1 -0
- package/dist/cdk/constructs/components/gateway/gateway-targets.d.ts +25 -0
- package/dist/cdk/constructs/components/gateway/gateway-targets.d.ts.map +1 -0
- package/dist/cdk/constructs/components/gateway/gateway-targets.js +95 -0
- package/dist/cdk/constructs/components/gateway/gateway-targets.js.map +1 -0
- package/dist/cdk/constructs/components/gateway/index.d.ts +3 -0
- package/dist/cdk/constructs/components/gateway/index.d.ts.map +1 -0
- package/dist/cdk/constructs/components/gateway/index.js +8 -0
- package/dist/cdk/constructs/components/gateway/index.js.map +1 -0
- package/dist/cdk/constructs/components/index.d.ts +2 -1
- package/dist/cdk/constructs/components/index.d.ts.map +1 -1
- package/dist/cdk/constructs/components/index.js +2 -1
- package/dist/cdk/constructs/components/index.js.map +1 -1
- package/dist/cdk/constructs/components/primitives/capacity-provider/AgentCoreCapacityProvider.d.ts +42 -0
- package/dist/cdk/constructs/components/primitives/capacity-provider/AgentCoreCapacityProvider.d.ts.map +1 -0
- package/dist/cdk/constructs/components/primitives/capacity-provider/AgentCoreCapacityProvider.js +126 -0
- package/dist/cdk/constructs/components/primitives/capacity-provider/AgentCoreCapacityProvider.js.map +1 -0
- package/dist/cdk/constructs/components/primitives/capacity-provider/index.d.ts +2 -0
- package/dist/cdk/constructs/components/primitives/capacity-provider/index.d.ts.map +1 -0
- package/dist/cdk/constructs/components/primitives/capacity-provider/index.js +6 -0
- package/dist/cdk/constructs/components/primitives/capacity-provider/index.js.map +1 -0
- package/dist/cdk/constructs/components/primitives/config-bundle/AgentCoreConfigBundle.d.ts +31 -0
- package/dist/cdk/constructs/components/primitives/config-bundle/AgentCoreConfigBundle.d.ts.map +1 -0
- package/dist/cdk/constructs/components/primitives/config-bundle/AgentCoreConfigBundle.js +62 -0
- package/dist/cdk/constructs/components/primitives/config-bundle/AgentCoreConfigBundle.js.map +1 -0
- package/dist/cdk/constructs/components/primitives/config-bundle/index.d.ts +3 -0
- package/dist/cdk/constructs/components/primitives/config-bundle/index.d.ts.map +1 -0
- package/dist/cdk/constructs/components/primitives/config-bundle/index.js +6 -0
- package/dist/cdk/constructs/components/primitives/config-bundle/index.js.map +1 -0
- package/dist/cdk/constructs/components/primitives/dataset/AgentCoreDataset.d.ts +29 -0
- package/dist/cdk/constructs/components/primitives/dataset/AgentCoreDataset.d.ts.map +1 -0
- package/dist/cdk/constructs/components/primitives/dataset/AgentCoreDataset.js +80 -0
- package/dist/cdk/constructs/components/primitives/dataset/AgentCoreDataset.js.map +1 -0
- package/dist/cdk/constructs/components/primitives/dataset/index.d.ts +2 -0
- package/dist/cdk/constructs/components/primitives/dataset/index.d.ts.map +1 -0
- package/dist/cdk/constructs/components/primitives/dataset/index.js +6 -0
- package/dist/cdk/constructs/components/primitives/dataset/index.js.map +1 -0
- package/dist/cdk/constructs/components/primitives/evaluator/AgentCoreEvaluator.d.ts +45 -0
- package/dist/cdk/constructs/components/primitives/evaluator/AgentCoreEvaluator.d.ts.map +1 -0
- package/dist/cdk/constructs/components/primitives/evaluator/AgentCoreEvaluator.js +160 -0
- package/dist/cdk/constructs/components/primitives/evaluator/AgentCoreEvaluator.js.map +1 -0
- package/dist/cdk/constructs/components/primitives/evaluator/AgentCoreOnlineEvaluationConfig.d.ts +28 -0
- package/dist/cdk/constructs/components/primitives/evaluator/AgentCoreOnlineEvaluationConfig.d.ts.map +1 -0
- package/dist/cdk/constructs/components/primitives/evaluator/AgentCoreOnlineEvaluationConfig.js +131 -0
- package/dist/cdk/constructs/components/primitives/evaluator/AgentCoreOnlineEvaluationConfig.js.map +1 -0
- package/dist/cdk/constructs/components/primitives/evaluator/index.d.ts +3 -0
- package/dist/cdk/constructs/components/primitives/evaluator/index.d.ts.map +1 -0
- package/dist/cdk/constructs/components/primitives/evaluator/index.js +8 -0
- package/dist/cdk/constructs/components/primitives/evaluator/index.js.map +1 -0
- package/dist/cdk/constructs/components/primitives/harness/AgentCoreHarness.d.ts +124 -0
- package/dist/cdk/constructs/components/primitives/harness/AgentCoreHarness.d.ts.map +1 -0
- package/dist/cdk/constructs/components/primitives/harness/AgentCoreHarness.js +185 -0
- package/dist/cdk/constructs/components/primitives/harness/AgentCoreHarness.js.map +1 -0
- package/dist/cdk/constructs/components/primitives/harness/AgentCoreHarnessRole.d.ts +71 -0
- package/dist/cdk/constructs/components/primitives/harness/AgentCoreHarnessRole.d.ts.map +1 -0
- package/dist/cdk/constructs/components/primitives/harness/AgentCoreHarnessRole.js +389 -0
- package/dist/cdk/constructs/components/primitives/harness/AgentCoreHarnessRole.js.map +1 -0
- package/dist/cdk/constructs/components/primitives/harness/__tests__/AgentCoreHarnessRole.test.d.ts +2 -0
- package/dist/cdk/constructs/components/primitives/harness/__tests__/AgentCoreHarnessRole.test.d.ts.map +1 -0
- package/dist/cdk/constructs/components/primitives/harness/__tests__/AgentCoreHarnessRole.test.js +182 -0
- package/dist/cdk/constructs/components/primitives/harness/__tests__/AgentCoreHarnessRole.test.js.map +1 -0
- package/dist/cdk/constructs/components/primitives/harness/harness-cfn-mapping.d.ts +30 -0
- package/dist/cdk/constructs/components/primitives/harness/harness-cfn-mapping.d.ts.map +1 -0
- package/dist/cdk/constructs/components/primitives/harness/harness-cfn-mapping.js +165 -0
- package/dist/cdk/constructs/components/primitives/harness/harness-cfn-mapping.js.map +1 -0
- package/dist/cdk/constructs/components/primitives/harness/index.d.ts +3 -0
- package/dist/cdk/constructs/components/primitives/harness/index.d.ts.map +1 -0
- package/dist/cdk/constructs/components/primitives/harness/index.js +8 -0
- package/dist/cdk/constructs/components/primitives/harness/index.js.map +1 -0
- package/dist/cdk/constructs/components/primitives/index.d.ts +11 -3
- package/dist/cdk/constructs/components/primitives/index.d.ts.map +1 -1
- package/dist/cdk/constructs/components/primitives/index.js +21 -3
- package/dist/cdk/constructs/components/primitives/index.js.map +1 -1
- package/dist/cdk/constructs/components/primitives/knowledge-base/AgentCoreKnowledgeBase.d.ts +67 -0
- package/dist/cdk/constructs/components/primitives/knowledge-base/AgentCoreKnowledgeBase.d.ts.map +1 -0
- package/dist/cdk/constructs/components/primitives/knowledge-base/AgentCoreKnowledgeBase.js +282 -0
- package/dist/cdk/constructs/components/primitives/knowledge-base/AgentCoreKnowledgeBase.js.map +1 -0
- package/dist/cdk/constructs/components/primitives/knowledge-base/index.d.ts +2 -0
- package/dist/cdk/constructs/components/primitives/knowledge-base/index.d.ts.map +1 -0
- package/dist/cdk/constructs/components/primitives/knowledge-base/index.js +6 -0
- package/dist/cdk/constructs/components/primitives/knowledge-base/index.js.map +1 -0
- package/dist/cdk/constructs/components/primitives/memory/AgentCoreMemory.d.ts +30 -44
- package/dist/cdk/constructs/components/primitives/memory/AgentCoreMemory.d.ts.map +1 -1
- package/dist/cdk/constructs/components/primitives/memory/AgentCoreMemory.js +147 -154
- package/dist/cdk/constructs/components/primitives/memory/AgentCoreMemory.js.map +1 -1
- package/dist/cdk/constructs/components/primitives/memory/index.d.ts +1 -1
- package/dist/cdk/constructs/components/primitives/memory/index.d.ts.map +1 -1
- package/dist/cdk/constructs/components/primitives/memory/index.js.map +1 -1
- package/dist/cdk/constructs/components/primitives/memory/memory-actions.d.ts +17 -0
- package/dist/cdk/constructs/components/primitives/memory/memory-actions.d.ts.map +1 -0
- package/dist/cdk/constructs/components/primitives/memory/memory-actions.js +34 -0
- package/dist/cdk/constructs/components/primitives/memory/memory-actions.js.map +1 -0
- package/dist/cdk/constructs/components/primitives/payment/AgentCorePaymentConnector.d.ts +36 -0
- package/dist/cdk/constructs/components/primitives/payment/AgentCorePaymentConnector.d.ts.map +1 -0
- package/dist/cdk/constructs/components/primitives/payment/AgentCorePaymentConnector.js +52 -0
- package/dist/cdk/constructs/components/primitives/payment/AgentCorePaymentConnector.js.map +1 -0
- package/dist/cdk/constructs/components/primitives/payment/AgentCorePaymentManager.d.ts +65 -0
- package/dist/cdk/constructs/components/primitives/payment/AgentCorePaymentManager.d.ts.map +1 -0
- package/dist/cdk/constructs/components/primitives/payment/AgentCorePaymentManager.js +143 -0
- package/dist/cdk/constructs/components/primitives/payment/AgentCorePaymentManager.js.map +1 -0
- package/dist/cdk/constructs/components/primitives/payment/index.d.ts +3 -0
- package/dist/cdk/constructs/components/primitives/payment/index.d.ts.map +1 -0
- package/dist/cdk/constructs/components/primitives/payment/index.js +8 -0
- package/dist/cdk/constructs/components/primitives/payment/index.js.map +1 -0
- package/dist/cdk/constructs/components/primitives/policy/AgentCorePolicyEngine.d.ts +47 -0
- package/dist/cdk/constructs/components/primitives/policy/AgentCorePolicyEngine.d.ts.map +1 -0
- package/dist/cdk/constructs/components/primitives/policy/AgentCorePolicyEngine.js +94 -0
- package/dist/cdk/constructs/components/primitives/policy/AgentCorePolicyEngine.js.map +1 -0
- package/dist/cdk/constructs/components/primitives/policy/index.d.ts +2 -0
- package/dist/cdk/constructs/components/primitives/policy/index.d.ts.map +1 -0
- package/dist/cdk/constructs/components/primitives/policy/index.js +6 -0
- package/dist/cdk/constructs/components/primitives/policy/index.js.map +1 -0
- package/dist/cdk/constructs/components/primitives/runtime/AgentCoreRuntime.d.ts +110 -9
- package/dist/cdk/constructs/components/primitives/runtime/AgentCoreRuntime.d.ts.map +1 -1
- package/dist/cdk/constructs/components/primitives/runtime/AgentCoreRuntime.js +324 -135
- package/dist/cdk/constructs/components/primitives/runtime/AgentCoreRuntime.js.map +1 -1
- package/dist/cdk/constructs/components/primitives/runtime/index.d.ts +1 -1
- package/dist/cdk/constructs/components/primitives/runtime/index.d.ts.map +1 -1
- package/dist/cdk/constructs/components/primitives/runtime/index.js.map +1 -1
- package/dist/cdk/constructs/components/shared/bindable.d.ts +30 -0
- package/dist/cdk/constructs/components/shared/bindable.d.ts.map +1 -0
- package/dist/cdk/constructs/components/shared/bindable.js +9 -0
- package/dist/cdk/constructs/components/shared/bindable.js.map +1 -0
- package/dist/cdk/constructs/components/shared/environment-variables.d.ts +41 -0
- package/dist/cdk/constructs/components/shared/environment-variables.d.ts.map +1 -0
- package/dist/cdk/constructs/components/shared/environment-variables.js +77 -0
- package/dist/cdk/constructs/components/shared/environment-variables.js.map +1 -0
- package/dist/cdk/constructs/components/shared/execution-role-grants.d.ts +17 -0
- package/dist/cdk/constructs/components/shared/execution-role-grants.d.ts.map +1 -0
- package/dist/cdk/constructs/components/shared/execution-role-grants.js +65 -0
- package/dist/cdk/constructs/components/shared/execution-role-grants.js.map +1 -0
- package/dist/cdk/constructs/components/shared/filesystem-access.d.ts +15 -0
- package/dist/cdk/constructs/components/shared/filesystem-access.d.ts.map +1 -0
- package/dist/cdk/constructs/components/shared/filesystem-access.js +53 -0
- package/dist/cdk/constructs/components/shared/filesystem-access.js.map +1 -0
- package/dist/cdk/constructs/components/shared/identity-access.d.ts +30 -0
- package/dist/cdk/constructs/components/shared/identity-access.d.ts.map +1 -0
- package/dist/cdk/constructs/components/shared/identity-access.js +44 -0
- package/dist/cdk/constructs/components/shared/identity-access.js.map +1 -0
- package/dist/cdk/constructs/components/shared/imported-role-principal.d.ts +32 -0
- package/dist/cdk/constructs/components/shared/imported-role-principal.d.ts.map +1 -0
- package/dist/cdk/constructs/components/shared/imported-role-principal.js +51 -0
- package/dist/cdk/constructs/components/shared/imported-role-principal.js.map +1 -0
- package/dist/cdk/constructs/components/shared/jwt-authorizer.d.ts +10 -0
- package/dist/cdk/constructs/components/shared/jwt-authorizer.d.ts.map +1 -0
- package/dist/cdk/constructs/components/shared/jwt-authorizer.js +20 -0
- package/dist/cdk/constructs/components/shared/jwt-authorizer.js.map +1 -0
- package/dist/cdk/constructs/components/shared/load-additional-policies.d.ts +20 -0
- package/dist/cdk/constructs/components/shared/load-additional-policies.d.ts.map +1 -0
- package/dist/cdk/constructs/components/shared/load-additional-policies.js +47 -0
- package/dist/cdk/constructs/components/shared/load-additional-policies.js.map +1 -0
- package/dist/cdk/constructs/components/shared/managed-tool-access.d.ts +6 -0
- package/dist/cdk/constructs/components/shared/managed-tool-access.d.ts.map +1 -0
- package/dist/cdk/constructs/components/shared/managed-tool-access.js +24 -0
- package/dist/cdk/constructs/components/shared/managed-tool-access.js.map +1 -0
- package/dist/cdk/constructs/components/shared/physical-names.d.ts +17 -0
- package/dist/cdk/constructs/components/shared/physical-names.d.ts.map +1 -0
- package/dist/cdk/constructs/components/shared/physical-names.js +20 -0
- package/dist/cdk/constructs/components/shared/physical-names.js.map +1 -0
- package/dist/cdk/constructs/components/{mcp/McpLambdaCompute.d.ts → tools/LambdaToolTarget.d.ts} +6 -6
- package/dist/cdk/constructs/components/tools/LambdaToolTarget.d.ts.map +1 -0
- package/dist/cdk/constructs/components/{mcp/McpLambdaCompute.js → tools/LambdaToolTarget.js} +21 -12
- package/dist/cdk/constructs/components/tools/LambdaToolTarget.js.map +1 -0
- package/dist/cdk/constructs/components/tools/RuntimeToolTarget.d.ts +28 -0
- package/dist/cdk/constructs/components/tools/RuntimeToolTarget.d.ts.map +1 -0
- package/dist/cdk/constructs/components/{mcp/McpRuntimeCompute.js → tools/RuntimeToolTarget.js} +13 -29
- package/dist/cdk/constructs/components/tools/RuntimeToolTarget.js.map +1 -0
- package/dist/cdk/constructs/components/tools/index.d.ts +3 -0
- package/dist/cdk/constructs/components/tools/index.d.ts.map +1 -0
- package/dist/cdk/constructs/components/tools/index.js +8 -0
- package/dist/cdk/constructs/components/tools/index.js.map +1 -0
- package/dist/cdk/constructs/connections/import-connection.d.ts +10 -0
- package/dist/cdk/constructs/connections/import-connection.d.ts.map +1 -0
- package/dist/cdk/constructs/connections/import-connection.js +64 -0
- package/dist/cdk/constructs/connections/import-connection.js.map +1 -0
- package/dist/cdk/constructs/index.d.ts +9 -3
- package/dist/cdk/constructs/index.d.ts.map +1 -1
- package/dist/cdk/constructs/index.js +23 -3
- package/dist/cdk/constructs/index.js.map +1 -1
- package/dist/cdk/constructs/l3/AgentCoreApplication.d.ts +207 -12
- package/dist/cdk/constructs/l3/AgentCoreApplication.d.ts.map +1 -1
- package/dist/cdk/constructs/l3/AgentCoreApplication.js +819 -38
- package/dist/cdk/constructs/l3/AgentCoreApplication.js.map +1 -1
- package/dist/cdk/constructs/l3/AgentCoreHarnessEnvironment.d.ts +34 -0
- package/dist/cdk/constructs/l3/AgentCoreHarnessEnvironment.d.ts.map +1 -0
- package/dist/cdk/constructs/l3/AgentCoreHarnessEnvironment.js +96 -0
- package/dist/cdk/constructs/l3/AgentCoreHarnessEnvironment.js.map +1 -0
- package/dist/cdk/constructs/l3/AgentCorePayments.d.ts +24 -0
- package/dist/cdk/constructs/l3/AgentCorePayments.d.ts.map +1 -0
- package/dist/cdk/constructs/l3/AgentCorePayments.js +99 -0
- package/dist/cdk/constructs/l3/AgentCorePayments.js.map +1 -0
- package/dist/cdk/constructs/l3/RuntimeEnvironment.d.ts +47 -0
- package/dist/cdk/constructs/l3/RuntimeEnvironment.d.ts.map +1 -0
- package/dist/cdk/constructs/l3/RuntimeEnvironment.js +152 -0
- package/dist/cdk/constructs/l3/RuntimeEnvironment.js.map +1 -0
- package/dist/cdk/constructs/l3/index.d.ts +3 -3
- package/dist/cdk/constructs/l3/index.d.ts.map +1 -1
- package/dist/cdk/constructs/l3/index.js +5 -5
- package/dist/cdk/constructs/l3/index.js.map +1 -1
- package/dist/cdk/index.d.ts +2 -1
- package/dist/cdk/index.d.ts.map +1 -1
- package/dist/cdk/index.js +26 -3
- package/dist/cdk/index.js.map +1 -1
- package/dist/cdk/logical-ids.d.ts +5 -5
- package/dist/cdk/logical-ids.js +5 -5
- package/dist/cdk/project/index.d.ts +4 -0
- package/dist/cdk/project/index.d.ts.map +1 -0
- package/dist/cdk/project/index.js +13 -0
- package/dist/cdk/project/index.js.map +1 -0
- package/dist/cdk/project/read-project.d.ts +34 -0
- package/dist/cdk/project/read-project.d.ts.map +1 -0
- package/dist/cdk/project/read-project.js +86 -0
- package/dist/cdk/project/read-project.js.map +1 -0
- package/dist/cdk/project/target-stacks.d.ts +55 -0
- package/dist/cdk/project/target-stacks.d.ts.map +1 -0
- package/dist/cdk/project/target-stacks.js +50 -0
- package/dist/cdk/project/target-stacks.js.map +1 -0
- package/dist/cdk/project/transform.d.ts +38 -0
- package/dist/cdk/project/transform.d.ts.map +1 -0
- package/dist/cdk/project/transform.js +106 -0
- package/dist/cdk/project/transform.js.map +1 -0
- package/dist/cdk/utils/__tests__/tags.test.d.ts +2 -0
- package/dist/cdk/utils/__tests__/tags.test.d.ts.map +1 -0
- package/dist/cdk/utils/__tests__/tags.test.js +57 -0
- package/dist/cdk/utils/__tests__/tags.test.js.map +1 -0
- package/dist/cdk/utils/tags.d.ts +11 -0
- package/dist/cdk/utils/tags.d.ts.map +1 -0
- package/dist/cdk/utils/tags.js +22 -0
- package/dist/cdk/utils/tags.js.map +1 -0
- package/dist/index.d.ts +3 -7
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +27 -28
- package/dist/index.js.map +1 -1
- package/dist/lib/constants.d.ts +1 -1
- package/dist/lib/constants.d.ts.map +1 -1
- package/dist/lib/constants.js +2 -2
- package/dist/lib/constants.js.map +1 -1
- package/dist/lib/errors/config.d.ts +0 -16
- package/dist/lib/errors/config.d.ts.map +1 -1
- package/dist/lib/errors/config.js +2 -29
- package/dist/lib/errors/config.js.map +1 -1
- package/dist/lib/index.d.ts +1 -2
- package/dist/lib/index.d.ts.map +1 -1
- package/dist/lib/index.js +2 -3
- package/dist/lib/index.js.map +1 -1
- package/dist/lib/packaging/helpers.d.ts +19 -0
- package/dist/lib/packaging/helpers.d.ts.map +1 -1
- package/dist/lib/packaging/helpers.js +80 -27
- package/dist/lib/packaging/helpers.js.map +1 -1
- package/dist/lib/packaging/index.d.ts +3 -7
- package/dist/lib/packaging/index.d.ts.map +1 -1
- package/dist/lib/packaging/index.js +14 -11
- package/dist/lib/packaging/index.js.map +1 -1
- package/dist/lib/packaging/node.d.ts +6 -0
- package/dist/lib/packaging/node.d.ts.map +1 -0
- package/dist/lib/packaging/node.js +106 -0
- package/dist/lib/packaging/node.js.map +1 -0
- package/dist/lib/packaging/types/packaging.d.ts +2 -0
- package/dist/lib/packaging/types/packaging.d.ts.map +1 -1
- package/dist/lib/packaging/uv.d.ts.map +1 -1
- package/dist/lib/packaging/uv.js +1 -1
- package/dist/lib/packaging/uv.js.map +1 -1
- package/dist/lib/utils/subprocess.d.ts +5 -1
- package/dist/lib/utils/subprocess.d.ts.map +1 -1
- package/dist/lib/utils/subprocess.js +0 -6
- package/dist/lib/utils/subprocess.js.map +1 -1
- package/dist/schema/constants.d.ts +31 -1
- package/dist/schema/constants.d.ts.map +1 -1
- package/dist/schema/constants.js +59 -5
- package/dist/schema/constants.js.map +1 -1
- package/dist/schema/schemas/agent-env.d.ts +277 -5
- package/dist/schema/schemas/agent-env.d.ts.map +1 -1
- package/dist/schema/schemas/agent-env.js +435 -9
- package/dist/schema/schemas/agent-env.js.map +1 -1
- package/dist/schema/schemas/agentcore-project.d.ts +1110 -23
- package/dist/schema/schemas/agentcore-project.d.ts.map +1 -1
- package/dist/schema/schemas/agentcore-project.js +335 -11
- package/dist/schema/schemas/agentcore-project.js.map +1 -1
- package/dist/schema/schemas/auth.d.ts +318 -0
- package/dist/schema/schemas/auth.d.ts.map +1 -0
- package/dist/schema/schemas/auth.js +238 -0
- package/dist/schema/schemas/auth.js.map +1 -0
- package/dist/schema/schemas/aws-targets.d.ts +39 -0
- package/dist/schema/schemas/aws-targets.d.ts.map +1 -1
- package/dist/schema/schemas/aws-targets.js +16 -2
- package/dist/schema/schemas/aws-targets.js.map +1 -1
- package/dist/schema/schemas/connections.d.ts +183 -0
- package/dist/schema/schemas/connections.d.ts.map +1 -0
- package/dist/schema/schemas/connections.js +176 -0
- package/dist/schema/schemas/connections.js.map +1 -0
- package/dist/schema/schemas/deployed-state.d.ts +204 -16
- package/dist/schema/schemas/deployed-state.d.ts.map +1 -1
- package/dist/schema/schemas/deployed-state.js +44 -4
- package/dist/schema/schemas/deployed-state.js.map +1 -1
- package/dist/schema/schemas/index.d.ts +2 -0
- package/dist/schema/schemas/index.d.ts.map +1 -1
- package/dist/schema/schemas/index.js +2 -0
- package/dist/schema/schemas/index.js.map +1 -1
- package/dist/schema/schemas/mcp.d.ts +262 -256
- package/dist/schema/schemas/mcp.d.ts.map +1 -1
- package/dist/schema/schemas/mcp.js +317 -60
- package/dist/schema/schemas/mcp.js.map +1 -1
- package/dist/schema/schemas/primitives/capacity-provider.d.ts +239 -0
- package/dist/schema/schemas/primitives/capacity-provider.d.ts.map +1 -0
- package/dist/schema/schemas/primitives/capacity-provider.js +220 -0
- package/dist/schema/schemas/primitives/capacity-provider.js.map +1 -0
- package/dist/schema/schemas/primitives/config-bundle.d.ts +31 -0
- package/dist/schema/schemas/primitives/config-bundle.d.ts.map +1 -0
- package/dist/schema/schemas/primitives/config-bundle.js +41 -0
- package/dist/schema/schemas/primitives/config-bundle.js.map +1 -0
- package/dist/schema/schemas/primitives/dataset.d.ts +53 -0
- package/dist/schema/schemas/primitives/dataset.d.ts.map +1 -0
- package/dist/schema/schemas/primitives/dataset.js +65 -0
- package/dist/schema/schemas/primitives/dataset.js.map +1 -0
- package/dist/schema/schemas/primitives/evaluator.d.ts +113 -0
- package/dist/schema/schemas/primitives/evaluator.d.ts.map +1 -0
- package/dist/schema/schemas/primitives/evaluator.js +75 -0
- package/dist/schema/schemas/primitives/evaluator.js.map +1 -0
- package/dist/schema/schemas/primitives/harness.d.ts +649 -0
- package/dist/schema/schemas/primitives/harness.d.ts.map +1 -0
- package/dist/schema/schemas/primitives/harness.js +596 -0
- package/dist/schema/schemas/primitives/harness.js.map +1 -0
- package/dist/schema/schemas/primitives/index.d.ts +18 -2
- package/dist/schema/schemas/primitives/index.d.ts.map +1 -1
- package/dist/schema/schemas/primitives/index.js +80 -1
- package/dist/schema/schemas/primitives/index.js.map +1 -1
- package/dist/schema/schemas/primitives/knowledge-base.d.ts +103 -0
- package/dist/schema/schemas/primitives/knowledge-base.d.ts.map +1 -0
- package/dist/schema/schemas/primitives/knowledge-base.js +98 -0
- package/dist/schema/schemas/primitives/knowledge-base.js.map +1 -0
- package/dist/schema/schemas/primitives/memory.d.ts +33 -2
- package/dist/schema/schemas/primitives/memory.d.ts.map +1 -1
- package/dist/schema/schemas/primitives/memory.js +33 -3
- package/dist/schema/schemas/primitives/memory.js.map +1 -1
- package/dist/schema/schemas/primitives/online-evaluation-config.d.ts +32 -0
- package/dist/schema/schemas/primitives/online-evaluation-config.d.ts.map +1 -0
- package/dist/schema/schemas/primitives/online-evaluation-config.js +66 -0
- package/dist/schema/schemas/primitives/online-evaluation-config.js.map +1 -0
- package/dist/schema/schemas/primitives/policy.d.ts +62 -0
- package/dist/schema/schemas/primitives/policy.d.ts.map +1 -0
- package/dist/schema/schemas/primitives/policy.js +64 -0
- package/dist/schema/schemas/primitives/policy.js.map +1 -0
- package/dist/schema/schemas/primitives/tags.d.ts +6 -0
- package/dist/schema/schemas/primitives/tags.d.ts.map +1 -0
- package/dist/schema/schemas/primitives/tags.js +20 -0
- package/dist/schema/schemas/primitives/tags.js.map +1 -0
- package/package.json +13 -11
- package/dist/cdk/constructs/components/container/AgentEcrRepository.d.ts +0 -25
- package/dist/cdk/constructs/components/container/AgentEcrRepository.d.ts.map +0 -1
- package/dist/cdk/constructs/components/container/AgentEcrRepository.js.map +0 -1
- package/dist/cdk/constructs/components/mcp/Gateway.d.ts +0 -55
- package/dist/cdk/constructs/components/mcp/Gateway.d.ts.map +0 -1
- package/dist/cdk/constructs/components/mcp/Gateway.js +0 -454
- package/dist/cdk/constructs/components/mcp/Gateway.js.map +0 -1
- package/dist/cdk/constructs/components/mcp/McpLambdaCompute.d.ts.map +0 -1
- package/dist/cdk/constructs/components/mcp/McpLambdaCompute.js.map +0 -1
- package/dist/cdk/constructs/components/mcp/McpRuntimeCompute.d.ts +0 -36
- package/dist/cdk/constructs/components/mcp/McpRuntimeCompute.d.ts.map +0 -1
- package/dist/cdk/constructs/components/mcp/McpRuntimeCompute.js.map +0 -1
- package/dist/cdk/constructs/components/mcp/index.d.ts +0 -5
- package/dist/cdk/constructs/components/mcp/index.d.ts.map +0 -1
- package/dist/cdk/constructs/components/mcp/index.js +0 -17
- package/dist/cdk/constructs/components/mcp/index.js.map +0 -1
- package/dist/cdk/constructs/components/mcp/mcp-utils.d.ts +0 -25
- package/dist/cdk/constructs/components/mcp/mcp-utils.d.ts.map +0 -1
- package/dist/cdk/constructs/components/mcp/mcp-utils.js +0 -43
- package/dist/cdk/constructs/components/mcp/mcp-utils.js.map +0 -1
- package/dist/cdk/constructs/components/primitives/BasePrimitiveConstruct.d.ts +0 -46
- package/dist/cdk/constructs/components/primitives/BasePrimitiveConstruct.d.ts.map +0 -1
- package/dist/cdk/constructs/components/primitives/BasePrimitiveConstruct.js +0 -49
- package/dist/cdk/constructs/components/primitives/BasePrimitiveConstruct.js.map +0 -1
- package/dist/cdk/constructs/l3/AgentCoreMcp.d.ts +0 -86
- package/dist/cdk/constructs/l3/AgentCoreMcp.d.ts.map +0 -1
- package/dist/cdk/constructs/l3/AgentCoreMcp.js +0 -241
- package/dist/cdk/constructs/l3/AgentCoreMcp.js.map +0 -1
- package/dist/cdk/constructs/l3/AgentEnvironment.d.ts +0 -34
- package/dist/cdk/constructs/l3/AgentEnvironment.d.ts.map +0 -1
- package/dist/cdk/constructs/l3/AgentEnvironment.js +0 -99
- package/dist/cdk/constructs/l3/AgentEnvironment.js.map +0 -1
- package/dist/lib/schemas/io/config-io.d.ts +0 -99
- package/dist/lib/schemas/io/config-io.d.ts.map +0 -1
- package/dist/lib/schemas/io/config-io.js +0 -283
- package/dist/lib/schemas/io/config-io.js.map +0 -1
- package/dist/lib/schemas/io/index.d.ts +0 -3
- package/dist/lib/schemas/io/index.d.ts.map +0 -1
- package/dist/lib/schemas/io/index.js +0 -17
- package/dist/lib/schemas/io/index.js.map +0 -1
- package/dist/lib/schemas/io/path-resolver.d.ts +0 -112
- package/dist/lib/schemas/io/path-resolver.d.ts.map +0 -1
- package/dist/lib/schemas/io/path-resolver.js +0 -195
- package/dist/lib/schemas/io/path-resolver.js.map +0 -1
|
@@ -7,41 +7,47 @@ export declare const GatewayTargetTypeSchema: z.ZodEnum<{
|
|
|
7
7
|
smithyModel: "smithyModel";
|
|
8
8
|
apiGateway: "apiGateway";
|
|
9
9
|
lambdaFunctionArn: "lambdaFunctionArn";
|
|
10
|
+
httpRuntime: "httpRuntime";
|
|
11
|
+
connector: "connector";
|
|
12
|
+
passthrough: "passthrough";
|
|
10
13
|
}>;
|
|
11
14
|
export type GatewayTargetType = z.infer<typeof GatewayTargetTypeSchema>;
|
|
12
|
-
export declare const GatewayAuthorizerTypeSchema: z.ZodEnum<{
|
|
13
|
-
NONE: "NONE";
|
|
14
|
-
AWS_IAM: "AWS_IAM";
|
|
15
|
-
CUSTOM_JWT: "CUSTOM_JWT";
|
|
16
|
-
}>;
|
|
17
|
-
export type GatewayAuthorizerType = z.infer<typeof GatewayAuthorizerTypeSchema>;
|
|
18
15
|
/**
|
|
19
|
-
*
|
|
20
|
-
*
|
|
16
|
+
* Target types that use the non-MCP (HTTP) protocol.
|
|
17
|
+
* These targets require a gateway with protocolType: "None".
|
|
21
18
|
*/
|
|
22
|
-
export declare const
|
|
23
|
-
discoveryUrl: z.ZodString;
|
|
24
|
-
allowedAudience: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
25
|
-
allowedClients: z.ZodArray<z.ZodString>;
|
|
26
|
-
allowedScopes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
27
|
-
}, z.core.$strip>;
|
|
28
|
-
export type CustomJwtAuthorizerConfig = z.infer<typeof CustomJwtAuthorizerConfigSchema>;
|
|
19
|
+
export declare const NON_MCP_TARGET_TYPES: readonly GatewayTargetType[];
|
|
29
20
|
/**
|
|
30
|
-
*
|
|
21
|
+
* Target types that use the MCP protocol.
|
|
31
22
|
*/
|
|
32
|
-
export declare const
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
23
|
+
export declare const MCP_TARGET_TYPES: readonly GatewayTargetType[];
|
|
24
|
+
/**
|
|
25
|
+
* Managed-service connector identifiers. The L3 maps each one to an operation
|
|
26
|
+
* name + Enabled list via CONNECTOR_DEFAULTS.
|
|
27
|
+
*/
|
|
28
|
+
export declare const CONNECTOR_ID: {
|
|
29
|
+
readonly BEDROCK_KNOWLEDGE_BASES: "bedrock-knowledge-bases";
|
|
30
|
+
readonly WEB_SEARCH: "web-search";
|
|
31
|
+
};
|
|
32
|
+
export declare const CONNECTOR_ID_VALUES: readonly ["bedrock-knowledge-bases", "web-search"];
|
|
33
|
+
export declare const ConnectorIdSchema: z.ZodEnum<{
|
|
34
|
+
"bedrock-knowledge-bases": "bedrock-knowledge-bases";
|
|
35
|
+
"web-search": "web-search";
|
|
36
|
+
}>;
|
|
37
|
+
export type ConnectorId = z.infer<typeof ConnectorIdSchema>;
|
|
38
|
+
/**
|
|
39
|
+
* Real Bedrock Knowledge Base IDs are 10 uppercase alphanumeric chars.
|
|
40
|
+
* KB names follow the standard primitive-name shape (1-48 chars, starts with a letter).
|
|
41
|
+
* The two formats can never collide, so a connector target's `configurations[].parameterValues.knowledgeBaseId`
|
|
42
|
+
* field is unambiguously a project KB name or a literal external KB ID.
|
|
43
|
+
*/
|
|
44
|
+
export declare const REAL_KB_ID_PATTERN: RegExp;
|
|
41
45
|
export declare const OutboundAuthTypeSchema: z.ZodEnum<{
|
|
42
46
|
NONE: "NONE";
|
|
43
47
|
OAUTH: "OAUTH";
|
|
44
48
|
API_KEY: "API_KEY";
|
|
49
|
+
GATEWAY_IAM_ROLE: "GATEWAY_IAM_ROLE";
|
|
50
|
+
JWT_PASSTHROUGH: "JWT_PASSTHROUGH";
|
|
45
51
|
}>;
|
|
46
52
|
export type OutboundAuthType = z.infer<typeof OutboundAuthTypeSchema>;
|
|
47
53
|
export declare const OutboundAuthSchema: z.ZodObject<{
|
|
@@ -49,9 +55,13 @@ export declare const OutboundAuthSchema: z.ZodObject<{
|
|
|
49
55
|
NONE: "NONE";
|
|
50
56
|
OAUTH: "OAUTH";
|
|
51
57
|
API_KEY: "API_KEY";
|
|
58
|
+
GATEWAY_IAM_ROLE: "GATEWAY_IAM_ROLE";
|
|
59
|
+
JWT_PASSTHROUGH: "JWT_PASSTHROUGH";
|
|
52
60
|
}>>;
|
|
53
61
|
credentialName: z.ZodOptional<z.ZodString>;
|
|
54
62
|
scopes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
63
|
+
service: z.ZodOptional<z.ZodString>;
|
|
64
|
+
region: z.ZodOptional<z.ZodString>;
|
|
55
65
|
}, z.core.$strict>;
|
|
56
66
|
export type OutboundAuth = z.infer<typeof OutboundAuthSchema>;
|
|
57
67
|
/**
|
|
@@ -214,6 +224,7 @@ declare const CodeZipRuntimeConfigSchema: z.ZodObject<{
|
|
|
214
224
|
PYTHON_3_11: "PYTHON_3_11";
|
|
215
225
|
PYTHON_3_12: "PYTHON_3_12";
|
|
216
226
|
PYTHON_3_13: "PYTHON_3_13";
|
|
227
|
+
PYTHON_3_14: "PYTHON_3_14";
|
|
217
228
|
}>;
|
|
218
229
|
name: z.ZodString;
|
|
219
230
|
entrypoint: z.ZodType<FilePath, unknown, z.core.$ZodTypeInternals<FilePath, unknown>>;
|
|
@@ -223,7 +234,7 @@ declare const CodeZipRuntimeConfigSchema: z.ZodObject<{
|
|
|
223
234
|
}, z.core.$strip>>;
|
|
224
235
|
networkMode: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
225
236
|
PUBLIC: "PUBLIC";
|
|
226
|
-
|
|
237
|
+
VPC: "VPC";
|
|
227
238
|
}>>>;
|
|
228
239
|
description: z.ZodOptional<z.ZodString>;
|
|
229
240
|
}, z.core.$strict>;
|
|
@@ -239,6 +250,7 @@ export declare const RuntimeConfigSchema: z.ZodObject<{
|
|
|
239
250
|
PYTHON_3_11: "PYTHON_3_11";
|
|
240
251
|
PYTHON_3_12: "PYTHON_3_12";
|
|
241
252
|
PYTHON_3_13: "PYTHON_3_13";
|
|
253
|
+
PYTHON_3_14: "PYTHON_3_14";
|
|
242
254
|
}>;
|
|
243
255
|
name: z.ZodString;
|
|
244
256
|
entrypoint: z.ZodType<FilePath, unknown, z.core.$ZodTypeInternals<FilePath, unknown>>;
|
|
@@ -248,7 +260,7 @@ export declare const RuntimeConfigSchema: z.ZodObject<{
|
|
|
248
260
|
}, z.core.$strip>>;
|
|
249
261
|
networkMode: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
250
262
|
PUBLIC: "PUBLIC";
|
|
251
|
-
|
|
263
|
+
VPC: "VPC";
|
|
252
264
|
}>>>;
|
|
253
265
|
description: z.ZodOptional<z.ZodString>;
|
|
254
266
|
}, z.core.$strict>;
|
|
@@ -279,6 +291,7 @@ declare const LambdaComputeConfigSchema: z.ZodObject<{
|
|
|
279
291
|
PYTHON_3_11: "PYTHON_3_11";
|
|
280
292
|
PYTHON_3_12: "PYTHON_3_12";
|
|
281
293
|
PYTHON_3_13: "PYTHON_3_13";
|
|
294
|
+
PYTHON_3_14: "PYTHON_3_14";
|
|
282
295
|
}>>;
|
|
283
296
|
timeout: z.ZodOptional<z.ZodNumber>;
|
|
284
297
|
memorySize: z.ZodOptional<z.ZodNumber>;
|
|
@@ -309,6 +322,7 @@ declare const AgentCoreRuntimeComputeConfigSchema: z.ZodObject<{
|
|
|
309
322
|
PYTHON_3_11: "PYTHON_3_11";
|
|
310
323
|
PYTHON_3_12: "PYTHON_3_12";
|
|
311
324
|
PYTHON_3_13: "PYTHON_3_13";
|
|
325
|
+
PYTHON_3_14: "PYTHON_3_14";
|
|
312
326
|
}>;
|
|
313
327
|
name: z.ZodString;
|
|
314
328
|
entrypoint: z.ZodType<FilePath, unknown, z.core.$ZodTypeInternals<FilePath, unknown>>;
|
|
@@ -318,7 +332,7 @@ declare const AgentCoreRuntimeComputeConfigSchema: z.ZodObject<{
|
|
|
318
332
|
}, z.core.$strip>>;
|
|
319
333
|
networkMode: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
320
334
|
PUBLIC: "PUBLIC";
|
|
321
|
-
|
|
335
|
+
VPC: "VPC";
|
|
322
336
|
}>>>;
|
|
323
337
|
description: z.ZodOptional<z.ZodString>;
|
|
324
338
|
}, z.core.$strict>>;
|
|
@@ -351,6 +365,7 @@ export declare const ToolComputeConfigSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
351
365
|
PYTHON_3_11: "PYTHON_3_11";
|
|
352
366
|
PYTHON_3_12: "PYTHON_3_12";
|
|
353
367
|
PYTHON_3_13: "PYTHON_3_13";
|
|
368
|
+
PYTHON_3_14: "PYTHON_3_14";
|
|
354
369
|
}>>;
|
|
355
370
|
timeout: z.ZodOptional<z.ZodNumber>;
|
|
356
371
|
memorySize: z.ZodOptional<z.ZodNumber>;
|
|
@@ -375,6 +390,7 @@ export declare const ToolComputeConfigSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
375
390
|
PYTHON_3_11: "PYTHON_3_11";
|
|
376
391
|
PYTHON_3_12: "PYTHON_3_12";
|
|
377
392
|
PYTHON_3_13: "PYTHON_3_13";
|
|
393
|
+
PYTHON_3_14: "PYTHON_3_14";
|
|
378
394
|
}>;
|
|
379
395
|
name: z.ZodString;
|
|
380
396
|
entrypoint: z.ZodType<FilePath, unknown, z.core.$ZodTypeInternals<FilePath, unknown>>;
|
|
@@ -384,7 +400,7 @@ export declare const ToolComputeConfigSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
384
400
|
}, z.core.$strip>>;
|
|
385
401
|
networkMode: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
386
402
|
PUBLIC: "PUBLIC";
|
|
387
|
-
|
|
403
|
+
VPC: "VPC";
|
|
388
404
|
}>>>;
|
|
389
405
|
description: z.ZodOptional<z.ZodString>;
|
|
390
406
|
}, z.core.$strict>>;
|
|
@@ -406,6 +422,40 @@ export declare const SchemaSourceSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
406
422
|
}, z.core.$strict>;
|
|
407
423
|
}, z.core.$strict>]>;
|
|
408
424
|
export type SchemaSource = z.infer<typeof SchemaSourceSchema>;
|
|
425
|
+
export declare const HttpRuntimeConfigSchema: z.ZodObject<{
|
|
426
|
+
runtime: z.ZodString;
|
|
427
|
+
runtimeEndpoint: z.ZodOptional<z.ZodString>;
|
|
428
|
+
}, z.core.$strict>;
|
|
429
|
+
export type HttpRuntimeConfig = z.infer<typeof HttpRuntimeConfigSchema>;
|
|
430
|
+
export declare const StickinessConfigSchema: z.ZodObject<{
|
|
431
|
+
identifier: z.ZodString;
|
|
432
|
+
timeout: z.ZodOptional<z.ZodNumber>;
|
|
433
|
+
}, z.core.$strict>;
|
|
434
|
+
export type StickinessConfig = z.infer<typeof StickinessConfigSchema>;
|
|
435
|
+
/**
|
|
436
|
+
* Passthrough protocol type. HTTP is NOT valid — use CUSTOM for plain HTTP/REST backends.
|
|
437
|
+
*/
|
|
438
|
+
export declare const PassthroughProtocolTypeSchema: z.ZodEnum<{
|
|
439
|
+
MCP: "MCP";
|
|
440
|
+
A2A: "A2A";
|
|
441
|
+
INFERENCE: "INFERENCE";
|
|
442
|
+
CUSTOM: "CUSTOM";
|
|
443
|
+
}>;
|
|
444
|
+
export type PassthroughProtocolType = z.infer<typeof PassthroughProtocolTypeSchema>;
|
|
445
|
+
export declare const PassthroughConfigSchema: z.ZodObject<{
|
|
446
|
+
endpoint: z.ZodString;
|
|
447
|
+
protocolType: z.ZodDefault<z.ZodEnum<{
|
|
448
|
+
MCP: "MCP";
|
|
449
|
+
A2A: "A2A";
|
|
450
|
+
INFERENCE: "INFERENCE";
|
|
451
|
+
CUSTOM: "CUSTOM";
|
|
452
|
+
}>>;
|
|
453
|
+
stickinessConfiguration: z.ZodOptional<z.ZodObject<{
|
|
454
|
+
identifier: z.ZodString;
|
|
455
|
+
timeout: z.ZodOptional<z.ZodNumber>;
|
|
456
|
+
}, z.core.$strict>>;
|
|
457
|
+
}, z.core.$strict>;
|
|
458
|
+
export type PassthroughConfig = z.infer<typeof PassthroughConfigSchema>;
|
|
409
459
|
/**
|
|
410
460
|
* A gateway target binds one or more ToolDefinitions to compute that services them.
|
|
411
461
|
*
|
|
@@ -423,6 +473,9 @@ export declare const AgentCoreGatewayTargetSchema: z.ZodObject<{
|
|
|
423
473
|
smithyModel: "smithyModel";
|
|
424
474
|
apiGateway: "apiGateway";
|
|
425
475
|
lambdaFunctionArn: "lambdaFunctionArn";
|
|
476
|
+
httpRuntime: "httpRuntime";
|
|
477
|
+
connector: "connector";
|
|
478
|
+
passthrough: "passthrough";
|
|
426
479
|
}>;
|
|
427
480
|
toolDefinitions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
428
481
|
name: z.ZodString;
|
|
@@ -450,6 +503,7 @@ export declare const AgentCoreGatewayTargetSchema: z.ZodObject<{
|
|
|
450
503
|
PYTHON_3_11: "PYTHON_3_11";
|
|
451
504
|
PYTHON_3_12: "PYTHON_3_12";
|
|
452
505
|
PYTHON_3_13: "PYTHON_3_13";
|
|
506
|
+
PYTHON_3_14: "PYTHON_3_14";
|
|
453
507
|
}>>;
|
|
454
508
|
timeout: z.ZodOptional<z.ZodNumber>;
|
|
455
509
|
memorySize: z.ZodOptional<z.ZodNumber>;
|
|
@@ -474,6 +528,7 @@ export declare const AgentCoreGatewayTargetSchema: z.ZodObject<{
|
|
|
474
528
|
PYTHON_3_11: "PYTHON_3_11";
|
|
475
529
|
PYTHON_3_12: "PYTHON_3_12";
|
|
476
530
|
PYTHON_3_13: "PYTHON_3_13";
|
|
531
|
+
PYTHON_3_14: "PYTHON_3_14";
|
|
477
532
|
}>;
|
|
478
533
|
name: z.ZodString;
|
|
479
534
|
entrypoint: z.ZodType<FilePath, unknown, z.core.$ZodTypeInternals<FilePath, unknown>>;
|
|
@@ -483,7 +538,7 @@ export declare const AgentCoreGatewayTargetSchema: z.ZodObject<{
|
|
|
483
538
|
}, z.core.$strip>>;
|
|
484
539
|
networkMode: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
485
540
|
PUBLIC: "PUBLIC";
|
|
486
|
-
|
|
541
|
+
VPC: "VPC";
|
|
487
542
|
}>>>;
|
|
488
543
|
description: z.ZodOptional<z.ZodString>;
|
|
489
544
|
}, z.core.$strict>>;
|
|
@@ -498,9 +553,13 @@ export declare const AgentCoreGatewayTargetSchema: z.ZodObject<{
|
|
|
498
553
|
NONE: "NONE";
|
|
499
554
|
OAUTH: "OAUTH";
|
|
500
555
|
API_KEY: "API_KEY";
|
|
556
|
+
GATEWAY_IAM_ROLE: "GATEWAY_IAM_ROLE";
|
|
557
|
+
JWT_PASSTHROUGH: "JWT_PASSTHROUGH";
|
|
501
558
|
}>>;
|
|
502
559
|
credentialName: z.ZodOptional<z.ZodString>;
|
|
503
560
|
scopes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
561
|
+
service: z.ZodOptional<z.ZodString>;
|
|
562
|
+
region: z.ZodOptional<z.ZodString>;
|
|
504
563
|
}, z.core.$strict>>;
|
|
505
564
|
apiGateway: z.ZodOptional<z.ZodObject<{
|
|
506
565
|
restApiId: z.ZodString;
|
|
@@ -548,6 +607,37 @@ export declare const AgentCoreGatewayTargetSchema: z.ZodObject<{
|
|
|
548
607
|
lambdaArn: z.ZodString;
|
|
549
608
|
toolSchemaFile: z.ZodString;
|
|
550
609
|
}, z.core.$strict>>;
|
|
610
|
+
httpRuntime: z.ZodOptional<z.ZodObject<{
|
|
611
|
+
runtime: z.ZodString;
|
|
612
|
+
runtimeEndpoint: z.ZodOptional<z.ZodString>;
|
|
613
|
+
}, z.core.$strict>>;
|
|
614
|
+
connectorId: z.ZodOptional<z.ZodEnum<{
|
|
615
|
+
"bedrock-knowledge-bases": "bedrock-knowledge-bases";
|
|
616
|
+
"web-search": "web-search";
|
|
617
|
+
}>>;
|
|
618
|
+
configurations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
619
|
+
name: z.ZodString;
|
|
620
|
+
description: z.ZodOptional<z.ZodString>;
|
|
621
|
+
parameterValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
622
|
+
parameterOverrides: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
623
|
+
path: z.ZodString;
|
|
624
|
+
description: z.ZodOptional<z.ZodString>;
|
|
625
|
+
visible: z.ZodOptional<z.ZodBoolean>;
|
|
626
|
+
}, z.core.$strip>>>;
|
|
627
|
+
}, z.core.$strip>>>;
|
|
628
|
+
passthrough: z.ZodOptional<z.ZodObject<{
|
|
629
|
+
endpoint: z.ZodString;
|
|
630
|
+
protocolType: z.ZodDefault<z.ZodEnum<{
|
|
631
|
+
MCP: "MCP";
|
|
632
|
+
A2A: "A2A";
|
|
633
|
+
INFERENCE: "INFERENCE";
|
|
634
|
+
CUSTOM: "CUSTOM";
|
|
635
|
+
}>>;
|
|
636
|
+
stickinessConfiguration: z.ZodOptional<z.ZodObject<{
|
|
637
|
+
identifier: z.ZodString;
|
|
638
|
+
timeout: z.ZodOptional<z.ZodNumber>;
|
|
639
|
+
}, z.core.$strict>>;
|
|
640
|
+
}, z.core.$strict>>;
|
|
551
641
|
}, z.core.$strict>;
|
|
552
642
|
export type AgentCoreGatewayTarget = z.infer<typeof AgentCoreGatewayTargetSchema>;
|
|
553
643
|
/** Controls the verbosity of error responses returned by the gateway. */
|
|
@@ -556,12 +646,32 @@ export declare const GatewayExceptionLevelSchema: z.ZodEnum<{
|
|
|
556
646
|
DEBUG: "DEBUG";
|
|
557
647
|
}>;
|
|
558
648
|
export type GatewayExceptionLevel = z.infer<typeof GatewayExceptionLevelSchema>;
|
|
649
|
+
export declare const PolicyEngineModeSchema: z.ZodEnum<{
|
|
650
|
+
LOG_ONLY: "LOG_ONLY";
|
|
651
|
+
ENFORCE: "ENFORCE";
|
|
652
|
+
}>;
|
|
653
|
+
export type PolicyEngineMode = z.infer<typeof PolicyEngineModeSchema>;
|
|
654
|
+
export declare const GatewayPolicyEngineConfigurationSchema: z.ZodObject<{
|
|
655
|
+
policyEngineName: z.ZodString;
|
|
656
|
+
mode: z.ZodEnum<{
|
|
657
|
+
LOG_ONLY: "LOG_ONLY";
|
|
658
|
+
ENFORCE: "ENFORCE";
|
|
659
|
+
}>;
|
|
660
|
+
}, z.core.$strict>;
|
|
661
|
+
export type GatewayPolicyEngineConfiguration = z.infer<typeof GatewayPolicyEngineConfigurationSchema>;
|
|
559
662
|
/**
|
|
560
663
|
* Gateway abstraction with opinionated defaults.
|
|
561
664
|
* Supports NONE (default) or CUSTOM_JWT authorizer types.
|
|
562
665
|
*/
|
|
563
|
-
|
|
666
|
+
/** Protocol type for the gateway. */
|
|
667
|
+
export declare const GatewayProtocolTypeSchema: z.ZodEnum<{
|
|
668
|
+
MCP: "MCP";
|
|
669
|
+
None: "None";
|
|
670
|
+
}>;
|
|
671
|
+
export type GatewayProtocolType = z.infer<typeof GatewayProtocolTypeSchema>;
|
|
672
|
+
export declare const AgentCoreGatewaySpecSchema: z.ZodObject<{
|
|
564
673
|
name: z.ZodString;
|
|
674
|
+
resourceName: z.ZodOptional<z.ZodString>;
|
|
565
675
|
description: z.ZodOptional<z.ZodString>;
|
|
566
676
|
targets: z.ZodArray<z.ZodObject<{
|
|
567
677
|
name: z.ZodString;
|
|
@@ -572,6 +682,9 @@ export declare const AgentCoreGatewaySchema: z.ZodObject<{
|
|
|
572
682
|
smithyModel: "smithyModel";
|
|
573
683
|
apiGateway: "apiGateway";
|
|
574
684
|
lambdaFunctionArn: "lambdaFunctionArn";
|
|
685
|
+
httpRuntime: "httpRuntime";
|
|
686
|
+
connector: "connector";
|
|
687
|
+
passthrough: "passthrough";
|
|
575
688
|
}>;
|
|
576
689
|
toolDefinitions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
577
690
|
name: z.ZodString;
|
|
@@ -599,6 +712,7 @@ export declare const AgentCoreGatewaySchema: z.ZodObject<{
|
|
|
599
712
|
PYTHON_3_11: "PYTHON_3_11";
|
|
600
713
|
PYTHON_3_12: "PYTHON_3_12";
|
|
601
714
|
PYTHON_3_13: "PYTHON_3_13";
|
|
715
|
+
PYTHON_3_14: "PYTHON_3_14";
|
|
602
716
|
}>>;
|
|
603
717
|
timeout: z.ZodOptional<z.ZodNumber>;
|
|
604
718
|
memorySize: z.ZodOptional<z.ZodNumber>;
|
|
@@ -623,6 +737,7 @@ export declare const AgentCoreGatewaySchema: z.ZodObject<{
|
|
|
623
737
|
PYTHON_3_11: "PYTHON_3_11";
|
|
624
738
|
PYTHON_3_12: "PYTHON_3_12";
|
|
625
739
|
PYTHON_3_13: "PYTHON_3_13";
|
|
740
|
+
PYTHON_3_14: "PYTHON_3_14";
|
|
626
741
|
}>;
|
|
627
742
|
name: z.ZodString;
|
|
628
743
|
entrypoint: z.ZodType<FilePath, unknown, z.core.$ZodTypeInternals<FilePath, unknown>>;
|
|
@@ -632,7 +747,7 @@ export declare const AgentCoreGatewaySchema: z.ZodObject<{
|
|
|
632
747
|
}, z.core.$strip>>;
|
|
633
748
|
networkMode: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
634
749
|
PUBLIC: "PUBLIC";
|
|
635
|
-
|
|
750
|
+
VPC: "VPC";
|
|
636
751
|
}>>>;
|
|
637
752
|
description: z.ZodOptional<z.ZodString>;
|
|
638
753
|
}, z.core.$strict>>;
|
|
@@ -647,9 +762,13 @@ export declare const AgentCoreGatewaySchema: z.ZodObject<{
|
|
|
647
762
|
NONE: "NONE";
|
|
648
763
|
OAUTH: "OAUTH";
|
|
649
764
|
API_KEY: "API_KEY";
|
|
765
|
+
GATEWAY_IAM_ROLE: "GATEWAY_IAM_ROLE";
|
|
766
|
+
JWT_PASSTHROUGH: "JWT_PASSTHROUGH";
|
|
650
767
|
}>>;
|
|
651
768
|
credentialName: z.ZodOptional<z.ZodString>;
|
|
652
769
|
scopes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
770
|
+
service: z.ZodOptional<z.ZodString>;
|
|
771
|
+
region: z.ZodOptional<z.ZodString>;
|
|
653
772
|
}, z.core.$strict>>;
|
|
654
773
|
apiGateway: z.ZodOptional<z.ZodObject<{
|
|
655
774
|
restApiId: z.ZodString;
|
|
@@ -697,6 +816,37 @@ export declare const AgentCoreGatewaySchema: z.ZodObject<{
|
|
|
697
816
|
lambdaArn: z.ZodString;
|
|
698
817
|
toolSchemaFile: z.ZodString;
|
|
699
818
|
}, z.core.$strict>>;
|
|
819
|
+
httpRuntime: z.ZodOptional<z.ZodObject<{
|
|
820
|
+
runtime: z.ZodString;
|
|
821
|
+
runtimeEndpoint: z.ZodOptional<z.ZodString>;
|
|
822
|
+
}, z.core.$strict>>;
|
|
823
|
+
connectorId: z.ZodOptional<z.ZodEnum<{
|
|
824
|
+
"bedrock-knowledge-bases": "bedrock-knowledge-bases";
|
|
825
|
+
"web-search": "web-search";
|
|
826
|
+
}>>;
|
|
827
|
+
configurations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
828
|
+
name: z.ZodString;
|
|
829
|
+
description: z.ZodOptional<z.ZodString>;
|
|
830
|
+
parameterValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
831
|
+
parameterOverrides: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
832
|
+
path: z.ZodString;
|
|
833
|
+
description: z.ZodOptional<z.ZodString>;
|
|
834
|
+
visible: z.ZodOptional<z.ZodBoolean>;
|
|
835
|
+
}, z.core.$strip>>>;
|
|
836
|
+
}, z.core.$strip>>>;
|
|
837
|
+
passthrough: z.ZodOptional<z.ZodObject<{
|
|
838
|
+
endpoint: z.ZodString;
|
|
839
|
+
protocolType: z.ZodDefault<z.ZodEnum<{
|
|
840
|
+
MCP: "MCP";
|
|
841
|
+
A2A: "A2A";
|
|
842
|
+
INFERENCE: "INFERENCE";
|
|
843
|
+
CUSTOM: "CUSTOM";
|
|
844
|
+
}>>;
|
|
845
|
+
stickinessConfiguration: z.ZodOptional<z.ZodObject<{
|
|
846
|
+
identifier: z.ZodString;
|
|
847
|
+
timeout: z.ZodOptional<z.ZodNumber>;
|
|
848
|
+
}, z.core.$strict>>;
|
|
849
|
+
}, z.core.$strict>>;
|
|
700
850
|
}, z.core.$strict>>;
|
|
701
851
|
authorizerType: z.ZodDefault<z.ZodEnum<{
|
|
702
852
|
NONE: "NONE";
|
|
@@ -707,38 +857,104 @@ export declare const AgentCoreGatewaySchema: z.ZodObject<{
|
|
|
707
857
|
customJwtAuthorizer: z.ZodOptional<z.ZodObject<{
|
|
708
858
|
discoveryUrl: z.ZodString;
|
|
709
859
|
allowedAudience: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
710
|
-
allowedClients: z.ZodArray<z.ZodString
|
|
860
|
+
allowedClients: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
711
861
|
allowedScopes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
712
|
-
|
|
862
|
+
customClaims: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
863
|
+
inboundTokenClaimName: z.ZodString;
|
|
864
|
+
inboundTokenClaimValueType: z.ZodEnum<{
|
|
865
|
+
STRING: "STRING";
|
|
866
|
+
STRING_ARRAY: "STRING_ARRAY";
|
|
867
|
+
}>;
|
|
868
|
+
authorizingClaimMatchValue: z.ZodObject<{
|
|
869
|
+
claimMatchOperator: z.ZodEnum<{
|
|
870
|
+
EQUALS: "EQUALS";
|
|
871
|
+
CONTAINS: "CONTAINS";
|
|
872
|
+
CONTAINS_ANY: "CONTAINS_ANY";
|
|
873
|
+
}>;
|
|
874
|
+
claimMatchValue: z.ZodObject<{
|
|
875
|
+
matchValueString: z.ZodOptional<z.ZodString>;
|
|
876
|
+
matchValueStringList: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
877
|
+
}, z.core.$strip>;
|
|
878
|
+
}, z.core.$strip>;
|
|
879
|
+
}, z.core.$strict>>>;
|
|
880
|
+
privateEndpoint: z.ZodOptional<z.ZodObject<{
|
|
881
|
+
selfManagedLatticeResource: z.ZodOptional<z.ZodObject<{
|
|
882
|
+
resourceConfigurationIdentifier: z.ZodString;
|
|
883
|
+
}, z.core.$strict>>;
|
|
884
|
+
managedVpcResource: z.ZodOptional<z.ZodObject<{
|
|
885
|
+
vpcIdentifier: z.ZodString;
|
|
886
|
+
subnetIds: z.ZodArray<z.ZodString>;
|
|
887
|
+
endpointIpAddressType: z.ZodEnum<{
|
|
888
|
+
IPV4: "IPV4";
|
|
889
|
+
IPV6: "IPV6";
|
|
890
|
+
}>;
|
|
891
|
+
securityGroupIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
892
|
+
tags: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
893
|
+
routingDomain: z.ZodOptional<z.ZodString>;
|
|
894
|
+
}, z.core.$strict>>;
|
|
895
|
+
}, z.core.$strict>>;
|
|
896
|
+
privateEndpointOverrides: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
897
|
+
domain: z.ZodString;
|
|
898
|
+
privateEndpoint: z.ZodObject<{
|
|
899
|
+
selfManagedLatticeResource: z.ZodOptional<z.ZodObject<{
|
|
900
|
+
resourceConfigurationIdentifier: z.ZodString;
|
|
901
|
+
}, z.core.$strict>>;
|
|
902
|
+
managedVpcResource: z.ZodOptional<z.ZodObject<{
|
|
903
|
+
vpcIdentifier: z.ZodString;
|
|
904
|
+
subnetIds: z.ZodArray<z.ZodString>;
|
|
905
|
+
endpointIpAddressType: z.ZodEnum<{
|
|
906
|
+
IPV4: "IPV4";
|
|
907
|
+
IPV6: "IPV6";
|
|
908
|
+
}>;
|
|
909
|
+
securityGroupIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
910
|
+
tags: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
911
|
+
routingDomain: z.ZodOptional<z.ZodString>;
|
|
912
|
+
}, z.core.$strict>>;
|
|
913
|
+
}, z.core.$strict>;
|
|
914
|
+
}, z.core.$strict>>>;
|
|
915
|
+
}, z.core.$strict>>;
|
|
713
916
|
}, z.core.$strip>>;
|
|
714
917
|
enableSemanticSearch: z.ZodDefault<z.ZodBoolean>;
|
|
715
918
|
exceptionLevel: z.ZodDefault<z.ZodEnum<{
|
|
716
919
|
NONE: "NONE";
|
|
717
920
|
DEBUG: "DEBUG";
|
|
718
921
|
}>>;
|
|
922
|
+
protocolType: z.ZodOptional<z.ZodEnum<{
|
|
923
|
+
MCP: "MCP";
|
|
924
|
+
None: "None";
|
|
925
|
+
}>>;
|
|
926
|
+
policyEngineConfiguration: z.ZodOptional<z.ZodObject<{
|
|
927
|
+
policyEngineName: z.ZodString;
|
|
928
|
+
mode: z.ZodEnum<{
|
|
929
|
+
LOG_ONLY: "LOG_ONLY";
|
|
930
|
+
ENFORCE: "ENFORCE";
|
|
931
|
+
}>;
|
|
932
|
+
}, z.core.$strict>>;
|
|
933
|
+
executionRoleArn: z.ZodOptional<z.ZodString>;
|
|
934
|
+
tags: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
719
935
|
}, z.core.$strict>;
|
|
720
|
-
export type
|
|
936
|
+
export type AgentCoreGatewaySpec = z.infer<typeof AgentCoreGatewaySpecSchema>;
|
|
721
937
|
/**
|
|
722
|
-
* Binding from
|
|
938
|
+
* Binding from a tool runtime to a runtime.
|
|
723
939
|
* When present, the agent is granted InvokeAgentRuntime permission
|
|
724
940
|
* and receives the runtime ARN in the specified environment variable.
|
|
725
941
|
*/
|
|
726
|
-
export declare const
|
|
727
|
-
|
|
942
|
+
export declare const ToolRuntimeBindingSchema: z.ZodObject<{
|
|
943
|
+
runtimeName: z.ZodString;
|
|
728
944
|
envVarName: z.ZodString;
|
|
729
945
|
}, z.core.$strict>;
|
|
730
|
-
export type
|
|
946
|
+
export type ToolRuntimeBinding = z.infer<typeof ToolRuntimeBindingSchema>;
|
|
731
947
|
/**
|
|
732
|
-
* AgentCore
|
|
948
|
+
* Tool runtimes: AgentCore Runtimes hosting MCP servers.
|
|
733
949
|
*
|
|
734
|
-
* These are not behind a
|
|
950
|
+
* These are not behind a gateway. They are deployed as AgentCoreRuntime compute
|
|
735
951
|
* and are directly addressable by agents via the generated DNS endpoint.
|
|
736
952
|
*
|
|
737
953
|
* Use the `bindings` array to grant agents permission to invoke this tool.
|
|
738
954
|
* Each binding grants InvokeAgentRuntime permission and sets an environment variable
|
|
739
955
|
* with the runtime ARN on the bound agent.
|
|
740
956
|
*/
|
|
741
|
-
export declare const
|
|
957
|
+
export declare const ToolRuntimeSchema: z.ZodObject<{
|
|
742
958
|
name: z.ZodString;
|
|
743
959
|
toolDefinition: z.ZodObject<{
|
|
744
960
|
name: z.ZodString;
|
|
@@ -763,6 +979,7 @@ export declare const AgentCoreMcpRuntimeToolSchema: z.ZodObject<{
|
|
|
763
979
|
PYTHON_3_11: "PYTHON_3_11";
|
|
764
980
|
PYTHON_3_12: "PYTHON_3_12";
|
|
765
981
|
PYTHON_3_13: "PYTHON_3_13";
|
|
982
|
+
PYTHON_3_14: "PYTHON_3_14";
|
|
766
983
|
}>;
|
|
767
984
|
name: z.ZodString;
|
|
768
985
|
entrypoint: z.ZodType<FilePath, unknown, z.core.$ZodTypeInternals<FilePath, unknown>>;
|
|
@@ -772,7 +989,7 @@ export declare const AgentCoreMcpRuntimeToolSchema: z.ZodObject<{
|
|
|
772
989
|
}, z.core.$strip>>;
|
|
773
990
|
networkMode: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
774
991
|
PUBLIC: "PUBLIC";
|
|
775
|
-
|
|
992
|
+
VPC: "VPC";
|
|
776
993
|
}>>>;
|
|
777
994
|
description: z.ZodOptional<z.ZodString>;
|
|
778
995
|
}, z.core.$strict>>;
|
|
@@ -782,220 +999,9 @@ export declare const AgentCoreMcpRuntimeToolSchema: z.ZodObject<{
|
|
|
782
999
|
}, z.core.$loose>>;
|
|
783
1000
|
}, z.core.$strict>;
|
|
784
1001
|
bindings: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
785
|
-
|
|
1002
|
+
runtimeName: z.ZodString;
|
|
786
1003
|
envVarName: z.ZodString;
|
|
787
1004
|
}, z.core.$strict>>>;
|
|
788
1005
|
}, z.core.$strict>;
|
|
789
|
-
export type
|
|
790
|
-
/**
|
|
791
|
-
* Top-level MCP schema.
|
|
792
|
-
*/
|
|
793
|
-
export declare const AgentCoreMcpSpecSchema: z.ZodObject<{
|
|
794
|
-
agentCoreGateways: z.ZodArray<z.ZodObject<{
|
|
795
|
-
name: z.ZodString;
|
|
796
|
-
description: z.ZodOptional<z.ZodString>;
|
|
797
|
-
targets: z.ZodArray<z.ZodObject<{
|
|
798
|
-
name: z.ZodString;
|
|
799
|
-
targetType: z.ZodEnum<{
|
|
800
|
-
lambda: "lambda";
|
|
801
|
-
mcpServer: "mcpServer";
|
|
802
|
-
openApiSchema: "openApiSchema";
|
|
803
|
-
smithyModel: "smithyModel";
|
|
804
|
-
apiGateway: "apiGateway";
|
|
805
|
-
lambdaFunctionArn: "lambdaFunctionArn";
|
|
806
|
-
}>;
|
|
807
|
-
toolDefinitions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
808
|
-
name: z.ZodString;
|
|
809
|
-
description: z.ZodString;
|
|
810
|
-
inputSchema: z.ZodType<import("./mcp-defs").SchemaDefinition, unknown, z.core.$ZodTypeInternals<import("./mcp-defs").SchemaDefinition, unknown>>;
|
|
811
|
-
outputSchema: z.ZodOptional<z.ZodType<import("./mcp-defs").SchemaDefinition, unknown, z.core.$ZodTypeInternals<import("./mcp-defs").SchemaDefinition, unknown>>>;
|
|
812
|
-
}, z.core.$strict>>>;
|
|
813
|
-
compute: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
814
|
-
host: z.ZodLiteral<"Lambda">;
|
|
815
|
-
implementation: z.ZodObject<{
|
|
816
|
-
language: z.ZodEnum<{
|
|
817
|
-
Python: "Python";
|
|
818
|
-
TypeScript: "TypeScript";
|
|
819
|
-
}>;
|
|
820
|
-
path: z.ZodString;
|
|
821
|
-
handler: z.ZodString;
|
|
822
|
-
}, z.core.$strict>;
|
|
823
|
-
nodeVersion: z.ZodOptional<z.ZodEnum<{
|
|
824
|
-
NODE_18: "NODE_18";
|
|
825
|
-
NODE_20: "NODE_20";
|
|
826
|
-
NODE_22: "NODE_22";
|
|
827
|
-
}>>;
|
|
828
|
-
pythonVersion: z.ZodOptional<z.ZodEnum<{
|
|
829
|
-
PYTHON_3_10: "PYTHON_3_10";
|
|
830
|
-
PYTHON_3_11: "PYTHON_3_11";
|
|
831
|
-
PYTHON_3_12: "PYTHON_3_12";
|
|
832
|
-
PYTHON_3_13: "PYTHON_3_13";
|
|
833
|
-
}>>;
|
|
834
|
-
timeout: z.ZodOptional<z.ZodNumber>;
|
|
835
|
-
memorySize: z.ZodOptional<z.ZodNumber>;
|
|
836
|
-
iamPolicy: z.ZodOptional<z.ZodObject<{
|
|
837
|
-
Version: z.ZodString;
|
|
838
|
-
Statement: z.ZodArray<z.ZodUnknown>;
|
|
839
|
-
}, z.core.$loose>>;
|
|
840
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
841
|
-
host: z.ZodLiteral<"AgentCoreRuntime">;
|
|
842
|
-
implementation: z.ZodObject<{
|
|
843
|
-
language: z.ZodEnum<{
|
|
844
|
-
Python: "Python";
|
|
845
|
-
TypeScript: "TypeScript";
|
|
846
|
-
}>;
|
|
847
|
-
path: z.ZodString;
|
|
848
|
-
handler: z.ZodString;
|
|
849
|
-
}, z.core.$strict>;
|
|
850
|
-
runtime: z.ZodOptional<z.ZodObject<{
|
|
851
|
-
build: z.ZodLiteral<"CodeZip">;
|
|
852
|
-
pythonVersion: z.ZodEnum<{
|
|
853
|
-
PYTHON_3_10: "PYTHON_3_10";
|
|
854
|
-
PYTHON_3_11: "PYTHON_3_11";
|
|
855
|
-
PYTHON_3_12: "PYTHON_3_12";
|
|
856
|
-
PYTHON_3_13: "PYTHON_3_13";
|
|
857
|
-
}>;
|
|
858
|
-
name: z.ZodString;
|
|
859
|
-
entrypoint: z.ZodType<FilePath, unknown, z.core.$ZodTypeInternals<FilePath, unknown>>;
|
|
860
|
-
codeLocation: z.ZodType<DirectoryPath, unknown, z.core.$ZodTypeInternals<DirectoryPath, unknown>>;
|
|
861
|
-
instrumentation: z.ZodOptional<z.ZodObject<{
|
|
862
|
-
enableOtel: z.ZodDefault<z.ZodBoolean>;
|
|
863
|
-
}, z.core.$strip>>;
|
|
864
|
-
networkMode: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
865
|
-
PUBLIC: "PUBLIC";
|
|
866
|
-
PRIVATE: "PRIVATE";
|
|
867
|
-
}>>>;
|
|
868
|
-
description: z.ZodOptional<z.ZodString>;
|
|
869
|
-
}, z.core.$strict>>;
|
|
870
|
-
iamPolicy: z.ZodOptional<z.ZodObject<{
|
|
871
|
-
Version: z.ZodString;
|
|
872
|
-
Statement: z.ZodArray<z.ZodUnknown>;
|
|
873
|
-
}, z.core.$loose>>;
|
|
874
|
-
}, z.core.$strict>], "host">>;
|
|
875
|
-
endpoint: z.ZodOptional<z.ZodString>;
|
|
876
|
-
outboundAuth: z.ZodOptional<z.ZodObject<{
|
|
877
|
-
type: z.ZodDefault<z.ZodEnum<{
|
|
878
|
-
NONE: "NONE";
|
|
879
|
-
OAUTH: "OAUTH";
|
|
880
|
-
API_KEY: "API_KEY";
|
|
881
|
-
}>>;
|
|
882
|
-
credentialName: z.ZodOptional<z.ZodString>;
|
|
883
|
-
scopes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
884
|
-
}, z.core.$strict>>;
|
|
885
|
-
apiGateway: z.ZodOptional<z.ZodObject<{
|
|
886
|
-
restApiId: z.ZodString;
|
|
887
|
-
stage: z.ZodString;
|
|
888
|
-
apiGatewayToolConfiguration: z.ZodObject<{
|
|
889
|
-
toolFilters: z.ZodArray<z.ZodObject<{
|
|
890
|
-
filterPath: z.ZodString;
|
|
891
|
-
methods: z.ZodArray<z.ZodEnum<{
|
|
892
|
-
GET: "GET";
|
|
893
|
-
POST: "POST";
|
|
894
|
-
PUT: "PUT";
|
|
895
|
-
DELETE: "DELETE";
|
|
896
|
-
PATCH: "PATCH";
|
|
897
|
-
HEAD: "HEAD";
|
|
898
|
-
OPTIONS: "OPTIONS";
|
|
899
|
-
}>>;
|
|
900
|
-
}, z.core.$strict>>;
|
|
901
|
-
toolOverrides: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
902
|
-
name: z.ZodString;
|
|
903
|
-
path: z.ZodString;
|
|
904
|
-
method: z.ZodEnum<{
|
|
905
|
-
GET: "GET";
|
|
906
|
-
POST: "POST";
|
|
907
|
-
PUT: "PUT";
|
|
908
|
-
DELETE: "DELETE";
|
|
909
|
-
PATCH: "PATCH";
|
|
910
|
-
HEAD: "HEAD";
|
|
911
|
-
OPTIONS: "OPTIONS";
|
|
912
|
-
}>;
|
|
913
|
-
description: z.ZodOptional<z.ZodString>;
|
|
914
|
-
}, z.core.$strict>>>;
|
|
915
|
-
}, z.core.$strict>;
|
|
916
|
-
}, z.core.$strict>>;
|
|
917
|
-
schemaSource: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
918
|
-
inline: z.ZodObject<{
|
|
919
|
-
path: z.ZodString;
|
|
920
|
-
}, z.core.$strict>;
|
|
921
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
922
|
-
s3: z.ZodObject<{
|
|
923
|
-
uri: z.ZodString;
|
|
924
|
-
bucketOwnerAccountId: z.ZodOptional<z.ZodString>;
|
|
925
|
-
}, z.core.$strict>;
|
|
926
|
-
}, z.core.$strict>]>>;
|
|
927
|
-
lambdaFunctionArn: z.ZodOptional<z.ZodObject<{
|
|
928
|
-
lambdaArn: z.ZodString;
|
|
929
|
-
toolSchemaFile: z.ZodString;
|
|
930
|
-
}, z.core.$strict>>;
|
|
931
|
-
}, z.core.$strict>>;
|
|
932
|
-
authorizerType: z.ZodDefault<z.ZodEnum<{
|
|
933
|
-
NONE: "NONE";
|
|
934
|
-
AWS_IAM: "AWS_IAM";
|
|
935
|
-
CUSTOM_JWT: "CUSTOM_JWT";
|
|
936
|
-
}>>;
|
|
937
|
-
authorizerConfiguration: z.ZodOptional<z.ZodObject<{
|
|
938
|
-
customJwtAuthorizer: z.ZodOptional<z.ZodObject<{
|
|
939
|
-
discoveryUrl: z.ZodString;
|
|
940
|
-
allowedAudience: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
941
|
-
allowedClients: z.ZodArray<z.ZodString>;
|
|
942
|
-
allowedScopes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
943
|
-
}, z.core.$strip>>;
|
|
944
|
-
}, z.core.$strip>>;
|
|
945
|
-
enableSemanticSearch: z.ZodDefault<z.ZodBoolean>;
|
|
946
|
-
exceptionLevel: z.ZodDefault<z.ZodEnum<{
|
|
947
|
-
NONE: "NONE";
|
|
948
|
-
DEBUG: "DEBUG";
|
|
949
|
-
}>>;
|
|
950
|
-
}, z.core.$strict>>;
|
|
951
|
-
mcpRuntimeTools: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
952
|
-
name: z.ZodString;
|
|
953
|
-
toolDefinition: z.ZodObject<{
|
|
954
|
-
name: z.ZodString;
|
|
955
|
-
description: z.ZodString;
|
|
956
|
-
inputSchema: z.ZodType<import("./mcp-defs").SchemaDefinition, unknown, z.core.$ZodTypeInternals<import("./mcp-defs").SchemaDefinition, unknown>>;
|
|
957
|
-
outputSchema: z.ZodOptional<z.ZodType<import("./mcp-defs").SchemaDefinition, unknown, z.core.$ZodTypeInternals<import("./mcp-defs").SchemaDefinition, unknown>>>;
|
|
958
|
-
}, z.core.$strict>;
|
|
959
|
-
compute: z.ZodObject<{
|
|
960
|
-
host: z.ZodLiteral<"AgentCoreRuntime">;
|
|
961
|
-
implementation: z.ZodObject<{
|
|
962
|
-
language: z.ZodEnum<{
|
|
963
|
-
Python: "Python";
|
|
964
|
-
TypeScript: "TypeScript";
|
|
965
|
-
}>;
|
|
966
|
-
path: z.ZodString;
|
|
967
|
-
handler: z.ZodString;
|
|
968
|
-
}, z.core.$strict>;
|
|
969
|
-
runtime: z.ZodOptional<z.ZodObject<{
|
|
970
|
-
build: z.ZodLiteral<"CodeZip">;
|
|
971
|
-
pythonVersion: z.ZodEnum<{
|
|
972
|
-
PYTHON_3_10: "PYTHON_3_10";
|
|
973
|
-
PYTHON_3_11: "PYTHON_3_11";
|
|
974
|
-
PYTHON_3_12: "PYTHON_3_12";
|
|
975
|
-
PYTHON_3_13: "PYTHON_3_13";
|
|
976
|
-
}>;
|
|
977
|
-
name: z.ZodString;
|
|
978
|
-
entrypoint: z.ZodType<FilePath, unknown, z.core.$ZodTypeInternals<FilePath, unknown>>;
|
|
979
|
-
codeLocation: z.ZodType<DirectoryPath, unknown, z.core.$ZodTypeInternals<DirectoryPath, unknown>>;
|
|
980
|
-
instrumentation: z.ZodOptional<z.ZodObject<{
|
|
981
|
-
enableOtel: z.ZodDefault<z.ZodBoolean>;
|
|
982
|
-
}, z.core.$strip>>;
|
|
983
|
-
networkMode: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
984
|
-
PUBLIC: "PUBLIC";
|
|
985
|
-
PRIVATE: "PRIVATE";
|
|
986
|
-
}>>>;
|
|
987
|
-
description: z.ZodOptional<z.ZodString>;
|
|
988
|
-
}, z.core.$strict>>;
|
|
989
|
-
iamPolicy: z.ZodOptional<z.ZodObject<{
|
|
990
|
-
Version: z.ZodString;
|
|
991
|
-
Statement: z.ZodArray<z.ZodUnknown>;
|
|
992
|
-
}, z.core.$loose>>;
|
|
993
|
-
}, z.core.$strict>;
|
|
994
|
-
bindings: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
995
|
-
agentName: z.ZodString;
|
|
996
|
-
envVarName: z.ZodString;
|
|
997
|
-
}, z.core.$strict>>>;
|
|
998
|
-
}, z.core.$strict>>>;
|
|
999
|
-
}, z.core.$strict>;
|
|
1000
|
-
export type AgentCoreMcpSpec = z.infer<typeof AgentCoreMcpSpecSchema>;
|
|
1006
|
+
export type ToolRuntime = z.infer<typeof ToolRuntimeSchema>;
|
|
1001
1007
|
//# sourceMappingURL=mcp.d.ts.map
|