@aws-cdk/aws-bedrock-agentcore-alpha 2.225.0-alpha.0 → 2.227.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 +14021 -5792
- package/.jsii.tabl.json.gz +0 -0
- package/.warnings.jsii.js +343 -1
- package/README.md +880 -19
- package/agentcore/gateway/gateway-base.d.ts +292 -0
- package/agentcore/gateway/gateway-base.js +171 -0
- package/agentcore/gateway/gateway.d.ts +383 -0
- package/agentcore/gateway/gateway.js +521 -0
- package/agentcore/gateway/inbound-auth/authorizer.d.ts +121 -0
- package/agentcore/gateway/inbound-auth/authorizer.js +133 -0
- package/agentcore/gateway/outbound-auth/api-key.d.ts +117 -0
- package/agentcore/gateway/outbound-auth/api-key.js +141 -0
- package/agentcore/gateway/outbound-auth/credential-provider.d.ts +70 -0
- package/agentcore/gateway/outbound-auth/credential-provider.js +80 -0
- package/agentcore/gateway/outbound-auth/iam-role.d.ts +28 -0
- package/agentcore/gateway/outbound-auth/iam-role.js +40 -0
- package/agentcore/gateway/outbound-auth/oauth.d.ts +80 -0
- package/agentcore/gateway/outbound-auth/oauth.js +76 -0
- package/agentcore/gateway/perms.d.ts +75 -0
- package/agentcore/gateway/perms.js +112 -0
- package/agentcore/gateway/protocol.d.ts +121 -0
- package/agentcore/gateway/protocol.js +120 -0
- package/agentcore/gateway/targets/schema/api-schema.d.ts +110 -0
- package/agentcore/gateway/targets/schema/api-schema.js +207 -0
- package/agentcore/gateway/targets/schema/base-schema.d.ts +24 -0
- package/agentcore/gateway/targets/schema/base-schema.js +12 -0
- package/agentcore/gateway/targets/schema/tool-schema.d.ts +198 -0
- package/agentcore/gateway/targets/schema/tool-schema.js +213 -0
- package/agentcore/gateway/targets/target-base.d.ts +153 -0
- package/agentcore/gateway/targets/target-base.js +81 -0
- package/agentcore/gateway/targets/target-configuration.d.ts +230 -0
- package/agentcore/gateway/targets/target-configuration.js +407 -0
- package/agentcore/gateway/targets/target.d.ts +345 -0
- package/agentcore/gateway/targets/target.js +444 -0
- package/agentcore/gateway/validation-helpers.d.ts +65 -0
- package/agentcore/gateway/validation-helpers.js +333 -0
- package/agentcore/index.d.ts +15 -0
- package/agentcore/index.js +32 -1
- package/agentcore/memory/memory-strategy.js +1 -1
- package/agentcore/memory/memory.js +6 -3
- package/agentcore/memory/strategies/managed-strategy.js +1 -1
- package/agentcore/memory/strategies/self-managed-strategy.js +1 -1
- package/agentcore/network/network-configuration.js +4 -4
- package/agentcore/runtime/runtime-artifact.js +1 -1
- package/agentcore/runtime/runtime-authorizer-configuration.d.ts +1 -1
- package/agentcore/runtime/runtime-authorizer-configuration.js +6 -5
- package/agentcore/runtime/runtime-base.js +1 -1
- package/agentcore/runtime/runtime-endpoint-base.js +1 -1
- package/agentcore/runtime/runtime-endpoint.js +1 -1
- package/agentcore/runtime/runtime.js +1 -1
- package/agentcore/tools/browser.js +2 -2
- package/agentcore/tools/code-interpreter.js +2 -2
- package/package.json +9 -9
- package/rosetta/default.ts-fixture +15 -6
|
@@ -1,9 +1,7 @@
|
|
|
1
|
-
// Fixture with packages imported, but nothing else
|
|
2
|
-
import * as path from 'path';
|
|
3
1
|
import { Construct } from 'constructs';
|
|
4
|
-
import
|
|
5
|
-
import { Duration, RemovalPolicy, aws_s3_deployment } from 'aws-cdk-lib';
|
|
2
|
+
import * as cdk from 'aws-cdk-lib';
|
|
6
3
|
import * as agentcore from '@aws-cdk/aws-bedrock-agentcore-alpha';
|
|
4
|
+
import * as lambda from 'aws-cdk-lib/aws-lambda';
|
|
7
5
|
import * as cognito from 'aws-cdk-lib/aws-cognito';
|
|
8
6
|
import * as iam from 'aws-cdk-lib/aws-iam';
|
|
9
7
|
import * as s3 from 'aws-cdk-lib/aws-s3';
|
|
@@ -11,10 +9,21 @@ import * as sns from 'aws-cdk-lib/aws-sns';
|
|
|
11
9
|
import * as kms from 'aws-cdk-lib/aws-kms';
|
|
12
10
|
import * as ecr from 'aws-cdk-lib/aws-ecr';
|
|
13
11
|
import * as ec2 from 'aws-cdk-lib/aws-ec2';
|
|
12
|
+
import { Platform } from 'aws-cdk-lib/aws-ecr-assets';
|
|
13
|
+
import { Duration, RemovalPolicy, aws_s3_deployment } from 'aws-cdk-lib';
|
|
14
14
|
import * as bedrock from '@aws-cdk/aws-bedrock-alpha';
|
|
15
|
-
import * as cdk from 'aws-cdk-lib';
|
|
16
15
|
|
|
17
|
-
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
// Define path utilities for examples that use them
|
|
19
|
+
const path = {
|
|
20
|
+
join: (...args: string[]) => args.join('/')
|
|
21
|
+
};
|
|
22
|
+
|
|
23
|
+
// Define __dirname for examples that use it
|
|
24
|
+
const __dirname = '/example/path';
|
|
25
|
+
|
|
26
|
+
class MyStack extends cdk.Stack {
|
|
18
27
|
constructor(scope: Construct, id: string) {
|
|
19
28
|
super(scope, id);
|
|
20
29
|
|