@aws-cdk/aws-bedrock-agentcore-alpha 2.221.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.
Files changed (43) hide show
  1. package/.eslintrc.js +4 -0
  2. package/.jsii +12000 -0
  3. package/.jsii.tabl.json.gz +0 -0
  4. package/.warnings.jsii.js +183 -0
  5. package/LICENSE +201 -0
  6. package/NOTICE +2 -0
  7. package/README.md +796 -0
  8. package/agentcore/index.d.ts +11 -0
  9. package/agentcore/index.js +36 -0
  10. package/agentcore/network/network-configuration.d.ts +152 -0
  11. package/agentcore/network/network-configuration.js +234 -0
  12. package/agentcore/runtime/perms.d.ts +67 -0
  13. package/agentcore/runtime/perms.js +101 -0
  14. package/agentcore/runtime/runtime-artifact.d.ts +42 -0
  15. package/agentcore/runtime/runtime-artifact.js +90 -0
  16. package/agentcore/runtime/runtime-authorizer-configuration.d.ts +62 -0
  17. package/agentcore/runtime/runtime-authorizer-configuration.js +165 -0
  18. package/agentcore/runtime/runtime-base.d.ts +309 -0
  19. package/agentcore/runtime/runtime-base.js +207 -0
  20. package/agentcore/runtime/runtime-endpoint-base.d.ts +130 -0
  21. package/agentcore/runtime/runtime-endpoint-base.js +31 -0
  22. package/agentcore/runtime/runtime-endpoint.d.ts +182 -0
  23. package/agentcore/runtime/runtime-endpoint.js +372 -0
  24. package/agentcore/runtime/runtime.d.ts +230 -0
  25. package/agentcore/runtime/runtime.js +590 -0
  26. package/agentcore/runtime/types.d.ts +16 -0
  27. package/agentcore/runtime/types.js +21 -0
  28. package/agentcore/runtime/validation-helpers.d.ts +37 -0
  29. package/agentcore/runtime/validation-helpers.js +85 -0
  30. package/agentcore/tools/browser.d.ts +519 -0
  31. package/agentcore/tools/browser.js +641 -0
  32. package/agentcore/tools/code-interpreter.d.ts +447 -0
  33. package/agentcore/tools/code-interpreter.js +553 -0
  34. package/agentcore/tools/perms.d.ts +74 -0
  35. package/agentcore/tools/perms.js +122 -0
  36. package/agentcore/tools/validation-helpers.d.ts +37 -0
  37. package/agentcore/tools/validation-helpers.js +85 -0
  38. package/jest.config.js +2 -0
  39. package/lib/index.d.ts +1 -0
  40. package/lib/index.js +22 -0
  41. package/package.json +122 -0
  42. package/rosetta/_generated.ts-fixture +6 -0
  43. package/rosetta/default.ts-fixture +19 -0
