@aws-cdk/aws-bedrock-agentcore-alpha 2.256.1-alpha.0 → 2.258.0-alpha.0
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/.jsii +2806 -2580
- package/.jsii.tabl.json.gz +0 -0
- package/.warnings.jsii.js +2135 -59
- package/lib/common/types.d.ts +2 -0
- package/lib/common/types.js +3 -1
- package/lib/evaluation/custom-evaluator.d.ts +1 -0
- package/lib/evaluation/custom-evaluator.js +37 -4
- package/lib/evaluation/data-source.d.ts +1 -0
- package/lib/evaluation/data-source.js +15 -2
- package/lib/evaluation/evaluator-base.d.ts +2 -0
- package/lib/evaluation/evaluator-base.js +65 -3
- package/lib/evaluation/evaluator-config.d.ts +4 -0
- package/lib/evaluation/evaluator-config.js +25 -3
- package/lib/evaluation/evaluator.d.ts +1 -0
- package/lib/evaluation/evaluator.js +14 -2
- package/lib/evaluation/online-evaluation-base.d.ts +2 -0
- package/lib/evaluation/online-evaluation-base.js +65 -3
- package/lib/evaluation/online-evaluation.d.ts +1 -0
- package/lib/evaluation/online-evaluation.js +37 -4
- package/lib/evaluation/perms.d.ts +5 -0
- package/lib/evaluation/perms.js +6 -1
- package/lib/evaluation/types.d.ts +15 -0
- package/lib/evaluation/types.js +75 -6
- package/lib/evaluation/validation-helpers.d.ts +22 -0
- package/lib/evaluation/validation-helpers.js +23 -1
- package/lib/gateway/gateway-base.d.ts +7 -0
- package/lib/gateway/gateway-base.js +178 -3
- package/lib/gateway/gateway.d.ts +9 -0
- package/lib/gateway/gateway.js +49 -6
- package/lib/gateway/inbound-auth/authorizer.d.ts +12 -0
- package/lib/gateway/inbound-auth/authorizer.js +31 -5
- package/lib/gateway/inbound-auth/custom-claim.d.ts +1 -0
- package/lib/gateway/inbound-auth/custom-claim.js +13 -2
- package/lib/gateway/interceptor.d.ts +5 -0
- package/lib/gateway/interceptor.js +7 -2
- package/lib/gateway/outbound-auth/api-key.d.ts +5 -0
- package/lib/gateway/outbound-auth/api-key.js +7 -2
- package/lib/gateway/outbound-auth/credential-provider.d.ts +5 -0
- package/lib/gateway/outbound-auth/credential-provider.js +17 -2
- package/lib/gateway/outbound-auth/iam-role.d.ts +1 -0
- package/lib/gateway/outbound-auth/iam-role.js +2 -1
- package/lib/gateway/outbound-auth/oauth.d.ts +2 -0
- package/lib/gateway/outbound-auth/oauth.js +2 -1
- package/lib/gateway/perms.d.ts +16 -0
- package/lib/gateway/perms.js +17 -1
- package/lib/gateway/protocol.d.ts +7 -0
- package/lib/gateway/protocol.js +10 -3
- package/lib/gateway/targets/schema/api-schema.d.ts +4 -0
- package/lib/gateway/targets/schema/api-schema.js +161 -6
- package/lib/gateway/targets/schema/base-schema.d.ts +1 -0
- package/lib/gateway/targets/schema/base-schema.js +2 -1
- package/lib/gateway/targets/schema/tool-schema.d.ts +12 -0
- package/lib/gateway/targets/schema/tool-schema.js +166 -6
- package/lib/gateway/targets/target-base.d.ts +5 -0
- package/lib/gateway/targets/target-base.js +76 -3
- package/lib/gateway/targets/target-configuration.d.ts +14 -0
- package/lib/gateway/targets/target-configuration.js +125 -9
- package/lib/gateway/targets/target.d.ts +8 -0
- package/lib/gateway/targets/target.js +37 -4
- package/lib/gateway/validation-helpers.d.ts +4 -0
- package/lib/gateway/validation-helpers.js +4 -1
- package/lib/identity/api-key-credential-provider.d.ts +4 -0
- package/lib/identity/api-key-credential-provider.js +36 -3
- package/lib/identity/grant-helpers.d.ts +7 -0
- package/lib/identity/grant-helpers.js +42 -2
- package/lib/identity/oauth2-credential-provider.d.ts +29 -0
- package/lib/identity/oauth2-credential-provider.js +37 -3
- package/lib/identity/perms.d.ts +5 -0
- package/lib/identity/perms.js +9 -4
- package/lib/identity/validation-helpers.d.ts +53 -0
- package/lib/identity/validation-helpers.js +54 -1
- package/lib/identity/workload-identity.d.ts +3 -0
- package/lib/identity/workload-identity.js +36 -3
- package/lib/memory/memory-strategy.d.ts +6 -0
- package/lib/memory/memory-strategy.js +47 -2
- package/lib/memory/memory.d.ts +4 -0
- package/lib/memory/memory.js +210 -5
- package/lib/memory/strategies/managed-strategy.d.ts +4 -0
- package/lib/memory/strategies/managed-strategy.js +22 -2
- package/lib/memory/strategies/self-managed-strategy.d.ts +4 -0
- package/lib/memory/strategies/self-managed-strategy.js +57 -4
- package/lib/memory/validation-helpers.d.ts +6 -0
- package/lib/memory/validation-helpers.js +7 -1
- package/lib/network/network-configuration.d.ts +5 -0
- package/lib/network/network-configuration.js +83 -6
- package/lib/policy/policy-base.js +36 -3
- package/lib/policy/policy-engine-base.js +36 -3
- package/lib/policy/policy-engine.js +37 -4
- package/lib/policy/policy-statement.js +5 -5
- package/lib/policy/policy-types.js +1 -1
- package/lib/policy/policy.js +36 -3
- package/lib/runtime/inbound-auth/custom-claim.d.ts +1 -0
- package/lib/runtime/inbound-auth/custom-claim.js +13 -2
- package/lib/runtime/inbound-auth/runtime-authorizer-configuration.d.ts +1 -0
- package/lib/runtime/inbound-auth/runtime-authorizer-configuration.js +40 -2
- package/lib/runtime/observability.d.ts +5 -0
- package/lib/runtime/observability.js +79 -5
- package/lib/runtime/perms.d.ts +12 -0
- package/lib/runtime/perms.js +13 -1
- package/lib/runtime/runtime-artifact.d.ts +3 -0
- package/lib/runtime/runtime-artifact.js +69 -5
- package/lib/runtime/runtime-base.d.ts +3 -0
- package/lib/runtime/runtime-base.js +200 -3
- package/lib/runtime/runtime-endpoint-base.d.ts +3 -0
- package/lib/runtime/runtime-endpoint-base.js +22 -2
- package/lib/runtime/runtime-endpoint.d.ts +1 -0
- package/lib/runtime/runtime-endpoint.js +36 -3
- package/lib/runtime/runtime.d.ts +2 -0
- package/lib/runtime/runtime.js +38 -5
- package/lib/runtime/types.d.ts +3 -0
- package/lib/runtime/types.js +2 -1
- package/lib/runtime/validation-helpers.d.ts +6 -0
- package/lib/runtime/validation-helpers.js +7 -1
- package/lib/tools/browser.d.ts +6 -0
- package/lib/tools/browser.js +205 -8
- package/lib/tools/code-interpreter.d.ts +4 -0
- package/lib/tools/code-interpreter.js +185 -7
- package/lib/tools/perms.d.ts +12 -0
- package/lib/tools/perms.js +13 -1
- package/lib/tools/validation-helpers.d.ts +6 -0
- package/lib/tools/validation-helpers.js +7 -1
- package/package.json +10 -10
|
@@ -10,6 +10,7 @@ import { McpTargetType } from './target-base';
|
|
|
10
10
|
*****************************************************************************/
|
|
11
11
|
/**
|
|
12
12
|
* Configuration returned by binding a target configuration
|
|
13
|
+
* @deprecated Use the equivalent construct from `aws-cdk-lib/aws-bedrockagentcore` instead.
|
|
13
14
|
*/
|
|
14
15
|
export interface TargetConfigurationConfig {
|
|
15
16
|
/**
|
|
@@ -19,6 +20,7 @@ export interface TargetConfigurationConfig {
|
|
|
19
20
|
}
|
|
20
21
|
/**
|
|
21
22
|
* Base interface for target configurations
|
|
23
|
+
* @deprecated Use the equivalent construct from `aws-cdk-lib/aws-bedrockagentcore` instead.
|
|
22
24
|
*/
|
|
23
25
|
export interface ITargetConfiguration {
|
|
24
26
|
/**
|
|
@@ -42,6 +44,7 @@ export interface ITargetConfiguration {
|
|
|
42
44
|
/**
|
|
43
45
|
* Abstract base class for MCP target configurations
|
|
44
46
|
* Provides common functionality for all MCP target types
|
|
47
|
+
* @deprecated Use the equivalent construct from `aws-cdk-lib/aws-bedrockagentcore` instead.
|
|
45
48
|
*/
|
|
46
49
|
export declare abstract class McpTargetConfiguration implements ITargetConfiguration {
|
|
47
50
|
/**
|
|
@@ -71,6 +74,7 @@ export declare abstract class McpTargetConfiguration implements ITargetConfigura
|
|
|
71
74
|
*
|
|
72
75
|
* This configuration wraps a Lambda function as MCP tools,
|
|
73
76
|
* allowing the gateway to invoke the function to provide tool capabilities.
|
|
77
|
+
* @deprecated Use the equivalent construct from `aws-cdk-lib/aws-bedrockagentcore` instead.
|
|
74
78
|
*/
|
|
75
79
|
export declare class LambdaTargetConfiguration extends McpTargetConfiguration {
|
|
76
80
|
/**
|
|
@@ -112,6 +116,7 @@ export declare class LambdaTargetConfiguration extends McpTargetConfiguration {
|
|
|
112
116
|
*
|
|
113
117
|
* This configuration exposes an OpenAPI/REST API as MCP tools,
|
|
114
118
|
* allowing the gateway to transform API operations into tool calls.
|
|
119
|
+
* @deprecated Use the equivalent construct from `aws-cdk-lib/aws-bedrockagentcore` instead.
|
|
115
120
|
*/
|
|
116
121
|
export declare class OpenApiTargetConfiguration extends McpTargetConfiguration {
|
|
117
122
|
/**
|
|
@@ -153,6 +158,7 @@ export declare class OpenApiTargetConfiguration extends McpTargetConfiguration {
|
|
|
153
158
|
*
|
|
154
159
|
* This configuration exposes a Smithy-modeled API as MCP tools,
|
|
155
160
|
* allowing the gateway to transform Smithy operations into tool calls.
|
|
161
|
+
* @deprecated Use the equivalent construct from `aws-cdk-lib/aws-bedrockagentcore` instead.
|
|
156
162
|
*/
|
|
157
163
|
export declare class SmithyTargetConfiguration extends McpTargetConfiguration {
|
|
158
164
|
/**
|
|
@@ -191,6 +197,7 @@ export declare class SmithyTargetConfiguration extends McpTargetConfiguration {
|
|
|
191
197
|
* functions for AI agents. When you configure an MCP server as a gateway target,
|
|
192
198
|
* the gateway automatically discovers and indexes available tools through
|
|
193
199
|
* synchronization.
|
|
200
|
+
* @deprecated Use the equivalent construct from `aws-cdk-lib/aws-bedrockagentcore` instead.
|
|
194
201
|
*/
|
|
195
202
|
export declare class McpServerTargetConfiguration extends McpTargetConfiguration {
|
|
196
203
|
/**
|
|
@@ -234,6 +241,7 @@ export declare class McpServerTargetConfiguration extends McpTargetConfiguration
|
|
|
234
241
|
*****************************************************************************/
|
|
235
242
|
/**
|
|
236
243
|
* HTTP methods supported by API Gateway
|
|
244
|
+
* @deprecated Use the equivalent construct from `aws-cdk-lib/aws-bedrockagentcore` instead.
|
|
237
245
|
*/
|
|
238
246
|
export declare enum ApiGatewayHttpMethod {
|
|
239
247
|
/** GET method */
|
|
@@ -258,6 +266,7 @@ export declare enum ApiGatewayHttpMethod {
|
|
|
258
266
|
* Each filter supports two path matching strategies:
|
|
259
267
|
* - **Explicit paths**: Matches a single specific path, such as `/pets/{petId}`
|
|
260
268
|
* - **Wildcard paths**: Matches all paths starting with the specified prefix, such as `/pets/*`
|
|
269
|
+
* @deprecated Use the equivalent construct from `aws-cdk-lib/aws-bedrockagentcore` instead.
|
|
261
270
|
*/
|
|
262
271
|
export interface ApiGatewayToolFilter {
|
|
263
272
|
/**
|
|
@@ -280,6 +289,7 @@ export interface ApiGatewayToolFilter {
|
|
|
280
289
|
* after filtering. Each override must specify an explicit path and a single HTTP method.
|
|
281
290
|
* The override must match an operation that exists in your API and must correspond to one
|
|
282
291
|
* of the operations resolved by your filters.
|
|
292
|
+
* @deprecated Use the equivalent construct from `aws-cdk-lib/aws-bedrockagentcore` instead.
|
|
283
293
|
*/
|
|
284
294
|
export interface ApiGatewayToolOverride {
|
|
285
295
|
/**
|
|
@@ -305,6 +315,7 @@ export interface ApiGatewayToolOverride {
|
|
|
305
315
|
}
|
|
306
316
|
/**
|
|
307
317
|
* Configuration for passing metadata (headers and query parameters) to the API Gateway target
|
|
318
|
+
* @deprecated Use the equivalent construct from `aws-cdk-lib/aws-bedrockagentcore` instead.
|
|
308
319
|
*/
|
|
309
320
|
export interface MetadataConfiguration {
|
|
310
321
|
/**
|
|
@@ -347,6 +358,7 @@ export interface MetadataConfiguration {
|
|
|
347
358
|
* The API Gateway tool configuration defines which operations from your REST API
|
|
348
359
|
* are exposed as tools. It requires a list of tool filters to select operations
|
|
349
360
|
* to expose, and optionally accepts tool overrides to customize tool metadata.
|
|
361
|
+
* @deprecated Use the equivalent construct from `aws-cdk-lib/aws-bedrockagentcore` instead.
|
|
350
362
|
*/
|
|
351
363
|
export interface ApiGatewayToolConfiguration {
|
|
352
364
|
/**
|
|
@@ -363,6 +375,7 @@ export interface ApiGatewayToolConfiguration {
|
|
|
363
375
|
}
|
|
364
376
|
/**
|
|
365
377
|
* Properties for creating an API Gateway target configuration
|
|
378
|
+
* @deprecated Use the equivalent construct from `aws-cdk-lib/aws-bedrockagentcore` instead.
|
|
366
379
|
*/
|
|
367
380
|
export interface ApiGatewayTargetConfigurationProps {
|
|
368
381
|
/**
|
|
@@ -399,6 +412,7 @@ export interface ApiGatewayTargetConfigurationProps {
|
|
|
399
412
|
* - API must use a public endpoint type
|
|
400
413
|
* - Methods with both AWS_IAM authorization and API key requirements are not supported
|
|
401
414
|
* - Proxy resources (e.g., `/pets/{proxy+}`) are not supported
|
|
415
|
+
* @deprecated Use the equivalent construct from `aws-cdk-lib/aws-bedrockagentcore` instead.
|
|
402
416
|
*/
|
|
403
417
|
export declare class ApiGatewayTargetConfiguration extends McpTargetConfiguration {
|
|
404
418
|
/**
|