@aws/agentcore-cdk 0.1.0-alpha.2 → 0.1.0-alpha.20
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 +20 -12
- package/dist/cdk/constants.d.ts +1 -0
- package/dist/cdk/constants.d.ts.map +1 -1
- package/dist/cdk/constants.js +5 -1
- package/dist/cdk/constants.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.map +1 -1
- package/dist/cdk/constructs/components/container/ContainerBuildProject.js +5 -1
- package/dist/cdk/constructs/components/container/ContainerBuildProject.js.map +1 -1
- package/dist/cdk/constructs/components/container/ContainerImageBuilder.js +1 -1
- package/dist/cdk/constructs/components/container/container-build-handler.d.ts +1 -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 +2 -3
- package/dist/cdk/constructs/components/container/container-build-handler.js.map +1 -1
- package/dist/cdk/constructs/components/mcp/Gateway.d.ts +55 -0
- package/dist/cdk/constructs/components/mcp/Gateway.d.ts.map +1 -0
- package/dist/cdk/constructs/components/mcp/Gateway.js +480 -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/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.js +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/evaluator/AgentCoreEvaluator.d.ts +47 -0
- package/dist/cdk/constructs/components/primitives/evaluator/AgentCoreEvaluator.d.ts.map +1 -0
- package/dist/cdk/constructs/components/primitives/evaluator/AgentCoreEvaluator.js +204 -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 +161 -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/AgentCoreHarnessRole.d.ts +38 -0
- package/dist/cdk/constructs/components/primitives/harness/AgentCoreHarnessRole.d.ts.map +1 -0
- package/dist/cdk/constructs/components/primitives/harness/AgentCoreHarnessRole.js +249 -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/index.d.ts +2 -0
- package/dist/cdk/constructs/components/primitives/harness/index.d.ts.map +1 -0
- package/dist/cdk/constructs/components/primitives/harness/index.js +6 -0
- package/dist/cdk/constructs/components/primitives/harness/index.js.map +1 -0
- package/dist/cdk/constructs/components/primitives/index.d.ts +5 -0
- package/dist/cdk/constructs/components/primitives/index.d.ts.map +1 -1
- package/dist/cdk/constructs/components/primitives/index.js +11 -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 +68 -28
- 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/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 +57 -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 +14 -1
- package/dist/cdk/constructs/components/primitives/runtime/AgentCoreRuntime.d.ts.map +1 -1
- package/dist/cdk/constructs/components/primitives/runtime/AgentCoreRuntime.js +163 -79
- 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/index.d.ts +1 -1
- package/dist/cdk/constructs/index.d.ts.map +1 -1
- package/dist/cdk/constructs/index.js +3 -1
- package/dist/cdk/constructs/index.js.map +1 -1
- package/dist/cdk/constructs/l3/AgentCoreApplication.d.ts +43 -1
- package/dist/cdk/constructs/l3/AgentCoreApplication.d.ts.map +1 -1
- package/dist/cdk/constructs/l3/AgentCoreApplication.js +226 -9
- package/dist/cdk/constructs/l3/AgentCoreApplication.js.map +1 -1
- package/dist/cdk/constructs/l3/AgentCoreMcp.d.ts +21 -3
- package/dist/cdk/constructs/l3/AgentCoreMcp.d.ts.map +1 -1
- package/dist/cdk/constructs/l3/AgentCoreMcp.js +106 -15
- package/dist/cdk/constructs/l3/AgentCoreMcp.js.map +1 -1
- package/dist/cdk/constructs/l3/AgentEnvironment.d.ts +2 -0
- package/dist/cdk/constructs/l3/AgentEnvironment.d.ts.map +1 -1
- package/dist/cdk/constructs/l3/AgentEnvironment.js +3 -1
- package/dist/cdk/constructs/l3/AgentEnvironment.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 +4 -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 +4 -1
- package/dist/index.js.map +1 -1
- package/dist/lib/errors/config.js +1 -1
- package/dist/lib/errors/config.js.map +1 -1
- package/dist/lib/packaging/helpers.d.ts.map +1 -1
- package/dist/lib/packaging/helpers.js +5 -1
- package/dist/lib/packaging/helpers.js.map +1 -1
- package/dist/lib/packaging/index.js +2 -2
- package/dist/lib/packaging/index.js.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/schema/constants.d.ts +23 -1
- package/dist/schema/constants.d.ts.map +1 -1
- package/dist/schema/constants.js +37 -3
- package/dist/schema/constants.js.map +1 -1
- package/dist/schema/schemas/agent-env.d.ts +99 -5
- package/dist/schema/schemas/agent-env.d.ts.map +1 -1
- package/dist/schema/schemas/agent-env.js +135 -7
- package/dist/schema/schemas/agent-env.js.map +1 -1
- package/dist/schema/schemas/agentcore-project.d.ts +655 -13
- package/dist/schema/schemas/agentcore-project.d.ts.map +1 -1
- package/dist/schema/schemas/agentcore-project.js +133 -7
- package/dist/schema/schemas/agentcore-project.js.map +1 -1
- package/dist/schema/schemas/auth.d.ts +140 -0
- package/dist/schema/schemas/auth.d.ts.map +1 -0
- package/dist/schema/schemas/auth.js +114 -0
- package/dist/schema/schemas/auth.js.map +1 -0
- package/dist/schema/schemas/aws-targets.d.ts +18 -0
- package/dist/schema/schemas/aws-targets.d.ts.map +1 -1
- package/dist/schema/schemas/aws-targets.js +7 -0
- package/dist/schema/schemas/aws-targets.js.map +1 -1
- package/dist/schema/schemas/deployed-state.d.ts +219 -16
- package/dist/schema/schemas/deployed-state.d.ts.map +1 -1
- package/dist/schema/schemas/deployed-state.js +51 -4
- package/dist/schema/schemas/deployed-state.js.map +1 -1
- package/dist/schema/schemas/index.d.ts +1 -0
- package/dist/schema/schemas/index.d.ts.map +1 -1
- package/dist/schema/schemas/index.js +1 -0
- package/dist/schema/schemas/index.js.map +1 -1
- package/dist/schema/schemas/mcp.d.ts +437 -46
- package/dist/schema/schemas/mcp.d.ts.map +1 -1
- package/dist/schema/schemas/mcp.js +317 -37
- package/dist/schema/schemas/mcp.js.map +1 -1
- package/dist/schema/schemas/primitives/evaluator.d.ts +100 -0
- package/dist/schema/schemas/primitives/evaluator.d.ts.map +1 -0
- package/dist/schema/schemas/primitives/evaluator.js +73 -0
- package/dist/schema/schemas/primitives/evaluator.js.map +1 -0
- package/dist/schema/schemas/primitives/harness.d.ts +256 -0
- package/dist/schema/schemas/primitives/harness.d.ts.map +1 -0
- package/dist/schema/schemas/primitives/harness.js +206 -0
- package/dist/schema/schemas/primitives/harness.js.map +1 -0
- package/dist/schema/schemas/primitives/index.d.ts +6 -0
- package/dist/schema/schemas/primitives/index.d.ts.map +1 -1
- package/dist/schema/schemas/primitives/index.js +21 -1
- package/dist/schema/schemas/primitives/index.js.map +1 -1
- package/dist/schema/schemas/primitives/memory.d.ts +4 -0
- package/dist/schema/schemas/primitives/memory.d.ts.map +1 -1
- package/dist/schema/schemas/primitives/memory.js +4 -1
- package/dist/schema/schemas/primitives/memory.js.map +1 -1
- package/dist/schema/schemas/primitives/online-evaluation-config.d.ts +13 -0
- package/dist/schema/schemas/primitives/online-evaluation-config.d.ts.map +1 -0
- package/dist/schema/schemas/primitives/online-evaluation-config.js +28 -0
- package/dist/schema/schemas/primitives/online-evaluation-config.js.map +1 -0
- package/dist/schema/schemas/primitives/policy.d.ts +49 -0
- package/dist/schema/schemas/primitives/policy.d.ts.map +1 -0
- package/dist/schema/schemas/primitives/policy.js +62 -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 +19 -12
- package/dist/cdk/constructs/components/mcp/McpGateway.d.ts +0 -37
- package/dist/cdk/constructs/components/mcp/McpGateway.d.ts.map +0 -1
- package/dist/cdk/constructs/components/mcp/McpGateway.js +0 -154
- package/dist/cdk/constructs/components/mcp/McpGateway.js.map +0 -1
|
@@ -5,34 +5,140 @@ 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
|
-
export declare const
|
|
12
|
+
export declare const OutboundAuthTypeSchema: z.ZodEnum<{
|
|
11
13
|
NONE: "NONE";
|
|
12
|
-
|
|
14
|
+
OAUTH: "OAUTH";
|
|
15
|
+
API_KEY: "API_KEY";
|
|
13
16
|
}>;
|
|
14
|
-
export type
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
}, z.core.$
|
|
24
|
-
export type
|
|
17
|
+
export type OutboundAuthType = z.infer<typeof OutboundAuthTypeSchema>;
|
|
18
|
+
export declare const OutboundAuthSchema: z.ZodObject<{
|
|
19
|
+
type: z.ZodDefault<z.ZodEnum<{
|
|
20
|
+
NONE: "NONE";
|
|
21
|
+
OAUTH: "OAUTH";
|
|
22
|
+
API_KEY: "API_KEY";
|
|
23
|
+
}>>;
|
|
24
|
+
credentialName: z.ZodOptional<z.ZodString>;
|
|
25
|
+
scopes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
26
|
+
}, z.core.$strict>;
|
|
27
|
+
export type OutboundAuth = z.infer<typeof OutboundAuthSchema>;
|
|
25
28
|
/**
|
|
26
|
-
*
|
|
29
|
+
* Outbound authentication rules per gateway target type.
|
|
30
|
+
*
|
|
31
|
+
* - `authRequired` — target cannot be created without outbound auth
|
|
32
|
+
* - `validAuthTypes` — allowed OutboundAuthType values (empty = no outbound auth applicable)
|
|
33
|
+
* - `iamRoleFallback` — CDK passes GATEWAY_IAM_ROLE when no auth configured
|
|
27
34
|
*/
|
|
28
|
-
export declare const
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
35
|
+
export declare const TARGET_TYPE_AUTH_CONFIG: Record<GatewayTargetType, {
|
|
36
|
+
authRequired: boolean;
|
|
37
|
+
validAuthTypes: readonly OutboundAuthType[];
|
|
38
|
+
iamRoleFallback: boolean;
|
|
39
|
+
}>;
|
|
40
|
+
export declare const ApiGatewayHttpMethodSchema: z.ZodEnum<{
|
|
41
|
+
GET: "GET";
|
|
42
|
+
POST: "POST";
|
|
43
|
+
PUT: "PUT";
|
|
44
|
+
DELETE: "DELETE";
|
|
45
|
+
PATCH: "PATCH";
|
|
46
|
+
HEAD: "HEAD";
|
|
47
|
+
OPTIONS: "OPTIONS";
|
|
48
|
+
}>;
|
|
49
|
+
export type ApiGatewayHttpMethod = z.infer<typeof ApiGatewayHttpMethodSchema>;
|
|
50
|
+
export declare const ApiGatewayToolFilterSchema: z.ZodObject<{
|
|
51
|
+
filterPath: z.ZodString;
|
|
52
|
+
methods: z.ZodArray<z.ZodEnum<{
|
|
53
|
+
GET: "GET";
|
|
54
|
+
POST: "POST";
|
|
55
|
+
PUT: "PUT";
|
|
56
|
+
DELETE: "DELETE";
|
|
57
|
+
PATCH: "PATCH";
|
|
58
|
+
HEAD: "HEAD";
|
|
59
|
+
OPTIONS: "OPTIONS";
|
|
60
|
+
}>>;
|
|
61
|
+
}, z.core.$strict>;
|
|
62
|
+
export declare const ApiGatewayToolOverrideSchema: z.ZodObject<{
|
|
63
|
+
name: z.ZodString;
|
|
64
|
+
path: z.ZodString;
|
|
65
|
+
method: z.ZodEnum<{
|
|
66
|
+
GET: "GET";
|
|
67
|
+
POST: "POST";
|
|
68
|
+
PUT: "PUT";
|
|
69
|
+
DELETE: "DELETE";
|
|
70
|
+
PATCH: "PATCH";
|
|
71
|
+
HEAD: "HEAD";
|
|
72
|
+
OPTIONS: "OPTIONS";
|
|
73
|
+
}>;
|
|
74
|
+
description: z.ZodOptional<z.ZodString>;
|
|
75
|
+
}, z.core.$strict>;
|
|
76
|
+
export declare const ApiGatewayToolConfigurationSchema: z.ZodObject<{
|
|
77
|
+
toolFilters: z.ZodArray<z.ZodObject<{
|
|
78
|
+
filterPath: z.ZodString;
|
|
79
|
+
methods: z.ZodArray<z.ZodEnum<{
|
|
80
|
+
GET: "GET";
|
|
81
|
+
POST: "POST";
|
|
82
|
+
PUT: "PUT";
|
|
83
|
+
DELETE: "DELETE";
|
|
84
|
+
PATCH: "PATCH";
|
|
85
|
+
HEAD: "HEAD";
|
|
86
|
+
OPTIONS: "OPTIONS";
|
|
87
|
+
}>>;
|
|
88
|
+
}, z.core.$strict>>;
|
|
89
|
+
toolOverrides: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
90
|
+
name: z.ZodString;
|
|
91
|
+
path: z.ZodString;
|
|
92
|
+
method: z.ZodEnum<{
|
|
93
|
+
GET: "GET";
|
|
94
|
+
POST: "POST";
|
|
95
|
+
PUT: "PUT";
|
|
96
|
+
DELETE: "DELETE";
|
|
97
|
+
PATCH: "PATCH";
|
|
98
|
+
HEAD: "HEAD";
|
|
99
|
+
OPTIONS: "OPTIONS";
|
|
100
|
+
}>;
|
|
101
|
+
description: z.ZodOptional<z.ZodString>;
|
|
102
|
+
}, z.core.$strict>>>;
|
|
103
|
+
}, z.core.$strict>;
|
|
104
|
+
export declare const ApiGatewayConfigSchema: z.ZodObject<{
|
|
105
|
+
restApiId: z.ZodString;
|
|
106
|
+
stage: z.ZodString;
|
|
107
|
+
apiGatewayToolConfiguration: z.ZodObject<{
|
|
108
|
+
toolFilters: z.ZodArray<z.ZodObject<{
|
|
109
|
+
filterPath: z.ZodString;
|
|
110
|
+
methods: z.ZodArray<z.ZodEnum<{
|
|
111
|
+
GET: "GET";
|
|
112
|
+
POST: "POST";
|
|
113
|
+
PUT: "PUT";
|
|
114
|
+
DELETE: "DELETE";
|
|
115
|
+
PATCH: "PATCH";
|
|
116
|
+
HEAD: "HEAD";
|
|
117
|
+
OPTIONS: "OPTIONS";
|
|
118
|
+
}>>;
|
|
119
|
+
}, z.core.$strict>>;
|
|
120
|
+
toolOverrides: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
121
|
+
name: z.ZodString;
|
|
122
|
+
path: z.ZodString;
|
|
123
|
+
method: z.ZodEnum<{
|
|
124
|
+
GET: "GET";
|
|
125
|
+
POST: "POST";
|
|
126
|
+
PUT: "PUT";
|
|
127
|
+
DELETE: "DELETE";
|
|
128
|
+
PATCH: "PATCH";
|
|
129
|
+
HEAD: "HEAD";
|
|
130
|
+
OPTIONS: "OPTIONS";
|
|
131
|
+
}>;
|
|
132
|
+
description: z.ZodOptional<z.ZodString>;
|
|
133
|
+
}, z.core.$strict>>>;
|
|
134
|
+
}, z.core.$strict>;
|
|
135
|
+
}, z.core.$strict>;
|
|
136
|
+
export type ApiGatewayConfig = z.infer<typeof ApiGatewayConfigSchema>;
|
|
137
|
+
export declare const LambdaFunctionArnConfigSchema: z.ZodObject<{
|
|
138
|
+
lambdaArn: z.ZodString;
|
|
139
|
+
toolSchemaFile: z.ZodString;
|
|
140
|
+
}, z.core.$strict>;
|
|
141
|
+
export type LambdaFunctionArnConfig = z.infer<typeof LambdaFunctionArnConfigSchema>;
|
|
36
142
|
export declare const McpImplLanguageSchema: z.ZodEnum<{
|
|
37
143
|
Python: "Python";
|
|
38
144
|
TypeScript: "TypeScript";
|
|
@@ -79,6 +185,7 @@ declare const CodeZipRuntimeConfigSchema: z.ZodObject<{
|
|
|
79
185
|
PYTHON_3_11: "PYTHON_3_11";
|
|
80
186
|
PYTHON_3_12: "PYTHON_3_12";
|
|
81
187
|
PYTHON_3_13: "PYTHON_3_13";
|
|
188
|
+
PYTHON_3_14: "PYTHON_3_14";
|
|
82
189
|
}>;
|
|
83
190
|
name: z.ZodString;
|
|
84
191
|
entrypoint: z.ZodType<FilePath, unknown, z.core.$ZodTypeInternals<FilePath, unknown>>;
|
|
@@ -88,7 +195,7 @@ declare const CodeZipRuntimeConfigSchema: z.ZodObject<{
|
|
|
88
195
|
}, z.core.$strip>>;
|
|
89
196
|
networkMode: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
90
197
|
PUBLIC: "PUBLIC";
|
|
91
|
-
|
|
198
|
+
VPC: "VPC";
|
|
92
199
|
}>>>;
|
|
93
200
|
description: z.ZodOptional<z.ZodString>;
|
|
94
201
|
}, z.core.$strict>;
|
|
@@ -104,6 +211,7 @@ export declare const RuntimeConfigSchema: z.ZodObject<{
|
|
|
104
211
|
PYTHON_3_11: "PYTHON_3_11";
|
|
105
212
|
PYTHON_3_12: "PYTHON_3_12";
|
|
106
213
|
PYTHON_3_13: "PYTHON_3_13";
|
|
214
|
+
PYTHON_3_14: "PYTHON_3_14";
|
|
107
215
|
}>;
|
|
108
216
|
name: z.ZodString;
|
|
109
217
|
entrypoint: z.ZodType<FilePath, unknown, z.core.$ZodTypeInternals<FilePath, unknown>>;
|
|
@@ -113,7 +221,7 @@ export declare const RuntimeConfigSchema: z.ZodObject<{
|
|
|
113
221
|
}, z.core.$strip>>;
|
|
114
222
|
networkMode: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
115
223
|
PUBLIC: "PUBLIC";
|
|
116
|
-
|
|
224
|
+
VPC: "VPC";
|
|
117
225
|
}>>>;
|
|
118
226
|
description: z.ZodOptional<z.ZodString>;
|
|
119
227
|
}, z.core.$strict>;
|
|
@@ -144,6 +252,7 @@ declare const LambdaComputeConfigSchema: z.ZodObject<{
|
|
|
144
252
|
PYTHON_3_11: "PYTHON_3_11";
|
|
145
253
|
PYTHON_3_12: "PYTHON_3_12";
|
|
146
254
|
PYTHON_3_13: "PYTHON_3_13";
|
|
255
|
+
PYTHON_3_14: "PYTHON_3_14";
|
|
147
256
|
}>>;
|
|
148
257
|
timeout: z.ZodOptional<z.ZodNumber>;
|
|
149
258
|
memorySize: z.ZodOptional<z.ZodNumber>;
|
|
@@ -174,6 +283,7 @@ declare const AgentCoreRuntimeComputeConfigSchema: z.ZodObject<{
|
|
|
174
283
|
PYTHON_3_11: "PYTHON_3_11";
|
|
175
284
|
PYTHON_3_12: "PYTHON_3_12";
|
|
176
285
|
PYTHON_3_13: "PYTHON_3_13";
|
|
286
|
+
PYTHON_3_14: "PYTHON_3_14";
|
|
177
287
|
}>;
|
|
178
288
|
name: z.ZodString;
|
|
179
289
|
entrypoint: z.ZodType<FilePath, unknown, z.core.$ZodTypeInternals<FilePath, unknown>>;
|
|
@@ -183,7 +293,7 @@ declare const AgentCoreRuntimeComputeConfigSchema: z.ZodObject<{
|
|
|
183
293
|
}, z.core.$strip>>;
|
|
184
294
|
networkMode: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
185
295
|
PUBLIC: "PUBLIC";
|
|
186
|
-
|
|
296
|
+
VPC: "VPC";
|
|
187
297
|
}>>>;
|
|
188
298
|
description: z.ZodOptional<z.ZodString>;
|
|
189
299
|
}, z.core.$strict>>;
|
|
@@ -216,6 +326,7 @@ export declare const ToolComputeConfigSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
216
326
|
PYTHON_3_11: "PYTHON_3_11";
|
|
217
327
|
PYTHON_3_12: "PYTHON_3_12";
|
|
218
328
|
PYTHON_3_13: "PYTHON_3_13";
|
|
329
|
+
PYTHON_3_14: "PYTHON_3_14";
|
|
219
330
|
}>>;
|
|
220
331
|
timeout: z.ZodOptional<z.ZodNumber>;
|
|
221
332
|
memorySize: z.ZodOptional<z.ZodNumber>;
|
|
@@ -240,6 +351,7 @@ export declare const ToolComputeConfigSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
240
351
|
PYTHON_3_11: "PYTHON_3_11";
|
|
241
352
|
PYTHON_3_12: "PYTHON_3_12";
|
|
242
353
|
PYTHON_3_13: "PYTHON_3_13";
|
|
354
|
+
PYTHON_3_14: "PYTHON_3_14";
|
|
243
355
|
}>;
|
|
244
356
|
name: z.ZodString;
|
|
245
357
|
entrypoint: z.ZodType<FilePath, unknown, z.core.$ZodTypeInternals<FilePath, unknown>>;
|
|
@@ -249,7 +361,7 @@ export declare const ToolComputeConfigSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
249
361
|
}, z.core.$strip>>;
|
|
250
362
|
networkMode: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
251
363
|
PUBLIC: "PUBLIC";
|
|
252
|
-
|
|
364
|
+
VPC: "VPC";
|
|
253
365
|
}>>>;
|
|
254
366
|
description: z.ZodOptional<z.ZodString>;
|
|
255
367
|
}, z.core.$strict>>;
|
|
@@ -259,6 +371,18 @@ export declare const ToolComputeConfigSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
259
371
|
}, z.core.$loose>>;
|
|
260
372
|
}, z.core.$strict>], "host">;
|
|
261
373
|
export type ToolComputeConfig = z.infer<typeof ToolComputeConfigSchema>;
|
|
374
|
+
/** Schema source: either a local file path (read at synth time) or an S3 URI. */
|
|
375
|
+
export declare const SchemaSourceSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
376
|
+
inline: z.ZodObject<{
|
|
377
|
+
path: z.ZodString;
|
|
378
|
+
}, z.core.$strict>;
|
|
379
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
380
|
+
s3: z.ZodObject<{
|
|
381
|
+
uri: z.ZodString;
|
|
382
|
+
bucketOwnerAccountId: z.ZodOptional<z.ZodString>;
|
|
383
|
+
}, z.core.$strict>;
|
|
384
|
+
}, z.core.$strict>]>;
|
|
385
|
+
export type SchemaSource = z.infer<typeof SchemaSourceSchema>;
|
|
262
386
|
/**
|
|
263
387
|
* A gateway target binds one or more ToolDefinitions to compute that services them.
|
|
264
388
|
*
|
|
@@ -274,13 +398,15 @@ export declare const AgentCoreGatewayTargetSchema: z.ZodObject<{
|
|
|
274
398
|
mcpServer: "mcpServer";
|
|
275
399
|
openApiSchema: "openApiSchema";
|
|
276
400
|
smithyModel: "smithyModel";
|
|
401
|
+
apiGateway: "apiGateway";
|
|
402
|
+
lambdaFunctionArn: "lambdaFunctionArn";
|
|
277
403
|
}>;
|
|
278
|
-
toolDefinitions: z.ZodArray<z.ZodObject<{
|
|
404
|
+
toolDefinitions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
279
405
|
name: z.ZodString;
|
|
280
406
|
description: z.ZodString;
|
|
281
407
|
inputSchema: z.ZodType<import("./mcp-defs").SchemaDefinition, unknown, z.core.$ZodTypeInternals<import("./mcp-defs").SchemaDefinition, unknown>>;
|
|
282
408
|
outputSchema: z.ZodOptional<z.ZodType<import("./mcp-defs").SchemaDefinition, unknown, z.core.$ZodTypeInternals<import("./mcp-defs").SchemaDefinition, unknown>>>;
|
|
283
|
-
}, z.core.$strict
|
|
409
|
+
}, z.core.$strict>>>;
|
|
284
410
|
compute: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
285
411
|
host: z.ZodLiteral<"Lambda">;
|
|
286
412
|
implementation: z.ZodObject<{
|
|
@@ -301,6 +427,7 @@ export declare const AgentCoreGatewayTargetSchema: z.ZodObject<{
|
|
|
301
427
|
PYTHON_3_11: "PYTHON_3_11";
|
|
302
428
|
PYTHON_3_12: "PYTHON_3_12";
|
|
303
429
|
PYTHON_3_13: "PYTHON_3_13";
|
|
430
|
+
PYTHON_3_14: "PYTHON_3_14";
|
|
304
431
|
}>>;
|
|
305
432
|
timeout: z.ZodOptional<z.ZodNumber>;
|
|
306
433
|
memorySize: z.ZodOptional<z.ZodNumber>;
|
|
@@ -325,6 +452,7 @@ export declare const AgentCoreGatewayTargetSchema: z.ZodObject<{
|
|
|
325
452
|
PYTHON_3_11: "PYTHON_3_11";
|
|
326
453
|
PYTHON_3_12: "PYTHON_3_12";
|
|
327
454
|
PYTHON_3_13: "PYTHON_3_13";
|
|
455
|
+
PYTHON_3_14: "PYTHON_3_14";
|
|
328
456
|
}>;
|
|
329
457
|
name: z.ZodString;
|
|
330
458
|
entrypoint: z.ZodType<FilePath, unknown, z.core.$ZodTypeInternals<FilePath, unknown>>;
|
|
@@ -334,7 +462,7 @@ export declare const AgentCoreGatewayTargetSchema: z.ZodObject<{
|
|
|
334
462
|
}, z.core.$strip>>;
|
|
335
463
|
networkMode: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
336
464
|
PUBLIC: "PUBLIC";
|
|
337
|
-
|
|
465
|
+
VPC: "VPC";
|
|
338
466
|
}>>>;
|
|
339
467
|
description: z.ZodOptional<z.ZodString>;
|
|
340
468
|
}, z.core.$strict>>;
|
|
@@ -343,8 +471,83 @@ export declare const AgentCoreGatewayTargetSchema: z.ZodObject<{
|
|
|
343
471
|
Statement: z.ZodArray<z.ZodUnknown>;
|
|
344
472
|
}, z.core.$loose>>;
|
|
345
473
|
}, z.core.$strict>], "host">>;
|
|
474
|
+
endpoint: z.ZodOptional<z.ZodString>;
|
|
475
|
+
outboundAuth: z.ZodOptional<z.ZodObject<{
|
|
476
|
+
type: z.ZodDefault<z.ZodEnum<{
|
|
477
|
+
NONE: "NONE";
|
|
478
|
+
OAUTH: "OAUTH";
|
|
479
|
+
API_KEY: "API_KEY";
|
|
480
|
+
}>>;
|
|
481
|
+
credentialName: z.ZodOptional<z.ZodString>;
|
|
482
|
+
scopes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
483
|
+
}, z.core.$strict>>;
|
|
484
|
+
apiGateway: z.ZodOptional<z.ZodObject<{
|
|
485
|
+
restApiId: z.ZodString;
|
|
486
|
+
stage: z.ZodString;
|
|
487
|
+
apiGatewayToolConfiguration: z.ZodObject<{
|
|
488
|
+
toolFilters: z.ZodArray<z.ZodObject<{
|
|
489
|
+
filterPath: z.ZodString;
|
|
490
|
+
methods: z.ZodArray<z.ZodEnum<{
|
|
491
|
+
GET: "GET";
|
|
492
|
+
POST: "POST";
|
|
493
|
+
PUT: "PUT";
|
|
494
|
+
DELETE: "DELETE";
|
|
495
|
+
PATCH: "PATCH";
|
|
496
|
+
HEAD: "HEAD";
|
|
497
|
+
OPTIONS: "OPTIONS";
|
|
498
|
+
}>>;
|
|
499
|
+
}, z.core.$strict>>;
|
|
500
|
+
toolOverrides: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
501
|
+
name: z.ZodString;
|
|
502
|
+
path: z.ZodString;
|
|
503
|
+
method: z.ZodEnum<{
|
|
504
|
+
GET: "GET";
|
|
505
|
+
POST: "POST";
|
|
506
|
+
PUT: "PUT";
|
|
507
|
+
DELETE: "DELETE";
|
|
508
|
+
PATCH: "PATCH";
|
|
509
|
+
HEAD: "HEAD";
|
|
510
|
+
OPTIONS: "OPTIONS";
|
|
511
|
+
}>;
|
|
512
|
+
description: z.ZodOptional<z.ZodString>;
|
|
513
|
+
}, z.core.$strict>>>;
|
|
514
|
+
}, z.core.$strict>;
|
|
515
|
+
}, z.core.$strict>>;
|
|
516
|
+
schemaSource: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
517
|
+
inline: z.ZodObject<{
|
|
518
|
+
path: z.ZodString;
|
|
519
|
+
}, z.core.$strict>;
|
|
520
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
521
|
+
s3: z.ZodObject<{
|
|
522
|
+
uri: z.ZodString;
|
|
523
|
+
bucketOwnerAccountId: z.ZodOptional<z.ZodString>;
|
|
524
|
+
}, z.core.$strict>;
|
|
525
|
+
}, z.core.$strict>]>>;
|
|
526
|
+
lambdaFunctionArn: z.ZodOptional<z.ZodObject<{
|
|
527
|
+
lambdaArn: z.ZodString;
|
|
528
|
+
toolSchemaFile: z.ZodString;
|
|
529
|
+
}, z.core.$strict>>;
|
|
346
530
|
}, z.core.$strict>;
|
|
347
531
|
export type AgentCoreGatewayTarget = z.infer<typeof AgentCoreGatewayTargetSchema>;
|
|
532
|
+
/** Controls the verbosity of error responses returned by the gateway. */
|
|
533
|
+
export declare const GatewayExceptionLevelSchema: z.ZodEnum<{
|
|
534
|
+
NONE: "NONE";
|
|
535
|
+
DEBUG: "DEBUG";
|
|
536
|
+
}>;
|
|
537
|
+
export type GatewayExceptionLevel = z.infer<typeof GatewayExceptionLevelSchema>;
|
|
538
|
+
export declare const PolicyEngineModeSchema: z.ZodEnum<{
|
|
539
|
+
LOG_ONLY: "LOG_ONLY";
|
|
540
|
+
ENFORCE: "ENFORCE";
|
|
541
|
+
}>;
|
|
542
|
+
export type PolicyEngineMode = z.infer<typeof PolicyEngineModeSchema>;
|
|
543
|
+
export declare const GatewayPolicyEngineConfigurationSchema: z.ZodObject<{
|
|
544
|
+
policyEngineName: z.ZodString;
|
|
545
|
+
mode: z.ZodEnum<{
|
|
546
|
+
LOG_ONLY: "LOG_ONLY";
|
|
547
|
+
ENFORCE: "ENFORCE";
|
|
548
|
+
}>;
|
|
549
|
+
}, z.core.$strict>;
|
|
550
|
+
export type GatewayPolicyEngineConfiguration = z.infer<typeof GatewayPolicyEngineConfigurationSchema>;
|
|
348
551
|
/**
|
|
349
552
|
* Gateway abstraction with opinionated defaults.
|
|
350
553
|
* Supports NONE (default) or CUSTOM_JWT authorizer types.
|
|
@@ -359,13 +562,15 @@ export declare const AgentCoreGatewaySchema: z.ZodObject<{
|
|
|
359
562
|
mcpServer: "mcpServer";
|
|
360
563
|
openApiSchema: "openApiSchema";
|
|
361
564
|
smithyModel: "smithyModel";
|
|
565
|
+
apiGateway: "apiGateway";
|
|
566
|
+
lambdaFunctionArn: "lambdaFunctionArn";
|
|
362
567
|
}>;
|
|
363
|
-
toolDefinitions: z.ZodArray<z.ZodObject<{
|
|
568
|
+
toolDefinitions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
364
569
|
name: z.ZodString;
|
|
365
570
|
description: z.ZodString;
|
|
366
571
|
inputSchema: z.ZodType<import("./mcp-defs").SchemaDefinition, unknown, z.core.$ZodTypeInternals<import("./mcp-defs").SchemaDefinition, unknown>>;
|
|
367
572
|
outputSchema: z.ZodOptional<z.ZodType<import("./mcp-defs").SchemaDefinition, unknown, z.core.$ZodTypeInternals<import("./mcp-defs").SchemaDefinition, unknown>>>;
|
|
368
|
-
}, z.core.$strict
|
|
573
|
+
}, z.core.$strict>>>;
|
|
369
574
|
compute: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
370
575
|
host: z.ZodLiteral<"Lambda">;
|
|
371
576
|
implementation: z.ZodObject<{
|
|
@@ -386,6 +591,7 @@ export declare const AgentCoreGatewaySchema: z.ZodObject<{
|
|
|
386
591
|
PYTHON_3_11: "PYTHON_3_11";
|
|
387
592
|
PYTHON_3_12: "PYTHON_3_12";
|
|
388
593
|
PYTHON_3_13: "PYTHON_3_13";
|
|
594
|
+
PYTHON_3_14: "PYTHON_3_14";
|
|
389
595
|
}>>;
|
|
390
596
|
timeout: z.ZodOptional<z.ZodNumber>;
|
|
391
597
|
memorySize: z.ZodOptional<z.ZodNumber>;
|
|
@@ -410,6 +616,7 @@ export declare const AgentCoreGatewaySchema: z.ZodObject<{
|
|
|
410
616
|
PYTHON_3_11: "PYTHON_3_11";
|
|
411
617
|
PYTHON_3_12: "PYTHON_3_12";
|
|
412
618
|
PYTHON_3_13: "PYTHON_3_13";
|
|
619
|
+
PYTHON_3_14: "PYTHON_3_14";
|
|
413
620
|
}>;
|
|
414
621
|
name: z.ZodString;
|
|
415
622
|
entrypoint: z.ZodType<FilePath, unknown, z.core.$ZodTypeInternals<FilePath, unknown>>;
|
|
@@ -419,7 +626,7 @@ export declare const AgentCoreGatewaySchema: z.ZodObject<{
|
|
|
419
626
|
}, z.core.$strip>>;
|
|
420
627
|
networkMode: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
421
628
|
PUBLIC: "PUBLIC";
|
|
422
|
-
|
|
629
|
+
VPC: "VPC";
|
|
423
630
|
}>>>;
|
|
424
631
|
description: z.ZodOptional<z.ZodString>;
|
|
425
632
|
}, z.core.$strict>>;
|
|
@@ -428,18 +635,107 @@ export declare const AgentCoreGatewaySchema: z.ZodObject<{
|
|
|
428
635
|
Statement: z.ZodArray<z.ZodUnknown>;
|
|
429
636
|
}, z.core.$loose>>;
|
|
430
637
|
}, z.core.$strict>], "host">>;
|
|
638
|
+
endpoint: z.ZodOptional<z.ZodString>;
|
|
639
|
+
outboundAuth: z.ZodOptional<z.ZodObject<{
|
|
640
|
+
type: z.ZodDefault<z.ZodEnum<{
|
|
641
|
+
NONE: "NONE";
|
|
642
|
+
OAUTH: "OAUTH";
|
|
643
|
+
API_KEY: "API_KEY";
|
|
644
|
+
}>>;
|
|
645
|
+
credentialName: z.ZodOptional<z.ZodString>;
|
|
646
|
+
scopes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
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>>;
|
|
431
694
|
}, z.core.$strict>>;
|
|
432
695
|
authorizerType: z.ZodDefault<z.ZodEnum<{
|
|
433
696
|
NONE: "NONE";
|
|
697
|
+
AWS_IAM: "AWS_IAM";
|
|
434
698
|
CUSTOM_JWT: "CUSTOM_JWT";
|
|
435
699
|
}>>;
|
|
436
700
|
authorizerConfiguration: z.ZodOptional<z.ZodObject<{
|
|
437
701
|
customJwtAuthorizer: z.ZodOptional<z.ZodObject<{
|
|
438
702
|
discoveryUrl: z.ZodString;
|
|
439
|
-
allowedAudience: z.ZodArray<z.ZodString
|
|
440
|
-
allowedClients: z.ZodArray<z.ZodString
|
|
441
|
-
|
|
703
|
+
allowedAudience: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
704
|
+
allowedClients: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
705
|
+
allowedScopes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
706
|
+
customClaims: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
707
|
+
inboundTokenClaimName: z.ZodString;
|
|
708
|
+
inboundTokenClaimValueType: z.ZodEnum<{
|
|
709
|
+
STRING: "STRING";
|
|
710
|
+
STRING_ARRAY: "STRING_ARRAY";
|
|
711
|
+
}>;
|
|
712
|
+
authorizingClaimMatchValue: z.ZodObject<{
|
|
713
|
+
claimMatchOperator: z.ZodEnum<{
|
|
714
|
+
EQUALS: "EQUALS";
|
|
715
|
+
CONTAINS: "CONTAINS";
|
|
716
|
+
CONTAINS_ANY: "CONTAINS_ANY";
|
|
717
|
+
}>;
|
|
718
|
+
claimMatchValue: z.ZodObject<{
|
|
719
|
+
matchValueString: z.ZodOptional<z.ZodString>;
|
|
720
|
+
matchValueStringList: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
721
|
+
}, z.core.$strip>;
|
|
722
|
+
}, z.core.$strip>;
|
|
723
|
+
}, z.core.$strict>>>;
|
|
724
|
+
}, z.core.$strict>>;
|
|
442
725
|
}, z.core.$strip>>;
|
|
726
|
+
enableSemanticSearch: z.ZodDefault<z.ZodBoolean>;
|
|
727
|
+
exceptionLevel: z.ZodDefault<z.ZodEnum<{
|
|
728
|
+
NONE: "NONE";
|
|
729
|
+
DEBUG: "DEBUG";
|
|
730
|
+
}>>;
|
|
731
|
+
policyEngineConfiguration: z.ZodOptional<z.ZodObject<{
|
|
732
|
+
policyEngineName: z.ZodString;
|
|
733
|
+
mode: z.ZodEnum<{
|
|
734
|
+
LOG_ONLY: "LOG_ONLY";
|
|
735
|
+
ENFORCE: "ENFORCE";
|
|
736
|
+
}>;
|
|
737
|
+
}, z.core.$strict>>;
|
|
738
|
+
tags: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
443
739
|
}, z.core.$strict>;
|
|
444
740
|
export type AgentCoreGateway = z.infer<typeof AgentCoreGatewaySchema>;
|
|
445
741
|
/**
|
|
@@ -448,7 +744,7 @@ export type AgentCoreGateway = z.infer<typeof AgentCoreGatewaySchema>;
|
|
|
448
744
|
* and receives the runtime ARN in the specified environment variable.
|
|
449
745
|
*/
|
|
450
746
|
export declare const McpRuntimeBindingSchema: z.ZodObject<{
|
|
451
|
-
|
|
747
|
+
runtimeName: z.ZodString;
|
|
452
748
|
envVarName: z.ZodString;
|
|
453
749
|
}, z.core.$strict>;
|
|
454
750
|
export type McpRuntimeBinding = z.infer<typeof McpRuntimeBindingSchema>;
|
|
@@ -487,6 +783,7 @@ export declare const AgentCoreMcpRuntimeToolSchema: z.ZodObject<{
|
|
|
487
783
|
PYTHON_3_11: "PYTHON_3_11";
|
|
488
784
|
PYTHON_3_12: "PYTHON_3_12";
|
|
489
785
|
PYTHON_3_13: "PYTHON_3_13";
|
|
786
|
+
PYTHON_3_14: "PYTHON_3_14";
|
|
490
787
|
}>;
|
|
491
788
|
name: z.ZodString;
|
|
492
789
|
entrypoint: z.ZodType<FilePath, unknown, z.core.$ZodTypeInternals<FilePath, unknown>>;
|
|
@@ -496,7 +793,7 @@ export declare const AgentCoreMcpRuntimeToolSchema: z.ZodObject<{
|
|
|
496
793
|
}, z.core.$strip>>;
|
|
497
794
|
networkMode: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
498
795
|
PUBLIC: "PUBLIC";
|
|
499
|
-
|
|
796
|
+
VPC: "VPC";
|
|
500
797
|
}>>>;
|
|
501
798
|
description: z.ZodOptional<z.ZodString>;
|
|
502
799
|
}, z.core.$strict>>;
|
|
@@ -506,7 +803,7 @@ export declare const AgentCoreMcpRuntimeToolSchema: z.ZodObject<{
|
|
|
506
803
|
}, z.core.$loose>>;
|
|
507
804
|
}, z.core.$strict>;
|
|
508
805
|
bindings: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
509
|
-
|
|
806
|
+
runtimeName: z.ZodString;
|
|
510
807
|
envVarName: z.ZodString;
|
|
511
808
|
}, z.core.$strict>>>;
|
|
512
809
|
}, z.core.$strict>;
|
|
@@ -525,13 +822,15 @@ export declare const AgentCoreMcpSpecSchema: z.ZodObject<{
|
|
|
525
822
|
mcpServer: "mcpServer";
|
|
526
823
|
openApiSchema: "openApiSchema";
|
|
527
824
|
smithyModel: "smithyModel";
|
|
825
|
+
apiGateway: "apiGateway";
|
|
826
|
+
lambdaFunctionArn: "lambdaFunctionArn";
|
|
528
827
|
}>;
|
|
529
|
-
toolDefinitions: z.ZodArray<z.ZodObject<{
|
|
828
|
+
toolDefinitions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
530
829
|
name: z.ZodString;
|
|
531
830
|
description: z.ZodString;
|
|
532
831
|
inputSchema: z.ZodType<import("./mcp-defs").SchemaDefinition, unknown, z.core.$ZodTypeInternals<import("./mcp-defs").SchemaDefinition, unknown>>;
|
|
533
832
|
outputSchema: z.ZodOptional<z.ZodType<import("./mcp-defs").SchemaDefinition, unknown, z.core.$ZodTypeInternals<import("./mcp-defs").SchemaDefinition, unknown>>>;
|
|
534
|
-
}, z.core.$strict
|
|
833
|
+
}, z.core.$strict>>>;
|
|
535
834
|
compute: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
536
835
|
host: z.ZodLiteral<"Lambda">;
|
|
537
836
|
implementation: z.ZodObject<{
|
|
@@ -552,6 +851,7 @@ export declare const AgentCoreMcpSpecSchema: z.ZodObject<{
|
|
|
552
851
|
PYTHON_3_11: "PYTHON_3_11";
|
|
553
852
|
PYTHON_3_12: "PYTHON_3_12";
|
|
554
853
|
PYTHON_3_13: "PYTHON_3_13";
|
|
854
|
+
PYTHON_3_14: "PYTHON_3_14";
|
|
555
855
|
}>>;
|
|
556
856
|
timeout: z.ZodOptional<z.ZodNumber>;
|
|
557
857
|
memorySize: z.ZodOptional<z.ZodNumber>;
|
|
@@ -576,6 +876,7 @@ export declare const AgentCoreMcpSpecSchema: z.ZodObject<{
|
|
|
576
876
|
PYTHON_3_11: "PYTHON_3_11";
|
|
577
877
|
PYTHON_3_12: "PYTHON_3_12";
|
|
578
878
|
PYTHON_3_13: "PYTHON_3_13";
|
|
879
|
+
PYTHON_3_14: "PYTHON_3_14";
|
|
579
880
|
}>;
|
|
580
881
|
name: z.ZodString;
|
|
581
882
|
entrypoint: z.ZodType<FilePath, unknown, z.core.$ZodTypeInternals<FilePath, unknown>>;
|
|
@@ -585,7 +886,7 @@ export declare const AgentCoreMcpSpecSchema: z.ZodObject<{
|
|
|
585
886
|
}, z.core.$strip>>;
|
|
586
887
|
networkMode: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
587
888
|
PUBLIC: "PUBLIC";
|
|
588
|
-
|
|
889
|
+
VPC: "VPC";
|
|
589
890
|
}>>>;
|
|
590
891
|
description: z.ZodOptional<z.ZodString>;
|
|
591
892
|
}, z.core.$strict>>;
|
|
@@ -594,18 +895,107 @@ export declare const AgentCoreMcpSpecSchema: z.ZodObject<{
|
|
|
594
895
|
Statement: z.ZodArray<z.ZodUnknown>;
|
|
595
896
|
}, z.core.$loose>>;
|
|
596
897
|
}, z.core.$strict>], "host">>;
|
|
898
|
+
endpoint: z.ZodOptional<z.ZodString>;
|
|
899
|
+
outboundAuth: z.ZodOptional<z.ZodObject<{
|
|
900
|
+
type: z.ZodDefault<z.ZodEnum<{
|
|
901
|
+
NONE: "NONE";
|
|
902
|
+
OAUTH: "OAUTH";
|
|
903
|
+
API_KEY: "API_KEY";
|
|
904
|
+
}>>;
|
|
905
|
+
credentialName: z.ZodOptional<z.ZodString>;
|
|
906
|
+
scopes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
907
|
+
}, z.core.$strict>>;
|
|
908
|
+
apiGateway: z.ZodOptional<z.ZodObject<{
|
|
909
|
+
restApiId: z.ZodString;
|
|
910
|
+
stage: z.ZodString;
|
|
911
|
+
apiGatewayToolConfiguration: z.ZodObject<{
|
|
912
|
+
toolFilters: z.ZodArray<z.ZodObject<{
|
|
913
|
+
filterPath: z.ZodString;
|
|
914
|
+
methods: z.ZodArray<z.ZodEnum<{
|
|
915
|
+
GET: "GET";
|
|
916
|
+
POST: "POST";
|
|
917
|
+
PUT: "PUT";
|
|
918
|
+
DELETE: "DELETE";
|
|
919
|
+
PATCH: "PATCH";
|
|
920
|
+
HEAD: "HEAD";
|
|
921
|
+
OPTIONS: "OPTIONS";
|
|
922
|
+
}>>;
|
|
923
|
+
}, z.core.$strict>>;
|
|
924
|
+
toolOverrides: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
925
|
+
name: z.ZodString;
|
|
926
|
+
path: z.ZodString;
|
|
927
|
+
method: z.ZodEnum<{
|
|
928
|
+
GET: "GET";
|
|
929
|
+
POST: "POST";
|
|
930
|
+
PUT: "PUT";
|
|
931
|
+
DELETE: "DELETE";
|
|
932
|
+
PATCH: "PATCH";
|
|
933
|
+
HEAD: "HEAD";
|
|
934
|
+
OPTIONS: "OPTIONS";
|
|
935
|
+
}>;
|
|
936
|
+
description: z.ZodOptional<z.ZodString>;
|
|
937
|
+
}, z.core.$strict>>>;
|
|
938
|
+
}, z.core.$strict>;
|
|
939
|
+
}, z.core.$strict>>;
|
|
940
|
+
schemaSource: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
941
|
+
inline: z.ZodObject<{
|
|
942
|
+
path: z.ZodString;
|
|
943
|
+
}, z.core.$strict>;
|
|
944
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
945
|
+
s3: z.ZodObject<{
|
|
946
|
+
uri: z.ZodString;
|
|
947
|
+
bucketOwnerAccountId: z.ZodOptional<z.ZodString>;
|
|
948
|
+
}, z.core.$strict>;
|
|
949
|
+
}, z.core.$strict>]>>;
|
|
950
|
+
lambdaFunctionArn: z.ZodOptional<z.ZodObject<{
|
|
951
|
+
lambdaArn: z.ZodString;
|
|
952
|
+
toolSchemaFile: z.ZodString;
|
|
953
|
+
}, z.core.$strict>>;
|
|
597
954
|
}, z.core.$strict>>;
|
|
598
955
|
authorizerType: z.ZodDefault<z.ZodEnum<{
|
|
599
956
|
NONE: "NONE";
|
|
957
|
+
AWS_IAM: "AWS_IAM";
|
|
600
958
|
CUSTOM_JWT: "CUSTOM_JWT";
|
|
601
959
|
}>>;
|
|
602
960
|
authorizerConfiguration: z.ZodOptional<z.ZodObject<{
|
|
603
961
|
customJwtAuthorizer: z.ZodOptional<z.ZodObject<{
|
|
604
962
|
discoveryUrl: z.ZodString;
|
|
605
|
-
allowedAudience: z.ZodArray<z.ZodString
|
|
606
|
-
allowedClients: z.ZodArray<z.ZodString
|
|
607
|
-
|
|
963
|
+
allowedAudience: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
964
|
+
allowedClients: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
965
|
+
allowedScopes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
966
|
+
customClaims: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
967
|
+
inboundTokenClaimName: z.ZodString;
|
|
968
|
+
inboundTokenClaimValueType: z.ZodEnum<{
|
|
969
|
+
STRING: "STRING";
|
|
970
|
+
STRING_ARRAY: "STRING_ARRAY";
|
|
971
|
+
}>;
|
|
972
|
+
authorizingClaimMatchValue: z.ZodObject<{
|
|
973
|
+
claimMatchOperator: z.ZodEnum<{
|
|
974
|
+
EQUALS: "EQUALS";
|
|
975
|
+
CONTAINS: "CONTAINS";
|
|
976
|
+
CONTAINS_ANY: "CONTAINS_ANY";
|
|
977
|
+
}>;
|
|
978
|
+
claimMatchValue: z.ZodObject<{
|
|
979
|
+
matchValueString: z.ZodOptional<z.ZodString>;
|
|
980
|
+
matchValueStringList: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
981
|
+
}, z.core.$strip>;
|
|
982
|
+
}, z.core.$strip>;
|
|
983
|
+
}, z.core.$strict>>>;
|
|
984
|
+
}, z.core.$strict>>;
|
|
608
985
|
}, z.core.$strip>>;
|
|
986
|
+
enableSemanticSearch: z.ZodDefault<z.ZodBoolean>;
|
|
987
|
+
exceptionLevel: z.ZodDefault<z.ZodEnum<{
|
|
988
|
+
NONE: "NONE";
|
|
989
|
+
DEBUG: "DEBUG";
|
|
990
|
+
}>>;
|
|
991
|
+
policyEngineConfiguration: z.ZodOptional<z.ZodObject<{
|
|
992
|
+
policyEngineName: z.ZodString;
|
|
993
|
+
mode: z.ZodEnum<{
|
|
994
|
+
LOG_ONLY: "LOG_ONLY";
|
|
995
|
+
ENFORCE: "ENFORCE";
|
|
996
|
+
}>;
|
|
997
|
+
}, z.core.$strict>>;
|
|
998
|
+
tags: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
609
999
|
}, z.core.$strict>>;
|
|
610
1000
|
mcpRuntimeTools: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
611
1001
|
name: z.ZodString;
|
|
@@ -632,6 +1022,7 @@ export declare const AgentCoreMcpSpecSchema: z.ZodObject<{
|
|
|
632
1022
|
PYTHON_3_11: "PYTHON_3_11";
|
|
633
1023
|
PYTHON_3_12: "PYTHON_3_12";
|
|
634
1024
|
PYTHON_3_13: "PYTHON_3_13";
|
|
1025
|
+
PYTHON_3_14: "PYTHON_3_14";
|
|
635
1026
|
}>;
|
|
636
1027
|
name: z.ZodString;
|
|
637
1028
|
entrypoint: z.ZodType<FilePath, unknown, z.core.$ZodTypeInternals<FilePath, unknown>>;
|
|
@@ -641,7 +1032,7 @@ export declare const AgentCoreMcpSpecSchema: z.ZodObject<{
|
|
|
641
1032
|
}, z.core.$strip>>;
|
|
642
1033
|
networkMode: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
643
1034
|
PUBLIC: "PUBLIC";
|
|
644
|
-
|
|
1035
|
+
VPC: "VPC";
|
|
645
1036
|
}>>>;
|
|
646
1037
|
description: z.ZodOptional<z.ZodString>;
|
|
647
1038
|
}, z.core.$strict>>;
|
|
@@ -651,7 +1042,7 @@ export declare const AgentCoreMcpSpecSchema: z.ZodObject<{
|
|
|
651
1042
|
}, z.core.$loose>>;
|
|
652
1043
|
}, z.core.$strict>;
|
|
653
1044
|
bindings: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
654
|
-
|
|
1045
|
+
runtimeName: z.ZodString;
|
|
655
1046
|
envVarName: z.ZodString;
|
|
656
1047
|
}, z.core.$strict>>>;
|
|
657
1048
|
}, z.core.$strict>>>;
|