@aws/agentcore-cdk 0.1.0-alpha.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.
Files changed (235) hide show
  1. package/LICENSE +175 -0
  2. package/README.md +95 -0
  3. package/dist/cdk/constants.d.ts +3 -0
  4. package/dist/cdk/constants.d.ts.map +1 -0
  5. package/dist/cdk/constants.js +9 -0
  6. package/dist/cdk/constants.js.map +1 -0
  7. package/dist/cdk/constructs/bundling/index.d.ts +9 -0
  8. package/dist/cdk/constructs/bundling/index.d.ts.map +1 -0
  9. package/dist/cdk/constructs/bundling/index.js +15 -0
  10. package/dist/cdk/constructs/bundling/index.js.map +1 -0
  11. package/dist/cdk/constructs/bundling/zip/BundledCodeZipAsset.d.ts +71 -0
  12. package/dist/cdk/constructs/bundling/zip/BundledCodeZipAsset.d.ts.map +1 -0
  13. package/dist/cdk/constructs/bundling/zip/BundledCodeZipAsset.js +71 -0
  14. package/dist/cdk/constructs/bundling/zip/BundledCodeZipAsset.js.map +1 -0
  15. package/dist/cdk/constructs/bundling/zip/PythonBundledCodeZipAsset.d.ts +15 -0
  16. package/dist/cdk/constructs/bundling/zip/PythonBundledCodeZipAsset.d.ts.map +1 -0
  17. package/dist/cdk/constructs/bundling/zip/PythonBundledCodeZipAsset.js +40 -0
  18. package/dist/cdk/constructs/bundling/zip/PythonBundledCodeZipAsset.js.map +1 -0
  19. package/dist/cdk/constructs/bundling/zip/index.d.ts +3 -0
  20. package/dist/cdk/constructs/bundling/zip/index.d.ts.map +1 -0
  21. package/dist/cdk/constructs/bundling/zip/index.js +8 -0
  22. package/dist/cdk/constructs/bundling/zip/index.js.map +1 -0
  23. package/dist/cdk/constructs/components/base-props.d.ts +8 -0
  24. package/dist/cdk/constructs/components/base-props.d.ts.map +1 -0
  25. package/dist/cdk/constructs/components/base-props.js +3 -0
  26. package/dist/cdk/constructs/components/base-props.js.map +1 -0
  27. package/dist/cdk/constructs/components/index.d.ts +4 -0
  28. package/dist/cdk/constructs/components/index.d.ts.map +1 -0
  29. package/dist/cdk/constructs/components/index.js +19 -0
  30. package/dist/cdk/constructs/components/index.js.map +1 -0
  31. package/dist/cdk/constructs/components/mcp/McpGateway.d.ts +37 -0
  32. package/dist/cdk/constructs/components/mcp/McpGateway.d.ts.map +1 -0
  33. package/dist/cdk/constructs/components/mcp/McpGateway.js +154 -0
  34. package/dist/cdk/constructs/components/mcp/McpGateway.js.map +1 -0
  35. package/dist/cdk/constructs/components/mcp/McpLambdaCompute.d.ts +33 -0
  36. package/dist/cdk/constructs/components/mcp/McpLambdaCompute.d.ts.map +1 -0
  37. package/dist/cdk/constructs/components/mcp/McpLambdaCompute.js +85 -0
  38. package/dist/cdk/constructs/components/mcp/McpLambdaCompute.js.map +1 -0
  39. package/dist/cdk/constructs/components/mcp/McpRuntimeCompute.d.ts +36 -0
  40. package/dist/cdk/constructs/components/mcp/McpRuntimeCompute.d.ts.map +1 -0
  41. package/dist/cdk/constructs/components/mcp/McpRuntimeCompute.js +73 -0
  42. package/dist/cdk/constructs/components/mcp/McpRuntimeCompute.js.map +1 -0
  43. package/dist/cdk/constructs/components/mcp/index.d.ts +5 -0
  44. package/dist/cdk/constructs/components/mcp/index.d.ts.map +1 -0
  45. package/dist/cdk/constructs/components/mcp/index.js +17 -0
  46. package/dist/cdk/constructs/components/mcp/index.js.map +1 -0
  47. package/dist/cdk/constructs/components/mcp/mcp-utils.d.ts +25 -0
  48. package/dist/cdk/constructs/components/mcp/mcp-utils.d.ts.map +1 -0
  49. package/dist/cdk/constructs/components/mcp/mcp-utils.js +43 -0
  50. package/dist/cdk/constructs/components/mcp/mcp-utils.js.map +1 -0
  51. package/dist/cdk/constructs/components/primitives/index.d.ts +3 -0
  52. package/dist/cdk/constructs/components/primitives/index.d.ts.map +1 -0
  53. package/dist/cdk/constructs/components/primitives/index.js +9 -0
  54. package/dist/cdk/constructs/components/primitives/index.js.map +1 -0
  55. package/dist/cdk/constructs/components/primitives/memory/AgentCoreMemory.d.ts +64 -0
  56. package/dist/cdk/constructs/components/primitives/memory/AgentCoreMemory.d.ts.map +1 -0
  57. package/dist/cdk/constructs/components/primitives/memory/AgentCoreMemory.js +191 -0
  58. package/dist/cdk/constructs/components/primitives/memory/AgentCoreMemory.js.map +1 -0
  59. package/dist/cdk/constructs/components/primitives/memory/index.d.ts +2 -0
  60. package/dist/cdk/constructs/components/primitives/memory/index.d.ts.map +1 -0
  61. package/dist/cdk/constructs/components/primitives/memory/index.js +6 -0
  62. package/dist/cdk/constructs/components/primitives/memory/index.js.map +1 -0
  63. package/dist/cdk/constructs/components/primitives/runtime/AgentCoreRuntime.d.ts +52 -0
  64. package/dist/cdk/constructs/components/primitives/runtime/AgentCoreRuntime.d.ts.map +1 -0
  65. package/dist/cdk/constructs/components/primitives/runtime/AgentCoreRuntime.js +179 -0
  66. package/dist/cdk/constructs/components/primitives/runtime/AgentCoreRuntime.js.map +1 -0
  67. package/dist/cdk/constructs/components/primitives/runtime/AgentCoreRuntimeRole.d.ts +24 -0
  68. package/dist/cdk/constructs/components/primitives/runtime/AgentCoreRuntimeRole.d.ts.map +1 -0
  69. package/dist/cdk/constructs/components/primitives/runtime/AgentCoreRuntimeRole.js +39 -0
  70. package/dist/cdk/constructs/components/primitives/runtime/AgentCoreRuntimeRole.js.map +1 -0
  71. package/dist/cdk/constructs/components/primitives/runtime/index.d.ts +3 -0
  72. package/dist/cdk/constructs/components/primitives/runtime/index.d.ts.map +1 -0
  73. package/dist/cdk/constructs/components/primitives/runtime/index.js +8 -0
  74. package/dist/cdk/constructs/components/primitives/runtime/index.js.map +1 -0
  75. package/dist/cdk/constructs/index.d.ts +4 -0
  76. package/dist/cdk/constructs/index.d.ts.map +1 -0
  77. package/dist/cdk/constructs/index.js +18 -0
  78. package/dist/cdk/constructs/index.js.map +1 -0
  79. package/dist/cdk/constructs/l3/AgentCoreApplication.d.ts +44 -0
  80. package/dist/cdk/constructs/l3/AgentCoreApplication.d.ts.map +1 -0
  81. package/dist/cdk/constructs/l3/AgentCoreApplication.js +121 -0
  82. package/dist/cdk/constructs/l3/AgentCoreApplication.js.map +1 -0
  83. package/dist/cdk/constructs/l3/AgentCoreMcp.d.ts +76 -0
  84. package/dist/cdk/constructs/l3/AgentCoreMcp.d.ts.map +1 -0
  85. package/dist/cdk/constructs/l3/AgentCoreMcp.js +203 -0
  86. package/dist/cdk/constructs/l3/AgentCoreMcp.js.map +1 -0
  87. package/dist/cdk/constructs/l3/AgentEnvironment.d.ts +34 -0
  88. package/dist/cdk/constructs/l3/AgentEnvironment.d.ts.map +1 -0
  89. package/dist/cdk/constructs/l3/AgentEnvironment.js +66 -0
  90. package/dist/cdk/constructs/l3/AgentEnvironment.js.map +1 -0
  91. package/dist/cdk/constructs/l3/index.d.ts +4 -0
  92. package/dist/cdk/constructs/l3/index.d.ts.map +1 -0
  93. package/dist/cdk/constructs/l3/index.js +10 -0
  94. package/dist/cdk/constructs/l3/index.js.map +1 -0
  95. package/dist/cdk/index.d.ts +4 -0
  96. package/dist/cdk/index.d.ts.map +1 -0
  97. package/dist/cdk/index.js +21 -0
  98. package/dist/cdk/index.js.map +1 -0
  99. package/dist/cdk/logical-ids.d.ts +36 -0
  100. package/dist/cdk/logical-ids.d.ts.map +1 -0
  101. package/dist/cdk/logical-ids.js +88 -0
  102. package/dist/cdk/logical-ids.js.map +1 -0
  103. package/dist/index.d.ts +14 -0
  104. package/dist/index.d.ts.map +1 -0
  105. package/dist/index.js +64 -0
  106. package/dist/index.js.map +1 -0
  107. package/dist/lib/constants.d.ts +24 -0
  108. package/dist/lib/constants.d.ts.map +1 -0
  109. package/dist/lib/constants.js +48 -0
  110. package/dist/lib/constants.js.map +1 -0
  111. package/dist/lib/errors/config.d.ts +49 -0
  112. package/dist/lib/errors/config.d.ts.map +1 -0
  113. package/dist/lib/errors/config.js +167 -0
  114. package/dist/lib/errors/config.js.map +1 -0
  115. package/dist/lib/errors/index.d.ts +2 -0
  116. package/dist/lib/errors/index.d.ts.map +1 -0
  117. package/dist/lib/errors/index.js +18 -0
  118. package/dist/lib/errors/index.js.map +1 -0
  119. package/dist/lib/index.d.ts +7 -0
  120. package/dist/lib/index.d.ts.map +1 -0
  121. package/dist/lib/index.js +37 -0
  122. package/dist/lib/index.js.map +1 -0
  123. package/dist/lib/packaging/errors.d.ts +16 -0
  124. package/dist/lib/packaging/errors.d.ts.map +1 -0
  125. package/dist/lib/packaging/errors.js +36 -0
  126. package/dist/lib/packaging/errors.js.map +1 -0
  127. package/dist/lib/packaging/helpers.d.ts +56 -0
  128. package/dist/lib/packaging/helpers.d.ts.map +1 -0
  129. package/dist/lib/packaging/helpers.js +428 -0
  130. package/dist/lib/packaging/helpers.js.map +1 -0
  131. package/dist/lib/packaging/index.d.ts +24 -0
  132. package/dist/lib/packaging/index.d.ts.map +1 -0
  133. package/dist/lib/packaging/index.js +55 -0
  134. package/dist/lib/packaging/index.js.map +1 -0
  135. package/dist/lib/packaging/python.d.ts +10 -0
  136. package/dist/lib/packaging/python.d.ts.map +1 -0
  137. package/dist/lib/packaging/python.js +94 -0
  138. package/dist/lib/packaging/python.js.map +1 -0
  139. package/dist/lib/packaging/types/index.d.ts +2 -0
  140. package/dist/lib/packaging/types/index.d.ts.map +1 -0
  141. package/dist/lib/packaging/types/index.js +3 -0
  142. package/dist/lib/packaging/types/index.js.map +1 -0
  143. package/dist/lib/packaging/types/packaging.d.ts +36 -0
  144. package/dist/lib/packaging/types/packaging.d.ts.map +1 -0
  145. package/dist/lib/packaging/types/packaging.js +3 -0
  146. package/dist/lib/packaging/types/packaging.js.map +1 -0
  147. package/dist/lib/packaging/uv.d.ts +7 -0
  148. package/dist/lib/packaging/uv.d.ts.map +1 -0
  149. package/dist/lib/packaging/uv.js +40 -0
  150. package/dist/lib/packaging/uv.js.map +1 -0
  151. package/dist/lib/schemas/io/config-io.d.ts +99 -0
  152. package/dist/lib/schemas/io/config-io.d.ts.map +1 -0
  153. package/dist/lib/schemas/io/config-io.js +283 -0
  154. package/dist/lib/schemas/io/config-io.js.map +1 -0
  155. package/dist/lib/schemas/io/index.d.ts +3 -0
  156. package/dist/lib/schemas/io/index.d.ts.map +1 -0
  157. package/dist/lib/schemas/io/index.js +17 -0
  158. package/dist/lib/schemas/io/index.js.map +1 -0
  159. package/dist/lib/schemas/io/path-resolver.d.ts +112 -0
  160. package/dist/lib/schemas/io/path-resolver.d.ts.map +1 -0
  161. package/dist/lib/schemas/io/path-resolver.js +195 -0
  162. package/dist/lib/schemas/io/path-resolver.js.map +1 -0
  163. package/dist/lib/utils/index.d.ts +4 -0
  164. package/dist/lib/utils/index.d.ts.map +1 -0
  165. package/dist/lib/utils/index.js +15 -0
  166. package/dist/lib/utils/index.js.map +1 -0
  167. package/dist/lib/utils/platform.d.ts +2 -0
  168. package/dist/lib/utils/platform.d.ts.map +1 -0
  169. package/dist/lib/utils/platform.js +5 -0
  170. package/dist/lib/utils/platform.js.map +1 -0
  171. package/dist/lib/utils/subprocess.d.ts +29 -0
  172. package/dist/lib/utils/subprocess.d.ts.map +1 -0
  173. package/dist/lib/utils/subprocess.js +94 -0
  174. package/dist/lib/utils/subprocess.js.map +1 -0
  175. package/dist/lib/utils/zod.d.ts +14 -0
  176. package/dist/lib/utils/zod.d.ts.map +1 -0
  177. package/dist/lib/utils/zod.js +32 -0
  178. package/dist/lib/utils/zod.js.map +1 -0
  179. package/dist/schema/constants.d.ts +83 -0
  180. package/dist/schema/constants.d.ts.map +1 -0
  181. package/dist/schema/constants.js +125 -0
  182. package/dist/schema/constants.js.map +1 -0
  183. package/dist/schema/index.d.ts +4 -0
  184. package/dist/schema/index.d.ts.map +1 -0
  185. package/dist/schema/index.js +21 -0
  186. package/dist/schema/index.js.map +1 -0
  187. package/dist/schema/schemas/agent-env.d.ts +75 -0
  188. package/dist/schema/schemas/agent-env.d.ts.map +1 -0
  189. package/dist/schema/schemas/agent-env.js +84 -0
  190. package/dist/schema/schemas/agent-env.js.map +1 -0
  191. package/dist/schema/schemas/agentcore-project.d.ts +90 -0
  192. package/dist/schema/schemas/agentcore-project.d.ts.map +1 -0
  193. package/dist/schema/schemas/agentcore-project.js +82 -0
  194. package/dist/schema/schemas/agentcore-project.js.map +1 -0
  195. package/dist/schema/schemas/aws-targets.d.ts +50 -0
  196. package/dist/schema/schemas/aws-targets.d.ts.map +1 -0
  197. package/dist/schema/schemas/aws-targets.js +49 -0
  198. package/dist/schema/schemas/aws-targets.js.map +1 -0
  199. package/dist/schema/schemas/deployed-state.d.ts +251 -0
  200. package/dist/schema/schemas/deployed-state.d.ts.map +1 -0
  201. package/dist/schema/schemas/deployed-state.js +98 -0
  202. package/dist/schema/schemas/deployed-state.js.map +1 -0
  203. package/dist/schema/schemas/index.d.ts +8 -0
  204. package/dist/schema/schemas/index.d.ts.map +1 -0
  205. package/dist/schema/schemas/index.js +25 -0
  206. package/dist/schema/schemas/index.js.map +1 -0
  207. package/dist/schema/schemas/mcp-defs.d.ts +52 -0
  208. package/dist/schema/schemas/mcp-defs.d.ts.map +1 -0
  209. package/dist/schema/schemas/mcp-defs.js +50 -0
  210. package/dist/schema/schemas/mcp-defs.js.map +1 -0
  211. package/dist/schema/schemas/mcp.d.ts +660 -0
  212. package/dist/schema/schemas/mcp.d.ts.map +1 -0
  213. package/dist/schema/schemas/mcp.js +284 -0
  214. package/dist/schema/schemas/mcp.js.map +1 -0
  215. package/dist/schema/schemas/primitives/index.d.ts +3 -0
  216. package/dist/schema/schemas/primitives/index.d.ts.map +1 -0
  217. package/dist/schema/schemas/primitives/index.js +8 -0
  218. package/dist/schema/schemas/primitives/index.js.map +1 -0
  219. package/dist/schema/schemas/primitives/memory.d.ts +40 -0
  220. package/dist/schema/schemas/primitives/memory.d.ts.map +1 -0
  221. package/dist/schema/schemas/primitives/memory.js +42 -0
  222. package/dist/schema/schemas/primitives/memory.js.map +1 -0
  223. package/dist/schema/schemas/zod-util.d.ts +10 -0
  224. package/dist/schema/schemas/zod-util.d.ts.map +1 -0
  225. package/dist/schema/schemas/zod-util.js +23 -0
  226. package/dist/schema/schemas/zod-util.js.map +1 -0
  227. package/dist/schema/types/index.d.ts +2 -0
  228. package/dist/schema/types/index.d.ts.map +1 -0
  229. package/dist/schema/types/index.js +18 -0
  230. package/dist/schema/types/index.js.map +1 -0
  231. package/dist/schema/types/path.d.ts +27 -0
  232. package/dist/schema/types/path.d.ts.map +1 -0
  233. package/dist/schema/types/path.js +13 -0
  234. package/dist/schema/types/path.js.map +1 -0
  235. package/package.json +97 -0
