@aws/agentcore-cdk 0.1.0-alpha.4 → 0.1.0-alpha.6
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} +4 -4
- package/dist/cdk/constructs/components/mcp/Gateway.d.ts.map +1 -0
- package/dist/cdk/constructs/components/mcp/{McpGateway.js → Gateway.js} +164 -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 +281 -9
- package/dist/schema/schemas/mcp.d.ts.map +1 -1
- package/dist/schema/schemas/mcp.js +254 -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";
|
|
@@ -537,7 +761,7 @@ export declare const AgentCoreMcpRuntimeToolSchema: z.ZodObject<{
|
|
|
537
761
|
}, z.core.$strip>>;
|
|
538
762
|
networkMode: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
539
763
|
PUBLIC: "PUBLIC";
|
|
540
|
-
|
|
764
|
+
PRIVATE: "PRIVATE";
|
|
541
765
|
}>>>;
|
|
542
766
|
description: z.ZodOptional<z.ZodString>;
|
|
543
767
|
}, z.core.$strict>>;
|
|
@@ -566,6 +790,8 @@ export declare const AgentCoreMcpSpecSchema: z.ZodObject<{
|
|
|
566
790
|
mcpServer: "mcpServer";
|
|
567
791
|
openApiSchema: "openApiSchema";
|
|
568
792
|
smithyModel: "smithyModel";
|
|
793
|
+
apiGateway: "apiGateway";
|
|
794
|
+
lambdaFunctionArn: "lambdaFunctionArn";
|
|
569
795
|
}>;
|
|
570
796
|
toolDefinitions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
571
797
|
name: z.ZodString;
|
|
@@ -626,7 +852,7 @@ export declare const AgentCoreMcpSpecSchema: z.ZodObject<{
|
|
|
626
852
|
}, z.core.$strip>>;
|
|
627
853
|
networkMode: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
628
854
|
PUBLIC: "PUBLIC";
|
|
629
|
-
|
|
855
|
+
PRIVATE: "PRIVATE";
|
|
630
856
|
}>>>;
|
|
631
857
|
description: z.ZodOptional<z.ZodString>;
|
|
632
858
|
}, z.core.$strict>>;
|
|
@@ -645,6 +871,52 @@ export declare const AgentCoreMcpSpecSchema: z.ZodObject<{
|
|
|
645
871
|
credentialName: z.ZodOptional<z.ZodString>;
|
|
646
872
|
scopes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
647
873
|
}, z.core.$strict>>;
|
|
874
|
+
apiGateway: z.ZodOptional<z.ZodObject<{
|
|
875
|
+
restApiId: z.ZodString;
|
|
876
|
+
stage: z.ZodString;
|
|
877
|
+
apiGatewayToolConfiguration: z.ZodObject<{
|
|
878
|
+
toolFilters: z.ZodArray<z.ZodObject<{
|
|
879
|
+
filterPath: z.ZodString;
|
|
880
|
+
methods: z.ZodArray<z.ZodEnum<{
|
|
881
|
+
GET: "GET";
|
|
882
|
+
POST: "POST";
|
|
883
|
+
PUT: "PUT";
|
|
884
|
+
DELETE: "DELETE";
|
|
885
|
+
PATCH: "PATCH";
|
|
886
|
+
HEAD: "HEAD";
|
|
887
|
+
OPTIONS: "OPTIONS";
|
|
888
|
+
}>>;
|
|
889
|
+
}, z.core.$strict>>;
|
|
890
|
+
toolOverrides: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
891
|
+
name: z.ZodString;
|
|
892
|
+
path: z.ZodString;
|
|
893
|
+
method: z.ZodEnum<{
|
|
894
|
+
GET: "GET";
|
|
895
|
+
POST: "POST";
|
|
896
|
+
PUT: "PUT";
|
|
897
|
+
DELETE: "DELETE";
|
|
898
|
+
PATCH: "PATCH";
|
|
899
|
+
HEAD: "HEAD";
|
|
900
|
+
OPTIONS: "OPTIONS";
|
|
901
|
+
}>;
|
|
902
|
+
description: z.ZodOptional<z.ZodString>;
|
|
903
|
+
}, z.core.$strict>>>;
|
|
904
|
+
}, z.core.$strict>;
|
|
905
|
+
}, z.core.$strict>>;
|
|
906
|
+
schemaSource: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
907
|
+
inline: z.ZodObject<{
|
|
908
|
+
path: z.ZodString;
|
|
909
|
+
}, z.core.$strict>;
|
|
910
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
911
|
+
s3: z.ZodObject<{
|
|
912
|
+
uri: z.ZodString;
|
|
913
|
+
bucketOwnerAccountId: z.ZodOptional<z.ZodString>;
|
|
914
|
+
}, z.core.$strict>;
|
|
915
|
+
}, z.core.$strict>]>>;
|
|
916
|
+
lambdaFunctionArn: z.ZodOptional<z.ZodObject<{
|
|
917
|
+
lambdaArn: z.ZodString;
|
|
918
|
+
toolSchemaFile: z.ZodString;
|
|
919
|
+
}, z.core.$strict>>;
|
|
648
920
|
}, z.core.$strict>>;
|
|
649
921
|
authorizerType: z.ZodDefault<z.ZodEnum<{
|
|
650
922
|
NONE: "NONE";
|
|
@@ -694,7 +966,7 @@ export declare const AgentCoreMcpSpecSchema: z.ZodObject<{
|
|
|
694
966
|
}, z.core.$strip>>;
|
|
695
967
|
networkMode: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
696
968
|
PUBLIC: "PUBLIC";
|
|
697
|
-
|
|
969
|
+
PRIVATE: "PRIVATE";
|
|
698
970
|
}>>>;
|
|
699
971
|
description: z.ZodOptional<z.ZodString>;
|
|
700
972
|
}, 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,KA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