@awboost/cfn-resource-types 0.1.471 → 0.1.472
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.
|
@@ -5,6 +5,10 @@ import type { ResourceOptions as $ResourceOptions } from "@awboost/cfn-template-
|
|
|
5
5
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-browsercustom.html}
|
|
6
6
|
*/
|
|
7
7
|
export type BedrockAgentCoreBrowserCustomProperties = {
|
|
8
|
+
/**
|
|
9
|
+
* Browser signing configuration.
|
|
10
|
+
*/
|
|
11
|
+
BrowserSigning?: BrowserSigning;
|
|
8
12
|
/**
|
|
9
13
|
* The description of the browser.
|
|
10
14
|
*/
|
|
@@ -84,6 +88,14 @@ export type BrowserNetworkConfiguration = {
|
|
|
84
88
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-browsercustom-browsernetworkmode.html}
|
|
85
89
|
*/
|
|
86
90
|
export type BrowserNetworkMode = "PUBLIC" | "VPC";
|
|
91
|
+
/**
|
|
92
|
+
* Type definition for `AWS::BedrockAgentCore::BrowserCustom.BrowserSigning`.
|
|
93
|
+
* Browser signing configuration
|
|
94
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-browsercustom-browsersigning.html}
|
|
95
|
+
*/
|
|
96
|
+
export type BrowserSigning = {
|
|
97
|
+
Enabled?: boolean;
|
|
98
|
+
};
|
|
87
99
|
/**
|
|
88
100
|
* Type definition for `AWS::BedrockAgentCore::BrowserCustom.BrowserStatus`.
|
|
89
101
|
* Status of browser
|
|
@@ -28,6 +28,10 @@ export type BedrockAgentCoreRuntimeProperties = {
|
|
|
28
28
|
* Environment variables for the agent runtime
|
|
29
29
|
*/
|
|
30
30
|
EnvironmentVariables?: EnvironmentVariablesMap;
|
|
31
|
+
/**
|
|
32
|
+
* Lifecycle configuration for managing runtime sessions
|
|
33
|
+
*/
|
|
34
|
+
LifecycleConfiguration?: LifecycleConfiguration;
|
|
31
35
|
/**
|
|
32
36
|
* Network access configuration for the Agent
|
|
33
37
|
*/
|
|
@@ -36,6 +40,10 @@ export type BedrockAgentCoreRuntimeProperties = {
|
|
|
36
40
|
* Protocol configuration for the agent runtime
|
|
37
41
|
*/
|
|
38
42
|
ProtocolConfiguration?: ProtocolConfiguration;
|
|
43
|
+
/**
|
|
44
|
+
* Configuration for HTTP request headers
|
|
45
|
+
*/
|
|
46
|
+
RequestHeaderConfiguration?: RequestHeaderConfiguration;
|
|
39
47
|
/**
|
|
40
48
|
* Amazon Resource Name (ARN) of an IAM role
|
|
41
49
|
* @pattern `arn:aws(-[^:]+)?:iam::([0-9]{12})?:role/.+`
|
|
@@ -93,11 +101,21 @@ export type BedrockAgentCoreRuntimeAttributes = {
|
|
|
93
101
|
WorkloadIdentityArn: string;
|
|
94
102
|
};
|
|
95
103
|
};
|
|
104
|
+
/**
|
|
105
|
+
* Type definition for `AWS::BedrockAgentCore::Runtime.AgentManagedRuntimeType`.
|
|
106
|
+
* Managed runtime types
|
|
107
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-runtime-agentmanagedruntimetype.html}
|
|
108
|
+
*/
|
|
109
|
+
export type AgentManagedRuntimeType = "PYTHON_3_10" | "PYTHON_3_11" | "PYTHON_3_12" | "PYTHON_3_13";
|
|
96
110
|
/**
|
|
97
111
|
* Type definition for `AWS::BedrockAgentCore::Runtime.AgentRuntimeArtifact`.
|
|
98
112
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-runtime-agentruntimeartifact.html}
|
|
99
113
|
*/
|
|
100
114
|
export type AgentRuntimeArtifact = {
|
|
115
|
+
/**
|
|
116
|
+
* Representation of a code configuration
|
|
117
|
+
*/
|
|
118
|
+
CodeConfiguration?: CodeConfiguration;
|
|
101
119
|
ContainerConfiguration?: ContainerConfiguration;
|
|
102
120
|
};
|
|
103
121
|
/**
|
|
@@ -116,6 +134,38 @@ export type AuthorizerConfiguration = {
|
|
|
116
134
|
*/
|
|
117
135
|
CustomJWTAuthorizer?: CustomJWTAuthorizerConfiguration;
|
|
118
136
|
};
|
|
137
|
+
/**
|
|
138
|
+
* Type definition for `AWS::BedrockAgentCore::Runtime.Code`.
|
|
139
|
+
* Object represents source code from zip file
|
|
140
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-runtime-code.html}
|
|
141
|
+
*/
|
|
142
|
+
export type Code = {
|
|
143
|
+
/**
|
|
144
|
+
* S3 Location Configuration
|
|
145
|
+
*/
|
|
146
|
+
S3?: S3Location;
|
|
147
|
+
};
|
|
148
|
+
/**
|
|
149
|
+
* Type definition for `AWS::BedrockAgentCore::Runtime.CodeConfiguration`.
|
|
150
|
+
* Representation of a code configuration
|
|
151
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-runtime-codeconfiguration.html}
|
|
152
|
+
*/
|
|
153
|
+
export type CodeConfiguration = {
|
|
154
|
+
/**
|
|
155
|
+
* Object represents source code from zip file
|
|
156
|
+
*/
|
|
157
|
+
Code: Code;
|
|
158
|
+
/**
|
|
159
|
+
* List of entry points
|
|
160
|
+
* @minLength `1`
|
|
161
|
+
* @maxLength `2`
|
|
162
|
+
*/
|
|
163
|
+
EntryPoint: string[];
|
|
164
|
+
/**
|
|
165
|
+
* Managed runtime types
|
|
166
|
+
*/
|
|
167
|
+
Runtime: AgentManagedRuntimeType;
|
|
168
|
+
};
|
|
119
169
|
/**
|
|
120
170
|
* Type definition for `AWS::BedrockAgentCore::Runtime.ContainerConfiguration`.
|
|
121
171
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-runtime-containerconfiguration.html}
|
|
@@ -157,6 +207,25 @@ export type CustomJWTAuthorizerConfiguration = {
|
|
|
157
207
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-runtime-environmentvariablesmap.html}
|
|
158
208
|
*/
|
|
159
209
|
export type EnvironmentVariablesMap = Record<string, string>;
|
|
210
|
+
/**
|
|
211
|
+
* Type definition for `AWS::BedrockAgentCore::Runtime.LifecycleConfiguration`.
|
|
212
|
+
* Configuration for managing the lifecycle of runtime sessions and resources
|
|
213
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-runtime-lifecycleconfiguration.html}
|
|
214
|
+
*/
|
|
215
|
+
export type LifecycleConfiguration = {
|
|
216
|
+
/**
|
|
217
|
+
* Timeout in seconds for idle runtime sessions
|
|
218
|
+
* @min `60`
|
|
219
|
+
* @max `28800`
|
|
220
|
+
*/
|
|
221
|
+
IdleRuntimeSessionTimeout?: number;
|
|
222
|
+
/**
|
|
223
|
+
* Maximum lifetime in seconds for runtime sessions
|
|
224
|
+
* @min `60`
|
|
225
|
+
* @max `28800`
|
|
226
|
+
*/
|
|
227
|
+
MaxLifetime?: number;
|
|
228
|
+
};
|
|
160
229
|
/**
|
|
161
230
|
* Type definition for `AWS::BedrockAgentCore::Runtime.NetworkConfiguration`.
|
|
162
231
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-runtime-networkconfiguration.html}
|
|
@@ -182,6 +251,43 @@ export type NetworkMode = "PUBLIC" | "VPC";
|
|
|
182
251
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-runtime-protocolconfiguration.html}
|
|
183
252
|
*/
|
|
184
253
|
export type ProtocolConfiguration = "MCP" | "HTTP" | "A2A";
|
|
254
|
+
/**
|
|
255
|
+
* Type definition for `AWS::BedrockAgentCore::Runtime.RequestHeaderConfiguration`.
|
|
256
|
+
* Configuration for HTTP request headers
|
|
257
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-runtime-requestheaderconfiguration.html}
|
|
258
|
+
*/
|
|
259
|
+
export type RequestHeaderConfiguration = {
|
|
260
|
+
/**
|
|
261
|
+
* List of allowed HTTP headers for agent runtime requests
|
|
262
|
+
* @minLength `1`
|
|
263
|
+
* @maxLength `20`
|
|
264
|
+
*/
|
|
265
|
+
RequestHeaderAllowlist?: string[];
|
|
266
|
+
};
|
|
267
|
+
/**
|
|
268
|
+
* Type definition for `AWS::BedrockAgentCore::Runtime.S3Location`.
|
|
269
|
+
* S3 Location Configuration
|
|
270
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-runtime-s3location.html}
|
|
271
|
+
*/
|
|
272
|
+
export type S3Location = {
|
|
273
|
+
/**
|
|
274
|
+
* S3 bucket name
|
|
275
|
+
* @pattern `^[a-z0-9][a-z0-9.-]{1,61}[a-z0-9]$`
|
|
276
|
+
*/
|
|
277
|
+
Bucket: string;
|
|
278
|
+
/**
|
|
279
|
+
* S3 object key prefix
|
|
280
|
+
* @minLength `1`
|
|
281
|
+
* @maxLength `1024`
|
|
282
|
+
*/
|
|
283
|
+
Prefix: string;
|
|
284
|
+
/**
|
|
285
|
+
* S3 object version ID
|
|
286
|
+
* @minLength `3`
|
|
287
|
+
* @maxLength `1024`
|
|
288
|
+
*/
|
|
289
|
+
VersionId?: string;
|
|
290
|
+
};
|
|
185
291
|
/**
|
|
186
292
|
* Type definition for `AWS::BedrockAgentCore::Runtime.TagsMap`.
|
|
187
293
|
* A map of tag keys and values
|