@aws/agentcore-cdk 0.1.0-alpha.5 → 0.1.0-alpha.7
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/dist/cdk/constructs/components/mcp/{McpGateway.d.ts → Gateway.d.ts} +10 -4
- package/dist/cdk/constructs/components/mcp/Gateway.d.ts.map +1 -0
- package/dist/cdk/constructs/components/mcp/{McpGateway.js → Gateway.js} +178 -13
- package/dist/cdk/constructs/components/mcp/Gateway.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/primitives/BasePrimitiveConstruct.d.ts +46 -0
- package/dist/cdk/constructs/components/primitives/BasePrimitiveConstruct.d.ts.map +1 -0
- package/dist/cdk/constructs/components/primitives/BasePrimitiveConstruct.js +49 -0
- package/dist/cdk/constructs/components/primitives/BasePrimitiveConstruct.js.map +1 -0
- package/dist/cdk/constructs/components/primitives/index.d.ts +1 -0
- package/dist/cdk/constructs/components/primitives/index.d.ts.map +1 -1
- package/dist/cdk/constructs/components/primitives/index.js +3 -1
- package/dist/cdk/constructs/components/primitives/index.js.map +1 -1
- package/dist/cdk/constructs/components/primitives/memory/AgentCoreMemory.d.ts +10 -2
- package/dist/cdk/constructs/components/primitives/memory/AgentCoreMemory.d.ts.map +1 -1
- package/dist/cdk/constructs/components/primitives/memory/AgentCoreMemory.js +24 -28
- package/dist/cdk/constructs/components/primitives/memory/AgentCoreMemory.js.map +1 -1
- package/dist/cdk/constructs/components/primitives/runtime/AgentCoreRuntime.d.ts.map +1 -1
- package/dist/cdk/constructs/components/primitives/runtime/AgentCoreRuntime.js +3 -12
- package/dist/cdk/constructs/components/primitives/runtime/AgentCoreRuntime.js.map +1 -1
- package/dist/cdk/constructs/l3/AgentCoreApplication.d.ts +2 -1
- package/dist/cdk/constructs/l3/AgentCoreApplication.d.ts.map +1 -1
- package/dist/cdk/constructs/l3/AgentCoreApplication.js +17 -3
- package/dist/cdk/constructs/l3/AgentCoreApplication.js.map +1 -1
- package/dist/cdk/constructs/l3/AgentCoreMcp.d.ts +1 -1
- package/dist/cdk/constructs/l3/AgentCoreMcp.d.ts.map +1 -1
- package/dist/cdk/constructs/l3/AgentCoreMcp.js +3 -3
- package/dist/cdk/constructs/l3/AgentCoreMcp.js.map +1 -1
- package/dist/schema/constants.d.ts +1 -1
- package/dist/schema/constants.d.ts.map +1 -1
- package/dist/schema/constants.js +1 -1
- package/dist/schema/constants.js.map +1 -1
- package/dist/schema/schemas/agent-env.d.ts +1 -14
- package/dist/schema/schemas/agent-env.d.ts.map +1 -1
- package/dist/schema/schemas/agent-env.js +3 -32
- package/dist/schema/schemas/agent-env.js.map +1 -1
- package/dist/schema/schemas/agentcore-project.d.ts +1 -5
- package/dist/schema/schemas/agentcore-project.d.ts.map +1 -1
- package/dist/schema/schemas/deployed-state.d.ts +21 -0
- package/dist/schema/schemas/deployed-state.d.ts.map +1 -1
- package/dist/schema/schemas/deployed-state.js +9 -1
- package/dist/schema/schemas/deployed-state.js.map +1 -1
- package/dist/schema/schemas/mcp.d.ts +283 -9
- package/dist/schema/schemas/mcp.d.ts.map +1 -1
- package/dist/schema/schemas/mcp.js +256 -7
- package/dist/schema/schemas/mcp.js.map +1 -1
- package/package.json +11 -3
- package/dist/cdk/constructs/components/mcp/McpGateway.d.ts.map +0 -1
- package/dist/cdk/constructs/components/mcp/McpGateway.js.map +0 -1
|
@@ -5,6 +5,8 @@ export declare const GatewayTargetTypeSchema: z.ZodEnum<{
|
|
|
5
5
|
mcpServer: "mcpServer";
|
|
6
6
|
openApiSchema: "openApiSchema";
|
|
7
7
|
smithyModel: "smithyModel";
|
|
8
|
+
apiGateway: "apiGateway";
|
|
9
|
+
lambdaFunctionArn: "lambdaFunctionArn";
|
|
8
10
|
}>;
|
|
9
11
|
export type GatewayTargetType = z.infer<typeof GatewayTargetTypeSchema>;
|
|
10
12
|
export declare const GatewayAuthorizerTypeSchema: z.ZodEnum<{
|
|
@@ -52,6 +54,120 @@ export declare const OutboundAuthSchema: z.ZodObject<{
|
|
|
52
54
|
scopes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
53
55
|
}, z.core.$strict>;
|
|
54
56
|
export type OutboundAuth = z.infer<typeof OutboundAuthSchema>;
|
|
57
|
+
/**
|
|
58
|
+
* Outbound authentication rules per gateway target type.
|
|
59
|
+
*
|
|
60
|
+
* - `authRequired` — target cannot be created without outbound auth
|
|
61
|
+
* - `validAuthTypes` — allowed OutboundAuthType values (empty = no outbound auth applicable)
|
|
62
|
+
* - `iamRoleFallback` — CDK passes GATEWAY_IAM_ROLE when no auth configured
|
|
63
|
+
*/
|
|
64
|
+
export declare const TARGET_TYPE_AUTH_CONFIG: Record<GatewayTargetType, {
|
|
65
|
+
authRequired: boolean;
|
|
66
|
+
validAuthTypes: readonly OutboundAuthType[];
|
|
67
|
+
iamRoleFallback: boolean;
|
|
68
|
+
}>;
|
|
69
|
+
export declare const ApiGatewayHttpMethodSchema: z.ZodEnum<{
|
|
70
|
+
GET: "GET";
|
|
71
|
+
POST: "POST";
|
|
72
|
+
PUT: "PUT";
|
|
73
|
+
DELETE: "DELETE";
|
|
74
|
+
PATCH: "PATCH";
|
|
75
|
+
HEAD: "HEAD";
|
|
76
|
+
OPTIONS: "OPTIONS";
|
|
77
|
+
}>;
|
|
78
|
+
export type ApiGatewayHttpMethod = z.infer<typeof ApiGatewayHttpMethodSchema>;
|
|
79
|
+
export declare const ApiGatewayToolFilterSchema: z.ZodObject<{
|
|
80
|
+
filterPath: z.ZodString;
|
|
81
|
+
methods: z.ZodArray<z.ZodEnum<{
|
|
82
|
+
GET: "GET";
|
|
83
|
+
POST: "POST";
|
|
84
|
+
PUT: "PUT";
|
|
85
|
+
DELETE: "DELETE";
|
|
86
|
+
PATCH: "PATCH";
|
|
87
|
+
HEAD: "HEAD";
|
|
88
|
+
OPTIONS: "OPTIONS";
|
|
89
|
+
}>>;
|
|
90
|
+
}, z.core.$strict>;
|
|
91
|
+
export declare const ApiGatewayToolOverrideSchema: z.ZodObject<{
|
|
92
|
+
name: z.ZodString;
|
|
93
|
+
path: z.ZodString;
|
|
94
|
+
method: z.ZodEnum<{
|
|
95
|
+
GET: "GET";
|
|
96
|
+
POST: "POST";
|
|
97
|
+
PUT: "PUT";
|
|
98
|
+
DELETE: "DELETE";
|
|
99
|
+
PATCH: "PATCH";
|
|
100
|
+
HEAD: "HEAD";
|
|
101
|
+
OPTIONS: "OPTIONS";
|
|
102
|
+
}>;
|
|
103
|
+
description: z.ZodOptional<z.ZodString>;
|
|
104
|
+
}, z.core.$strict>;
|
|
105
|
+
export declare const ApiGatewayToolConfigurationSchema: z.ZodObject<{
|
|
106
|
+
toolFilters: z.ZodArray<z.ZodObject<{
|
|
107
|
+
filterPath: z.ZodString;
|
|
108
|
+
methods: z.ZodArray<z.ZodEnum<{
|
|
109
|
+
GET: "GET";
|
|
110
|
+
POST: "POST";
|
|
111
|
+
PUT: "PUT";
|
|
112
|
+
DELETE: "DELETE";
|
|
113
|
+
PATCH: "PATCH";
|
|
114
|
+
HEAD: "HEAD";
|
|
115
|
+
OPTIONS: "OPTIONS";
|
|
116
|
+
}>>;
|
|
117
|
+
}, z.core.$strict>>;
|
|
118
|
+
toolOverrides: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
119
|
+
name: z.ZodString;
|
|
120
|
+
path: z.ZodString;
|
|
121
|
+
method: z.ZodEnum<{
|
|
122
|
+
GET: "GET";
|
|
123
|
+
POST: "POST";
|
|
124
|
+
PUT: "PUT";
|
|
125
|
+
DELETE: "DELETE";
|
|
126
|
+
PATCH: "PATCH";
|
|
127
|
+
HEAD: "HEAD";
|
|
128
|
+
OPTIONS: "OPTIONS";
|
|
129
|
+
}>;
|
|
130
|
+
description: z.ZodOptional<z.ZodString>;
|
|
131
|
+
}, z.core.$strict>>>;
|
|
132
|
+
}, z.core.$strict>;
|
|
133
|
+
export declare const ApiGatewayConfigSchema: z.ZodObject<{
|
|
134
|
+
restApiId: z.ZodString;
|
|
135
|
+
stage: z.ZodString;
|
|
136
|
+
apiGatewayToolConfiguration: z.ZodObject<{
|
|
137
|
+
toolFilters: z.ZodArray<z.ZodObject<{
|
|
138
|
+
filterPath: z.ZodString;
|
|
139
|
+
methods: z.ZodArray<z.ZodEnum<{
|
|
140
|
+
GET: "GET";
|
|
141
|
+
POST: "POST";
|
|
142
|
+
PUT: "PUT";
|
|
143
|
+
DELETE: "DELETE";
|
|
144
|
+
PATCH: "PATCH";
|
|
145
|
+
HEAD: "HEAD";
|
|
146
|
+
OPTIONS: "OPTIONS";
|
|
147
|
+
}>>;
|
|
148
|
+
}, z.core.$strict>>;
|
|
149
|
+
toolOverrides: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
150
|
+
name: z.ZodString;
|
|
151
|
+
path: z.ZodString;
|
|
152
|
+
method: z.ZodEnum<{
|
|
153
|
+
GET: "GET";
|
|
154
|
+
POST: "POST";
|
|
155
|
+
PUT: "PUT";
|
|
156
|
+
DELETE: "DELETE";
|
|
157
|
+
PATCH: "PATCH";
|
|
158
|
+
HEAD: "HEAD";
|
|
159
|
+
OPTIONS: "OPTIONS";
|
|
160
|
+
}>;
|
|
161
|
+
description: z.ZodOptional<z.ZodString>;
|
|
162
|
+
}, z.core.$strict>>>;
|
|
163
|
+
}, z.core.$strict>;
|
|
164
|
+
}, z.core.$strict>;
|
|
165
|
+
export type ApiGatewayConfig = z.infer<typeof ApiGatewayConfigSchema>;
|
|
166
|
+
export declare const LambdaFunctionArnConfigSchema: z.ZodObject<{
|
|
167
|
+
lambdaArn: z.ZodString;
|
|
168
|
+
toolSchemaFile: z.ZodString;
|
|
169
|
+
}, z.core.$strict>;
|
|
170
|
+
export type LambdaFunctionArnConfig = z.infer<typeof LambdaFunctionArnConfigSchema>;
|
|
55
171
|
export declare const McpImplLanguageSchema: z.ZodEnum<{
|
|
56
172
|
Python: "Python";
|
|
57
173
|
TypeScript: "TypeScript";
|
|
@@ -107,7 +223,7 @@ declare const CodeZipRuntimeConfigSchema: z.ZodObject<{
|
|
|
107
223
|
}, z.core.$strip>>;
|
|
108
224
|
networkMode: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
109
225
|
PUBLIC: "PUBLIC";
|
|
110
|
-
|
|
226
|
+
PRIVATE: "PRIVATE";
|
|
111
227
|
}>>>;
|
|
112
228
|
description: z.ZodOptional<z.ZodString>;
|
|
113
229
|
}, z.core.$strict>;
|
|
@@ -132,7 +248,7 @@ export declare const RuntimeConfigSchema: z.ZodObject<{
|
|
|
132
248
|
}, z.core.$strip>>;
|
|
133
249
|
networkMode: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
134
250
|
PUBLIC: "PUBLIC";
|
|
135
|
-
|
|
251
|
+
PRIVATE: "PRIVATE";
|
|
136
252
|
}>>>;
|
|
137
253
|
description: z.ZodOptional<z.ZodString>;
|
|
138
254
|
}, z.core.$strict>;
|
|
@@ -202,7 +318,7 @@ declare const AgentCoreRuntimeComputeConfigSchema: z.ZodObject<{
|
|
|
202
318
|
}, z.core.$strip>>;
|
|
203
319
|
networkMode: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
204
320
|
PUBLIC: "PUBLIC";
|
|
205
|
-
|
|
321
|
+
PRIVATE: "PRIVATE";
|
|
206
322
|
}>>>;
|
|
207
323
|
description: z.ZodOptional<z.ZodString>;
|
|
208
324
|
}, z.core.$strict>>;
|
|
@@ -268,7 +384,7 @@ export declare const ToolComputeConfigSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
268
384
|
}, z.core.$strip>>;
|
|
269
385
|
networkMode: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
270
386
|
PUBLIC: "PUBLIC";
|
|
271
|
-
|
|
387
|
+
PRIVATE: "PRIVATE";
|
|
272
388
|
}>>>;
|
|
273
389
|
description: z.ZodOptional<z.ZodString>;
|
|
274
390
|
}, z.core.$strict>>;
|
|
@@ -278,6 +394,18 @@ export declare const ToolComputeConfigSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
278
394
|
}, z.core.$loose>>;
|
|
279
395
|
}, z.core.$strict>], "host">;
|
|
280
396
|
export type ToolComputeConfig = z.infer<typeof ToolComputeConfigSchema>;
|
|
397
|
+
/** Schema source: either a local file path (read at synth time) or an S3 URI. */
|
|
398
|
+
export declare const SchemaSourceSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
399
|
+
inline: z.ZodObject<{
|
|
400
|
+
path: z.ZodString;
|
|
401
|
+
}, z.core.$strict>;
|
|
402
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
403
|
+
s3: z.ZodObject<{
|
|
404
|
+
uri: z.ZodString;
|
|
405
|
+
bucketOwnerAccountId: z.ZodOptional<z.ZodString>;
|
|
406
|
+
}, z.core.$strict>;
|
|
407
|
+
}, z.core.$strict>]>;
|
|
408
|
+
export type SchemaSource = z.infer<typeof SchemaSourceSchema>;
|
|
281
409
|
/**
|
|
282
410
|
* A gateway target binds one or more ToolDefinitions to compute that services them.
|
|
283
411
|
*
|
|
@@ -293,6 +421,8 @@ export declare const AgentCoreGatewayTargetSchema: z.ZodObject<{
|
|
|
293
421
|
mcpServer: "mcpServer";
|
|
294
422
|
openApiSchema: "openApiSchema";
|
|
295
423
|
smithyModel: "smithyModel";
|
|
424
|
+
apiGateway: "apiGateway";
|
|
425
|
+
lambdaFunctionArn: "lambdaFunctionArn";
|
|
296
426
|
}>;
|
|
297
427
|
toolDefinitions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
298
428
|
name: z.ZodString;
|
|
@@ -353,7 +483,7 @@ export declare const AgentCoreGatewayTargetSchema: z.ZodObject<{
|
|
|
353
483
|
}, z.core.$strip>>;
|
|
354
484
|
networkMode: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
355
485
|
PUBLIC: "PUBLIC";
|
|
356
|
-
|
|
486
|
+
PRIVATE: "PRIVATE";
|
|
357
487
|
}>>>;
|
|
358
488
|
description: z.ZodOptional<z.ZodString>;
|
|
359
489
|
}, z.core.$strict>>;
|
|
@@ -372,6 +502,52 @@ export declare const AgentCoreGatewayTargetSchema: z.ZodObject<{
|
|
|
372
502
|
credentialName: z.ZodOptional<z.ZodString>;
|
|
373
503
|
scopes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
374
504
|
}, z.core.$strict>>;
|
|
505
|
+
apiGateway: z.ZodOptional<z.ZodObject<{
|
|
506
|
+
restApiId: z.ZodString;
|
|
507
|
+
stage: z.ZodString;
|
|
508
|
+
apiGatewayToolConfiguration: z.ZodObject<{
|
|
509
|
+
toolFilters: z.ZodArray<z.ZodObject<{
|
|
510
|
+
filterPath: z.ZodString;
|
|
511
|
+
methods: z.ZodArray<z.ZodEnum<{
|
|
512
|
+
GET: "GET";
|
|
513
|
+
POST: "POST";
|
|
514
|
+
PUT: "PUT";
|
|
515
|
+
DELETE: "DELETE";
|
|
516
|
+
PATCH: "PATCH";
|
|
517
|
+
HEAD: "HEAD";
|
|
518
|
+
OPTIONS: "OPTIONS";
|
|
519
|
+
}>>;
|
|
520
|
+
}, z.core.$strict>>;
|
|
521
|
+
toolOverrides: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
522
|
+
name: z.ZodString;
|
|
523
|
+
path: z.ZodString;
|
|
524
|
+
method: z.ZodEnum<{
|
|
525
|
+
GET: "GET";
|
|
526
|
+
POST: "POST";
|
|
527
|
+
PUT: "PUT";
|
|
528
|
+
DELETE: "DELETE";
|
|
529
|
+
PATCH: "PATCH";
|
|
530
|
+
HEAD: "HEAD";
|
|
531
|
+
OPTIONS: "OPTIONS";
|
|
532
|
+
}>;
|
|
533
|
+
description: z.ZodOptional<z.ZodString>;
|
|
534
|
+
}, z.core.$strict>>>;
|
|
535
|
+
}, z.core.$strict>;
|
|
536
|
+
}, z.core.$strict>>;
|
|
537
|
+
schemaSource: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
538
|
+
inline: z.ZodObject<{
|
|
539
|
+
path: z.ZodString;
|
|
540
|
+
}, z.core.$strict>;
|
|
541
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
542
|
+
s3: z.ZodObject<{
|
|
543
|
+
uri: z.ZodString;
|
|
544
|
+
bucketOwnerAccountId: z.ZodOptional<z.ZodString>;
|
|
545
|
+
}, z.core.$strict>;
|
|
546
|
+
}, z.core.$strict>]>>;
|
|
547
|
+
lambdaFunctionArn: z.ZodOptional<z.ZodObject<{
|
|
548
|
+
lambdaArn: z.ZodString;
|
|
549
|
+
toolSchemaFile: z.ZodString;
|
|
550
|
+
}, z.core.$strict>>;
|
|
375
551
|
}, z.core.$strict>;
|
|
376
552
|
export type AgentCoreGatewayTarget = z.infer<typeof AgentCoreGatewayTargetSchema>;
|
|
377
553
|
/**
|
|
@@ -388,6 +564,8 @@ export declare const AgentCoreGatewaySchema: z.ZodObject<{
|
|
|
388
564
|
mcpServer: "mcpServer";
|
|
389
565
|
openApiSchema: "openApiSchema";
|
|
390
566
|
smithyModel: "smithyModel";
|
|
567
|
+
apiGateway: "apiGateway";
|
|
568
|
+
lambdaFunctionArn: "lambdaFunctionArn";
|
|
391
569
|
}>;
|
|
392
570
|
toolDefinitions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
393
571
|
name: z.ZodString;
|
|
@@ -448,7 +626,7 @@ export declare const AgentCoreGatewaySchema: z.ZodObject<{
|
|
|
448
626
|
}, z.core.$strip>>;
|
|
449
627
|
networkMode: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
450
628
|
PUBLIC: "PUBLIC";
|
|
451
|
-
|
|
629
|
+
PRIVATE: "PRIVATE";
|
|
452
630
|
}>>>;
|
|
453
631
|
description: z.ZodOptional<z.ZodString>;
|
|
454
632
|
}, z.core.$strict>>;
|
|
@@ -467,6 +645,52 @@ export declare const AgentCoreGatewaySchema: z.ZodObject<{
|
|
|
467
645
|
credentialName: z.ZodOptional<z.ZodString>;
|
|
468
646
|
scopes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
469
647
|
}, z.core.$strict>>;
|
|
648
|
+
apiGateway: z.ZodOptional<z.ZodObject<{
|
|
649
|
+
restApiId: z.ZodString;
|
|
650
|
+
stage: z.ZodString;
|
|
651
|
+
apiGatewayToolConfiguration: z.ZodObject<{
|
|
652
|
+
toolFilters: z.ZodArray<z.ZodObject<{
|
|
653
|
+
filterPath: z.ZodString;
|
|
654
|
+
methods: z.ZodArray<z.ZodEnum<{
|
|
655
|
+
GET: "GET";
|
|
656
|
+
POST: "POST";
|
|
657
|
+
PUT: "PUT";
|
|
658
|
+
DELETE: "DELETE";
|
|
659
|
+
PATCH: "PATCH";
|
|
660
|
+
HEAD: "HEAD";
|
|
661
|
+
OPTIONS: "OPTIONS";
|
|
662
|
+
}>>;
|
|
663
|
+
}, z.core.$strict>>;
|
|
664
|
+
toolOverrides: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
665
|
+
name: z.ZodString;
|
|
666
|
+
path: z.ZodString;
|
|
667
|
+
method: z.ZodEnum<{
|
|
668
|
+
GET: "GET";
|
|
669
|
+
POST: "POST";
|
|
670
|
+
PUT: "PUT";
|
|
671
|
+
DELETE: "DELETE";
|
|
672
|
+
PATCH: "PATCH";
|
|
673
|
+
HEAD: "HEAD";
|
|
674
|
+
OPTIONS: "OPTIONS";
|
|
675
|
+
}>;
|
|
676
|
+
description: z.ZodOptional<z.ZodString>;
|
|
677
|
+
}, z.core.$strict>>>;
|
|
678
|
+
}, z.core.$strict>;
|
|
679
|
+
}, z.core.$strict>>;
|
|
680
|
+
schemaSource: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
681
|
+
inline: z.ZodObject<{
|
|
682
|
+
path: z.ZodString;
|
|
683
|
+
}, z.core.$strict>;
|
|
684
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
685
|
+
s3: z.ZodObject<{
|
|
686
|
+
uri: z.ZodString;
|
|
687
|
+
bucketOwnerAccountId: z.ZodOptional<z.ZodString>;
|
|
688
|
+
}, z.core.$strict>;
|
|
689
|
+
}, z.core.$strict>]>>;
|
|
690
|
+
lambdaFunctionArn: z.ZodOptional<z.ZodObject<{
|
|
691
|
+
lambdaArn: z.ZodString;
|
|
692
|
+
toolSchemaFile: z.ZodString;
|
|
693
|
+
}, z.core.$strict>>;
|
|
470
694
|
}, z.core.$strict>>;
|
|
471
695
|
authorizerType: z.ZodDefault<z.ZodEnum<{
|
|
472
696
|
NONE: "NONE";
|
|
@@ -481,6 +705,7 @@ export declare const AgentCoreGatewaySchema: z.ZodObject<{
|
|
|
481
705
|
allowedScopes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
482
706
|
}, z.core.$strip>>;
|
|
483
707
|
}, z.core.$strip>>;
|
|
708
|
+
enableSemanticSearch: z.ZodDefault<z.ZodBoolean>;
|
|
484
709
|
}, z.core.$strict>;
|
|
485
710
|
export type AgentCoreGateway = z.infer<typeof AgentCoreGatewaySchema>;
|
|
486
711
|
/**
|
|
@@ -537,7 +762,7 @@ export declare const AgentCoreMcpRuntimeToolSchema: z.ZodObject<{
|
|
|
537
762
|
}, z.core.$strip>>;
|
|
538
763
|
networkMode: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
539
764
|
PUBLIC: "PUBLIC";
|
|
540
|
-
|
|
765
|
+
PRIVATE: "PRIVATE";
|
|
541
766
|
}>>>;
|
|
542
767
|
description: z.ZodOptional<z.ZodString>;
|
|
543
768
|
}, z.core.$strict>>;
|
|
@@ -566,6 +791,8 @@ export declare const AgentCoreMcpSpecSchema: z.ZodObject<{
|
|
|
566
791
|
mcpServer: "mcpServer";
|
|
567
792
|
openApiSchema: "openApiSchema";
|
|
568
793
|
smithyModel: "smithyModel";
|
|
794
|
+
apiGateway: "apiGateway";
|
|
795
|
+
lambdaFunctionArn: "lambdaFunctionArn";
|
|
569
796
|
}>;
|
|
570
797
|
toolDefinitions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
571
798
|
name: z.ZodString;
|
|
@@ -626,7 +853,7 @@ export declare const AgentCoreMcpSpecSchema: z.ZodObject<{
|
|
|
626
853
|
}, z.core.$strip>>;
|
|
627
854
|
networkMode: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
628
855
|
PUBLIC: "PUBLIC";
|
|
629
|
-
|
|
856
|
+
PRIVATE: "PRIVATE";
|
|
630
857
|
}>>>;
|
|
631
858
|
description: z.ZodOptional<z.ZodString>;
|
|
632
859
|
}, z.core.$strict>>;
|
|
@@ -645,6 +872,52 @@ export declare const AgentCoreMcpSpecSchema: z.ZodObject<{
|
|
|
645
872
|
credentialName: z.ZodOptional<z.ZodString>;
|
|
646
873
|
scopes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
647
874
|
}, z.core.$strict>>;
|
|
875
|
+
apiGateway: z.ZodOptional<z.ZodObject<{
|
|
876
|
+
restApiId: z.ZodString;
|
|
877
|
+
stage: z.ZodString;
|
|
878
|
+
apiGatewayToolConfiguration: z.ZodObject<{
|
|
879
|
+
toolFilters: z.ZodArray<z.ZodObject<{
|
|
880
|
+
filterPath: z.ZodString;
|
|
881
|
+
methods: z.ZodArray<z.ZodEnum<{
|
|
882
|
+
GET: "GET";
|
|
883
|
+
POST: "POST";
|
|
884
|
+
PUT: "PUT";
|
|
885
|
+
DELETE: "DELETE";
|
|
886
|
+
PATCH: "PATCH";
|
|
887
|
+
HEAD: "HEAD";
|
|
888
|
+
OPTIONS: "OPTIONS";
|
|
889
|
+
}>>;
|
|
890
|
+
}, z.core.$strict>>;
|
|
891
|
+
toolOverrides: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
892
|
+
name: z.ZodString;
|
|
893
|
+
path: z.ZodString;
|
|
894
|
+
method: z.ZodEnum<{
|
|
895
|
+
GET: "GET";
|
|
896
|
+
POST: "POST";
|
|
897
|
+
PUT: "PUT";
|
|
898
|
+
DELETE: "DELETE";
|
|
899
|
+
PATCH: "PATCH";
|
|
900
|
+
HEAD: "HEAD";
|
|
901
|
+
OPTIONS: "OPTIONS";
|
|
902
|
+
}>;
|
|
903
|
+
description: z.ZodOptional<z.ZodString>;
|
|
904
|
+
}, z.core.$strict>>>;
|
|
905
|
+
}, z.core.$strict>;
|
|
906
|
+
}, z.core.$strict>>;
|
|
907
|
+
schemaSource: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
908
|
+
inline: z.ZodObject<{
|
|
909
|
+
path: z.ZodString;
|
|
910
|
+
}, z.core.$strict>;
|
|
911
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
912
|
+
s3: z.ZodObject<{
|
|
913
|
+
uri: z.ZodString;
|
|
914
|
+
bucketOwnerAccountId: z.ZodOptional<z.ZodString>;
|
|
915
|
+
}, z.core.$strict>;
|
|
916
|
+
}, z.core.$strict>]>>;
|
|
917
|
+
lambdaFunctionArn: z.ZodOptional<z.ZodObject<{
|
|
918
|
+
lambdaArn: z.ZodString;
|
|
919
|
+
toolSchemaFile: z.ZodString;
|
|
920
|
+
}, z.core.$strict>>;
|
|
648
921
|
}, z.core.$strict>>;
|
|
649
922
|
authorizerType: z.ZodDefault<z.ZodEnum<{
|
|
650
923
|
NONE: "NONE";
|
|
@@ -659,6 +932,7 @@ export declare const AgentCoreMcpSpecSchema: z.ZodObject<{
|
|
|
659
932
|
allowedScopes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
660
933
|
}, z.core.$strip>>;
|
|
661
934
|
}, z.core.$strip>>;
|
|
935
|
+
enableSemanticSearch: z.ZodDefault<z.ZodBoolean>;
|
|
662
936
|
}, z.core.$strict>>;
|
|
663
937
|
mcpRuntimeTools: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
664
938
|
name: z.ZodString;
|
|
@@ -694,7 +968,7 @@ export declare const AgentCoreMcpSpecSchema: z.ZodObject<{
|
|
|
694
968
|
}, z.core.$strip>>;
|
|
695
969
|
networkMode: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
696
970
|
PUBLIC: "PUBLIC";
|
|
697
|
-
|
|
971
|
+
PRIVATE: "PRIVATE";
|
|
698
972
|
}>>>;
|
|
699
973
|
description: z.ZodOptional<z.ZodString>;
|
|
700
974
|
}, z.core.$strict>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mcp.d.ts","sourceRoot":"","sources":["../../../src/schema/schemas/mcp.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AAGxD,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,eAAO,MAAM,uBAAuB
|
|
1
|
+
{"version":3,"file":"mcp.d.ts","sourceRoot":"","sources":["../../../src/schema/schemas/mcp.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AAGxD,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,eAAO,MAAM,uBAAuB;;;;;;;EAOlC,CAAC;AACH,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC;AAMxE,eAAO,MAAM,2BAA2B;;;;EAA4C,CAAC;AACrF,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,2BAA2B,CAAC,CAAC;AAiBhF;;;GAGG;AACH,eAAO,MAAM,+BAA+B;;;;;iBAQ1C,CAAC;AAEH,MAAM,MAAM,yBAAyB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,+BAA+B,CAAC,CAAC;AAExF;;GAEG;AACH,eAAO,MAAM,6BAA6B;;;;;;;iBAExC,CAAC;AAEH,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,6BAA6B,CAAC,CAAC;AAEpF,eAAO,MAAM,sBAAsB;;;;E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