@aws-cdk/aws-bedrock-agentcore-alpha 2.247.0-alpha.0 → 2.248.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 +3 -3
- package/lib/gateway/gateway-base.js +1 -1
- package/lib/gateway/gateway.js +1 -1
- package/lib/gateway/inbound-auth/authorizer.js +3 -3
- package/lib/gateway/inbound-auth/custom-claim.js +1 -1
- package/lib/gateway/interceptor.js +1 -1
- package/lib/gateway/outbound-auth/api-key.js +1 -1
- package/lib/gateway/outbound-auth/credential-provider.js +1 -1
- package/lib/gateway/protocol.js +2 -2
- package/lib/gateway/targets/schema/api-schema.js +4 -4
- package/lib/gateway/targets/schema/tool-schema.js +4 -4
- package/lib/gateway/targets/target-base.js +1 -1
- package/lib/gateway/targets/target-configuration.js +6 -6
- package/lib/gateway/targets/target.js +1 -1
- package/lib/memory/memory-strategy.js +1 -1
- package/lib/memory/memory.js +2 -2
- package/lib/memory/strategies/managed-strategy.js +1 -1
- package/lib/memory/strategies/self-managed-strategy.js +1 -1
- package/lib/network/network-configuration.js +4 -4
- package/lib/runtime/inbound-auth/custom-claim.js +1 -1
- package/lib/runtime/inbound-auth/runtime-authorizer-configuration.js +1 -1
- package/lib/runtime/runtime-artifact.js +1 -1
- package/lib/runtime/runtime-base.js +1 -1
- package/lib/runtime/runtime-endpoint-base.js +1 -1
- package/lib/runtime/runtime-endpoint.js +1 -1
- package/lib/runtime/runtime.js +1 -1
- package/lib/tools/browser.js +2 -2
- package/lib/tools/code-interpreter.js +2 -2
- package/package.json +9 -9
package/.jsii
CHANGED
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
"url": "https://aws.amazon.com"
|
|
9
9
|
},
|
|
10
10
|
"dependencies": {
|
|
11
|
-
"@aws-cdk/aws-bedrock-alpha": "2.
|
|
12
|
-
"aws-cdk-lib": "^2.
|
|
11
|
+
"@aws-cdk/aws-bedrock-alpha": "2.248.0-alpha.0",
|
|
12
|
+
"aws-cdk-lib": "^2.248.0",
|
|
13
13
|
"constructs": "^10.5.0"
|
|
14
14
|
},
|
|
15
15
|
"dependencyClosure": {
|
|
@@ -30893,6 +30893,6 @@
|
|
|
30893
30893
|
"symbolId": "lib/network/network-configuration:VpcConfigProps"
|
|
30894
30894
|
}
|
|
30895
30895
|
},
|
|
30896
|
-
"version": "2.
|
|
30896
|
+
"version": "2.248.0-alpha.0",
|
|
30897
30897
|
"fingerprint": "**********"
|
|
30898
30898
|
}
|
|
@@ -25,7 +25,7 @@ var GatewayExceptionLevel;
|
|
|
25
25
|
* Base Class
|
|
26
26
|
*****************************************************************************/
|
|
27
27
|
class GatewayBase extends aws_cdk_lib_1.Resource {
|
|
28
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-bedrock-agentcore-alpha.GatewayBase", version: "2.
|
|
28
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-bedrock-agentcore-alpha.GatewayBase", version: "2.248.0-alpha.0" };
|
|
29
29
|
/**
|
|
30
30
|
* A reference to a Gateway resource.
|
|
31
31
|
*/
|
package/lib/gateway/gateway.js
CHANGED
|
@@ -95,7 +95,7 @@ let Gateway = (() => {
|
|
|
95
95
|
Gateway = _classThis = _classDescriptor.value;
|
|
96
96
|
if (_metadata) Object.defineProperty(_classThis, Symbol.metadata, { enumerable: true, configurable: true, writable: true, value: _metadata });
|
|
97
97
|
}
|
|
98
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-bedrock-agentcore-alpha.Gateway", version: "2.
|
|
98
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-bedrock-agentcore-alpha.Gateway", version: "2.248.0-alpha.0" };
|
|
99
99
|
/** Uniquely identifies this class. */
|
|
100
100
|
static PROPERTY_INJECTION_ID = '@aws-cdk.aws-bedrock-agentcore-alpha.Gateway';
|
|
101
101
|
/**
|
|
@@ -22,7 +22,7 @@ var GatewayAuthorizerType;
|
|
|
22
22
|
* Custom JWT authorizer configuration implementation
|
|
23
23
|
*/
|
|
24
24
|
class CustomJwtAuthorizer {
|
|
25
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-bedrock-agentcore-alpha.CustomJwtAuthorizer", version: "2.
|
|
25
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-bedrock-agentcore-alpha.CustomJwtAuthorizer", version: "2.248.0-alpha.0" };
|
|
26
26
|
authorizerType = GatewayAuthorizerType.CUSTOM_JWT;
|
|
27
27
|
discoveryUrl;
|
|
28
28
|
allowedAudience;
|
|
@@ -71,7 +71,7 @@ exports.CustomJwtAuthorizer = CustomJwtAuthorizer;
|
|
|
71
71
|
*
|
|
72
72
|
*/
|
|
73
73
|
class IamAuthorizer {
|
|
74
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-bedrock-agentcore-alpha.IamAuthorizer", version: "2.
|
|
74
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-bedrock-agentcore-alpha.IamAuthorizer", version: "2.248.0-alpha.0" };
|
|
75
75
|
authorizerType = GatewayAuthorizerType.AWS_IAM;
|
|
76
76
|
/**
|
|
77
77
|
* @internal
|
|
@@ -87,7 +87,7 @@ exports.IamAuthorizer = IamAuthorizer;
|
|
|
87
87
|
* Factory class for creating Gateway Authorizers
|
|
88
88
|
*/
|
|
89
89
|
class GatewayAuthorizer {
|
|
90
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-bedrock-agentcore-alpha.GatewayAuthorizer", version: "2.
|
|
90
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-bedrock-agentcore-alpha.GatewayAuthorizer", version: "2.248.0-alpha.0" };
|
|
91
91
|
/**
|
|
92
92
|
* AWS IAM authorizer instance
|
|
93
93
|
*/
|
|
@@ -29,7 +29,7 @@ class GatewayCustomClaim {
|
|
|
29
29
|
valueType;
|
|
30
30
|
operator;
|
|
31
31
|
value;
|
|
32
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-bedrock-agentcore-alpha.GatewayCustomClaim", version: "2.
|
|
32
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-bedrock-agentcore-alpha.GatewayCustomClaim", version: "2.248.0-alpha.0" };
|
|
33
33
|
/**
|
|
34
34
|
* Create a custom claim with a string value.
|
|
35
35
|
* String claims must use the EQUALS operator.
|
|
@@ -34,7 +34,7 @@ var InterceptionPoint;
|
|
|
34
34
|
* @see https://docs.aws.amazon.com/bedrock-agentcore/latest/devguide/gateway-interceptors.html
|
|
35
35
|
*/
|
|
36
36
|
class LambdaInterceptor {
|
|
37
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-bedrock-agentcore-alpha.LambdaInterceptor", version: "2.
|
|
37
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-bedrock-agentcore-alpha.LambdaInterceptor", version: "2.248.0-alpha.0" };
|
|
38
38
|
/**
|
|
39
39
|
* Create a REQUEST interceptor that executes before the gateway calls the target
|
|
40
40
|
*
|
|
@@ -19,7 +19,7 @@ var ApiKeyCredentialLocationType;
|
|
|
19
19
|
* API Key location within the request
|
|
20
20
|
*/
|
|
21
21
|
class ApiKeyCredentialLocation {
|
|
22
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-bedrock-agentcore-alpha.ApiKeyCredentialLocation", version: "2.
|
|
22
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-bedrock-agentcore-alpha.ApiKeyCredentialLocation", version: "2.248.0-alpha.0" };
|
|
23
23
|
/**
|
|
24
24
|
* Create a header-based API key credential location
|
|
25
25
|
* @param config - Optional configuration for the credential location
|
|
@@ -31,7 +31,7 @@ var CredentialProviderType;
|
|
|
31
31
|
* Factory class for creating different Gateway Credential Providers
|
|
32
32
|
*/
|
|
33
33
|
class GatewayCredentialProvider {
|
|
34
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-bedrock-agentcore-alpha.GatewayCredentialProvider", version: "2.
|
|
34
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-bedrock-agentcore-alpha.GatewayCredentialProvider", version: "2.248.0-alpha.0" };
|
|
35
35
|
/**
|
|
36
36
|
* Create an API key credential provider from Identity ARN
|
|
37
37
|
* Use this method when you have the Identity ARN as a string
|
package/lib/gateway/protocol.js
CHANGED
|
@@ -21,7 +21,7 @@ var GatewayProtocolType;
|
|
|
21
21
|
* Factory class for instantiating Gateway Protocols
|
|
22
22
|
*/
|
|
23
23
|
class GatewayProtocol {
|
|
24
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-bedrock-agentcore-alpha.GatewayProtocol", version: "2.
|
|
24
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-bedrock-agentcore-alpha.GatewayProtocol", version: "2.248.0-alpha.0" };
|
|
25
25
|
/**
|
|
26
26
|
* Create an MCP protocol configuration
|
|
27
27
|
* @param props - Optional MCP configuration properties
|
|
@@ -75,7 +75,7 @@ var McpGatewaySearchType;
|
|
|
75
75
|
* MCP (Model Context Protocol) configuration implementation
|
|
76
76
|
*/
|
|
77
77
|
class McpProtocolConfiguration {
|
|
78
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-bedrock-agentcore-alpha.McpProtocolConfiguration", version: "2.
|
|
78
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-bedrock-agentcore-alpha.McpProtocolConfiguration", version: "2.248.0-alpha.0" };
|
|
79
79
|
protocolType;
|
|
80
80
|
/**
|
|
81
81
|
* The supported MCP protocol versions
|
|
@@ -15,7 +15,7 @@ const base_schema_1 = require("./base-schema");
|
|
|
15
15
|
* Represents the concept of an API Schema for a Gateway Target.
|
|
16
16
|
*/
|
|
17
17
|
class ApiSchema extends base_schema_1.TargetSchema {
|
|
18
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-bedrock-agentcore-alpha.ApiSchema", version: "2.
|
|
18
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-bedrock-agentcore-alpha.ApiSchema", version: "2.248.0-alpha.0" };
|
|
19
19
|
/**
|
|
20
20
|
* Creates an API Schema from a local file.
|
|
21
21
|
* @param path - the path to the local file containing the OpenAPI schema for the action group
|
|
@@ -73,7 +73,7 @@ exports.ApiSchema = ApiSchema;
|
|
|
73
73
|
class AssetApiSchema extends ApiSchema {
|
|
74
74
|
path;
|
|
75
75
|
options;
|
|
76
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-bedrock-agentcore-alpha.AssetApiSchema", version: "2.
|
|
76
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-bedrock-agentcore-alpha.AssetApiSchema", version: "2.248.0-alpha.0" };
|
|
77
77
|
asset;
|
|
78
78
|
constructor(path, options = {}) {
|
|
79
79
|
super();
|
|
@@ -135,7 +135,7 @@ exports.AssetApiSchema = AssetApiSchema;
|
|
|
135
135
|
*/
|
|
136
136
|
class InlineApiSchema extends ApiSchema {
|
|
137
137
|
schema;
|
|
138
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-bedrock-agentcore-alpha.InlineApiSchema", version: "2.
|
|
138
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-bedrock-agentcore-alpha.InlineApiSchema", version: "2.248.0-alpha.0" };
|
|
139
139
|
constructor(schema) {
|
|
140
140
|
super(undefined, undefined, schema);
|
|
141
141
|
this.schema = schema;
|
|
@@ -165,7 +165,7 @@ exports.InlineApiSchema = InlineApiSchema;
|
|
|
165
165
|
class S3ApiSchema extends ApiSchema {
|
|
166
166
|
location;
|
|
167
167
|
bucketOwnerAccountId;
|
|
168
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-bedrock-agentcore-alpha.S3ApiSchema", version: "2.
|
|
168
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-bedrock-agentcore-alpha.S3ApiSchema", version: "2.248.0-alpha.0" };
|
|
169
169
|
constructor(location, bucketOwnerAccountId) {
|
|
170
170
|
super(location, bucketOwnerAccountId, undefined);
|
|
171
171
|
this.location = location;
|
|
@@ -30,7 +30,7 @@ var SchemaDefinitionType;
|
|
|
30
30
|
* TOOL SCHEMA CLASS
|
|
31
31
|
*****************************************************************************/
|
|
32
32
|
class ToolSchema extends base_schema_1.TargetSchema {
|
|
33
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-bedrock-agentcore-alpha.ToolSchema", version: "2.
|
|
33
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-bedrock-agentcore-alpha.ToolSchema", version: "2.248.0-alpha.0" };
|
|
34
34
|
/**
|
|
35
35
|
* Creates a tool Schema from a local file.
|
|
36
36
|
* @param path - the path to the local file containing the function schema for the tool
|
|
@@ -88,7 +88,7 @@ exports.ToolSchema = ToolSchema;
|
|
|
88
88
|
class AssetToolSchema extends ToolSchema {
|
|
89
89
|
path;
|
|
90
90
|
options;
|
|
91
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-bedrock-agentcore-alpha.AssetToolSchema", version: "2.
|
|
91
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-bedrock-agentcore-alpha.AssetToolSchema", version: "2.248.0-alpha.0" };
|
|
92
92
|
asset;
|
|
93
93
|
constructor(path, options = {}) {
|
|
94
94
|
super();
|
|
@@ -141,7 +141,7 @@ exports.AssetToolSchema = AssetToolSchema;
|
|
|
141
141
|
*/
|
|
142
142
|
class InlineToolSchema extends ToolSchema {
|
|
143
143
|
schema;
|
|
144
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-bedrock-agentcore-alpha.InlineToolSchema", version: "2.
|
|
144
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-bedrock-agentcore-alpha.InlineToolSchema", version: "2.248.0-alpha.0" };
|
|
145
145
|
constructor(schema) {
|
|
146
146
|
super(undefined, undefined, schema);
|
|
147
147
|
this.schema = schema;
|
|
@@ -171,7 +171,7 @@ exports.InlineToolSchema = InlineToolSchema;
|
|
|
171
171
|
class S3ToolSchema extends ToolSchema {
|
|
172
172
|
location;
|
|
173
173
|
bucketOwnerAccountId;
|
|
174
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-bedrock-agentcore-alpha.S3ToolSchema", version: "2.
|
|
174
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-bedrock-agentcore-alpha.S3ToolSchema", version: "2.248.0-alpha.0" };
|
|
175
175
|
constructor(location, bucketOwnerAccountId) {
|
|
176
176
|
super(location, bucketOwnerAccountId, undefined);
|
|
177
177
|
this.location = location;
|
|
@@ -41,7 +41,7 @@ var McpTargetType;
|
|
|
41
41
|
* permission management and property definitions.
|
|
42
42
|
*/
|
|
43
43
|
class GatewayTargetBase extends aws_cdk_lib_1.Resource {
|
|
44
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-bedrock-agentcore-alpha.GatewayTargetBase", version: "2.
|
|
44
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-bedrock-agentcore-alpha.GatewayTargetBase", version: "2.248.0-alpha.0" };
|
|
45
45
|
/**
|
|
46
46
|
* A reference to a GatewayTarget resource.
|
|
47
47
|
*/
|
|
@@ -19,7 +19,7 @@ const target_base_1 = require("./target-base");
|
|
|
19
19
|
* Provides common functionality for all MCP target types
|
|
20
20
|
*/
|
|
21
21
|
class McpTargetConfiguration {
|
|
22
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-bedrock-agentcore-alpha.McpTargetConfiguration", version: "2.
|
|
22
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-bedrock-agentcore-alpha.McpTargetConfiguration", version: "2.248.0-alpha.0" };
|
|
23
23
|
/**
|
|
24
24
|
* Renders the configuration as CloudFormation properties
|
|
25
25
|
* @internal
|
|
@@ -41,7 +41,7 @@ exports.McpTargetConfiguration = McpTargetConfiguration;
|
|
|
41
41
|
* allowing the gateway to invoke the function to provide tool capabilities.
|
|
42
42
|
*/
|
|
43
43
|
class LambdaTargetConfiguration extends McpTargetConfiguration {
|
|
44
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-bedrock-agentcore-alpha.LambdaTargetConfiguration", version: "2.
|
|
44
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-bedrock-agentcore-alpha.LambdaTargetConfiguration", version: "2.248.0-alpha.0" };
|
|
45
45
|
/**
|
|
46
46
|
* Create a Lambda target configuration
|
|
47
47
|
*
|
|
@@ -131,7 +131,7 @@ exports.LambdaTargetConfiguration = LambdaTargetConfiguration;
|
|
|
131
131
|
* allowing the gateway to transform API operations into tool calls.
|
|
132
132
|
*/
|
|
133
133
|
class OpenApiTargetConfiguration extends McpTargetConfiguration {
|
|
134
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-bedrock-agentcore-alpha.OpenApiTargetConfiguration", version: "2.
|
|
134
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-bedrock-agentcore-alpha.OpenApiTargetConfiguration", version: "2.248.0-alpha.0" };
|
|
135
135
|
/**
|
|
136
136
|
* Create an OpenAPI target configuration
|
|
137
137
|
*
|
|
@@ -249,7 +249,7 @@ exports.OpenApiTargetConfiguration = OpenApiTargetConfiguration;
|
|
|
249
249
|
* allowing the gateway to transform Smithy operations into tool calls.
|
|
250
250
|
*/
|
|
251
251
|
class SmithyTargetConfiguration extends McpTargetConfiguration {
|
|
252
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-bedrock-agentcore-alpha.SmithyTargetConfiguration", version: "2.
|
|
252
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-bedrock-agentcore-alpha.SmithyTargetConfiguration", version: "2.248.0-alpha.0" };
|
|
253
253
|
/**
|
|
254
254
|
* Create a Smithy target configuration
|
|
255
255
|
*
|
|
@@ -331,7 +331,7 @@ exports.SmithyTargetConfiguration = SmithyTargetConfiguration;
|
|
|
331
331
|
* synchronization.
|
|
332
332
|
*/
|
|
333
333
|
class McpServerTargetConfiguration extends McpTargetConfiguration {
|
|
334
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-bedrock-agentcore-alpha.McpServerTargetConfiguration", version: "2.
|
|
334
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-bedrock-agentcore-alpha.McpServerTargetConfiguration", version: "2.248.0-alpha.0" };
|
|
335
335
|
/**
|
|
336
336
|
* Create an MCP server target configuration
|
|
337
337
|
*
|
|
@@ -445,7 +445,7 @@ var ApiGatewayHttpMethod;
|
|
|
445
445
|
* - Proxy resources (e.g., `/pets/{proxy+}`) are not supported
|
|
446
446
|
*/
|
|
447
447
|
class ApiGatewayTargetConfiguration extends McpTargetConfiguration {
|
|
448
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-bedrock-agentcore-alpha.ApiGatewayTargetConfiguration", version: "2.
|
|
448
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-bedrock-agentcore-alpha.ApiGatewayTargetConfiguration", version: "2.248.0-alpha.0" };
|
|
449
449
|
/**
|
|
450
450
|
* Create an API Gateway target configuration
|
|
451
451
|
*
|
|
@@ -80,7 +80,7 @@ let GatewayTarget = (() => {
|
|
|
80
80
|
GatewayTarget = _classThis = _classDescriptor.value;
|
|
81
81
|
if (_metadata) Object.defineProperty(_classThis, Symbol.metadata, { enumerable: true, configurable: true, writable: true, value: _metadata });
|
|
82
82
|
}
|
|
83
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-bedrock-agentcore-alpha.GatewayTarget", version: "2.
|
|
83
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-bedrock-agentcore-alpha.GatewayTarget", version: "2.248.0-alpha.0" };
|
|
84
84
|
/** Uniquely identifies this class. */
|
|
85
85
|
static PROPERTY_INJECTION_ID = '@aws-cdk.aws-bedrock-agentcore-alpha.GatewayTarget';
|
|
86
86
|
/**
|
|
@@ -56,7 +56,7 @@ var MemoryStrategyType;
|
|
|
56
56
|
* @see https://docs.aws.amazon.com/bedrock-agentcore/latest/devguide/memory-strategies.html
|
|
57
57
|
*/
|
|
58
58
|
class MemoryStrategy {
|
|
59
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-bedrock-agentcore-alpha.MemoryStrategy", version: "2.
|
|
59
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-bedrock-agentcore-alpha.MemoryStrategy", version: "2.248.0-alpha.0" };
|
|
60
60
|
/**
|
|
61
61
|
* Default strategies for organizing and extracting memory data, each optimized for specific use cases.
|
|
62
62
|
* This strategy compresses conversations into concise overviews, preserving essential context and key insights for quick recall.
|
package/lib/memory/memory.js
CHANGED
|
@@ -87,7 +87,7 @@ const MEMORY_EXPIRATION_DAYS_MAX = 365;
|
|
|
87
87
|
* Contains methods and attributes valid for Memories either created with CDK or imported.
|
|
88
88
|
*/
|
|
89
89
|
class MemoryBase extends aws_cdk_lib_1.Resource {
|
|
90
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-bedrock-agentcore-alpha.MemoryBase", version: "2.
|
|
90
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-bedrock-agentcore-alpha.MemoryBase", version: "2.248.0-alpha.0" };
|
|
91
91
|
/**
|
|
92
92
|
* A reference to a Memory resource.
|
|
93
93
|
*/
|
|
@@ -369,7 +369,7 @@ let Memory = (() => {
|
|
|
369
369
|
Memory = _classThis = _classDescriptor.value;
|
|
370
370
|
if (_metadata) Object.defineProperty(_classThis, Symbol.metadata, { enumerable: true, configurable: true, writable: true, value: _metadata });
|
|
371
371
|
}
|
|
372
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-bedrock-agentcore-alpha.Memory", version: "2.
|
|
372
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-bedrock-agentcore-alpha.Memory", version: "2.248.0-alpha.0" };
|
|
373
373
|
/** Uniquely identifies this class. */
|
|
374
374
|
static PROPERTY_INJECTION_ID = '@aws-cdk.aws-bedrock-agentcore-alpha.Memory';
|
|
375
375
|
/**
|
|
@@ -25,7 +25,7 @@ const PROMPT_MAX_LENGTH = 30000;
|
|
|
25
25
|
* with specific models and prompt templates.
|
|
26
26
|
*/
|
|
27
27
|
class ManagedMemoryStrategy {
|
|
28
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-bedrock-agentcore-alpha.ManagedMemoryStrategy", version: "2.
|
|
28
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-bedrock-agentcore-alpha.ManagedMemoryStrategy", version: "2.248.0-alpha.0" };
|
|
29
29
|
name;
|
|
30
30
|
description;
|
|
31
31
|
/**
|
|
@@ -86,7 +86,7 @@ const DEFAULT_TOKEN_BASED_TRIGGER = 100;
|
|
|
86
86
|
* Use AgentCore memory for event storage with custom triggers. Define memory processing logic in your own environment.
|
|
87
87
|
*/
|
|
88
88
|
class SelfManagedMemoryStrategy {
|
|
89
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-bedrock-agentcore-alpha.SelfManagedMemoryStrategy", version: "2.
|
|
89
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-bedrock-agentcore-alpha.SelfManagedMemoryStrategy", version: "2.248.0-alpha.0" };
|
|
90
90
|
name;
|
|
91
91
|
description;
|
|
92
92
|
strategyType;
|
|
@@ -8,7 +8,7 @@ const ec2 = require("aws-cdk-lib/aws-ec2");
|
|
|
8
8
|
* Abstract base class for network configuration.
|
|
9
9
|
*/
|
|
10
10
|
class NetworkConfiguration {
|
|
11
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-bedrock-agentcore-alpha.NetworkConfiguration", version: "2.
|
|
11
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-bedrock-agentcore-alpha.NetworkConfiguration", version: "2.248.0-alpha.0" };
|
|
12
12
|
/**
|
|
13
13
|
* The network mode to use.
|
|
14
14
|
* Configure the security level for agent
|
|
@@ -87,7 +87,7 @@ exports.NetworkConfiguration = NetworkConfiguration;
|
|
|
87
87
|
* Network configuration for the Browser tool.
|
|
88
88
|
*/
|
|
89
89
|
class BrowserNetworkConfiguration extends NetworkConfiguration {
|
|
90
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-bedrock-agentcore-alpha.BrowserNetworkConfiguration", version: "2.
|
|
90
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-bedrock-agentcore-alpha.BrowserNetworkConfiguration", version: "2.248.0-alpha.0" };
|
|
91
91
|
/**
|
|
92
92
|
* Creates a public network configuration. PUBLIC is the default network mode.
|
|
93
93
|
* @returns A BrowserNetworkConfiguration.
|
|
@@ -133,7 +133,7 @@ exports.BrowserNetworkConfiguration = BrowserNetworkConfiguration;
|
|
|
133
133
|
* Network configuration for the Code Interpreter tool.
|
|
134
134
|
*/
|
|
135
135
|
class CodeInterpreterNetworkConfiguration extends NetworkConfiguration {
|
|
136
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-bedrock-agentcore-alpha.CodeInterpreterNetworkConfiguration", version: "2.
|
|
136
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-bedrock-agentcore-alpha.CodeInterpreterNetworkConfiguration", version: "2.248.0-alpha.0" };
|
|
137
137
|
/**
|
|
138
138
|
* Creates a public network configuration.
|
|
139
139
|
* @returns A CodeInterpreterNetworkConfiguration.
|
|
@@ -187,7 +187,7 @@ exports.CodeInterpreterNetworkConfiguration = CodeInterpreterNetworkConfiguratio
|
|
|
187
187
|
* Network configuration for the Runtime.
|
|
188
188
|
*/
|
|
189
189
|
class RuntimeNetworkConfiguration extends NetworkConfiguration {
|
|
190
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-bedrock-agentcore-alpha.RuntimeNetworkConfiguration", version: "2.
|
|
190
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-bedrock-agentcore-alpha.RuntimeNetworkConfiguration", version: "2.248.0-alpha.0" };
|
|
191
191
|
/**
|
|
192
192
|
* Creates a public network configuration. PUBLIC is the default network mode.
|
|
193
193
|
* @returns A RuntimeNetworkConfiguration.
|
|
@@ -29,7 +29,7 @@ class RuntimeCustomClaim {
|
|
|
29
29
|
valueType;
|
|
30
30
|
operator;
|
|
31
31
|
value;
|
|
32
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-bedrock-agentcore-alpha.RuntimeCustomClaim", version: "2.
|
|
32
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-bedrock-agentcore-alpha.RuntimeCustomClaim", version: "2.248.0-alpha.0" };
|
|
33
33
|
/**
|
|
34
34
|
* Create a custom claim with a string value.
|
|
35
35
|
* String claims must use the EQUALS operator.
|
|
@@ -22,7 +22,7 @@ const helpers_internal_1 = require("aws-cdk-lib/core/lib/helpers-internal");
|
|
|
22
22
|
* Provides static factory methods to create different authentication types.
|
|
23
23
|
*/
|
|
24
24
|
class RuntimeAuthorizerConfiguration {
|
|
25
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-bedrock-agentcore-alpha.RuntimeAuthorizerConfiguration", version: "2.
|
|
25
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-bedrock-agentcore-alpha.RuntimeAuthorizerConfiguration", version: "2.248.0-alpha.0" };
|
|
26
26
|
/**
|
|
27
27
|
* Use IAM authentication (default).
|
|
28
28
|
* Requires AWS credentials to sign requests using SigV4.
|
|
@@ -49,7 +49,7 @@ var AgentCoreRuntime;
|
|
|
49
49
|
* Provides methods to reference container images from ECR repositories or local assets.
|
|
50
50
|
*/
|
|
51
51
|
class AgentRuntimeArtifact {
|
|
52
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-bedrock-agentcore-alpha.AgentRuntimeArtifact", version: "2.
|
|
52
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-bedrock-agentcore-alpha.AgentRuntimeArtifact", version: "2.248.0-alpha.0" };
|
|
53
53
|
/**
|
|
54
54
|
* Reference an image in an ECR repository
|
|
55
55
|
*/
|
|
@@ -15,7 +15,7 @@ const perms_1 = require("./perms");
|
|
|
15
15
|
* Base class for Agent Runtime
|
|
16
16
|
*/
|
|
17
17
|
class RuntimeBase extends aws_cdk_lib_1.Resource {
|
|
18
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-bedrock-agentcore-alpha.RuntimeBase", version: "2.
|
|
18
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-bedrock-agentcore-alpha.RuntimeBase", version: "2.248.0-alpha.0" };
|
|
19
19
|
/**
|
|
20
20
|
* A reference to a Runtime resource.
|
|
21
21
|
*/
|
|
@@ -10,7 +10,7 @@ const aws_cdk_lib_1 = require("aws-cdk-lib");
|
|
|
10
10
|
* Base class for Runtime Endpoint
|
|
11
11
|
*/
|
|
12
12
|
class RuntimeEndpointBase extends aws_cdk_lib_1.Resource {
|
|
13
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-bedrock-agentcore-alpha.RuntimeEndpointBase", version: "2.
|
|
13
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-bedrock-agentcore-alpha.RuntimeEndpointBase", version: "2.248.0-alpha.0" };
|
|
14
14
|
/**
|
|
15
15
|
* A reference to a RuntimeEndpoint resource.
|
|
16
16
|
*/
|
|
@@ -69,7 +69,7 @@ let RuntimeEndpoint = (() => {
|
|
|
69
69
|
RuntimeEndpoint = _classThis = _classDescriptor.value;
|
|
70
70
|
if (_metadata) Object.defineProperty(_classThis, Symbol.metadata, { enumerable: true, configurable: true, writable: true, value: _metadata });
|
|
71
71
|
}
|
|
72
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-bedrock-agentcore-alpha.RuntimeEndpoint", version: "2.
|
|
72
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-bedrock-agentcore-alpha.RuntimeEndpoint", version: "2.248.0-alpha.0" };
|
|
73
73
|
/** Uniquely identifies this class. */
|
|
74
74
|
static PROPERTY_INJECTION_ID = '@aws-cdk.aws-bedrock-agentcore-alpha.RuntimeEndpoint';
|
|
75
75
|
/**
|
package/lib/runtime/runtime.js
CHANGED
|
@@ -93,7 +93,7 @@ let Runtime = (() => {
|
|
|
93
93
|
Runtime = _classThis = _classDescriptor.value;
|
|
94
94
|
if (_metadata) Object.defineProperty(_classThis, Symbol.metadata, { enumerable: true, configurable: true, writable: true, value: _metadata });
|
|
95
95
|
}
|
|
96
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-bedrock-agentcore-alpha.Runtime", version: "2.
|
|
96
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-bedrock-agentcore-alpha.Runtime", version: "2.248.0-alpha.0" };
|
|
97
97
|
/** Uniquely identifies this class. */
|
|
98
98
|
static PROPERTY_INJECTION_ID = '@aws-cdk.aws-bedrock-agentcore-alpha.Runtime';
|
|
99
99
|
/**
|
package/lib/tools/browser.js
CHANGED
|
@@ -100,7 +100,7 @@ var BrowserSigning;
|
|
|
100
100
|
* Contains methods and attributes valid for Browsers either created with CDK or imported.
|
|
101
101
|
*/
|
|
102
102
|
class BrowserCustomBase extends aws_cdk_lib_1.Resource {
|
|
103
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-bedrock-agentcore-alpha.BrowserCustomBase", version: "2.
|
|
103
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-bedrock-agentcore-alpha.BrowserCustomBase", version: "2.248.0-alpha.0" };
|
|
104
104
|
/**
|
|
105
105
|
* A reference to a BrowserCustom resource.
|
|
106
106
|
*/
|
|
@@ -374,7 +374,7 @@ let BrowserCustom = (() => {
|
|
|
374
374
|
BrowserCustom = _classThis = _classDescriptor.value;
|
|
375
375
|
if (_metadata) Object.defineProperty(_classThis, Symbol.metadata, { enumerable: true, configurable: true, writable: true, value: _metadata });
|
|
376
376
|
}
|
|
377
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-bedrock-agentcore-alpha.BrowserCustom", version: "2.
|
|
377
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-bedrock-agentcore-alpha.BrowserCustom", version: "2.248.0-alpha.0" };
|
|
378
378
|
/** Uniquely identifies this class. */
|
|
379
379
|
static PROPERTY_INJECTION_ID = '@aws-cdk.aws-bedrock-agentcore-alpha.BrowserCustom';
|
|
380
380
|
/**
|
|
@@ -80,7 +80,7 @@ const CODE_INTERPRETER_TAG_MAX_LENGTH = 256;
|
|
|
80
80
|
* Contains methods and attributes valid for Code Interpreters either created with CDK or imported.
|
|
81
81
|
*/
|
|
82
82
|
class CodeInterpreterCustomBase extends aws_cdk_lib_1.Resource {
|
|
83
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-bedrock-agentcore-alpha.CodeInterpreterCustomBase", version: "2.
|
|
83
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-bedrock-agentcore-alpha.CodeInterpreterCustomBase", version: "2.248.0-alpha.0" };
|
|
84
84
|
/**
|
|
85
85
|
* A reference to a CodeInterpreterCustom resource.
|
|
86
86
|
*/
|
|
@@ -332,7 +332,7 @@ let CodeInterpreterCustom = (() => {
|
|
|
332
332
|
CodeInterpreterCustom = _classThis = _classDescriptor.value;
|
|
333
333
|
if (_metadata) Object.defineProperty(_classThis, Symbol.metadata, { enumerable: true, configurable: true, writable: true, value: _metadata });
|
|
334
334
|
}
|
|
335
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-bedrock-agentcore-alpha.CodeInterpreterCustom", version: "2.
|
|
335
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-bedrock-agentcore-alpha.CodeInterpreterCustom", version: "2.248.0-alpha.0" };
|
|
336
336
|
/** Uniquely identifies this class. */
|
|
337
337
|
static PROPERTY_INJECTION_ID = '@aws-cdk.aws-bedrock-agentcore-alpha.CodeInterpreterCustom';
|
|
338
338
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-cdk/aws-bedrock-agentcore-alpha",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.248.0-alpha.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "The CDK Construct Library for Amazon Bedrock",
|
|
6
6
|
"main": "lib/index.js",
|
|
@@ -78,21 +78,21 @@
|
|
|
78
78
|
},
|
|
79
79
|
"license": "Apache-2.0",
|
|
80
80
|
"devDependencies": {
|
|
81
|
-
"aws-cdk-lib": "2.
|
|
82
|
-
"@aws-cdk/aws-bedrock-alpha": "2.
|
|
83
|
-
"@aws-cdk/cdk-build-tools": "2.
|
|
81
|
+
"aws-cdk-lib": "2.248.0",
|
|
82
|
+
"@aws-cdk/aws-bedrock-alpha": "2.248.0-alpha.0",
|
|
83
|
+
"@aws-cdk/cdk-build-tools": "2.248.0-alpha.0",
|
|
84
84
|
"@aws-cdk/integ-runner": "^2.197.1",
|
|
85
|
-
"@aws-cdk/pkglint": "2.
|
|
86
|
-
"@aws-cdk/integ-tests-alpha": "2.
|
|
85
|
+
"@aws-cdk/pkglint": "2.248.0-alpha.0",
|
|
86
|
+
"@aws-cdk/integ-tests-alpha": "2.248.0-alpha.0",
|
|
87
87
|
"@types/jest": "^29.5.14",
|
|
88
88
|
"constructs": "^10.5.0",
|
|
89
89
|
"jest": "^29.7.0"
|
|
90
90
|
},
|
|
91
91
|
"homepage": "https://github.com/aws/aws-cdk",
|
|
92
92
|
"peerDependencies": {
|
|
93
|
-
"aws-cdk-lib": "^2.
|
|
93
|
+
"aws-cdk-lib": "^2.248.0",
|
|
94
94
|
"constructs": "^10.5.0",
|
|
95
|
-
"@aws-cdk/aws-bedrock-alpha": "2.
|
|
95
|
+
"@aws-cdk/aws-bedrock-alpha": "2.248.0-alpha.0"
|
|
96
96
|
},
|
|
97
97
|
"engines": {
|
|
98
98
|
"node": ">= 20.0.0"
|
|
@@ -162,7 +162,7 @@
|
|
|
162
162
|
},
|
|
163
163
|
"jsiiRosetta": {
|
|
164
164
|
"exampleDependencies": {
|
|
165
|
-
"@aws-cdk/aws-bedrock-alpha": "^2.
|
|
165
|
+
"@aws-cdk/aws-bedrock-alpha": "^2.248.0-alpha.0"
|
|
166
166
|
}
|
|
167
167
|
}
|
|
168
168
|
}
|