@awboost/cfn-resource-types 0.1.446 → 0.1.448

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.
@@ -0,0 +1,375 @@
1
+ import { Resource as $Resource } from "@awboost/cfn-template-builder/template/resource";
2
+ import type { ResourceOptions as $ResourceOptions } from "@awboost/cfn-template-builder/template";
3
+ /**
4
+ * Resource Type definition for AWS::BedrockAgentCore::Memory
5
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-memory.html}
6
+ */
7
+ export type BedrockAgentCoreMemoryProperties = {
8
+ /**
9
+ * Description of the Memory resource
10
+ */
11
+ Description?: string;
12
+ /**
13
+ * ARN format
14
+ * @pattern `^arn:aws:[a-z0-9-\.]{0,63}:[a-z0-9-\.]{0,63}:[a-z0-9-\.]{0,63}:[^/].{0,1023}$`
15
+ */
16
+ EncryptionKeyArn?: string;
17
+ /**
18
+ * Duration in days until memory events expire
19
+ * @min `7`
20
+ * @max `365`
21
+ */
22
+ EventExpiryDuration: number;
23
+ /**
24
+ * ARN format
25
+ * @pattern `^arn:aws:[a-z0-9-\.]{0,63}:[a-z0-9-\.]{0,63}:[a-z0-9-\.]{0,63}:[^/].{0,1023}$`
26
+ */
27
+ MemoryExecutionRoleArn?: string;
28
+ /**
29
+ * List of memory strategies attached to this memory
30
+ */
31
+ MemoryStrategies?: MemoryStrategy[];
32
+ /**
33
+ * Name of the Memory resource
34
+ * @pattern `^[a-zA-Z][a-zA-Z0-9_]{0,47}$`
35
+ */
36
+ Name: string;
37
+ /**
38
+ * A map of tag keys and values
39
+ */
40
+ Tags?: TagsMap;
41
+ };
42
+ /**
43
+ * Attribute type definition for `AWS::BedrockAgentCore::Memory`.
44
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-memory.html#aws-resource-bedrockagentcore-memory-return-values}
45
+ */
46
+ export type BedrockAgentCoreMemoryAttributes = {
47
+ CreatedAt: string;
48
+ FailureReason: string;
49
+ /**
50
+ * ARN of the Memory resource
51
+ * @pattern `^arn:aws:bedrock-agentcore:[a-z0-9-]+:[0-9]{12}:memory/[a-zA-Z][a-zA-Z0-9-_]{0,99}-[a-zA-Z0-9]{10}$`
52
+ */
53
+ MemoryArn: string;
54
+ /**
55
+ * Unique identifier for the Memory resource
56
+ * @minLength `12`
57
+ * @pattern `^[a-zA-Z][a-zA-Z0-9-_]{0,99}-[a-zA-Z0-9]{10}$`
58
+ */
59
+ MemoryId: string;
60
+ /**
61
+ * List of memory strategies attached to this memory
62
+ */
63
+ MemoryStrategies: {
64
+ CustomMemoryStrategy: {
65
+ /**
66
+ * Creation timestamp of the memory strategy
67
+ */
68
+ CreatedAt: string;
69
+ /**
70
+ * Status of the memory strategy
71
+ */
72
+ Status: "CREATING" | "ACTIVE" | "DELETING" | "FAILED";
73
+ /**
74
+ * Unique identifier for the memory strategy
75
+ * @minLength `12`
76
+ * @pattern `^[a-zA-Z][a-zA-Z0-9-_]{0,99}-[a-zA-Z0-9]{10}$`
77
+ */
78
+ StrategyId: string;
79
+ /**
80
+ * Type of memory strategy
81
+ */
82
+ Type: "SEMANTIC" | "SUMMARIZATION" | "USER_PREFERENCE" | "CUSTOM";
83
+ /**
84
+ * Last update timestamp of the memory strategy
85
+ */
86
+ UpdatedAt: string;
87
+ };
88
+ SemanticMemoryStrategy: {
89
+ /**
90
+ * Creation timestamp of the memory strategy
91
+ */
92
+ CreatedAt: string;
93
+ /**
94
+ * Status of the memory strategy
95
+ */
96
+ Status: "CREATING" | "ACTIVE" | "DELETING" | "FAILED";
97
+ /**
98
+ * Unique identifier for the memory strategy
99
+ * @minLength `12`
100
+ * @pattern `^[a-zA-Z][a-zA-Z0-9-_]{0,99}-[a-zA-Z0-9]{10}$`
101
+ */
102
+ StrategyId: string;
103
+ /**
104
+ * Type of memory strategy
105
+ */
106
+ Type: "SEMANTIC" | "SUMMARIZATION" | "USER_PREFERENCE" | "CUSTOM";
107
+ /**
108
+ * Last update timestamp of the memory strategy
109
+ */
110
+ UpdatedAt: string;
111
+ };
112
+ SummaryMemoryStrategy: {
113
+ /**
114
+ * Creation timestamp of the memory strategy
115
+ */
116
+ CreatedAt: string;
117
+ /**
118
+ * Status of the memory strategy
119
+ */
120
+ Status: "CREATING" | "ACTIVE" | "DELETING" | "FAILED";
121
+ /**
122
+ * Unique identifier for the memory strategy
123
+ * @minLength `12`
124
+ * @pattern `^[a-zA-Z][a-zA-Z0-9-_]{0,99}-[a-zA-Z0-9]{10}$`
125
+ */
126
+ StrategyId: string;
127
+ /**
128
+ * Type of memory strategy
129
+ */
130
+ Type: "SEMANTIC" | "SUMMARIZATION" | "USER_PREFERENCE" | "CUSTOM";
131
+ /**
132
+ * Last update timestamp of the memory strategy
133
+ */
134
+ UpdatedAt: string;
135
+ };
136
+ UserPreferenceMemoryStrategy: {
137
+ /**
138
+ * Creation timestamp of the memory strategy
139
+ */
140
+ CreatedAt: string;
141
+ /**
142
+ * Status of the memory strategy
143
+ */
144
+ Status: "CREATING" | "ACTIVE" | "DELETING" | "FAILED";
145
+ /**
146
+ * Unique identifier for the memory strategy
147
+ * @minLength `12`
148
+ * @pattern `^[a-zA-Z][a-zA-Z0-9-_]{0,99}-[a-zA-Z0-9]{10}$`
149
+ */
150
+ StrategyId: string;
151
+ /**
152
+ * Type of memory strategy
153
+ */
154
+ Type: "SEMANTIC" | "SUMMARIZATION" | "USER_PREFERENCE" | "CUSTOM";
155
+ /**
156
+ * Last update timestamp of the memory strategy
157
+ */
158
+ UpdatedAt: string;
159
+ };
160
+ }[];
161
+ /**
162
+ * Status of the Memory resource
163
+ */
164
+ Status: MemoryStatus;
165
+ UpdatedAt: string;
166
+ };
167
+ /**
168
+ * Type definition for `AWS::BedrockAgentCore::Memory.CustomConfigurationInput`.
169
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-memory-customconfigurationinput.html}
170
+ */
171
+ export type CustomConfigurationInput = {
172
+ SemanticOverride?: SemanticOverride;
173
+ SummaryOverride?: SummaryOverride;
174
+ UserPreferenceOverride?: UserPreferenceOverride;
175
+ };
176
+ /**
177
+ * Type definition for `AWS::BedrockAgentCore::Memory.CustomMemoryStrategy`.
178
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-memory-custommemorystrategy.html}
179
+ */
180
+ export type CustomMemoryStrategy = {
181
+ Configuration?: CustomConfigurationInput;
182
+ /**
183
+ * Description of the Memory resource
184
+ */
185
+ Description?: string;
186
+ /**
187
+ * Name of the Memory resource
188
+ * @pattern `^[a-zA-Z][a-zA-Z0-9_]{0,47}$`
189
+ */
190
+ Name: string;
191
+ /**
192
+ * List of namespaces for memory strategy
193
+ * @minLength `1`
194
+ */
195
+ Namespaces?: string[];
196
+ };
197
+ /**
198
+ * Type definition for `AWS::BedrockAgentCore::Memory.MemoryStatus`.
199
+ * Status of the Memory resource
200
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-memory-memorystatus.html}
201
+ */
202
+ export type MemoryStatus = "CREATING" | "ACTIVE" | "FAILED" | "DELETING";
203
+ /**
204
+ * Type definition for `AWS::BedrockAgentCore::Memory.MemoryStrategy`.
205
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-memory-memorystrategy.html}
206
+ */
207
+ export type MemoryStrategy = {
208
+ CustomMemoryStrategy?: CustomMemoryStrategy;
209
+ SemanticMemoryStrategy?: SemanticMemoryStrategy;
210
+ SummaryMemoryStrategy?: SummaryMemoryStrategy;
211
+ UserPreferenceMemoryStrategy?: UserPreferenceMemoryStrategy;
212
+ };
213
+ /**
214
+ * Type definition for `AWS::BedrockAgentCore::Memory.SemanticMemoryStrategy`.
215
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-memory-semanticmemorystrategy.html}
216
+ */
217
+ export type SemanticMemoryStrategy = {
218
+ /**
219
+ * Description of the Memory resource
220
+ */
221
+ Description?: string;
222
+ /**
223
+ * Name of the Memory resource
224
+ * @pattern `^[a-zA-Z][a-zA-Z0-9_]{0,47}$`
225
+ */
226
+ Name: string;
227
+ /**
228
+ * List of namespaces for memory strategy
229
+ * @minLength `1`
230
+ */
231
+ Namespaces?: string[];
232
+ };
233
+ /**
234
+ * Type definition for `AWS::BedrockAgentCore::Memory.SemanticOverride`.
235
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-memory-semanticoverride.html}
236
+ */
237
+ export type SemanticOverride = {
238
+ Consolidation?: SemanticOverrideConsolidationConfigurationInput;
239
+ Extraction?: SemanticOverrideExtractionConfigurationInput;
240
+ };
241
+ /**
242
+ * Type definition for `AWS::BedrockAgentCore::Memory.SemanticOverrideConsolidationConfigurationInput`.
243
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-memory-semanticoverrideconsolidationconfigurationinput.html}
244
+ */
245
+ export type SemanticOverrideConsolidationConfigurationInput = {
246
+ /**
247
+ * Text prompt for model instructions
248
+ * @minLength `1`
249
+ * @maxLength `30000`
250
+ */
251
+ AppendToPrompt: string;
252
+ ModelId: string;
253
+ };
254
+ /**
255
+ * Type definition for `AWS::BedrockAgentCore::Memory.SemanticOverrideExtractionConfigurationInput`.
256
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-memory-semanticoverrideextractionconfigurationinput.html}
257
+ */
258
+ export type SemanticOverrideExtractionConfigurationInput = {
259
+ /**
260
+ * Text prompt for model instructions
261
+ * @minLength `1`
262
+ * @maxLength `30000`
263
+ */
264
+ AppendToPrompt: string;
265
+ ModelId: string;
266
+ };
267
+ /**
268
+ * Type definition for `AWS::BedrockAgentCore::Memory.SummaryMemoryStrategy`.
269
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-memory-summarymemorystrategy.html}
270
+ */
271
+ export type SummaryMemoryStrategy = {
272
+ /**
273
+ * Description of the Memory resource
274
+ */
275
+ Description?: string;
276
+ /**
277
+ * Name of the Memory resource
278
+ * @pattern `^[a-zA-Z][a-zA-Z0-9_]{0,47}$`
279
+ */
280
+ Name: string;
281
+ /**
282
+ * List of namespaces for memory strategy
283
+ * @minLength `1`
284
+ */
285
+ Namespaces?: string[];
286
+ };
287
+ /**
288
+ * Type definition for `AWS::BedrockAgentCore::Memory.SummaryOverride`.
289
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-memory-summaryoverride.html}
290
+ */
291
+ export type SummaryOverride = {
292
+ Consolidation?: SummaryOverrideConsolidationConfigurationInput;
293
+ };
294
+ /**
295
+ * Type definition for `AWS::BedrockAgentCore::Memory.SummaryOverrideConsolidationConfigurationInput`.
296
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-memory-summaryoverrideconsolidationconfigurationinput.html}
297
+ */
298
+ export type SummaryOverrideConsolidationConfigurationInput = {
299
+ /**
300
+ * Text prompt for model instructions
301
+ * @minLength `1`
302
+ * @maxLength `30000`
303
+ */
304
+ AppendToPrompt: string;
305
+ ModelId: string;
306
+ };
307
+ /**
308
+ * Type definition for `AWS::BedrockAgentCore::Memory.TagsMap`.
309
+ * A map of tag keys and values
310
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-memory-tagsmap.html}
311
+ */
312
+ export type TagsMap = Record<string, string>;
313
+ /**
314
+ * Type definition for `AWS::BedrockAgentCore::Memory.UserPreferenceMemoryStrategy`.
315
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-memory-userpreferencememorystrategy.html}
316
+ */
317
+ export type UserPreferenceMemoryStrategy = {
318
+ /**
319
+ * Description of the Memory resource
320
+ */
321
+ Description?: string;
322
+ /**
323
+ * Name of the Memory resource
324
+ * @pattern `^[a-zA-Z][a-zA-Z0-9_]{0,47}$`
325
+ */
326
+ Name: string;
327
+ /**
328
+ * List of namespaces for memory strategy
329
+ * @minLength `1`
330
+ */
331
+ Namespaces?: string[];
332
+ };
333
+ /**
334
+ * Type definition for `AWS::BedrockAgentCore::Memory.UserPreferenceOverride`.
335
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-memory-userpreferenceoverride.html}
336
+ */
337
+ export type UserPreferenceOverride = {
338
+ Consolidation?: UserPreferenceOverrideConsolidationConfigurationInput;
339
+ Extraction?: UserPreferenceOverrideExtractionConfigurationInput;
340
+ };
341
+ /**
342
+ * Type definition for `AWS::BedrockAgentCore::Memory.UserPreferenceOverrideConsolidationConfigurationInput`.
343
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-memory-userpreferenceoverrideconsolidationconfigurationinput.html}
344
+ */
345
+ export type UserPreferenceOverrideConsolidationConfigurationInput = {
346
+ /**
347
+ * Text prompt for model instructions
348
+ * @minLength `1`
349
+ * @maxLength `30000`
350
+ */
351
+ AppendToPrompt: string;
352
+ ModelId: string;
353
+ };
354
+ /**
355
+ * Type definition for `AWS::BedrockAgentCore::Memory.UserPreferenceOverrideExtractionConfigurationInput`.
356
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-memory-userpreferenceoverrideextractionconfigurationinput.html}
357
+ */
358
+ export type UserPreferenceOverrideExtractionConfigurationInput = {
359
+ /**
360
+ * Text prompt for model instructions
361
+ * @minLength `1`
362
+ * @maxLength `30000`
363
+ */
364
+ AppendToPrompt: string;
365
+ ModelId: string;
366
+ };
367
+ /**
368
+ * Resource Type definition for AWS::BedrockAgentCore::Memory
369
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-memory.html}
370
+ */
371
+ export declare class BedrockAgentCoreMemory extends $Resource<"AWS::BedrockAgentCore::Memory", BedrockAgentCoreMemoryProperties, BedrockAgentCoreMemoryAttributes> {
372
+ static readonly Type = "AWS::BedrockAgentCore::Memory";
373
+ constructor(logicalId: string, properties: BedrockAgentCoreMemoryProperties, options?: $ResourceOptions);
374
+ }
375
+ //# sourceMappingURL=AWS-BedrockAgentCore-Memory.d.ts.map
@@ -0,0 +1,12 @@
1
+ import { Resource as $Resource } from "@awboost/cfn-template-builder/template/resource";
2
+ /**
3
+ * Resource Type definition for AWS::BedrockAgentCore::Memory
4
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-memory.html}
5
+ */
6
+ export class BedrockAgentCoreMemory extends $Resource {
7
+ static Type = "AWS::BedrockAgentCore::Memory";
8
+ constructor(logicalId, properties, options) {
9
+ super(logicalId, BedrockAgentCoreMemory.Type, properties, options);
10
+ }
11
+ }
12
+ //# sourceMappingURL=AWS-BedrockAgentCore-Memory.js.map
@@ -16,6 +16,13 @@ export type LogsDeliveryDestinationProperties = {
16
16
  Length Constraints: Maximum length of 51200
17
17
  */
18
18
  DeliveryDestinationPolicy?: DestinationPolicy;
19
+ /**
20
+ * Displays whether this delivery destination is CloudWatch Logs, Amazon S3, Kinesis Data Firehose, or XRay.
21
+ * @minLength `1`
22
+ * @maxLength `12`
23
+ * @pattern `^[0-9A-Za-z]+$`
24
+ */
25
+ DeliveryDestinationType?: string;
19
26
  /**
20
27
  * The ARN of the Amazon Web Services destination that this delivery destination represents. That Amazon Web Services destination can be a log group in CloudWatch Logs, an Amazon S3 bucket, or a delivery stream in Firehose.
21
28
  * @minLength `16`
@@ -54,13 +61,6 @@ export type LogsDeliveryDestinationAttributes = {
54
61
  * @pattern `[\w#+=/:,.@-]*\*?`
55
62
  */
56
63
  Arn: string;
57
- /**
58
- * Displays whether this delivery destination is CloudWatch Logs, Amazon S3, or Kinesis Data Firehose.
59
- * @minLength `1`
60
- * @maxLength `12`
61
- * @pattern `^[0-9A-Za-z]+$`
62
- */
63
- DeliveryDestinationType: string;
64
64
  };
