@aws/agentcore-cdk 0.1.0-alpha.5 → 0.1.0-alpha.50
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 +42 -12
- package/dist/cdk/constants.d.ts +8 -0
- package/dist/cdk/constants.d.ts.map +1 -1
- package/dist/cdk/constants.js +27 -1
- package/dist/cdk/constants.js.map +1 -1
- package/dist/cdk/constructs/bundling/container/ContainerSourceAsset.d.ts +21 -4
- package/dist/cdk/constructs/bundling/container/ContainerSourceAsset.d.ts.map +1 -1
- package/dist/cdk/constructs/bundling/container/ContainerSourceAsset.js +69 -6
- 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/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 +2 -0
- 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 +23 -5
- 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/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/mcp/Gateway.d.ts +71 -0
- package/dist/cdk/constructs/components/mcp/Gateway.d.ts.map +1 -0
- package/dist/cdk/constructs/components/mcp/Gateway.js +976 -0
- package/dist/cdk/constructs/components/mcp/Gateway.js.map +1 -0
- package/dist/cdk/constructs/components/mcp/McpLambdaCompute.js +2 -2
- package/dist/cdk/constructs/components/mcp/McpLambdaCompute.js.map +1 -1
- package/dist/cdk/constructs/components/mcp/McpRuntimeCompute.js +1 -1
- package/dist/cdk/constructs/components/mcp/McpRuntimeCompute.js.map +1 -1
- package/dist/cdk/constructs/components/mcp/connector-defaults.d.ts +20 -0
- package/dist/cdk/constructs/components/mcp/connector-defaults.d.ts.map +1 -0
- package/dist/cdk/constructs/components/mcp/connector-defaults.js +16 -0
- package/dist/cdk/constructs/components/mcp/connector-defaults.js.map +1 -0
- package/dist/cdk/constructs/components/mcp/index.d.ts +1 -1
- package/dist/cdk/constructs/components/mcp/index.d.ts.map +1 -1
- package/dist/cdk/constructs/components/mcp/index.js +3 -3
- package/dist/cdk/constructs/components/mcp/index.js.map +1 -1
- package/dist/cdk/constructs/components/mcp/mcp-utils.d.ts +1 -1
- package/dist/cdk/constructs/components/mcp/mcp-utils.d.ts.map +1 -1
- package/dist/cdk/constructs/components/mcp/mcp-utils.js +2 -2
- package/dist/cdk/constructs/components/mcp/mcp-utils.js.map +1 -1
- package/dist/cdk/constructs/components/primitives/BasePrimitiveConstruct.d.ts +51 -0
- package/dist/cdk/constructs/components/primitives/BasePrimitiveConstruct.d.ts.map +1 -0
- package/dist/cdk/constructs/components/primitives/BasePrimitiveConstruct.js +54 -0
- package/dist/cdk/constructs/components/primitives/BasePrimitiveConstruct.js.map +1 -0
- package/dist/cdk/constructs/components/primitives/config-bundle/AgentCoreConfigBundle.d.ts +36 -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 +66 -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 +36 -0
- package/dist/cdk/constructs/components/primitives/dataset/AgentCoreDataset.d.ts.map +1 -0
- package/dist/cdk/constructs/components/primitives/dataset/AgentCoreDataset.js +91 -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 +50 -0
- package/dist/cdk/constructs/components/primitives/evaluator/AgentCoreEvaluator.d.ts.map +1 -0
- package/dist/cdk/constructs/components/primitives/evaluator/AgentCoreEvaluator.js +213 -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 +238 -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 +58 -0
- package/dist/cdk/constructs/components/primitives/harness/AgentCoreHarness.d.ts.map +1 -0
- package/dist/cdk/constructs/components/primitives/harness/AgentCoreHarness.js +79 -0
- package/dist/cdk/constructs/components/primitives/harness/AgentCoreHarness.js.map +1 -0
- package/dist/cdk/constructs/components/primitives/harness/AgentCoreHarnessRole.d.ts +65 -0
- package/dist/cdk/constructs/components/primitives/harness/AgentCoreHarnessRole.d.ts.map +1 -0
- package/dist/cdk/constructs/components/primitives/harness/AgentCoreHarnessRole.js +435 -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 +47 -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 +391 -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 +9 -0
- package/dist/cdk/constructs/components/primitives/index.d.ts.map +1 -1
- package/dist/cdk/constructs/components/primitives/index.js +21 -1
- package/dist/cdk/constructs/components/primitives/index.js.map +1 -1
- package/dist/cdk/constructs/components/primitives/knowledge-base/AgentCoreKnowledgeBase.d.ts +69 -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 +292 -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 +15 -4
- package/dist/cdk/constructs/components/primitives/memory/AgentCoreMemory.d.ts.map +1 -1
- package/dist/cdk/constructs/components/primitives/memory/AgentCoreMemory.js +95 -63
- package/dist/cdk/constructs/components/primitives/memory/AgentCoreMemory.js.map +1 -1
- package/dist/cdk/constructs/components/primitives/memory/__tests__/AgentCoreMemory.test.d.ts +2 -0
- package/dist/cdk/constructs/components/primitives/memory/__tests__/AgentCoreMemory.test.d.ts.map +1 -0
- package/dist/cdk/constructs/components/primitives/memory/__tests__/AgentCoreMemory.test.js +146 -0
- package/dist/cdk/constructs/components/primitives/memory/__tests__/AgentCoreMemory.test.js.map +1 -0
- package/dist/cdk/constructs/components/primitives/memory/memory-actions.d.ts +15 -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 +32 -0
- package/dist/cdk/constructs/components/primitives/memory/memory-actions.js.map +1 -0
- package/dist/cdk/constructs/components/primitives/payment/AgentCorePaymentConnector.d.ts +41 -0
- package/dist/cdk/constructs/components/primitives/payment/AgentCorePaymentConnector.d.ts.map +1 -0
- package/dist/cdk/constructs/components/primitives/payment/AgentCorePaymentConnector.js +64 -0
- package/dist/cdk/constructs/components/primitives/payment/AgentCorePaymentConnector.js.map +1 -0
- package/dist/cdk/constructs/components/primitives/payment/AgentCorePaymentManager.d.ts +38 -0
- package/dist/cdk/constructs/components/primitives/payment/AgentCorePaymentManager.d.ts.map +1 -0
- package/dist/cdk/constructs/components/primitives/payment/AgentCorePaymentManager.js +111 -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 +28 -0
- package/dist/cdk/constructs/components/primitives/policy/AgentCorePolicyEngine.d.ts.map +1 -0
- package/dist/cdk/constructs/components/primitives/policy/AgentCorePolicyEngine.js +75 -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 +35 -2
- package/dist/cdk/constructs/components/primitives/runtime/AgentCoreRuntime.d.ts.map +1 -1
- package/dist/cdk/constructs/components/primitives/runtime/AgentCoreRuntime.js +290 -80
- package/dist/cdk/constructs/components/primitives/runtime/AgentCoreRuntime.js.map +1 -1
- package/dist/cdk/constructs/components/primitives/runtime/__tests__/AgentCoreRuntime.test.d.ts +2 -0
- package/dist/cdk/constructs/components/primitives/runtime/__tests__/AgentCoreRuntime.test.d.ts.map +1 -0
- package/dist/cdk/constructs/components/primitives/runtime/__tests__/AgentCoreRuntime.test.js +113 -0
- package/dist/cdk/constructs/components/primitives/runtime/__tests__/AgentCoreRuntime.test.js.map +1 -0
- package/dist/cdk/constructs/components/shared/__tests__/build-authorizer-config.test.d.ts +2 -0
- package/dist/cdk/constructs/components/shared/__tests__/build-authorizer-config.test.d.ts.map +1 -0
- package/dist/cdk/constructs/components/shared/__tests__/build-authorizer-config.test.js +99 -0
- package/dist/cdk/constructs/components/shared/__tests__/build-authorizer-config.test.js.map +1 -0
- package/dist/cdk/constructs/components/shared/build-authorizer-config.d.ts +28 -0
- package/dist/cdk/constructs/components/shared/build-authorizer-config.d.ts.map +1 -0
- package/dist/cdk/constructs/components/shared/build-authorizer-config.js +39 -0
- package/dist/cdk/constructs/components/shared/build-authorizer-config.js.map +1 -0
- package/dist/cdk/constructs/components/shared/load-additional-policies.d.ts +18 -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 +51 -0
- package/dist/cdk/constructs/components/shared/load-additional-policies.js.map +1 -0
- package/dist/cdk/constructs/connections/wire-connections.d.ts +24 -0
- package/dist/cdk/constructs/connections/wire-connections.d.ts.map +1 -0
- package/dist/cdk/constructs/connections/wire-connections.js +218 -0
- package/dist/cdk/constructs/connections/wire-connections.js.map +1 -0
- package/dist/cdk/constructs/index.d.ts +7 -3
- package/dist/cdk/constructs/index.d.ts.map +1 -1
- package/dist/cdk/constructs/index.js +20 -1
- package/dist/cdk/constructs/index.js.map +1 -1
- package/dist/cdk/constructs/l3/AgentCoreApplication.d.ts +133 -2
- package/dist/cdk/constructs/l3/AgentCoreApplication.d.ts.map +1 -1
- package/dist/cdk/constructs/l3/AgentCoreApplication.js +553 -10
- package/dist/cdk/constructs/l3/AgentCoreApplication.js.map +1 -1
- package/dist/cdk/constructs/l3/AgentCoreHarnessEnvironment.d.ts +38 -0
- package/dist/cdk/constructs/l3/AgentCoreHarnessEnvironment.d.ts.map +1 -0
- package/dist/cdk/constructs/l3/AgentCoreHarnessEnvironment.js +92 -0
- package/dist/cdk/constructs/l3/AgentCoreHarnessEnvironment.js.map +1 -0
- package/dist/cdk/constructs/l3/AgentCoreMcp.d.ts +9 -1
- package/dist/cdk/constructs/l3/AgentCoreMcp.d.ts.map +1 -1
- package/dist/cdk/constructs/l3/AgentCoreMcp.js +95 -17
- package/dist/cdk/constructs/l3/AgentCoreMcp.js.map +1 -1
- package/dist/cdk/constructs/l3/AgentEnvironment.d.ts +9 -0
- package/dist/cdk/constructs/l3/AgentEnvironment.d.ts.map +1 -1
- package/dist/cdk/constructs/l3/AgentEnvironment.js +53 -4
- package/dist/cdk/constructs/l3/AgentEnvironment.js.map +1 -1
- package/dist/cdk/constructs/l3/index.d.ts +2 -1
- package/dist/cdk/constructs/l3/index.d.ts.map +1 -1
- package/dist/cdk/constructs/l3/index.js +3 -1
- package/dist/cdk/constructs/l3/index.js.map +1 -1
- package/dist/cdk/index.d.ts +1 -1
- package/dist/cdk/index.d.ts.map +1 -1
- package/dist/cdk/index.js +15 -1
- package/dist/cdk/index.js.map +1 -1
- 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 +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +15 -1
- package/dist/index.js.map +1 -1
- package/dist/lib/constants.d.ts +1 -0
- package/dist/lib/constants.d.ts.map +1 -1
- package/dist/lib/constants.js +2 -1
- package/dist/lib/constants.js.map +1 -1
- package/dist/lib/errors/config.js +1 -1
- package/dist/lib/errors/config.js.map +1 -1
- package/dist/lib/index.d.ts +1 -1
- package/dist/lib/index.d.ts.map +1 -1
- package/dist/lib/index.js +2 -1
- 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 +78 -21
- 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/schemas/io/config-io.d.ts +6 -3
- package/dist/lib/schemas/io/config-io.d.ts.map +1 -1
- package/dist/lib/schemas/io/config-io.js +19 -11
- package/dist/lib/schemas/io/config-io.js.map +1 -1
- package/dist/schema/constants.d.ts +30 -0
- package/dist/schema/constants.d.ts.map +1 -1
- package/dist/schema/constants.js +58 -4
- package/dist/schema/constants.js.map +1 -1
- package/dist/schema/schemas/agent-env.d.ts +244 -6
- package/dist/schema/schemas/agent-env.d.ts.map +1 -1
- package/dist/schema/schemas/agent-env.js +374 -17
- package/dist/schema/schemas/agent-env.js.map +1 -1
- package/dist/schema/schemas/agentcore-project.d.ts +1042 -22
- package/dist/schema/schemas/agentcore-project.d.ts.map +1 -1
- package/dist/schema/schemas/agentcore-project.js +312 -11
- package/dist/schema/schemas/agentcore-project.js.map +1 -1
- package/dist/schema/schemas/auth.d.ts +311 -0
- package/dist/schema/schemas/auth.d.ts.map +1 -0
- package/dist/schema/schemas/auth.js +239 -0
- package/dist/schema/schemas/auth.js.map +1 -0
- package/dist/schema/schemas/aws-targets.d.ts +33 -0
- package/dist/schema/schemas/aws-targets.d.ts.map +1 -1
- package/dist/schema/schemas/aws-targets.js +12 -0
- 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 +224 -16
- package/dist/schema/schemas/deployed-state.d.ts.map +1 -1
- package/dist/schema/schemas/deployed-state.js +52 -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 +645 -32
- package/dist/schema/schemas/mcp.d.ts.map +1 -1
- package/dist/schema/schemas/mcp.js +567 -44
- package/dist/schema/schemas/mcp.js.map +1 -1
- 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 +16 -2
- package/dist/schema/schemas/primitives/index.d.ts.map +1 -1
- package/dist/schema/schemas/primitives/index.js +65 -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 +22 -5
- package/dist/cdk/constructs/components/mcp/McpGateway.d.ts +0 -49
- package/dist/cdk/constructs/components/mcp/McpGateway.d.ts.map +0 -1
- package/dist/cdk/constructs/components/mcp/McpGateway.js +0 -288
- package/dist/cdk/constructs/components/mcp/McpGateway.js.map +0 -1
|
@@ -1,56 +1,140 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.AgentCoreMcpSpecSchema = exports.AgentCoreMcpRuntimeToolSchema = exports.McpRuntimeBindingSchema = exports.AgentCoreGatewaySchema = exports.AgentCoreGatewayTargetSchema = exports.ToolComputeConfigSchema = exports.CodeZipRuntimeSchema = exports.RuntimeConfigSchema = exports.IamPolicyDocumentSchema = exports.ToolImplementationBindingSchema = exports.ComputeHostSchema = exports.McpImplLanguageSchema = exports.OutboundAuthSchema = exports.OutboundAuthTypeSchema = exports.
|
|
3
|
+
exports.AgentCoreMcpSpecSchema = exports.AgentCoreMcpRuntimeToolSchema = exports.McpRuntimeBindingSchema = exports.AgentCoreGatewaySchema = exports.GatewayProtocolTypeSchema = exports.GatewayPolicyEngineConfigurationSchema = exports.PolicyEngineModeSchema = exports.GatewayExceptionLevelSchema = exports.AgentCoreGatewayTargetSchema = exports.PassthroughConfigSchema = exports.PassthroughProtocolTypeSchema = exports.StickinessConfigSchema = exports.HttpRuntimeConfigSchema = exports.SchemaSourceSchema = exports.ToolComputeConfigSchema = exports.CodeZipRuntimeSchema = exports.RuntimeConfigSchema = exports.IamPolicyDocumentSchema = exports.ToolImplementationBindingSchema = exports.ComputeHostSchema = exports.McpImplLanguageSchema = exports.LambdaFunctionArnConfigSchema = exports.ApiGatewayConfigSchema = exports.ApiGatewayToolConfigurationSchema = exports.ApiGatewayToolOverrideSchema = exports.ApiGatewayToolFilterSchema = exports.ApiGatewayHttpMethodSchema = exports.TARGET_TYPE_AUTH_CONFIG = exports.OutboundAuthSchema = exports.OutboundAuthTypeSchema = exports.REAL_KB_ID_PATTERN = exports.ConnectorIdSchema = exports.CONNECTOR_ID_VALUES = exports.CONNECTOR_ID = exports.MCP_TARGET_TYPES = exports.NON_MCP_TARGET_TYPES = exports.GatewayTargetTypeSchema = void 0;
|
|
4
4
|
const constants_1 = require("../constants");
|
|
5
5
|
const agent_env_1 = require("./agent-env");
|
|
6
|
+
const auth_1 = require("./auth");
|
|
6
7
|
const mcp_defs_1 = require("./mcp-defs");
|
|
8
|
+
const tags_1 = require("./primitives/tags");
|
|
7
9
|
const zod_1 = require("zod");
|
|
8
10
|
// ============================================================================
|
|
9
11
|
// MCP-Specific Schemas
|
|
10
12
|
// ============================================================================
|
|
11
|
-
exports.GatewayTargetTypeSchema = zod_1.z.enum([
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
13
|
+
exports.GatewayTargetTypeSchema = zod_1.z.enum([
|
|
14
|
+
'lambda',
|
|
15
|
+
'mcpServer',
|
|
16
|
+
'openApiSchema',
|
|
17
|
+
'smithyModel',
|
|
18
|
+
'apiGateway',
|
|
19
|
+
'lambdaFunctionArn',
|
|
20
|
+
'httpRuntime',
|
|
21
|
+
'connector',
|
|
22
|
+
'passthrough',
|
|
23
|
+
]);
|
|
18
24
|
/**
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
* @see https://openid.net/specs/openid-connect-discovery-1_0.html
|
|
25
|
+
* Target types that use the non-MCP (HTTP) protocol.
|
|
26
|
+
* These targets require a gateway with protocolType: "None".
|
|
22
27
|
*/
|
|
23
|
-
|
|
24
|
-
.string()
|
|
25
|
-
.url('Must be a valid URL')
|
|
26
|
-
.refine(url => url.endsWith(OIDC_WELL_KNOWN_SUFFIX), {
|
|
27
|
-
message: `OIDC discovery URL must end with '${OIDC_WELL_KNOWN_SUFFIX}'`,
|
|
28
|
-
});
|
|
28
|
+
exports.NON_MCP_TARGET_TYPES = ['httpRuntime', 'passthrough'];
|
|
29
29
|
/**
|
|
30
|
-
*
|
|
31
|
-
* Used when authorizerType is 'CUSTOM_JWT'.
|
|
30
|
+
* Target types that use the MCP protocol.
|
|
32
31
|
*/
|
|
33
|
-
exports.
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
32
|
+
exports.MCP_TARGET_TYPES = [
|
|
33
|
+
'lambda',
|
|
34
|
+
'mcpServer',
|
|
35
|
+
'openApiSchema',
|
|
36
|
+
'smithyModel',
|
|
37
|
+
'apiGateway',
|
|
38
|
+
'lambdaFunctionArn',
|
|
39
|
+
'connector',
|
|
40
|
+
];
|
|
41
|
+
// ============================================================================
|
|
42
|
+
// Connector (managed-service gateway target)
|
|
43
|
+
// ============================================================================
|
|
42
44
|
/**
|
|
43
|
-
*
|
|
45
|
+
* Managed-service connector identifiers. The L3 maps each one to an operation
|
|
46
|
+
* name + Enabled list via CONNECTOR_DEFAULTS.
|
|
44
47
|
*/
|
|
45
|
-
exports.
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
48
|
+
exports.CONNECTOR_ID = {
|
|
49
|
+
BEDROCK_KNOWLEDGE_BASES: 'bedrock-knowledge-bases',
|
|
50
|
+
WEB_SEARCH: 'web-search',
|
|
51
|
+
};
|
|
52
|
+
exports.CONNECTOR_ID_VALUES = [exports.CONNECTOR_ID.BEDROCK_KNOWLEDGE_BASES, exports.CONNECTOR_ID.WEB_SEARCH];
|
|
53
|
+
exports.ConnectorIdSchema = zod_1.z.enum(exports.CONNECTOR_ID_VALUES);
|
|
54
|
+
/**
|
|
55
|
+
* Real Bedrock Knowledge Base IDs are 10 uppercase alphanumeric chars.
|
|
56
|
+
* KB names follow the standard primitive-name shape (1-48 chars, starts with a letter).
|
|
57
|
+
* The two formats can never collide, so a connector target's `configurations[].parameterValues.knowledgeBaseId`
|
|
58
|
+
* field is unambiguously a project KB name or a literal external KB ID.
|
|
59
|
+
*/
|
|
60
|
+
exports.REAL_KB_ID_PATTERN = /^[A-Z0-9]{10}$/;
|
|
61
|
+
// ============================================================================
|
|
62
|
+
// Gateway Authorization Schemas
|
|
63
|
+
// ============================================================================
|
|
64
|
+
// Auth schemas (GatewayAuthorizerTypeSchema, CustomJwtAuthorizerConfigSchema, etc.)
|
|
65
|
+
// are defined in ./auth.ts and exported via the barrel (index.ts).
|
|
66
|
+
exports.OutboundAuthTypeSchema = zod_1.z.enum(['OAUTH', 'API_KEY', 'NONE', 'GATEWAY_IAM_ROLE', 'JWT_PASSTHROUGH']);
|
|
49
67
|
exports.OutboundAuthSchema = zod_1.z
|
|
50
68
|
.object({
|
|
51
69
|
type: exports.OutboundAuthTypeSchema.default('NONE'),
|
|
52
70
|
credentialName: zod_1.z.string().min(1).optional(),
|
|
53
71
|
scopes: zod_1.z.array(zod_1.z.string()).optional(),
|
|
72
|
+
service: zod_1.z.string().min(1).max(64).optional(),
|
|
73
|
+
region: zod_1.z.string().min(1).max(32).optional(),
|
|
74
|
+
})
|
|
75
|
+
.strict();
|
|
76
|
+
// ============================================================================
|
|
77
|
+
// Target Type → Auth Rules (single source of truth)
|
|
78
|
+
// ============================================================================
|
|
79
|
+
/**
|
|
80
|
+
* Outbound authentication rules per gateway target type.
|
|
81
|
+
*
|
|
82
|
+
* - `authRequired` — target cannot be created without outbound auth
|
|
83
|
+
* - `validAuthTypes` — allowed OutboundAuthType values (empty = no outbound auth applicable)
|
|
84
|
+
* - `iamRoleFallback` — CDK passes GATEWAY_IAM_ROLE when no auth configured
|
|
85
|
+
*/
|
|
86
|
+
exports.TARGET_TYPE_AUTH_CONFIG = {
|
|
87
|
+
openApiSchema: { authRequired: true, validAuthTypes: ['OAUTH', 'API_KEY'], iamRoleFallback: false },
|
|
88
|
+
smithyModel: { authRequired: false, validAuthTypes: [], iamRoleFallback: true },
|
|
89
|
+
apiGateway: { authRequired: false, validAuthTypes: ['API_KEY', 'NONE'], iamRoleFallback: true },
|
|
90
|
+
mcpServer: { authRequired: false, validAuthTypes: ['OAUTH', 'NONE'], iamRoleFallback: false },
|
|
91
|
+
lambda: { authRequired: false, validAuthTypes: ['OAUTH', 'NONE'], iamRoleFallback: true },
|
|
92
|
+
lambdaFunctionArn: { authRequired: false, validAuthTypes: ['OAUTH', 'NONE'], iamRoleFallback: true },
|
|
93
|
+
httpRuntime: { authRequired: false, validAuthTypes: ['OAUTH', 'API_KEY', 'NONE'], iamRoleFallback: true },
|
|
94
|
+
// Connector targets call the underlying managed service (Bedrock KB, etc.)
|
|
95
|
+
// via the gateway's IAM role. No outbound auth applies.
|
|
96
|
+
connector: { authRequired: false, validAuthTypes: [], iamRoleFallback: true },
|
|
97
|
+
passthrough: {
|
|
98
|
+
authRequired: true,
|
|
99
|
+
validAuthTypes: ['GATEWAY_IAM_ROLE', 'OAUTH', 'JWT_PASSTHROUGH'],
|
|
100
|
+
iamRoleFallback: false,
|
|
101
|
+
},
|
|
102
|
+
};
|
|
103
|
+
// ============================================================================
|
|
104
|
+
// API Gateway Target Schemas
|
|
105
|
+
// ============================================================================
|
|
106
|
+
exports.ApiGatewayHttpMethodSchema = zod_1.z.enum(['GET', 'POST', 'PUT', 'DELETE', 'PATCH', 'HEAD', 'OPTIONS']);
|
|
107
|
+
exports.ApiGatewayToolFilterSchema = zod_1.z
|
|
108
|
+
.object({
|
|
109
|
+
filterPath: zod_1.z.string().min(1),
|
|
110
|
+
methods: zod_1.z.array(exports.ApiGatewayHttpMethodSchema).min(1),
|
|
111
|
+
})
|
|
112
|
+
.strict();
|
|
113
|
+
exports.ApiGatewayToolOverrideSchema = zod_1.z
|
|
114
|
+
.object({
|
|
115
|
+
name: zod_1.z.string().min(1),
|
|
116
|
+
path: zod_1.z.string().min(1),
|
|
117
|
+
method: exports.ApiGatewayHttpMethodSchema,
|
|
118
|
+
description: zod_1.z.string().optional(),
|
|
119
|
+
})
|
|
120
|
+
.strict();
|
|
121
|
+
exports.ApiGatewayToolConfigurationSchema = zod_1.z
|
|
122
|
+
.object({
|
|
123
|
+
toolFilters: zod_1.z.array(exports.ApiGatewayToolFilterSchema).min(1),
|
|
124
|
+
toolOverrides: zod_1.z.array(exports.ApiGatewayToolOverrideSchema).optional(),
|
|
125
|
+
})
|
|
126
|
+
.strict();
|
|
127
|
+
exports.ApiGatewayConfigSchema = zod_1.z
|
|
128
|
+
.object({
|
|
129
|
+
restApiId: zod_1.z.string().min(1),
|
|
130
|
+
stage: zod_1.z.string().min(1),
|
|
131
|
+
apiGatewayToolConfiguration: exports.ApiGatewayToolConfigurationSchema,
|
|
132
|
+
})
|
|
133
|
+
.strict();
|
|
134
|
+
exports.LambdaFunctionArnConfigSchema = zod_1.z
|
|
135
|
+
.object({
|
|
136
|
+
lambdaArn: zod_1.z.string().min(1).max(170),
|
|
137
|
+
toolSchemaFile: zod_1.z.string().min(1),
|
|
54
138
|
})
|
|
55
139
|
.strict();
|
|
56
140
|
exports.McpImplLanguageSchema = zod_1.z.enum(['TypeScript', 'Python']);
|
|
@@ -114,7 +198,7 @@ const AgentRuntimeNameSchema = zod_1.z
|
|
|
114
198
|
const PythonEntrypointSchema = zod_1.z
|
|
115
199
|
.string()
|
|
116
200
|
.min(1)
|
|
117
|
-
.regex(/^[a-zA-Z0-9_][a-zA-Z0-9_/.-]*\.py(
|
|
201
|
+
.regex(/^[a-zA-Z0-9_][a-zA-Z0-9_/.-]*\.py(?:$|:[a-zA-Z_][a-zA-Z0-9_]*$)/, 'Must be a Python file path with optional handler (e.g., "main.py:agent" or "src/handler.py:app")');
|
|
118
202
|
/**
|
|
119
203
|
* Instrumentation configuration for runtime observability.
|
|
120
204
|
*/
|
|
@@ -200,6 +284,60 @@ exports.ToolComputeConfigSchema = zod_1.z.discriminatedUnion('host', [
|
|
|
200
284
|
AgentCoreRuntimeComputeConfigSchema,
|
|
201
285
|
]);
|
|
202
286
|
// ============================================================================
|
|
287
|
+
// Schema Source (for OpenAPI / Smithy targets)
|
|
288
|
+
// ============================================================================
|
|
289
|
+
/** S3 reference for an API schema file. */
|
|
290
|
+
const SchemaS3SourceSchema = zod_1.z
|
|
291
|
+
.object({
|
|
292
|
+
uri: zod_1.z.string().min(1).startsWith('s3://'),
|
|
293
|
+
bucketOwnerAccountId: zod_1.z.string().optional(),
|
|
294
|
+
})
|
|
295
|
+
.strict();
|
|
296
|
+
/** Inline (local file) reference for an API schema file. Path is relative to project root. */
|
|
297
|
+
const SchemaInlineSourceSchema = zod_1.z
|
|
298
|
+
.object({
|
|
299
|
+
path: zod_1.z.string().min(1),
|
|
300
|
+
})
|
|
301
|
+
.strict();
|
|
302
|
+
/** Schema source: either a local file path (read at synth time) or an S3 URI. */
|
|
303
|
+
exports.SchemaSourceSchema = zod_1.z.union([
|
|
304
|
+
zod_1.z.object({ inline: SchemaInlineSourceSchema }).strict(),
|
|
305
|
+
zod_1.z.object({ s3: SchemaS3SourceSchema }).strict(),
|
|
306
|
+
]);
|
|
307
|
+
// ============================================================================
|
|
308
|
+
// HTTP Runtime Configuration
|
|
309
|
+
// ============================================================================
|
|
310
|
+
exports.HttpRuntimeConfigSchema = zod_1.z
|
|
311
|
+
.object({
|
|
312
|
+
runtime: zod_1.z.string().min(1),
|
|
313
|
+
runtimeEndpoint: zod_1.z.string().min(1).optional(),
|
|
314
|
+
})
|
|
315
|
+
.strict();
|
|
316
|
+
// ============================================================================
|
|
317
|
+
// Passthrough Target Configuration
|
|
318
|
+
// ============================================================================
|
|
319
|
+
exports.StickinessConfigSchema = zod_1.z
|
|
320
|
+
.object({
|
|
321
|
+
identifier: zod_1.z.string().min(1).max(256),
|
|
322
|
+
timeout: zod_1.z.number().int().min(1).max(86400).optional(),
|
|
323
|
+
})
|
|
324
|
+
.strict();
|
|
325
|
+
/**
|
|
326
|
+
* Passthrough protocol type. HTTP is NOT valid — use CUSTOM for plain HTTP/REST backends.
|
|
327
|
+
*/
|
|
328
|
+
exports.PassthroughProtocolTypeSchema = zod_1.z.enum(['MCP', 'A2A', 'INFERENCE', 'CUSTOM']);
|
|
329
|
+
exports.PassthroughConfigSchema = zod_1.z
|
|
330
|
+
.object({
|
|
331
|
+
endpoint: zod_1.z
|
|
332
|
+
.string()
|
|
333
|
+
.min(1)
|
|
334
|
+
.regex(/^https:\/\/[a-zA-Z0-9\-.]+(:[0-9]{1,5})?(\/.*)?$/, 'Must be a valid HTTPS URL'),
|
|
335
|
+
/** Protocol type for the passthrough backend. Defaults to CUSTOM (generic HTTP/REST). */
|
|
336
|
+
protocolType: exports.PassthroughProtocolTypeSchema.default('CUSTOM'),
|
|
337
|
+
stickinessConfiguration: exports.StickinessConfigSchema.optional(),
|
|
338
|
+
})
|
|
339
|
+
.strict();
|
|
340
|
+
// ============================================================================
|
|
203
341
|
// Gateway Target
|
|
204
342
|
// ============================================================================
|
|
205
343
|
/**
|
|
@@ -218,18 +356,247 @@ exports.AgentCoreGatewayTargetSchema = zod_1.z
|
|
|
218
356
|
toolDefinitions: zod_1.z.array(mcp_defs_1.ToolDefinitionSchema).optional(),
|
|
219
357
|
/** Compute configuration. Required for Lambda/Runtime scaffold targets. */
|
|
220
358
|
compute: exports.ToolComputeConfigSchema.optional(),
|
|
221
|
-
/**
|
|
359
|
+
/** Endpoint URL for mcpServer targets. */
|
|
222
360
|
endpoint: zod_1.z.string().url().optional(),
|
|
223
361
|
/** Outbound auth configuration for the target. */
|
|
224
362
|
outboundAuth: exports.OutboundAuthSchema.optional(),
|
|
363
|
+
/** API Gateway configuration. Required for apiGateway target type. */
|
|
364
|
+
apiGateway: exports.ApiGatewayConfigSchema.optional(),
|
|
365
|
+
/** Schema source for openApiSchema / smithyModel targets. */
|
|
366
|
+
schemaSource: exports.SchemaSourceSchema.optional(),
|
|
367
|
+
/** Lambda Function ARN configuration. Required for lambdaFunctionArn target type. */
|
|
368
|
+
lambdaFunctionArn: exports.LambdaFunctionArnConfigSchema.optional(),
|
|
369
|
+
/** HTTP Runtime configuration. Required for httpRuntime target type. */
|
|
370
|
+
httpRuntime: exports.HttpRuntimeConfigSchema.optional(),
|
|
371
|
+
/**
|
|
372
|
+
* Managed-service connector identifier. Required for `connector` target type.
|
|
373
|
+
*/
|
|
374
|
+
connectorId: exports.ConnectorIdSchema.optional(),
|
|
375
|
+
/**
|
|
376
|
+
* Connector configurations. Each entry describes a named configuration
|
|
377
|
+
* with optional parameter values and parameter overrides.
|
|
378
|
+
*/
|
|
379
|
+
configurations: zod_1.z
|
|
380
|
+
.array(zod_1.z.object({
|
|
381
|
+
name: zod_1.z.string(),
|
|
382
|
+
description: zod_1.z.string().optional(),
|
|
383
|
+
parameterValues: zod_1.z.record(zod_1.z.string(), zod_1.z.unknown()).optional(),
|
|
384
|
+
parameterOverrides: zod_1.z
|
|
385
|
+
.array(zod_1.z.object({ path: zod_1.z.string(), description: zod_1.z.string().optional(), visible: zod_1.z.boolean().optional() }))
|
|
386
|
+
.optional(),
|
|
387
|
+
}))
|
|
388
|
+
.optional(),
|
|
389
|
+
/** Passthrough configuration. Required for passthrough target type. */
|
|
390
|
+
passthrough: exports.PassthroughConfigSchema.optional(),
|
|
225
391
|
})
|
|
226
392
|
.strict()
|
|
227
393
|
.superRefine((data, ctx) => {
|
|
228
|
-
if (data.targetType === '
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
394
|
+
if (data.targetType === 'apiGateway') {
|
|
395
|
+
if (!data.apiGateway) {
|
|
396
|
+
ctx.addIssue({
|
|
397
|
+
code: zod_1.z.ZodIssueCode.custom,
|
|
398
|
+
message: 'apiGateway config is required for apiGateway target type',
|
|
399
|
+
path: ['apiGateway'],
|
|
400
|
+
});
|
|
401
|
+
}
|
|
402
|
+
if (data.compute) {
|
|
403
|
+
ctx.addIssue({
|
|
404
|
+
code: zod_1.z.ZodIssueCode.custom,
|
|
405
|
+
message: 'compute is not applicable for apiGateway target type',
|
|
406
|
+
path: ['compute'],
|
|
407
|
+
});
|
|
408
|
+
}
|
|
409
|
+
if (data.endpoint) {
|
|
410
|
+
ctx.addIssue({
|
|
411
|
+
code: zod_1.z.ZodIssueCode.custom,
|
|
412
|
+
message: 'endpoint is not applicable for apiGateway target type',
|
|
413
|
+
path: ['endpoint'],
|
|
414
|
+
});
|
|
415
|
+
}
|
|
416
|
+
if (data.toolDefinitions && data.toolDefinitions.length > 0) {
|
|
417
|
+
ctx.addIssue({
|
|
418
|
+
code: zod_1.z.ZodIssueCode.custom,
|
|
419
|
+
message: 'toolDefinitions is not applicable for apiGateway target type',
|
|
420
|
+
path: ['toolDefinitions'],
|
|
421
|
+
});
|
|
422
|
+
}
|
|
423
|
+
if (data.lambdaFunctionArn) {
|
|
424
|
+
ctx.addIssue({
|
|
425
|
+
code: zod_1.z.ZodIssueCode.custom,
|
|
426
|
+
message: 'lambdaFunctionArn is not applicable for apiGateway target type',
|
|
427
|
+
path: ['lambdaFunctionArn'],
|
|
428
|
+
});
|
|
429
|
+
}
|
|
430
|
+
}
|
|
431
|
+
if (data.targetType === 'lambdaFunctionArn') {
|
|
432
|
+
if (!data.lambdaFunctionArn) {
|
|
433
|
+
ctx.addIssue({
|
|
434
|
+
code: zod_1.z.ZodIssueCode.custom,
|
|
435
|
+
message: 'lambdaFunctionArn config is required for lambdaFunctionArn target type',
|
|
436
|
+
path: ['lambdaFunctionArn'],
|
|
437
|
+
});
|
|
438
|
+
}
|
|
439
|
+
if (data.compute) {
|
|
440
|
+
ctx.addIssue({
|
|
441
|
+
code: zod_1.z.ZodIssueCode.custom,
|
|
442
|
+
message: 'compute is not applicable for lambdaFunctionArn target type',
|
|
443
|
+
path: ['compute'],
|
|
444
|
+
});
|
|
445
|
+
}
|
|
446
|
+
if (data.endpoint) {
|
|
447
|
+
ctx.addIssue({
|
|
448
|
+
code: zod_1.z.ZodIssueCode.custom,
|
|
449
|
+
message: 'endpoint is not applicable for lambdaFunctionArn target type',
|
|
450
|
+
path: ['endpoint'],
|
|
451
|
+
});
|
|
452
|
+
}
|
|
453
|
+
if (data.apiGateway) {
|
|
454
|
+
ctx.addIssue({
|
|
455
|
+
code: zod_1.z.ZodIssueCode.custom,
|
|
456
|
+
message: 'apiGateway is not applicable for lambdaFunctionArn target type',
|
|
457
|
+
path: ['apiGateway'],
|
|
458
|
+
});
|
|
459
|
+
}
|
|
460
|
+
if (data.toolDefinitions && data.toolDefinitions.length > 0) {
|
|
461
|
+
ctx.addIssue({
|
|
462
|
+
code: zod_1.z.ZodIssueCode.custom,
|
|
463
|
+
message: 'toolDefinitions is not applicable for lambdaFunctionArn target type (tools are defined via toolSchemaFile)',
|
|
464
|
+
path: ['toolDefinitions'],
|
|
465
|
+
});
|
|
466
|
+
}
|
|
467
|
+
if (data.outboundAuth) {
|
|
468
|
+
ctx.addIssue({
|
|
469
|
+
code: zod_1.z.ZodIssueCode.custom,
|
|
470
|
+
message: 'outboundAuth is not applicable for lambdaFunctionArn target type',
|
|
471
|
+
path: ['outboundAuth'],
|
|
472
|
+
});
|
|
473
|
+
}
|
|
474
|
+
}
|
|
475
|
+
if (data.targetType === 'httpRuntime') {
|
|
476
|
+
if (!data.httpRuntime) {
|
|
477
|
+
ctx.addIssue({
|
|
478
|
+
code: zod_1.z.ZodIssueCode.custom,
|
|
479
|
+
message: 'httpRuntime targets require an httpRuntime configuration (with a runtime reference).',
|
|
480
|
+
path: ['httpRuntime'],
|
|
481
|
+
});
|
|
482
|
+
}
|
|
483
|
+
if (data.endpoint) {
|
|
484
|
+
ctx.addIssue({
|
|
485
|
+
code: zod_1.z.ZodIssueCode.custom,
|
|
486
|
+
message: 'httpRuntime targets should use httpRuntime.runtimeEndpoint instead of endpoint.',
|
|
487
|
+
path: ['endpoint'],
|
|
488
|
+
});
|
|
489
|
+
}
|
|
490
|
+
// toolDefinitions requires a length check since it's an array
|
|
491
|
+
if (data.toolDefinitions && data.toolDefinitions.length > 0) {
|
|
492
|
+
ctx.addIssue({
|
|
493
|
+
code: zod_1.z.ZodIssueCode.custom,
|
|
494
|
+
message: 'toolDefinitions is not applicable for httpRuntime target type',
|
|
495
|
+
path: ['toolDefinitions'],
|
|
496
|
+
});
|
|
497
|
+
}
|
|
498
|
+
const HTTP_RUNTIME_DISALLOWED_FIELDS = ['compute', 'apiGateway', 'lambdaFunctionArn'];
|
|
499
|
+
for (const field of HTTP_RUNTIME_DISALLOWED_FIELDS) {
|
|
500
|
+
if (data[field]) {
|
|
501
|
+
ctx.addIssue({
|
|
502
|
+
code: zod_1.z.ZodIssueCode.custom,
|
|
503
|
+
message: `${field} is not applicable for httpRuntime target type`,
|
|
504
|
+
path: [field],
|
|
505
|
+
});
|
|
506
|
+
}
|
|
507
|
+
}
|
|
508
|
+
}
|
|
509
|
+
if (data.targetType === 'passthrough') {
|
|
510
|
+
if (!data.passthrough) {
|
|
511
|
+
ctx.addIssue({
|
|
512
|
+
code: zod_1.z.ZodIssueCode.custom,
|
|
513
|
+
message: 'passthrough targets require a passthrough configuration (with an endpoint).',
|
|
514
|
+
path: ['passthrough'],
|
|
515
|
+
});
|
|
516
|
+
}
|
|
517
|
+
if (data.endpoint) {
|
|
518
|
+
ctx.addIssue({
|
|
519
|
+
code: zod_1.z.ZodIssueCode.custom,
|
|
520
|
+
message: 'passthrough targets should use passthrough.endpoint instead of endpoint.',
|
|
521
|
+
path: ['endpoint'],
|
|
522
|
+
});
|
|
523
|
+
}
|
|
524
|
+
if (data.toolDefinitions && data.toolDefinitions.length > 0) {
|
|
525
|
+
ctx.addIssue({
|
|
526
|
+
code: zod_1.z.ZodIssueCode.custom,
|
|
527
|
+
message: 'toolDefinitions is not applicable for passthrough target type',
|
|
528
|
+
path: ['toolDefinitions'],
|
|
529
|
+
});
|
|
530
|
+
}
|
|
531
|
+
const PASSTHROUGH_DISALLOWED_FIELDS = ['compute', 'apiGateway', 'lambdaFunctionArn', 'httpRuntime'];
|
|
532
|
+
for (const field of PASSTHROUGH_DISALLOWED_FIELDS) {
|
|
533
|
+
if (data[field]) {
|
|
534
|
+
ctx.addIssue({
|
|
535
|
+
code: zod_1.z.ZodIssueCode.custom,
|
|
536
|
+
message: `${field} is not applicable for passthrough target type`,
|
|
537
|
+
path: [field],
|
|
538
|
+
});
|
|
539
|
+
}
|
|
540
|
+
}
|
|
541
|
+
}
|
|
542
|
+
if (data.targetType === 'openApiSchema' || data.targetType === 'smithyModel') {
|
|
543
|
+
if (!data.schemaSource) {
|
|
544
|
+
ctx.addIssue({
|
|
545
|
+
code: zod_1.z.ZodIssueCode.custom,
|
|
546
|
+
message: `${data.targetType} targets require a schemaSource.`,
|
|
547
|
+
path: ['schemaSource'],
|
|
548
|
+
});
|
|
549
|
+
}
|
|
550
|
+
if (data.compute) {
|
|
551
|
+
ctx.addIssue({
|
|
552
|
+
code: zod_1.z.ZodIssueCode.custom,
|
|
553
|
+
message: `compute is not applicable for ${data.targetType} target type`,
|
|
554
|
+
path: ['compute'],
|
|
555
|
+
});
|
|
556
|
+
}
|
|
557
|
+
if (data.endpoint) {
|
|
558
|
+
ctx.addIssue({
|
|
559
|
+
code: zod_1.z.ZodIssueCode.custom,
|
|
560
|
+
message: `endpoint is not applicable for ${data.targetType} target type`,
|
|
561
|
+
path: ['endpoint'],
|
|
562
|
+
});
|
|
563
|
+
}
|
|
564
|
+
if (data.toolDefinitions && data.toolDefinitions.length > 0) {
|
|
565
|
+
ctx.addIssue({
|
|
566
|
+
code: zod_1.z.ZodIssueCode.custom,
|
|
567
|
+
message: `toolDefinitions is not applicable for ${data.targetType} target type`,
|
|
568
|
+
path: ['toolDefinitions'],
|
|
569
|
+
});
|
|
570
|
+
}
|
|
571
|
+
if (data.apiGateway) {
|
|
572
|
+
ctx.addIssue({
|
|
573
|
+
code: zod_1.z.ZodIssueCode.custom,
|
|
574
|
+
message: `apiGateway config is not applicable for ${data.targetType} target type`,
|
|
575
|
+
path: ['apiGateway'],
|
|
576
|
+
});
|
|
577
|
+
}
|
|
578
|
+
}
|
|
579
|
+
if (data.targetType === 'mcpServer') {
|
|
580
|
+
if (!data.compute && !data.endpoint) {
|
|
581
|
+
ctx.addIssue({
|
|
582
|
+
code: zod_1.z.ZodIssueCode.custom,
|
|
583
|
+
message: 'MCP Server targets require either an endpoint URL or compute configuration.',
|
|
584
|
+
});
|
|
585
|
+
}
|
|
586
|
+
if (data.apiGateway) {
|
|
587
|
+
ctx.addIssue({
|
|
588
|
+
code: zod_1.z.ZodIssueCode.custom,
|
|
589
|
+
message: 'apiGateway is not applicable for mcpServer target type',
|
|
590
|
+
path: ['apiGateway'],
|
|
591
|
+
});
|
|
592
|
+
}
|
|
593
|
+
if (data.lambdaFunctionArn) {
|
|
594
|
+
ctx.addIssue({
|
|
595
|
+
code: zod_1.z.ZodIssueCode.custom,
|
|
596
|
+
message: 'lambdaFunctionArn is not applicable for mcpServer target type',
|
|
597
|
+
path: ['lambdaFunctionArn'],
|
|
598
|
+
});
|
|
599
|
+
}
|
|
233
600
|
}
|
|
234
601
|
if (data.targetType === 'lambda' && !data.compute) {
|
|
235
602
|
ctx.addIssue({
|
|
@@ -245,30 +612,173 @@ exports.AgentCoreGatewayTargetSchema = zod_1.z
|
|
|
245
612
|
path: ['toolDefinitions'],
|
|
246
613
|
});
|
|
247
614
|
}
|
|
248
|
-
if (data.
|
|
615
|
+
if (data.targetType === 'connector') {
|
|
616
|
+
if (!data.connectorId) {
|
|
617
|
+
ctx.addIssue({
|
|
618
|
+
code: zod_1.z.ZodIssueCode.custom,
|
|
619
|
+
message: 'connectorId is required for connector target type',
|
|
620
|
+
path: ['connectorId'],
|
|
621
|
+
});
|
|
622
|
+
}
|
|
623
|
+
if (data.compute) {
|
|
624
|
+
ctx.addIssue({
|
|
625
|
+
code: zod_1.z.ZodIssueCode.custom,
|
|
626
|
+
message: 'compute is not applicable for connector target type',
|
|
627
|
+
path: ['compute'],
|
|
628
|
+
});
|
|
629
|
+
}
|
|
630
|
+
if (data.endpoint) {
|
|
631
|
+
ctx.addIssue({
|
|
632
|
+
code: zod_1.z.ZodIssueCode.custom,
|
|
633
|
+
message: 'endpoint is not applicable for connector target type',
|
|
634
|
+
path: ['endpoint'],
|
|
635
|
+
});
|
|
636
|
+
}
|
|
637
|
+
if (data.toolDefinitions && data.toolDefinitions.length > 0) {
|
|
638
|
+
ctx.addIssue({
|
|
639
|
+
code: zod_1.z.ZodIssueCode.custom,
|
|
640
|
+
message: 'toolDefinitions is not applicable for connector target type',
|
|
641
|
+
path: ['toolDefinitions'],
|
|
642
|
+
});
|
|
643
|
+
}
|
|
644
|
+
if (data.apiGateway) {
|
|
645
|
+
ctx.addIssue({
|
|
646
|
+
code: zod_1.z.ZodIssueCode.custom,
|
|
647
|
+
message: 'apiGateway is not applicable for connector target type',
|
|
648
|
+
path: ['apiGateway'],
|
|
649
|
+
});
|
|
650
|
+
}
|
|
651
|
+
if (data.lambdaFunctionArn) {
|
|
652
|
+
ctx.addIssue({
|
|
653
|
+
code: zod_1.z.ZodIssueCode.custom,
|
|
654
|
+
message: 'lambdaFunctionArn is not applicable for connector target type',
|
|
655
|
+
path: ['lambdaFunctionArn'],
|
|
656
|
+
});
|
|
657
|
+
}
|
|
658
|
+
if (data.schemaSource) {
|
|
659
|
+
ctx.addIssue({
|
|
660
|
+
code: zod_1.z.ZodIssueCode.custom,
|
|
661
|
+
message: 'schemaSource is not applicable for connector target type',
|
|
662
|
+
path: ['schemaSource'],
|
|
663
|
+
});
|
|
664
|
+
}
|
|
665
|
+
}
|
|
666
|
+
if (data.targetType !== 'connector') {
|
|
667
|
+
if (data.connectorId) {
|
|
668
|
+
ctx.addIssue({
|
|
669
|
+
code: zod_1.z.ZodIssueCode.custom,
|
|
670
|
+
message: `connectorId only applies to connector target type`,
|
|
671
|
+
path: ['connectorId'],
|
|
672
|
+
});
|
|
673
|
+
}
|
|
674
|
+
if (data.configurations) {
|
|
675
|
+
ctx.addIssue({
|
|
676
|
+
code: zod_1.z.ZodIssueCode.custom,
|
|
677
|
+
message: `configurations only applies to connector target type`,
|
|
678
|
+
path: ['configurations'],
|
|
679
|
+
});
|
|
680
|
+
}
|
|
681
|
+
}
|
|
682
|
+
// Centralized outbound auth validation (driven by TARGET_TYPE_AUTH_CONFIG)
|
|
683
|
+
const authConfig = exports.TARGET_TYPE_AUTH_CONFIG[data.targetType];
|
|
684
|
+
const authType = data.outboundAuth?.type ?? 'NONE';
|
|
685
|
+
if (authConfig.authRequired && authType === 'NONE') {
|
|
686
|
+
ctx.addIssue({
|
|
687
|
+
code: zod_1.z.ZodIssueCode.custom,
|
|
688
|
+
message: `${data.targetType} targets require outbound auth (${authConfig.validAuthTypes.join(' or ')})`,
|
|
689
|
+
path: ['outboundAuth'],
|
|
690
|
+
});
|
|
691
|
+
}
|
|
692
|
+
if (authConfig.validAuthTypes.length === 0 && authType !== 'NONE') {
|
|
693
|
+
ctx.addIssue({
|
|
694
|
+
code: zod_1.z.ZodIssueCode.custom,
|
|
695
|
+
message: `${data.targetType} targets use IAM role auth; outboundAuth is not applicable`,
|
|
696
|
+
path: ['outboundAuth'],
|
|
697
|
+
});
|
|
698
|
+
}
|
|
699
|
+
if (authConfig.validAuthTypes.length > 0 && authType !== 'NONE' && !authConfig.validAuthTypes.includes(authType)) {
|
|
700
|
+
ctx.addIssue({
|
|
701
|
+
code: zod_1.z.ZodIssueCode.custom,
|
|
702
|
+
message: `${data.targetType} targets do not support ${authType} outbound auth`,
|
|
703
|
+
path: ['outboundAuth'],
|
|
704
|
+
});
|
|
705
|
+
}
|
|
706
|
+
if (data.outboundAuth &&
|
|
707
|
+
data.outboundAuth.type !== 'NONE' &&
|
|
708
|
+
data.outboundAuth.type !== 'GATEWAY_IAM_ROLE' &&
|
|
709
|
+
data.outboundAuth.type !== 'JWT_PASSTHROUGH' &&
|
|
710
|
+
!data.outboundAuth.credentialName) {
|
|
249
711
|
ctx.addIssue({
|
|
250
712
|
code: zod_1.z.ZodIssueCode.custom,
|
|
251
713
|
message: `${data.outboundAuth.type} outbound auth requires a credentialName.`,
|
|
252
714
|
path: ['outboundAuth', 'credentialName'],
|
|
253
715
|
});
|
|
254
716
|
}
|
|
717
|
+
// GATEWAY_IAM_ROLE on passthrough requires service
|
|
718
|
+
if (data.targetType === 'passthrough' &&
|
|
719
|
+
data.outboundAuth?.type === 'GATEWAY_IAM_ROLE' &&
|
|
720
|
+
!data.outboundAuth.service) {
|
|
721
|
+
ctx.addIssue({
|
|
722
|
+
code: zod_1.z.ZodIssueCode.custom,
|
|
723
|
+
message: 'GATEWAY_IAM_ROLE outbound auth on passthrough targets requires a service name.',
|
|
724
|
+
path: ['outboundAuth', 'service'],
|
|
725
|
+
});
|
|
726
|
+
}
|
|
727
|
+
// JWT_PASSTHROUGH is only valid for passthrough targets
|
|
728
|
+
if (data.outboundAuth?.type === 'JWT_PASSTHROUGH' && data.targetType !== 'passthrough') {
|
|
729
|
+
ctx.addIssue({
|
|
730
|
+
code: zod_1.z.ZodIssueCode.custom,
|
|
731
|
+
message: 'JWT_PASSTHROUGH outbound auth is only valid for passthrough targets.',
|
|
732
|
+
path: ['outboundAuth', 'type'],
|
|
733
|
+
});
|
|
734
|
+
}
|
|
255
735
|
});
|
|
256
736
|
// ============================================================================
|
|
257
737
|
// Gateway
|
|
258
738
|
// ============================================================================
|
|
739
|
+
// ── Gateway Exception Level ──
|
|
740
|
+
/** Controls the verbosity of error responses returned by the gateway. */
|
|
741
|
+
exports.GatewayExceptionLevelSchema = zod_1.z.enum(['NONE', 'DEBUG']);
|
|
742
|
+
// ── Gateway Policy Engine Configuration ──
|
|
743
|
+
exports.PolicyEngineModeSchema = zod_1.z.enum(['LOG_ONLY', 'ENFORCE']);
|
|
744
|
+
exports.GatewayPolicyEngineConfigurationSchema = zod_1.z
|
|
745
|
+
.object({
|
|
746
|
+
policyEngineName: zod_1.z.string().min(1),
|
|
747
|
+
mode: exports.PolicyEngineModeSchema,
|
|
748
|
+
})
|
|
749
|
+
.strict();
|
|
259
750
|
/**
|
|
260
751
|
* Gateway abstraction with opinionated defaults.
|
|
261
752
|
* Supports NONE (default) or CUSTOM_JWT authorizer types.
|
|
262
753
|
*/
|
|
754
|
+
/** Protocol type for the gateway. */
|
|
755
|
+
exports.GatewayProtocolTypeSchema = zod_1.z.enum(['MCP', 'None']);
|
|
263
756
|
exports.AgentCoreGatewaySchema = zod_1.z
|
|
264
757
|
.object({
|
|
265
758
|
name: agent_env_1.GatewayNameSchema,
|
|
759
|
+
/** Actual AWS resource name for imported gateways. When set, CDK uses this instead of generating projectName-name. */
|
|
760
|
+
resourceName: agent_env_1.GatewayNameSchema.optional(),
|
|
266
761
|
description: zod_1.z.string().optional(),
|
|
267
762
|
targets: zod_1.z.array(exports.AgentCoreGatewayTargetSchema),
|
|
268
763
|
/** Authorization type for the gateway. Defaults to 'NONE'. */
|
|
269
|
-
authorizerType:
|
|
764
|
+
authorizerType: auth_1.GatewayAuthorizerTypeSchema.default('NONE'),
|
|
270
765
|
/** Authorizer configuration. Required when authorizerType is 'CUSTOM_JWT'. */
|
|
271
|
-
authorizerConfiguration:
|
|
766
|
+
authorizerConfiguration: auth_1.GatewayAuthorizerConfigSchema.optional(),
|
|
767
|
+
/** Whether to enable semantic search for tool discovery. Defaults to true. */
|
|
768
|
+
enableSemanticSearch: zod_1.z.boolean().default(true),
|
|
769
|
+
/** Exception verbosity level. 'NONE' = generic errors (default), 'DEBUG' = verbose errors. */
|
|
770
|
+
exceptionLevel: exports.GatewayExceptionLevelSchema.default('NONE'),
|
|
771
|
+
/** Protocol type for the gateway. 'None' gateways skip protocol configuration. */
|
|
772
|
+
protocolType: exports.GatewayProtocolTypeSchema.optional(),
|
|
773
|
+
/** Policy engine configuration for Cedar-based authorization of tool calls. */
|
|
774
|
+
policyEngineConfiguration: exports.GatewayPolicyEngineConfigurationSchema.optional(),
|
|
775
|
+
/** ARN of an existing IAM execution role. When set, CDK uses this role instead of creating a new one. */
|
|
776
|
+
executionRoleArn: zod_1.z
|
|
777
|
+
.string()
|
|
778
|
+
.regex(/^arn:[^:]+:iam::\d{12}:role\/.+/, 'Must be a valid IAM role ARN')
|
|
779
|
+
.max(2048)
|
|
780
|
+
.optional(),
|
|
781
|
+
tags: tags_1.TagsSchema.optional(),
|
|
272
782
|
})
|
|
273
783
|
.strict()
|
|
274
784
|
.refine(data => {
|
|
@@ -280,6 +790,19 @@ exports.AgentCoreGatewaySchema = zod_1.z
|
|
|
280
790
|
}, {
|
|
281
791
|
message: 'customJwtAuthorizer configuration is required when authorizerType is CUSTOM_JWT',
|
|
282
792
|
path: ['authorizerConfiguration'],
|
|
793
|
+
})
|
|
794
|
+
.superRefine((gw, ctx) => {
|
|
795
|
+
// A protocolType: "None" (HTTP) gateway is a superset: it can host any target
|
|
796
|
+
// type, including MCP targets (mcpServer, connector, KB, etc.). Only an MCP
|
|
797
|
+
// gateway is restrictive — it cannot host the HTTP-only target types.
|
|
798
|
+
for (const target of gw.targets) {
|
|
799
|
+
if (gw.protocolType !== 'None' && exports.NON_MCP_TARGET_TYPES.includes(target.targetType)) {
|
|
800
|
+
ctx.addIssue({
|
|
801
|
+
code: zod_1.z.ZodIssueCode.custom,
|
|
802
|
+
message: `Target "${target.name}" is ${target.targetType} but gateway does not have protocolType: "None". Add --protocol-type None when creating the gateway.`,
|
|
803
|
+
});
|
|
804
|
+
}
|
|
805
|
+
}
|
|
283
806
|
});
|
|
284
807
|
// ============================================================================
|
|
285
808
|
// MCP Runtime Tool
|
|
@@ -291,7 +814,7 @@ exports.AgentCoreGatewaySchema = zod_1.z
|
|
|
291
814
|
*/
|
|
292
815
|
exports.McpRuntimeBindingSchema = zod_1.z
|
|
293
816
|
.object({
|
|
294
|
-
|
|
817
|
+
runtimeName: zod_1.z.string().min(1),
|
|
295
818
|
envVarName: agent_env_1.EnvVarNameSchema,
|
|
296
819
|
})
|
|
297
820
|
.strict();
|