@@ -0,0 +1,660 @@
1
+ import type { DirectoryPath, FilePath } from '../types';
2
+ import { z } from 'zod';
3
+ export declare const GatewayTargetTypeSchema: z.ZodEnum<{
4
+ lambda: "lambda";
5
+ mcpServer: "mcpServer";
6
+ openApiSchema: "openApiSchema";
7
+ smithyModel: "smithyModel";
8
+ }>;
9
+ export type GatewayTargetType = z.infer<typeof GatewayTargetTypeSchema>;
10
+ export declare const GatewayAuthorizerTypeSchema: z.ZodEnum<{
11
+ NONE: "NONE";
12
+ CUSTOM_JWT: "CUSTOM_JWT";
13
+ }>;
14
+ export type GatewayAuthorizerType = z.infer<typeof GatewayAuthorizerTypeSchema>;
15
+ /**
16
+ * Custom JWT authorizer configuration.
17
+ * Used when authorizerType is 'CUSTOM_JWT'.
18
+ */
19
+ export declare const CustomJwtAuthorizerConfigSchema: z.ZodObject<{
20
+ discoveryUrl: z.ZodString;
21
+ allowedAudience: z.ZodArray<z.ZodString>;
22
+ allowedClients: z.ZodArray<z.ZodString>;
23
+ }, z.core.$strip>;
24
+ export type CustomJwtAuthorizerConfig = z.infer<typeof CustomJwtAuthorizerConfigSchema>;
25
+ /**
26
+ * Gateway authorizer configuration container.
27
+ */
28
+ export declare const GatewayAuthorizerConfigSchema: z.ZodObject<{
29
+ customJwtAuthorizer: z.ZodOptional<z.ZodObject<{
30
+ discoveryUrl: z.ZodString;
31
+ allowedAudience: z.ZodArray<z.ZodString>;
32
+ allowedClients: z.ZodArray<z.ZodString>;
33
+ }, z.core.$strip>>;
34
+ }, z.core.$strip>;
35
+ export type GatewayAuthorizerConfig = z.infer<typeof GatewayAuthorizerConfigSchema>;
36
+ export declare const McpImplLanguageSchema: z.ZodEnum<{
37
+ Python: "Python";
38
+ TypeScript: "TypeScript";
39
+ }>;
40
+ export type McpImplementationLanguage = z.infer<typeof McpImplLanguageSchema>;
41
+ export declare const ComputeHostSchema: z.ZodEnum<{
42
+ AgentCoreRuntime: "AgentCoreRuntime";
43
+ Lambda: "Lambda";
44
+ }>;
45
+ export type ComputeHost = z.infer<typeof ComputeHostSchema>;
46
+ /**
47
+ * Code-based tool implementation (Python, TypeScript).
48
+ *
49
+ * The CLI is responsible for:
50
+ * - installing dependencies
51
+ * - building / bundling
52
+ * - creating a zip artifact
53
+ * - uploading artifacts to S3
54
+ */
55
+ export declare const ToolImplementationBindingSchema: z.ZodObject<{
56
+ language: z.ZodEnum<{
57
+ Python: "Python";
58
+ TypeScript: "TypeScript";
59
+ }>;
60
+ path: z.ZodString;
61
+ handler: z.ZodString;
62
+ }, z.core.$strict>;
63
+ export type ToolImplementationBinding = z.infer<typeof ToolImplementationBindingSchema>;
64
+ /**
65
+ * Opaque IAM policy document.
66
+ *
67
+ * This is passed through verbatim to CloudFormation / IAM.
68
+ * AgentCore does not validate, transform, or provide compatibility guarantees.
69
+ */
70
+ export declare const IamPolicyDocumentSchema: z.ZodObject<{
71
+ Version: z.ZodString;
72
+ Statement: z.ZodArray<z.ZodUnknown>;
73
+ }, z.core.$loose>;
74
+ export type IamPolicyDocument = z.infer<typeof IamPolicyDocumentSchema>;
75
+ declare const CodeZipRuntimeConfigSchema: z.ZodObject<{
76
+ build: z.ZodLiteral<"CodeZip">;
77
+ pythonVersion: z.ZodEnum<{
78
+ PYTHON_3_10: "PYTHON_3_10";
79
+ PYTHON_3_11: "PYTHON_3_11";
80
+ PYTHON_3_12: "PYTHON_3_12";
81
+ PYTHON_3_13: "PYTHON_3_13";
82
+ }>;
83
+ name: z.ZodString;
84
+ entrypoint: z.ZodType<FilePath, unknown, z.core.$ZodTypeInternals<FilePath, unknown>>;
85
+ codeLocation: z.ZodType<DirectoryPath, unknown, z.core.$ZodTypeInternals<DirectoryPath, unknown>>;
86
+ instrumentation: z.ZodOptional<z.ZodObject<{
87
+ enableOtel: z.ZodDefault<z.ZodBoolean>;
88
+ }, z.core.$strip>>;
89
+ networkMode: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
90
+ PUBLIC: "PUBLIC";
91
+ PRIVATE: "PRIVATE";
92
+ }>>>;
93
+ description: z.ZodOptional<z.ZodString>;
94
+ }, z.core.$strict>;
95
+ export type CodeZipRuntimeConfig = z.infer<typeof CodeZipRuntimeConfigSchema>;
96
+ /**
97
+ * Runtime configuration for AgentCore Runtime (MCP mode).
98
+ * Explicit CodeZip artifact configuration - no CLI-managed defaults.
99
+ */
100
+ export declare const RuntimeConfigSchema: z.ZodObject<{
101
+ build: z.ZodLiteral<"CodeZip">;
102
+ pythonVersion: z.ZodEnum<{
103
+ PYTHON_3_10: "PYTHON_3_10";
104
+ PYTHON_3_11: "PYTHON_3_11";
105
+ PYTHON_3_12: "PYTHON_3_12";
106
+ PYTHON_3_13: "PYTHON_3_13";
107
+ }>;
108
+ name: z.ZodString;
109
+ entrypoint: z.ZodType<FilePath, unknown, z.core.$ZodTypeInternals<FilePath, unknown>>;
110
+ codeLocation: z.ZodType<DirectoryPath, unknown, z.core.$ZodTypeInternals<DirectoryPath, unknown>>;
111
+ instrumentation: z.ZodOptional<z.ZodObject<{
112
+ enableOtel: z.ZodDefault<z.ZodBoolean>;
113
+ }, z.core.$strip>>;
114
+ networkMode: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
115
+ PUBLIC: "PUBLIC";
116
+ PRIVATE: "PRIVATE";
117
+ }>>>;
118
+ description: z.ZodOptional<z.ZodString>;
119
+ }, z.core.$strict>;
120
+ export type RuntimeConfig = z.infer<typeof RuntimeConfigSchema>;
121
+ export { CodeZipRuntimeConfigSchema as CodeZipRuntimeSchema };
122
+ export type CodeZipRuntime = CodeZipRuntimeConfig;
123
+ /**
124
+ * Lambda compute configuration schema.
125
+ * Lambda supports both Python and TypeScript.
126
+ */
127
+ declare const LambdaComputeConfigSchema: z.ZodObject<{
128
+ host: z.ZodLiteral<"Lambda">;
129
+ implementation: z.ZodObject<{
130
+ language: z.ZodEnum<{
131
+ Python: "Python";
132
+ TypeScript: "TypeScript";
133
+ }>;
134
+ path: z.ZodString;
135
+ handler: z.ZodString;
136
+ }, z.core.$strict>;
137
+ nodeVersion: z.ZodOptional<z.ZodEnum<{
138
+ NODE_18: "NODE_18";
139
+ NODE_20: "NODE_20";
140
+ NODE_22: "NODE_22";
141
+ }>>;
142
+ pythonVersion: z.ZodOptional<z.ZodEnum<{
143
+ PYTHON_3_10: "PYTHON_3_10";
144
+ PYTHON_3_11: "PYTHON_3_11";
145
+ PYTHON_3_12: "PYTHON_3_12";
146
+ PYTHON_3_13: "PYTHON_3_13";
147
+ }>>;
148
+ timeout: z.ZodOptional<z.ZodNumber>;
149
+ memorySize: z.ZodOptional<z.ZodNumber>;
150
+ iamPolicy: z.ZodOptional<z.ZodObject<{
151
+ Version: z.ZodString;
152
+ Statement: z.ZodArray<z.ZodUnknown>;
153
+ }, z.core.$loose>>;
154
+ }, z.core.$strict>;
155
+ export type LambdaComputeConfig = z.infer<typeof LambdaComputeConfigSchema>;
156
+ /**
157
+ * AgentCore Runtime compute configuration schema.
158
+ * AgentCore Runtime ONLY supports Python.
159
+ */
160
+ declare const AgentCoreRuntimeComputeConfigSchema: z.ZodObject<{
161
+ host: z.ZodLiteral<"AgentCoreRuntime">;
162
+ implementation: z.ZodObject<{
163
+ language: z.ZodEnum<{
164
+ Python: "Python";
165
+ TypeScript: "TypeScript";
166
+ }>;
167
+ path: z.ZodString;
168
+ handler: z.ZodString;
169
+ }, z.core.$strict>;
170
+ runtime: z.ZodOptional<z.ZodObject<{
171
+ build: z.ZodLiteral<"CodeZip">;
172
+ pythonVersion: z.ZodEnum<{
173
+ PYTHON_3_10: "PYTHON_3_10";
174
+ PYTHON_3_11: "PYTHON_3_11";
175
+ PYTHON_3_12: "PYTHON_3_12";
176
+ PYTHON_3_13: "PYTHON_3_13";
177
+ }>;
178
+ name: z.ZodString;
179
+ entrypoint: z.ZodType<FilePath, unknown, z.core.$ZodTypeInternals<FilePath, unknown>>;
180
+ codeLocation: z.ZodType<DirectoryPath, unknown, z.core.$ZodTypeInternals<DirectoryPath, unknown>>;
181
+ instrumentation: z.ZodOptional<z.ZodObject<{
182
+ enableOtel: z.ZodDefault<z.ZodBoolean>;
183
+ }, z.core.$strip>>;
184
+ networkMode: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
185
+ PUBLIC: "PUBLIC";
186
+ PRIVATE: "PRIVATE";
187
+ }>>>;
188
+ description: z.ZodOptional<z.ZodString>;
189
+ }, z.core.$strict>>;
190
+ iamPolicy: z.ZodOptional<z.ZodObject<{
191
+ Version: z.ZodString;
192
+ Statement: z.ZodArray<z.ZodUnknown>;
193
+ }, z.core.$loose>>;
194
+ }, z.core.$strict>;
195
+ export type AgentCoreRuntimeComputeConfig = z.infer<typeof AgentCoreRuntimeComputeConfigSchema>;
196
+ /**
197
+ * Tool compute configuration (discriminated union).
198
+ */
199
+ export declare const ToolComputeConfigSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
200
+ host: z.ZodLiteral<"Lambda">;
201
+ implementation: z.ZodObject<{
202
+ language: z.ZodEnum<{
203
+ Python: "Python";
204
+ TypeScript: "TypeScript";
205
+ }>;
206
+ path: z.ZodString;
207
+ handler: z.ZodString;
208
+ }, z.core.$strict>;
209
+ nodeVersion: z.ZodOptional<z.ZodEnum<{
210
+ NODE_18: "NODE_18";
211
+ NODE_20: "NODE_20";
212
+ NODE_22: "NODE_22";
213
+ }>>;
214
+ pythonVersion: z.ZodOptional<z.ZodEnum<{
215
+ PYTHON_3_10: "PYTHON_3_10";
216
+ PYTHON_3_11: "PYTHON_3_11";
217
+ PYTHON_3_12: "PYTHON_3_12";
218
+ PYTHON_3_13: "PYTHON_3_13";
219
+ }>>;
220
+ timeout: z.ZodOptional<z.ZodNumber>;
221
+ memorySize: z.ZodOptional<z.ZodNumber>;
222
+ iamPolicy: z.ZodOptional<z.ZodObject<{
223
+ Version: z.ZodString;
224
+ Statement: z.ZodArray<z.ZodUnknown>;
225
+ }, z.core.$loose>>;
226
+ }, z.core.$strict>, z.ZodObject<{
227
+ host: z.ZodLiteral<"AgentCoreRuntime">;
228
+ implementation: z.ZodObject<{
229
+ language: z.ZodEnum<{
230
+ Python: "Python";
231
+ TypeScript: "TypeScript";
232
+ }>;
233
+ path: z.ZodString;
234
+ handler: z.ZodString;
235
+ }, z.core.$strict>;
236
+ runtime: z.ZodOptional<z.ZodObject<{
237
+ build: z.ZodLiteral<"CodeZip">;
238
+ pythonVersion: z.ZodEnum<{
239
+ PYTHON_3_10: "PYTHON_3_10";
240
+ PYTHON_3_11: "PYTHON_3_11";
241
+ PYTHON_3_12: "PYTHON_3_12";
242
+ PYTHON_3_13: "PYTHON_3_13";
243
+ }>;
244
+ name: z.ZodString;
245
+ entrypoint: z.ZodType<FilePath, unknown, z.core.$ZodTypeInternals<FilePath, unknown>>;
246
+ codeLocation: z.ZodType<DirectoryPath, unknown, z.core.$ZodTypeInternals<DirectoryPath, unknown>>;
247
+ instrumentation: z.ZodOptional<z.ZodObject<{
248
+ enableOtel: z.ZodDefault<z.ZodBoolean>;
249
+ }, z.core.$strip>>;
250
+ networkMode: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
251
+ PUBLIC: "PUBLIC";
252
+ PRIVATE: "PRIVATE";
253
+ }>>>;
254
+ description: z.ZodOptional<z.ZodString>;
255
+ }, z.core.$strict>>;
256
+ iamPolicy: z.ZodOptional<z.ZodObject<{
257
+ Version: z.ZodString;
258
+ Statement: z.ZodArray<z.ZodUnknown>;
259
+ }, z.core.$loose>>;
260
+ }, z.core.$strict>], "host">;
261
+ export type ToolComputeConfig = z.infer<typeof ToolComputeConfigSchema>;
262
+ /**
263
+ * A gateway target binds one or more ToolDefinitions to compute that services them.
264
+ *
265
+ * A single Lambda or AgentCoreRuntime can expose multiple tools. The gateway routes
266
+ * tool invocations to the appropriate target based on tool name.
267
+ *
268
+ * If compute is omitted, the tools are treated as external or abstract targets.
269
+ */
270
+ export declare const AgentCoreGatewayTargetSchema: z.ZodObject<{
271
+ name: z.ZodString;
272
+ targetType: z.ZodEnum<{
273
+ lambda: "lambda";
274
+ mcpServer: "mcpServer";
275
+ openApiSchema: "openApiSchema";
276
+ smithyModel: "smithyModel";
277
+ }>;
278
+ toolDefinitions: z.ZodArray<z.ZodObject<{
279
+ name: z.ZodString;
280
+ description: z.ZodString;
281
+ inputSchema: z.ZodType<import("./mcp-defs").SchemaDefinition, unknown, z.core.$ZodTypeInternals<import("./mcp-defs").SchemaDefinition, unknown>>;
282
+ outputSchema: z.ZodOptional<z.ZodType<import("./mcp-defs").SchemaDefinition, unknown, z.core.$ZodTypeInternals<import("./mcp-defs").SchemaDefinition, unknown>>>;
283
+ }, z.core.$strict>>;
284
+ compute: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
285
+ host: z.ZodLiteral<"Lambda">;
286
+ implementation: z.ZodObject<{
287
+ language: z.ZodEnum<{
288
+ Python: "Python";
289
+ TypeScript: "TypeScript";
290
+ }>;
291
+ path: z.ZodString;
292
+ handler: z.ZodString;
293
+ }, z.core.$strict>;
294
+ nodeVersion: z.ZodOptional<z.ZodEnum<{
295
+ NODE_18: "NODE_18";
296
+ NODE_20: "NODE_20";
297
+ NODE_22: "NODE_22";
298
+ }>>;
299
+ pythonVersion: z.ZodOptional<z.ZodEnum<{
300
+ PYTHON_3_10: "PYTHON_3_10";
301
+ PYTHON_3_11: "PYTHON_3_11";
302
+ PYTHON_3_12: "PYTHON_3_12";
303
+ PYTHON_3_13: "PYTHON_3_13";
304
+ }>>;
305
+ timeout: z.ZodOptional<z.ZodNumber>;
306
+ memorySize: z.ZodOptional<z.ZodNumber>;
307
+ iamPolicy: z.ZodOptional<z.ZodObject<{
308
+ Version: z.ZodString;
309
+ Statement: z.ZodArray<z.ZodUnknown>;
310
+ }, z.core.$loose>>;
311
+ }, z.core.$strict>, z.ZodObject<{
312
+ host: z.ZodLiteral<"AgentCoreRuntime">;
313
+ implementation: z.ZodObject<{
314
+ language: z.ZodEnum<{
315
+ Python: "Python";
316
+ TypeScript: "TypeScript";
317
+ }>;
318
+ path: z.ZodString;
319
+ handler: z.ZodString;
320
+ }, z.core.$strict>;
321
+ runtime: z.ZodOptional<z.ZodObject<{
322
+ build: z.ZodLiteral<"CodeZip">;
323
+ pythonVersion: z.ZodEnum<{
324
+ PYTHON_3_10: "PYTHON_3_10";
325
+ PYTHON_3_11: "PYTHON_3_11";
326
+ PYTHON_3_12: "PYTHON_3_12";
327
+ PYTHON_3_13: "PYTHON_3_13";
328
+ }>;
329
+ name: z.ZodString;
330
+ entrypoint: z.ZodType<FilePath, unknown, z.core.$ZodTypeInternals<FilePath, unknown>>;
331
+ codeLocation: z.ZodType<DirectoryPath, unknown, z.core.$ZodTypeInternals<DirectoryPath, unknown>>;
332
+ instrumentation: z.ZodOptional<z.ZodObject<{
333
+ enableOtel: z.ZodDefault<z.ZodBoolean>;
334
+ }, z.core.$strip>>;
335
+ networkMode: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
336
+ PUBLIC: "PUBLIC";
337
+ PRIVATE: "PRIVATE";
338
+ }>>>;
339
+ description: z.ZodOptional<z.ZodString>;
340
+ }, z.core.$strict>>;
341
+ iamPolicy: z.ZodOptional<z.ZodObject<{
342
+ Version: z.ZodString;
343
+ Statement: z.ZodArray<z.ZodUnknown>;
344
+ }, z.core.$loose>>;
345
+ }, z.core.$strict>], "host">>;
346
+ }, z.core.$strict>;
347
+ export type AgentCoreGatewayTarget = z.infer<typeof AgentCoreGatewayTargetSchema>;
348
+ /**
349
+ * Gateway abstraction with opinionated defaults.
350
+ * Supports NONE (default) or CUSTOM_JWT authorizer types.
351
+ */
352
+ export declare const AgentCoreGatewaySchema: z.ZodObject<{
353
+ name: z.ZodString;
354
+ description: z.ZodOptional<z.ZodString>;
355
+ targets: z.ZodArray<z.ZodObject<{
356
+ name: z.ZodString;
357
+ targetType: z.ZodEnum<{
358
+ lambda: "lambda";
359
+ mcpServer: "mcpServer";
360
+ openApiSchema: "openApiSchema";
361
+ smithyModel: "smithyModel";
362
+ }>;
363
+ toolDefinitions: z.ZodArray<z.ZodObject<{
364
+ name: z.ZodString;
365
+ description: z.ZodString;
366
+ inputSchema: z.ZodType<import("./mcp-defs").SchemaDefinition, unknown, z.core.$ZodTypeInternals<import("./mcp-defs").SchemaDefinition, unknown>>;
367
+ outputSchema: z.ZodOptional<z.ZodType<import("./mcp-defs").SchemaDefinition, unknown, z.core.$ZodTypeInternals<import("./mcp-defs").SchemaDefinition, unknown>>>;
368
+ }, z.core.$strict>>;
369
+ compute: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
370
+ host: z.ZodLiteral<"Lambda">;
371
+ implementation: z.ZodObject<{
372
+ language: z.ZodEnum<{
373
+ Python: "Python";
374
+ TypeScript: "TypeScript";
375
+ }>;
376
+ path: z.ZodString;
377
+ handler: z.ZodString;
378
+ }, z.core.$strict>;
379
+ nodeVersion: z.ZodOptional<z.ZodEnum<{
380
+ NODE_18: "NODE_18";
381
+ NODE_20: "NODE_20";
382
+ NODE_22: "NODE_22";
383
+ }>>;
384
+ pythonVersion: z.ZodOptional<z.ZodEnum<{
385
+ PYTHON_3_10: "PYTHON_3_10";
386
+ PYTHON_3_11: "PYTHON_3_11";
387
+ PYTHON_3_12: "PYTHON_3_12";
388
+ PYTHON_3_13: "PYTHON_3_13";
389
+ }>>;
390
+ timeout: z.ZodOptional<z.ZodNumber>;
391
+ memorySize: z.ZodOptional<z.ZodNumber>;
392
+ iamPolicy: z.ZodOptional<z.ZodObject<{
393
+ Version: z.ZodString;
394
+ Statement: z.ZodArray<z.ZodUnknown>;
395
+ }, z.core.$loose>>;
396
+ }, z.core.$strict>, z.ZodObject<{
397
+ host: z.ZodLiteral<"AgentCoreRuntime">;
398
+ implementation: z.ZodObject<{
399
+ language: z.ZodEnum<{
400
+ Python: "Python";
401
+ TypeScript: "TypeScript";
402
+ }>;
403
+ path: z.ZodString;
404
+ handler: z.ZodString;
405
+ }, z.core.$strict>;
406
+ runtime: z.ZodOptional<z.ZodObject<{
407
+ build: z.ZodLiteral<"CodeZip">;
408
+ pythonVersion: z.ZodEnum<{
409
+ PYTHON_3_10: "PYTHON_3_10";
410
+ PYTHON_3_11: "PYTHON_3_11";
411
+ PYTHON_3_12: "PYTHON_3_12";
412
+ PYTHON_3_13: "PYTHON_3_13";
413
+ }>;
414
+ name: z.ZodString;
415
+ entrypoint: z.ZodType<FilePath, unknown, z.core.$ZodTypeInternals<FilePath, unknown>>;
416
+ codeLocation: z.ZodType<DirectoryPath, unknown, z.core.$ZodTypeInternals<DirectoryPath, unknown>>;
417
+ instrumentation: z.ZodOptional<z.ZodObject<{
418
+ enableOtel: z.ZodDefault<z.ZodBoolean>;
419
+ }, z.core.$strip>>;
420
+ networkMode: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
421
+ PUBLIC: "PUBLIC";
422
+ PRIVATE: "PRIVATE";
423
+ }>>>;
424
+ description: z.ZodOptional<z.ZodString>;
425
+ }, z.core.$strict>>;
426
+ iamPolicy: z.ZodOptional<z.ZodObject<{
427
+ Version: z.ZodString;
428
+ Statement: z.ZodArray<z.ZodUnknown>;
429
+ }, z.core.$loose>>;
430
+ }, z.core.$strict>], "host">>;
431
+ }, z.core.$strict>>;
432
+ authorizerType: z.ZodDefault<z.ZodEnum<{
433
+ NONE: "NONE";
434
+ CUSTOM_JWT: "CUSTOM_JWT";
435
+ }>>;
436
+ authorizerConfiguration: z.ZodOptional<z.ZodObject<{
437
+ customJwtAuthorizer: z.ZodOptional<z.ZodObject<{
438
+ discoveryUrl: z.ZodString;
439
+ allowedAudience: z.ZodArray<z.ZodString>;
440
+ allowedClients: z.ZodArray<z.ZodString>;
441
+ }, z.core.$strip>>;
442
+ }, z.core.$strip>>;
443
+ }, z.core.$strict>;
444
+ export type AgentCoreGateway = z.infer<typeof AgentCoreGatewaySchema>;
445
+ /**
446
+ * Binding from an MCP runtime tool to an agent.
447
+ * When present, the agent is granted InvokeAgentRuntime permission
448
+ * and receives the runtime ARN in the specified environment variable.
449
+ */
450
+ export declare const McpRuntimeBindingSchema: z.ZodObject<{
451
+ agentName: z.ZodString;
452
+ envVarName: z.ZodString;
453
+ }, z.core.$strict>;
454
+ export type McpRuntimeBinding = z.infer<typeof McpRuntimeBindingSchema>;
455
+ /**
456
+ * AgentCore MCP Runtime tool servers.
457
+ *
458
+ * These are not behind a Gateway. They are deployed as AgentCoreRuntime compute
459
+ * and are directly addressable by agents via the generated DNS endpoint.
460
+ *
461
+ * Use the `bindings` array to grant agents permission to invoke this tool.
462
+ * Each binding grants InvokeAgentRuntime permission and sets an environment variable
463
+ * with the runtime ARN on the bound agent.
464
+ */
465
+ export declare const AgentCoreMcpRuntimeToolSchema: z.ZodObject<{
466
+ name: z.ZodString;
467
+ toolDefinition: z.ZodObject<{
468
+ name: z.ZodString;
469
+ description: z.ZodString;
470
+ inputSchema: z.ZodType<import("./mcp-defs").SchemaDefinition, unknown, z.core.$ZodTypeInternals<import("./mcp-defs").SchemaDefinition, unknown>>;
471
+ outputSchema: z.ZodOptional<z.ZodType<import("./mcp-defs").SchemaDefinition, unknown, z.core.$ZodTypeInternals<import("./mcp-defs").SchemaDefinition, unknown>>>;
472
+ }, z.core.$strict>;
473
+ compute: z.ZodObject<{
474
+ host: z.ZodLiteral<"AgentCoreRuntime">;
475
+ implementation: z.ZodObject<{
476
+ language: z.ZodEnum<{
477
+ Python: "Python";
478
+ TypeScript: "TypeScript";
479
+ }>;
480
+ path: z.ZodString;
481
+ handler: z.ZodString;
482
+ }, z.core.$strict>;
483
+ runtime: z.ZodOptional<z.ZodObject<{
484
+ build: z.ZodLiteral<"CodeZip">;
485
+ pythonVersion: z.ZodEnum<{
486
+ PYTHON_3_10: "PYTHON_3_10";
487
+ PYTHON_3_11: "PYTHON_3_11";
488
+ PYTHON_3_12: "PYTHON_3_12";
489
+ PYTHON_3_13: "PYTHON_3_13";
490
+ }>;
491
+ name: z.ZodString;
492
+ entrypoint: z.ZodType<FilePath, unknown, z.core.$ZodTypeInternals<FilePath, unknown>>;
493
+ codeLocation: z.ZodType<DirectoryPath, unknown, z.core.$ZodTypeInternals<DirectoryPath, unknown>>;
494
+ instrumentation: z.ZodOptional<z.ZodObject<{
495
+ enableOtel: z.ZodDefault<z.ZodBoolean>;
496
+ }, z.core.$strip>>;
497
+ networkMode: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
498
+ PUBLIC: "PUBLIC";
499
+ PRIVATE: "PRIVATE";
500
+ }>>>;
501
+ description: z.ZodOptional<z.ZodString>;
502
+ }, z.core.$strict>>;
503
+ iamPolicy: z.ZodOptional<z.ZodObject<{
504
+ Version: z.ZodString;
505
+ Statement: z.ZodArray<z.ZodUnknown>;
506
+ }, z.core.$loose>>;
507
+ }, z.core.$strict>;
508
+ bindings: z.ZodOptional<z.ZodArray<z.ZodObject<{
509
+ agentName: z.ZodString;
510
+ envVarName: z.ZodString;
511
+ }, z.core.$strict>>>;
512
+ }, z.core.$strict>;
513
+ export type AgentCoreMcpRuntimeTool = z.infer<typeof AgentCoreMcpRuntimeToolSchema>;
514
+ /**
515
+ * Top-level MCP schema.
516
+ */
517
+ export declare const AgentCoreMcpSpecSchema: z.ZodObject<{
518
+ agentCoreGateways: z.ZodArray<z.ZodObject<{
519
+ name: z.ZodString;
520
+ description: z.ZodOptional<z.ZodString>;
521
+ targets: z.ZodArray<z.ZodObject<{
522
+ name: z.ZodString;
523
+ targetType: z.ZodEnum<{
524
+ lambda: "lambda";
525
+ mcpServer: "mcpServer";
526
+ openApiSchema: "openApiSchema";
527
+ smithyModel: "smithyModel";
528
+ }>;
529
+ toolDefinitions: z.ZodArray<z.ZodObject<{
530
+ name: z.ZodString;
531
+ description: z.ZodString;
532
+ inputSchema: z.ZodType<import("./mcp-defs").SchemaDefinition, unknown, z.core.$ZodTypeInternals<import("./mcp-defs").SchemaDefinition, unknown>>;
533
+ outputSchema: z.ZodOptional<z.ZodType<import("./mcp-defs").SchemaDefinition, unknown, z.core.$ZodTypeInternals<import("./mcp-defs").SchemaDefinition, unknown>>>;
534
+ }, z.core.$strict>>;
535
+ compute: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
536
+ host: z.ZodLiteral<"Lambda">;
537
+ implementation: z.ZodObject<{
538
+ language: z.ZodEnum<{
539
+ Python: "Python";
540
+ TypeScript: "TypeScript";
541
+ }>;
542
+ path: z.ZodString;
543
+ handler: z.ZodString;
544
+ }, z.core.$strict>;
545
+ nodeVersion: z.ZodOptional<z.ZodEnum<{
546
+ NODE_18: "NODE_18";
547
+ NODE_20: "NODE_20";
548
+ NODE_22: "NODE_22";
549
+ }>>;
550
+ pythonVersion: z.ZodOptional<z.ZodEnum<{
551
+ PYTHON_3_10: "PYTHON_3_10";
552
+ PYTHON_3_11: "PYTHON_3_11";
553
+ PYTHON_3_12: "PYTHON_3_12";
554
+ PYTHON_3_13: "PYTHON_3_13";
555
+ }>>;
556
+ timeout: z.ZodOptional<z.ZodNumber>;
557
+ memorySize: z.ZodOptional<z.ZodNumber>;
558
+ iamPolicy: z.ZodOptional<z.ZodObject<{
559
+ Version: z.ZodString;
560
+ Statement: z.ZodArray<z.ZodUnknown>;
561
+ }, z.core.$loose>>;
562
+ }, z.core.$strict>, z.ZodObject<{
563
+ host: z.ZodLiteral<"AgentCoreRuntime">;
564
+ implementation: z.ZodObject<{
565
+ language: z.ZodEnum<{
566
+ Python: "Python";
567
+ TypeScript: "TypeScript";
568
+ }>;
569
+ path: z.ZodString;
570
+ handler: z.ZodString;
571
+ }, z.core.$strict>;
572
+ runtime: z.ZodOptional<z.ZodObject<{
573
+ build: z.ZodLiteral<"CodeZip">;
574
+ pythonVersion: z.ZodEnum<{
575
+ PYTHON_3_10: "PYTHON_3_10";
576
+ PYTHON_3_11: "PYTHON_3_11";
577
+ PYTHON_3_12: "PYTHON_3_12";
578
+ PYTHON_3_13: "PYTHON_3_13";
579
+ }>;
580
+ name: z.ZodString;
581
+ entrypoint: z.ZodType<FilePath, unknown, z.core.$ZodTypeInternals<FilePath, unknown>>;
582
+ codeLocation: z.ZodType<DirectoryPath, unknown, z.core.$ZodTypeInternals<DirectoryPath, unknown>>;
583
+ instrumentation: z.ZodOptional<z.ZodObject<{
584
+ enableOtel: z.ZodDefault<z.ZodBoolean>;
585
+ }, z.core.$strip>>;
586
+ networkMode: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
587
+ PUBLIC: "PUBLIC";
588
+ PRIVATE: "PRIVATE";
589
+ }>>>;
590
+ description: z.ZodOptional<z.ZodString>;
591
+ }, z.core.$strict>>;
592
+ iamPolicy: z.ZodOptional<z.ZodObject<{
593
+ Version: z.ZodString;
594
+ Statement: z.ZodArray<z.ZodUnknown>;
595
+ }, z.core.$loose>>;
596
+ }, z.core.$strict>], "host">>;
597
+ }, z.core.$strict>>;
598
+ authorizerType: z.ZodDefault<z.ZodEnum<{
599
+ NONE: "NONE";
600
+ CUSTOM_JWT: "CUSTOM_JWT";
601
+ }>>;
602
+ authorizerConfiguration: z.ZodOptional<z.ZodObject<{
603
+ customJwtAuthorizer: z.ZodOptional<z.ZodObject<{
604
+ discoveryUrl: z.ZodString;
605
+ allowedAudience: z.ZodArray<z.ZodString>;
606
+ allowedClients: z.ZodArray<z.ZodString>;
607
+ }, z.core.$strip>>;
608
+ }, z.core.$strip>>;
609
+ }, z.core.$strict>>;
610
+ mcpRuntimeTools: z.ZodOptional<z.ZodArray<z.ZodObject<{
611
+ name: z.ZodString;
612
+ toolDefinition: z.ZodObject<{
613
+ name: z.ZodString;
614
+ description: z.ZodString;
615
+ inputSchema: z.ZodType<import("./mcp-defs").SchemaDefinition, unknown, z.core.$ZodTypeInternals<import("./mcp-defs").SchemaDefinition, unknown>>;
616
+ outputSchema: z.ZodOptional<z.ZodType<import("./mcp-defs").SchemaDefinition, unknown, z.core.$ZodTypeInternals<import("./mcp-defs").SchemaDefinition, unknown>>>;
617
+ }, z.core.$strict>;
618
+ compute: z.ZodObject<{
619
+ host: z.ZodLiteral<"AgentCoreRuntime">;
620
+ implementation: z.ZodObject<{
621
+ language: z.ZodEnum<{
622
+ Python: "Python";
623
+ TypeScript: "TypeScript";
624
+ }>;
625
+ path: z.ZodString;
626
+ handler: z.ZodString;
627
+ }, z.core.$strict>;
628
+ runtime: z.ZodOptional<z.ZodObject<{
629
+ build: z.ZodLiteral<"CodeZip">;
630
+ pythonVersion: z.ZodEnum<{
631
+ PYTHON_3_10: "PYTHON_3_10";
632
+ PYTHON_3_11: "PYTHON_3_11";
633
+ PYTHON_3_12: "PYTHON_3_12";
634
+ PYTHON_3_13: "PYTHON_3_13";
635
+ }>;
636
+ name: z.ZodString;
637
+ entrypoint: z.ZodType<FilePath, unknown, z.core.$ZodTypeInternals<FilePath, unknown>>;
638
+ codeLocation: z.ZodType<DirectoryPath, unknown, z.core.$ZodTypeInternals<DirectoryPath, unknown>>;
639
+ instrumentation: z.ZodOptional<z.ZodObject<{
640
+ enableOtel: z.ZodDefault<z.ZodBoolean>;
641
+ }, z.core.$strip>>;
642
+ networkMode: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
643
+ PUBLIC: "PUBLIC";
644
+ PRIVATE: "PRIVATE";
645
+ }>>>;
646
+ description: z.ZodOptional<z.ZodString>;
647
+ }, z.core.$strict>>;
648
+ iamPolicy: z.ZodOptional<z.ZodObject<{
649
+ Version: z.ZodString;
650
+ Statement: z.ZodArray<z.ZodUnknown>;
651
+ }, z.core.$loose>>;
652
+ }, z.core.$strict>;
653
+ bindings: z.ZodOptional<z.ZodArray<z.ZodObject<{
654
+ agentName: z.ZodString;
655
+ envVarName: z.ZodString;
656
+ }, z.core.$strict>>>;
657
+ }, z.core.$strict>>>;
658
+ }, z.core.$strict>;
659
+ export type AgentCoreMcpSpec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