@@ -0,0 +1,130 @@
1
+ /**
2
+ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance
5
+ * with the License. A copy of the License is located at
6
+ *
7
+ * http://www.apache.org/licenses/LICENSE-2.0
8
+ *
9
+ * or in the 'license' file accompanying this file. This file is distributed on an 'AS IS' BASIS, WITHOUT WARRANTIES
10
+ * OR CONDITIONS OF ANY KIND, express or implied. See the License for the specific language governing permissions
11
+ * and limitations under the License.
12
+ */
13
+ import { IResource, Resource } from 'aws-cdk-lib';
14
+ import { Construct } from 'constructs';
15
+ /******************************************************************************
16
+ * Interface
17
+ *****************************************************************************/
18
+ /**
19
+ * Interface for Runtime Endpoint resources
20
+ */
21
+ export interface IRuntimeEndpoint extends IResource {
22
+ /**
23
+ * The ARN of the runtime endpoint resource
24
+ * @attribute
25
+ * @example "arn:aws:bedrock-agentcore:us-west-2:123456789012:agent-runtime-endpoint/endpoint-abc123"
26
+ */
27
+ readonly agentRuntimeEndpointArn: string;
28
+ /**
29
+ * The name of the runtime endpoint
30
+ */
31
+ readonly endpointName: string;
32
+ /**
33
+ * The ARN of the parent agent runtime
34
+ * @attribute
35
+ */
36
+ readonly agentRuntimeArn: string;
37
+ /**
38
+ * The current status of the runtime endpoint
39
+ * @attribute
40
+ */
41
+ readonly status?: string;
42
+ /**
43
+ * The live version of the agent runtime that is currently serving requests
44
+ * @attribute
45
+ */
46
+ readonly liveVersion?: string;
47
+ /**
48
+ * The target version the endpoint is transitioning to (during updates)
49
+ * @attribute
50
+ */
51
+ readonly targetVersion?: string;
52
+ /**
53
+ * When the endpoint was created
54
+ * @attribute
55
+ */
56
+ readonly createdAt?: string;
57
+ /**
58
+ * The description of the runtime endpoint
59
+ */
60
+ readonly description?: string;
61
+ }
62
+ /******************************************************************************
63
+ * Base Class
64
+ *****************************************************************************/
65
+ /**
66
+ * Base class for Runtime Endpoint
67
+ */
68
+ export declare abstract class RuntimeEndpointBase extends Resource implements IRuntimeEndpoint {
69
+ abstract readonly agentRuntimeEndpointArn: string;
70
+ abstract readonly endpointName: string;
71
+ abstract readonly agentRuntimeArn: string;
72
+ abstract readonly status?: string;
73
+ abstract readonly liveVersion?: string;
74
+ abstract readonly targetVersion?: string;
75
+ abstract readonly createdAt?: string;
76
+ abstract readonly description?: string;
77
+ constructor(scope: Construct, id: string);
78
+ }
79
+ /**
80
+ * Attributes for importing an existing Runtime Endpoint
81
+ */
82
+ export interface RuntimeEndpointAttributes {
83
+ /**
84
+ * The ARN of the runtime endpoint
85
+ */
86
+ readonly agentRuntimeEndpointArn: string;
87
+ /**
88
+ * The name of the runtime endpoint
89
+ */
90
+ readonly endpointName: string;
91
+ /**
92
+ * The ARN of the parent agent runtime
93
+ */
94
+ readonly agentRuntimeArn: string;
95
+ /**
96
+ * The description of the runtime endpoint
97
+ * @default - No description
98
+ */
99
+ readonly description?: string;
100
+ /**
101
+ * The current status of the runtime endpoint
102
+ * @default - Status not available
103
+ */
104
+ readonly status?: string;
105
+ /**
106
+ * The live version of the agent runtime that is currently serving requests
107
+ * @default - Live version not available
108
+ */
109
+ readonly liveVersion?: string;
110
+ /**
111
+ * The target version the endpoint is transitioning to (during updates)
112
+ * @default - Target version not available
113
+ */
114
+ readonly targetVersion?: string;
115
+ /**
116
+ * When the endpoint was created
117
+ * @default - Creation time not available
118
+ */
119
+ readonly createdAt?: string;
120
+ /**
121
+ * When the endpoint was last updated
122
+ * @default - Last update time not available
123
+ */
124
+ readonly lastUpdatedAt?: string;
125
+ /**
126
+ * The unique identifier of the runtime endpoint
127
+ * @default - Endpoint ID not available
128
+ */
129
+ readonly endpointId?: string;
130
+ }
@@ -0,0 +1,31 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.RuntimeEndpointBase = void 0;
4
+ const JSII_RTTI_SYMBOL_1 = Symbol.for("jsii.rtti");
5
+ /**
6
+ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
7
+ *
8
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance
9
+ * with the License. A copy of the License is located at
10
+ *
11
+ * http://www.apache.org/licenses/LICENSE-2.0
12
+ *
13
+ * or in the 'license' file accompanying this file. This file is distributed on an 'AS IS' BASIS, WITHOUT WARRANTIES
14
+ * OR CONDITIONS OF ANY KIND, express or implied. See the License for the specific language governing permissions
15
+ * and limitations under the License.
16
+ */
17
+ const aws_cdk_lib_1 = require("aws-cdk-lib");
18
+ /******************************************************************************
19
+ * Base Class
20
+ *****************************************************************************/
21
+ /**
22
+ * Base class for Runtime Endpoint
23
+ */
24
+ class RuntimeEndpointBase extends aws_cdk_lib_1.Resource {
25
+ static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/aws-bedrock-agentcore-alpha.RuntimeEndpointBase", version: "2.221.0-alpha.0" };
26
+ constructor(scope, id) {
27
+ super(scope, id);
28
+ }
29
+ }
30
+ exports.RuntimeEndpointBase = RuntimeEndpointBase;
31
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicnVudGltZS1lbmRwb2ludC1iYXNlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsicnVudGltZS1lbmRwb2ludC1iYXNlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7QUFBQTs7Ozs7Ozs7Ozs7R0FXRztBQUVILDZDQUFrRDtBQTJEbEQ7OytFQUUrRTtBQUUvRTs7R0FFRztBQUNILE1BQXNCLG1CQUFvQixTQUFRLHNCQUFROztJQVV4RCxZQUFZLEtBQWdCLEVBQUUs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qKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqXG4gKiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgSW50ZXJmYWNlXG4gKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKiovXG5cbi8qKlxuICogSW50ZXJmYWNlIGZvciBSdW50aW1lIEVuZHBvaW50IHJlc291cmNlc1xuICovXG5leHBvcnQgaW50ZXJmYWNlIElSdW50aW1lRW5kcG9pbnQgZXh0ZW5kcyBJUmVzb3VyY2Uge1xuICAvKipcbiAgICogVGhlIEFSTiBvZiB0aGUgcnVudGltZSBlbmRwb2ludCByZXNvdXJjZVxuICAgKiBAYXR0cmlidXRlXG4gICAqIEBleGFtcGxlIFwiYXJuOmF3czpiZWRyb2NrLWFnZW50Y29yZTp1cy13ZXN0LTI6MTIzNDU2Nzg5MDEyOmFnZW50LXJ1bnRpbWUtZW5kcG9pbnQvZW5kcG9pbnQtYWJjMTIzXCJcbiAgICovXG4gIHJlYWRvbmx5IGFnZW50UnVudGltZUVuZHBvaW50QXJuOiBzdHJpbmc7XG5cbiAgLyoqXG4gICAqIFRoZSBuYW1lIG9mIHRoZSBydW50aW1lIGVuZHBvaW50XG4gICAqL1xuICByZWFkb25seSBlbmRwb2ludE5hbWU6IHN0cmluZztcblxuICAvKipcbiAgICogVGhlIEFSTiBvZiB0aGUgcGFyZW50IGFnZW50IHJ1bnRpbWVcbiAgICogQGF0dHJpYnV0ZVxuICAgKi9cbiAgcmVhZG9ubHkgYWdlbnRSdW50aW1lQXJuOiBzdHJpbmc7XG5cbiAgLyoqXG4gICAqIFRoZSBjdXJyZW50IHN0YXR1cyBvZiB0aGUgcnVudGltZSBlbmRwb2ludFxuICAgKiBAYXR0cmlidXRlXG4gICAqL1xuICByZWFkb25seSBzdGF0dXM/OiBzdHJpbmc7XG5cbiAgLyoqXG4gICAqIFRoZSBsaXZlIHZlcnNpb24gb2YgdGhlIGFnZW50IHJ1bnRpbWUgdGhhdCBpcyBjdXJyZW50bHkgc2VydmluZyByZXF1ZXN0c1xuICAgKiBAYXR0cmlidXRlXG4gICAqL1xuICByZWFkb25seSBsaXZlVmVyc2lvbj86IHN0cmluZztcblxuICAvKipcbiAgICogVGhlIHRhcmdldCB2ZXJzaW9uIHRoZSBlbmRwb2ludCBpcyB0cmFuc2l0aW9uaW5nIHRvIChkdXJpbmcgdXBkYXRlcylcbiAgICogQGF0dHJpYnV0ZVxuICAgKi9cbiAgcmVhZG9ubHkgdGFyZ2V0VmVyc2lvbj86IHN0cmluZztcblxuICAvKipcbiAgICogV2hlbiB0aGUgZW5kcG9pbnQgd2FzIGNyZWF0ZWRcbiAgICogQGF0dHJpYnV0ZVxuICAgKi9cbiAgcmVhZG9ubHkgY3JlYXRlZEF0Pzogc3RyaW5nO1xuXG4gIC8qKlxuICAgKiBUaGUgZGVzY3JpcHRpb24gb2YgdGhlIHJ1bnRpbWUgZW5kcG9pbnRcbiAgICovXG4gIHJlYWRvbmx5IGRlc2NyaXB0aW9uPzogc3RyaW5nO1xufVxuXG4vKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqXG4gKiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgQmFzZSBDbGFzc1xuICoqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqL1xuXG4vKipcbiAqIEJhc2UgY2xhc3MgZm9yIFJ1bnRpbWUgRW5kcG9pbnRcbiAqL1xuZXhwb3J0IGFic3RyYWN0IGNsYXNzIFJ1bnRpbWVFbmRwb2ludEJhc2UgZXh0ZW5kcyBSZXNvdXJjZSBpbXBsZW1lbnRzIElSdW50aW1lRW5kcG9pbnQge1xuICBwdWJsaWMgYWJzdHJhY3QgcmVhZG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IGxhc3QgdXBkYXRlZFxuICAgKiBAZGVmYXVsdCAtIExhc3QgdXBkYXRlIHRpbWUgbm90IGF2YWlsYWJsZVxuICAgKi9cbiAgcmVhZG9ubHkgbGFzdFVwZGF0ZWRBdD86IHN0cmluZztcblxuICAvKipcbiAgICogVGhlIHVuaXF1ZSBpZGVudGlmaWVyIG9mIHRoZSBydW50aW1lIGVuZHBvaW50XG4gICAqIEBkZWZhdWx0IC0gRW5kcG9pbnQgSUQgbm90IGF2YWlsYWJsZVxuICAgKi9cbiAgcmVhZG9ubHkgZW5kcG9pbnRJZD86IHN0cmluZztcbn1cbiJdfQ==
@@ -0,0 +1,182 @@
1
+ import { Construct } from 'constructs';
2
+ import { RuntimeEndpointBase, IRuntimeEndpoint, RuntimeEndpointAttributes } from './runtime-endpoint-base';
3
+ /******************************************************************************
4
+ * Props
5
+ *****************************************************************************/
6
+ /**
7
+ * Properties for creating a Bedrock Agent Core Runtime Endpoint resource
8
+ */
9
+ export interface RuntimeEndpointProps {
10
+ /**
11
+ * The name of the agent runtime endpoint
12
+ * Valid characters are a-z, A-Z, 0-9, _ (underscore)
13
+ * Must start with a letter and can be up to 48 characters long
14
+ * Pattern: ^[a-zA-Z][a-zA-Z0-9_]{0,47}$
15
+ */
16
+ readonly endpointName: string;
17
+ /**
18
+ * The ID of the agent runtime to associate with this endpoint
19
+ * This is the unique identifier of the runtime resource
20
+ * Pattern: ^[a-zA-Z][a-zA-Z0-9_]{0,99}-[a-zA-Z0-9]{10}$
21
+ */
22
+ readonly agentRuntimeId: string;
23
+ /**
24
+ * The version of the agent runtime to use for this endpoint
25
+ * If not specified, the endpoint will point to version "1" of the runtime.
26
+ * Pattern: ^([1-9][0-9]{0,4})$
27
+ * @default "1"
28
+ */
29
+ readonly agentRuntimeVersion?: string;
30
+ /**
31
+ * Optional description for the agent runtime endpoint
32
+ * Length Minimum: 1 , Maximum: 256
33
+ * @default - No description
34
+ */
35
+ readonly description?: string;
36
+ /**
37
+ * Tags for the agent runtime endpoint
38
+ * A list of key:value pairs of tags to apply to this RuntimeEndpoint resource
39
+ * Pattern: ^[a-zA-Z0-9\s._:/=+@-]*$
40
+ * @default {} - no tags
41
+ */
42
+ readonly tags?: {
43
+ [key: string]: string;
44
+ };
45
+ }
46
+ /******************************************************************************
47
+ * Class
48
+ *****************************************************************************/
49
+ /**
50
+ * Bedrock Agent Core Runtime Endpoint
51
+ * Provides a stable endpoint for invoking agent runtimes with versioning support
52
+ *
53
+ * @resource AWS::BedrockAgentCore::RuntimeEndpoint
54
+ * @see https://docs.aws.amazon.com/bedrock-agentcore/latest/devguide/runtime-endpoint.html
55
+ */
56
+ export declare class RuntimeEndpoint extends RuntimeEndpointBase {
57
+ /** Uniquely identifies this class. */
58
+ static readonly PROPERTY_INJECTION_ID: string;
59
+ /**
60
+ * Import an existing Agent Runtime Endpoint using attributes
61
+ * This allows you to reference an Agent Runtime Endpoint that was created outside of CDK
62
+ *
63
+ * @param scope The construct scope
64
+ * @param id The construct id
65
+ * @param attrs The attributes of the existing Agent Runtime Endpoint
66
+ * @returns An IRuntimeEndpoint instance representing the imported endpoint
67
+ */
68
+ static fromRuntimeEndpointAttributes(scope: Construct, id: string, attrs: RuntimeEndpointAttributes): IRuntimeEndpoint;
69
+ /**
70
+ * The ARN of the agent runtime endpoint
71
+ * @attribute
72
+ * @returns a token representing the ARN of this agent runtime endpoint
73
+ */
74
+ readonly agentRuntimeEndpointArn: string;
75
+ /**
76
+ * The name of the endpoint
77
+ * @attribute
78
+ * @returns a token representing the name of this endpoint
79
+ */
80
+ readonly endpointName: string;
81
+ /**
82
+ * The ARN of the agent runtime associated with this endpoint
83
+ * @attribute
84
+ * @returns a token representing the ARN of the agent runtime
85
+ */
86
+ readonly agentRuntimeArn: string;
87
+ /**
88
+ * The status of the endpoint
89
+ * @attribute
90
+ * @returns a token representing the status of this endpoint
91
+ */
92
+ readonly status?: string;
93
+ /**
94
+ * The live version of the endpoint
95
+ * @attribute
96
+ * @returns a token representing the live version of this endpoint
97
+ */
98
+ readonly liveVersion?: string;
99
+ /**
100
+ * The target version of the endpoint
101
+ * @attribute
102
+ * @returns a token representing the target version of this endpoint
103
+ */
104
+ readonly targetVersion?: string;
105
+ /**
106
+ * The timestamp when the endpoint was created
107
+ * @attribute
108
+ * @returns a token representing the creation timestamp of this endpoint
109
+ */
110
+ readonly createdAt?: string;
111
+ /**
112
+ * Optional description for the endpoint
113
+ */
114
+ readonly description?: string;
115
+ /**
116
+ * The unique identifier of the runtime endpoint
117
+ * @attribute
118
+ * @returns a token representing the ID of this endpoint
119
+ */
120
+ readonly endpointId: string;
121
+ /**
122
+ * The ID of the agent runtime associated with this endpoint
123
+ */
124
+ readonly agentRuntimeId: string;
125
+ /**
126
+ * The version of the agent runtime used by this endpoint
127
+ */
128
+ readonly agentRuntimeVersion: string;
129
+ /**
130
+ * When this endpoint was last updated
131
+ * @attribute
132
+ * @returns a token representing the last update timestamp of this endpoint
133
+ */
134
+ readonly lastUpdatedAt?: string;
135
+ private readonly endpointResource;
136
+ constructor(scope: Construct, id: string, props: RuntimeEndpointProps);
137
+ /**
138
+ * Renders the agent runtime ID for CloudFormation
139
+ * @internal
140
+ */
141
+ private renderAgentRuntimeId;
142
+ /**
143
+ * Renders the agent runtime version for CloudFormation
144
+ * @internal
145
+ */
146
+ private renderAgentRuntimeVersion;
147
+ /**
148
+ * Renders the description for CloudFormation
149
+ * @internal
150
+ */
151
+ private renderDescription;
152
+ /**
153
+ * Validates the endpoint name format
154
+ * Pattern: ^[a-zA-Z][a-zA-Z0-9_]{0,47}$
155
+ * @throws Error if validation fails
156
+ */
157
+ private validateEndpointName;
158
+ /**
159
+ * Validates the description format
160
+ * Must be between 1 and 256 characters (per CloudFormation specification)
161
+ * @throws Error if validation fails
162
+ */
163
+ private validateDescription;
164
+ /**
165
+ * Validates the agent runtime ID format
166
+ * Pattern: ^[a-zA-Z][a-zA-Z0-9_]{0,99}-[a-zA-Z0-9]{10}$
167
+ * @throws Error if validation fails
168
+ */
169
+ private validateAgentRuntimeId;
170
+ /**
171
+ * Validates the agent runtime version format
172
+ * Pattern: ^([1-9][0-9]{0,4})$
173
+ * @throws Error if validation fails
174
+ */
175
+ private validateAgentRuntimeVersion;
176
+ /**
177
+ * Validates the tags format
178
+ * @param tags The tags object to validate
179
+ * @throws Error if validation fails
180
+ */
181
+ private validateTags;
182
+ }