65
65
  /**
66
66
  * Type definition for `AWS::Logs::DeliveryDestination.DestinationPolicy`.
@@ -11,6 +11,12 @@ export type LogsMetricFilterProperties = {
11
11
  If this value is ``true``, the metric filter is applied on the transformed version of the log events instead of the original ingested log events.
12
12
  */
13
13
  ApplyOnTransformedLogs?: boolean;
14
+ EmitSystemFieldDimensions?: string[];
15
+ /**
16
+ * @minLength `0`
17
+ * @maxLength `2000`
18
+ */
19
+ FieldSelectionCriteria?: string;
14
20
  /**
15
21
  * The name of the metric filter.
16
22
  * @minLength `1`
@@ -24,6 +24,12 @@ export type LogsSubscriptionFilterProperties = {
24
24
  * The method used to distribute log data to the destination, which can be either random or grouped by log stream.
25
25
  */
26
26
  Distribution?: "Random" | "ByLogStream";
27
+ EmitSystemFields?: string[];
28
+ /**
29
+ * @minLength `0`
30
+ * @maxLength `2000`
31
+ */
32
+ FieldSelectionCriteria?: string;
27
33
  /**
28
34
  * The name of the subscription filter.
29
35
  */
@@ -45,7 +45,7 @@ export type VpcLatticeAccessLogSubscriptionAttributes = {
45
45
  /**
46
46
  * @minLength `20`
47
47
  * @maxLength `2048`
48
- * @pattern `^arn(:[a-z0-9]+([.-][a-z0-9]+)*){2}(:([a-z0-9]+([.-][a-z0-9]+)*)?){2}:((servicenetwork/sn)|(service/svc))-[0-9a-z]{17}$`
48
+ * @pattern `^arn(:[a-z0-9]+([.-][a-z0-9]+)*){2}(:([a-z0-9]+([.-][a-z0-9]+)*)?){2}:((servicenetwork/sn)|(service/svc)|(resourceconfiguration/rcfg))-[0-9a-z]{17}$`
49
49
  */
50
50
  ResourceArn: string;
51
51
  /**
@@ -7,6 +7,10 @@ import type { ResourceOptions as $ResourceOptions } from "@awboost/cfn-template-
7
7
  */
8
8
  export type VpcLatticeResourceGatewayProperties = {
9
9
  IpAddressType?: "IPV4" | "IPV6" | "DUALSTACK";
10
+ /**
11
+ * The number of IPv4 addresses to allocate per ENI for the resource gateway
12
+ */
13
+ Ipv4AddressesPerEni?: number;
10
14
  /**
11
15
  * @minLength `3`
12
16
  * @maxLength `40`
@@ -10,7 +10,7 @@ export type VpcLatticeResourcePolicyProperties = {
10
10
  /**
11
11
  * @minLength `20`
12
12
  * @maxLength `200`
13
- * @pattern `^arn(:[a-z0-9]+([.-][a-z0-9]+)*){2}(:([a-z0-9]+([.-][a-z0-9]+)*)?){2}:((servicenetwork/sn)|(service/svc))-[0-9a-z]{17}$`
13
+ * @pattern `^arn(:[a-z0-9]+([.-][a-z0-9]+)*){2}(:([a-z0-9]+([.-][a-z0-9]+)*)?){2}:((servicenetwork/sn)|(service/svc)|(resourceconfiguration/rcfg))-[0-9a-z]{17}$`
14
14
  */
15
15
  ResourceArn: string;
16
16
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@awboost/cfn-resource-types",
3
- "version": "0.1.446",
3
+ "version": "0.1.448",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },