@awboost/cfn-resource-types 0.1.131 → 0.1.132

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.
@@ -66,6 +66,24 @@ export type BedrockDataSourceAttributes = {
66
66
  */
67
67
  UpdatedAt: string;
68
68
  };
69
+ /**
70
+ * Type definition for `AWS::Bedrock::DataSource.BedrockFoundationModelConfiguration`.
71
+ * Settings for a foundation model used to parse documents for a data source.
72
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-datasource-bedrockfoundationmodelconfiguration.html}
73
+ */
74
+ export type BedrockFoundationModelConfiguration = {
75
+ /**
76
+ * The model's ARN.
77
+ * @minLength `1`
78
+ * @maxLength `2048`
79
+ * @pattern `^arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}::foundation-model/([a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.]?[a-z0-9-]{1,63})([:][a-z0-9-]{1,63}){0,2})$`
80
+ */
81
+ ModelArn: string;
82
+ /**
83
+ * Instructions for interpreting the contents of a document.
84
+ */
85
+ ParsingPrompt?: ParsingPrompt;
86
+ };
69
87
  /**
70
88
  * Type definition for `AWS::Bedrock::DataSource.ChunkingConfiguration`.
71
89
  * Details about how to chunk the documents in the data source. A chunk refers to an excerpt from a data source that is returned when the knowledge base that it belongs to is queried.
@@ -80,13 +98,106 @@ export type ChunkingConfiguration = {
80
98
  * Configurations for when you choose fixed-size chunking. If you set the chunkingStrategy as NONE, exclude this field.
81
99
  */
82
100
  FixedSizeChunkingConfiguration?: FixedSizeChunkingConfiguration;
101
+ /**
102
+ * Configurations for when you choose hierarchical chunking. If you set the chunkingStrategy as NONE, exclude this field.
103
+ */
104
+ HierarchicalChunkingConfiguration?: HierarchicalChunkingConfiguration;
105
+ /**
106
+ * Configurations for when you choose semantic chunking. If you set the chunkingStrategy as NONE, exclude this field.
107
+ */
108
+ SemanticChunkingConfiguration?: SemanticChunkingConfiguration;
83
109
  };
84
110
  /**
85
111
  * Type definition for `AWS::Bedrock::DataSource.ChunkingStrategy`.
86
112
  * Knowledge base can split your source data into chunks. A chunk refers to an excerpt from a data source that is returned when the knowledge base that it belongs to is queried. You have the following options for chunking your data. If you opt for NONE, then you may want to pre-process your files by splitting them up such that each file corresponds to a chunk.
87
113
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-datasource-chunkingstrategy.html}
88
114
  */
89
- export type ChunkingStrategy = "FIXED_SIZE" | "NONE";
115
+ export type ChunkingStrategy = "FIXED_SIZE" | "NONE" | "HIERARCHICAL" | "SEMANTIC";
116
+ /**
117
+ * Type definition for `AWS::Bedrock::DataSource.ConfluenceCrawlerConfiguration`.
118
+ * The configuration of the Confluence content. For example, configuring specific types of Confluence content.
119
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-datasource-confluencecrawlerconfiguration.html}
120
+ */
121
+ export type ConfluenceCrawlerConfiguration = {
122
+ /**
123
+ * The type of filtering that you want to apply to certain objects or content of the data source. For example, the PATTERN type is regular expression patterns you can apply to filter your content.
124
+ */
125
+ FilterConfiguration?: CrawlFilterConfiguration;
126
+ };
127
+ /**
128
+ * Type definition for `AWS::Bedrock::DataSource.ConfluenceDataSourceConfiguration`.
129
+ * The configuration information to connect to Confluence as your data source.
130
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-datasource-confluencedatasourceconfiguration.html}
131
+ */
132
+ export type ConfluenceDataSourceConfiguration = {
133
+ /**
134
+ * The configuration of the Confluence content. For example, configuring specific types of Confluence content.
135
+ */
136
+ CrawlerConfiguration?: ConfluenceCrawlerConfiguration;
137
+ /**
138
+ * The endpoint information to connect to your Confluence data source.
139
+ */
140
+ SourceConfiguration: ConfluenceSourceConfiguration;
141
+ };
142
+ /**
143
+ * Type definition for `AWS::Bedrock::DataSource.ConfluenceSourceConfiguration`.
144
+ * The endpoint information to connect to your Confluence data source.
145
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-datasource-confluencesourceconfiguration.html}
146
+ */
147
+ export type ConfluenceSourceConfiguration = {
148
+ /**
149
+ * The supported authentication type to authenticate and connect to your Confluence instance.
150
+ */
151
+ AuthType: "BASIC" | "OAUTH2_CLIENT_CREDENTIALS";
152
+ /**
153
+ * The Amazon Resource Name of an AWS Secrets Manager secret that stores your authentication credentials for your Confluence instance URL. For more information on the key-value pairs that must be included in your secret, depending on your authentication type, see Confluence connection configuration.
154
+ * @pattern `^arn:aws(|-cn|-us-gov):secretsmanager:[a-z0-9-]{1,20}:([0-9]{12}|):secret:[a-zA-Z0-9!/_+=.@-]{1,512}$`
155
+ */
156
+ CredentialsSecretArn: string;
157
+ /**
158
+ * The supported host type, whether online/cloud or server/on-premises.
159
+ */
160
+ HostType: "SAAS";
161
+ /**
162
+ * The Confluence host URL or instance URL.
163
+ * @minLength `1`
164
+ * @maxLength `2048`
165
+ * @pattern `^https://[A-Za-z0-9][^\s]*$`
166
+ */
167
+ HostUrl: string;
168
+ };
169
+ /**
170
+ * Type definition for `AWS::Bedrock::DataSource.CrawlFilterConfiguration`.
171
+ * The type of filtering that you want to apply to certain objects or content of the data source. For example, the PATTERN type is regular expression patterns you can apply to filter your content.
172
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-datasource-crawlfilterconfiguration.html}
173
+ */
174
+ export type CrawlFilterConfiguration = {
175
+ /**
176
+ * The configuration of specific filters applied to your data source content. You can filter out or include certain content.
177
+ */
178
+ PatternObjectFilter?: PatternObjectFilterConfiguration;
179
+ /**
180
+ * The crawl filter type.
181
+ */
182
+ Type: "PATTERN";
183
+ };
184
+ /**
185
+ * Type definition for `AWS::Bedrock::DataSource.CustomTransformationConfiguration`.
186
+ * Settings for customizing steps in the data source content ingestion pipeline.
187
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-datasource-customtransformationconfiguration.html}
188
+ */
189
+ export type CustomTransformationConfiguration = {
190
+ /**
191
+ * A location for storing content from data sources temporarily as it is processed by custom components in the ingestion pipeline.
192
+ */
193
+ IntermediateStorage: IntermediateStorage;
194
+ /**
195
+ * A list of Lambda functions that process documents.
196
+ * @minLength `1`
197
+ * @maxLength `1`
198
+ */
199
+ Transformations: Transformation[];
200
+ };
90
201
  /**
91
202
  * Type definition for `AWS::Bedrock::DataSource.DataDeletionPolicy`.
92
203
  * The deletion policy for the data source.
@@ -100,13 +211,29 @@ export type DataDeletionPolicy = "RETAIN" | "DELETE";
100
211
  */
101
212
  export type DataSourceConfiguration = {
102
213
  /**
103
- * Contains information about the S3 configuration of the data source.
214
+ * The configuration information to connect to Confluence as your data source.
215
+ */
216
+ ConfluenceConfiguration?: ConfluenceDataSourceConfiguration;
217
+ /**
218
+ * The configuration information to connect to Amazon S3 as your data source.
104
219
  */
105
- S3Configuration: S3DataSourceConfiguration;
220
+ S3Configuration?: S3DataSourceConfiguration;
221
+ /**
222
+ * The configuration information to connect to Salesforce as your data source.
223
+ */
224
+ SalesforceConfiguration?: SalesforceDataSourceConfiguration;
225
+ /**
226
+ * The configuration information to connect to SharePoint as your data source.
227
+ */
228
+ SharePointConfiguration?: SharePointDataSourceConfiguration;
106
229
  /**
107
230
  * The type of the data source location.
108
231
  */
109
232
  Type: DataSourceType;
233
+ /**
234
+ * Configures a web data source location.
235
+ */
236
+ WebConfiguration?: WebDataSourceConfiguration;
110
237
  };
111
238
  /**
112
239
  * Type definition for `AWS::Bedrock::DataSource.DataSourceStatus`.
@@ -119,7 +246,7 @@ export type DataSourceStatus = "AVAILABLE" | "DELETING" | "DELETE_UNSUCCESSFUL";
119
246
  * The type of the data source location.
120
247
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-datasource-datasourcetype.html}
121
248
  */
122
- export type DataSourceType = "S3";
249
+ export type DataSourceType = "S3" | "CONFLUENCE" | "SALESFORCE" | "SHAREPOINT" | "WEB";
123
250
  /**
124
251
  * Type definition for `AWS::Bedrock::DataSource.FixedSizeChunkingConfiguration`.
125
252
  * Configurations for when you choose fixed-size chunking. If you set the chunkingStrategy as NONE, exclude this field.
@@ -138,9 +265,123 @@ export type FixedSizeChunkingConfiguration = {
138
265
  */
139
266
  OverlapPercentage: number;
140
267
  };
268
+ /**
269
+ * Type definition for `AWS::Bedrock::DataSource.HierarchicalChunkingConfiguration`.
270
+ * Configurations for when you choose hierarchical chunking. If you set the chunkingStrategy as NONE, exclude this field.
271
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-datasource-hierarchicalchunkingconfiguration.html}
272
+ */
273
+ export type HierarchicalChunkingConfiguration = {
274
+ /**
275
+ * Token settings for each layer.
276
+ * @minLength `2`
277
+ * @maxLength `2`
278
+ */
279
+ LevelConfigurations: HierarchicalChunkingLevelConfiguration[];
280
+ /**
281
+ * The number of tokens to repeat across chunks in the same layer.
282
+ * @min `1`
283
+ */
284
+ OverlapTokens: number;
285
+ };
286
+ /**
287
+ * Type definition for `AWS::Bedrock::DataSource.HierarchicalChunkingLevelConfiguration`.
288
+ * Token settings for a layer in a hierarchical chunking configuration.
289
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-datasource-hierarchicalchunkinglevelconfiguration.html}
290
+ */
291
+ export type HierarchicalChunkingLevelConfiguration = {
292
+ /**
293
+ * The maximum number of tokens that a chunk can contain in this layer.
294
+ * @min `1`
295
+ * @max `8192`
296
+ */
297
+ MaxTokens: number;
298
+ };
299
+ /**
300
+ * Type definition for `AWS::Bedrock::DataSource.IntermediateStorage`.
301
+ * A location for storing content from data sources temporarily as it is processed by custom components in the ingestion pipeline.
302
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-datasource-intermediatestorage.html}
303
+ */
304
+ export type IntermediateStorage = {
305
+ /**
306
+ * An Amazon S3 location.
307
+ */
308
+ S3Location: S3Location;
309
+ };
310
+ /**
311
+ * Type definition for `AWS::Bedrock::DataSource.ParsingConfiguration`.
312
+ * Settings for parsing document contents
313
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-datasource-parsingconfiguration.html}
314
+ */
315
+ export type ParsingConfiguration = {
316
+ /**
317
+ * Settings for a foundation model used to parse documents for a data source.
318
+ */
319
+ BedrockFoundationModelConfiguration?: BedrockFoundationModelConfiguration;
320
+ /**
321
+ * The parsing strategy for the data source.
322
+ */
323
+ ParsingStrategy: ParsingStrategy;
324
+ };
325
+ /**
326
+ * Type definition for `AWS::Bedrock::DataSource.ParsingPrompt`.
327
+ * Instructions for interpreting the contents of a document.
328
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-datasource-parsingprompt.html}
329
+ */
330
+ export type ParsingPrompt = {
331
+ /**
332
+ * Instructions for interpreting the contents of a document.
333
+ * @minLength `1`
334
+ * @maxLength `10000`
335
+ */
336
+ ParsingPromptText: string;
337
+ };
338
+ /**
339
+ * Type definition for `AWS::Bedrock::DataSource.ParsingStrategy`.
340
+ * The parsing strategy for the data source.
341
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-datasource-parsingstrategy.html}
342
+ */
343
+ export type ParsingStrategy = "BEDROCK_FOUNDATION_MODEL";
344
+ /**
345
+ * Type definition for `AWS::Bedrock::DataSource.PatternObjectFilter`.
346
+ * The specific filters applied to your data source content. You can filter out or include certain content.
347
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-datasource-patternobjectfilter.html}
348
+ */
349
+ export type PatternObjectFilter = {
350
+ /**
351
+ * A set of regular expression filter patterns for a type of object.
352
+ * @minLength `1`
353
+ * @maxLength `25`
354
+ */
355
+ ExclusionFilters?: string[];
356
+ /**
357
+ * A set of regular expression filter patterns for a type of object.
358
+ * @minLength `1`
359
+ * @maxLength `25`
360
+ */
361
+ InclusionFilters?: string[];
362
+ /**
363
+ * The supported object type or content type of the data source.
364
+ * @minLength `1`
365
+ * @maxLength `50`
366
+ */
367
+ ObjectType: string;
368
+ };
369
+ /**
370
+ * Type definition for `AWS::Bedrock::DataSource.PatternObjectFilterConfiguration`.
371
+ * The configuration of specific filters applied to your data source content. You can filter out or include certain content.
372
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-datasource-patternobjectfilterconfiguration.html}
373
+ */
374
+ export type PatternObjectFilterConfiguration = {
375
+ /**
376
+ * Contains information
377
+ * @minLength `1`
378
+ * @maxLength `25`
379
+ */
380
+ Filters: PatternObjectFilter[];
381
+ };
141
382
  /**
142
383
  * Type definition for `AWS::Bedrock::DataSource.S3DataSourceConfiguration`.
143
- * Contains information about the S3 configuration of the data source.
384
+ * The configuration information to connect to Amazon S3 as your data source.
144
385
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-datasource-s3datasourceconfiguration.html}
145
386
  */
146
387
  export type S3DataSourceConfiguration = {
@@ -165,6 +406,105 @@ export type S3DataSourceConfiguration = {
165
406
  */
166
407
  InclusionPrefixes?: string[];
167
408
  };
409
+ /**
410
+ * Type definition for `AWS::Bedrock::DataSource.S3Location`.
411
+ * An Amazon S3 location.
412
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-datasource-s3location.html}
413
+ */
414
+ export type S3Location = {
415
+ /**
416
+ * The location's URI
417
+ * @minLength `1`
418
+ * @maxLength `2048`
419
+ * @pattern `^s3://.{1,128}$`
420
+ */
421
+ URI: string;
422
+ };
423
+ /**
424
+ * Type definition for `AWS::Bedrock::DataSource.SalesforceCrawlerConfiguration`.
425
+ * The configuration of filtering the Salesforce content. For example, configuring regular expression patterns to include or exclude certain content.
426
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-datasource-salesforcecrawlerconfiguration.html}
427
+ */
428
+ export type SalesforceCrawlerConfiguration = {
429
+ /**
430
+ * The type of filtering that you want to apply to certain objects or content of the data source. For example, the PATTERN type is regular expression patterns you can apply to filter your content.
431
+ */
432
+ FilterConfiguration?: CrawlFilterConfiguration;
433
+ };
434
+ /**
435
+ * Type definition for `AWS::Bedrock::DataSource.SalesforceDataSourceConfiguration`.
436
+ * The configuration information to connect to Salesforce as your data source.
437
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-datasource-salesforcedatasourceconfiguration.html}
438
+ */
439
+ export type SalesforceDataSourceConfiguration = {
440
+ /**
441
+ * The configuration of filtering the Salesforce content. For example, configuring regular expression patterns to include or exclude certain content.
442
+ */
443
+ CrawlerConfiguration?: SalesforceCrawlerConfiguration;
444
+ /**
445
+ * The endpoint information to connect to your Salesforce data source.
446
+ */
447
+ SourceConfiguration: SalesforceSourceConfiguration;
448
+ };
449
+ /**
450
+ * Type definition for `AWS::Bedrock::DataSource.SalesforceSourceConfiguration`.
451
+ * The endpoint information to connect to your Salesforce data source.
452
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-datasource-salesforcesourceconfiguration.html}
453
+ */
454
+ export type SalesforceSourceConfiguration = {
455
+ /**
456
+ * The supported authentication type to authenticate and connect to your Salesforce instance.
457
+ */
458
+ AuthType: "OAUTH2_CLIENT_CREDENTIALS";
459
+ /**
460
+ * The Amazon Resource Name of an AWS Secrets Manager secret that stores your authentication credentials for your Salesforce instance URL. For more information on the key-value pairs that must be included in your secret, depending on your authentication type, see Salesforce connection configuration.
461
+ * @pattern `^arn:aws(|-cn|-us-gov):secretsmanager:[a-z0-9-]{1,20}:([0-9]{12}|):secret:[a-zA-Z0-9!/_+=.@-]{1,512}$`
462
+ */
463
+ CredentialsSecretArn: string;
464
+ /**
465
+ * The Salesforce host URL or instance URL.
466
+ * @minLength `1`
467
+ * @maxLength `2048`
468
+ * @pattern `^https://[A-Za-z0-9][^\s]*$`
469
+ */
470
+ HostUrl: string;
471
+ };
472
+ /**
473
+ * Type definition for `AWS::Bedrock::DataSource.SeedUrl`.
474
+ * A seed url object.
475
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-datasource-seedurl.html}
476
+ */
477
+ export type SeedUrl = {
478
+ /**
479
+ * A web url.
480
+ * @pattern `^https?://[A-Za-z0-9][^\s]*$`
481
+ */
482
+ Url: string;
483
+ };
484
+ /**
485
+ * Type definition for `AWS::Bedrock::DataSource.SemanticChunkingConfiguration`.
486
+ * Configurations for when you choose semantic chunking. If you set the chunkingStrategy as NONE, exclude this field.
487
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-datasource-semanticchunkingconfiguration.html}
488
+ */
489
+ export type SemanticChunkingConfiguration = {
490
+ /**
491
+ * The dissimilarity threshold for splitting chunks.
492
+ * @min `50`
493
+ * @max `99`
494
+ */
495
+ BreakpointPercentileThreshold: number;
496
+ /**
497
+ * The buffer size.
498
+ * @min `0`
499
+ * @max `1`
500
+ */
501
+ BufferSize: number;
502
+ /**
503
+ * The maximum number of tokens that a chunk can contain.
504
+ * @min `1`
505
+ */
506
+ MaxTokens: number;
507
+ };
168
508
  /**
169
509
  * Type definition for `AWS::Bedrock::DataSource.ServerSideEncryptionConfiguration`.
170
510
  * Contains details about the server-side encryption for the data source.
@@ -179,6 +519,122 @@ export type ServerSideEncryptionConfiguration = {
179
519
  */
180
520
  KmsKeyArn?: string;
181
521
  };
522
+ /**
523
+ * Type definition for `AWS::Bedrock::DataSource.SharePointCrawlerConfiguration`.
524
+ * The configuration of the SharePoint content. For example, configuring specific types of SharePoint content.
525
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-datasource-sharepointcrawlerconfiguration.html}
526
+ */
527
+ export type SharePointCrawlerConfiguration = {
528
+ /**
529
+ * The type of filtering that you want to apply to certain objects or content of the data source. For example, the PATTERN type is regular expression patterns you can apply to filter your content.
530
+ */
531
+ FilterConfiguration?: CrawlFilterConfiguration;
532
+ };
533
+ /**
534
+ * Type definition for `AWS::Bedrock::DataSource.SharePointDataSourceConfiguration`.
535
+ * The configuration information to connect to SharePoint as your data source.
536
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-datasource-sharepointdatasourceconfiguration.html}
537
+ */
538
+ export type SharePointDataSourceConfiguration = {
539
+ /**
540
+ * The configuration of the SharePoint content. For example, configuring specific types of SharePoint content.
541
+ */
542
+ CrawlerConfiguration?: SharePointCrawlerConfiguration;
543
+ /**
544
+ * The endpoint information to connect to your SharePoint data source.
545
+ */
546
+ SourceConfiguration: SharePointSourceConfiguration;
547
+ };
548
+ /**
549
+ * Type definition for `AWS::Bedrock::DataSource.SharePointSourceConfiguration`.
550
+ * The endpoint information to connect to your SharePoint data source.
551
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-datasource-sharepointsourceconfiguration.html}
552
+ */
553
+ export type SharePointSourceConfiguration = {
554
+ /**
555
+ * The supported authentication type to authenticate and connect to your SharePoint site/sites.
556
+ */
557
+ AuthType: "OAUTH2_CLIENT_CREDENTIALS";
558
+ /**
559
+ * The Amazon Resource Name of an AWS Secrets Manager secret that stores your authentication credentials for your SharePoint site/sites. For more information on the key-value pairs that must be included in your secret, depending on your authentication type, see SharePoint connection configuration.
560
+ * @pattern `^arn:aws(|-cn|-us-gov):secretsmanager:[a-z0-9-]{1,20}:([0-9]{12}|):secret:[a-zA-Z0-9!/_+=.@-]{1,512}$`
561
+ */
562
+ CredentialsSecretArn: string;
563
+ /**
564
+ * The domain of your SharePoint instance or site URL/URLs.
565
+ * @minLength `1`
566
+ * @maxLength `50`
567
+ */
568
+ Domain: string;
569
+ /**
570
+ * The supported host type, whether online/cloud or server/on-premises.
571
+ */
572
+ HostType: "ONLINE";
573
+ /**
574
+ * A list of one or more SharePoint site URLs.
575
+ * @minLength `1`
576
+ * @maxLength `100`
577
+ */
578
+ SiteUrls: string[];
579
+ /**
580
+ * The identifier of your Microsoft 365 tenant.
581
+ * @pattern `^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$`
582
+ */
583
+ TenantId?: string;
584
+ };
585
+ /**
586
+ * Type definition for `AWS::Bedrock::DataSource.Transformation`.
587
+ * A Lambda function that processes documents.
588
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-datasource-transformation.html}
589
+ */
590
+ export type Transformation = {
591
+ /**
592
+ * When the service applies the transformation.
593
+ */
594
+ StepToApply: "POST_CHUNKING";
595
+ /**
596
+ * A Lambda function that processes documents.
597
+ */
598
+ TransformationFunction: TransformationFunction;
599
+ };
600
+ /**
601
+ * Type definition for `AWS::Bedrock::DataSource.TransformationFunction`.
602
+ * A Lambda function that processes documents.
603
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-datasource-transformationfunction.html}
604
+ */
605
+ export type TransformationFunction = {
606
+ /**
607
+ * A Lambda function that processes documents.
608
+ */
609
+ TransformationLambdaConfiguration: TransformationLambdaConfiguration;
610
+ };
611
+ /**
612
+ * Type definition for `AWS::Bedrock::DataSource.TransformationLambdaConfiguration`.
613
+ * A Lambda function that processes documents.
614
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-datasource-transformationlambdaconfiguration.html}
615
+ */
616
+ export type TransformationLambdaConfiguration = {
617
+ /**
618
+ * The function's ARN identifier.
619
+ * @minLength `0`
620
+ * @maxLength `2048`
621
+ * @pattern `^arn:(aws[a-zA-Z-]*)?:lambda:[a-z]{2}(-gov)?-[a-z]+-\d{1}:\d{12}:function:[a-zA-Z0-9-_\.]+(:(\$LATEST|[a-zA-Z0-9-_]+))?$`
622
+ */
623
+ LambdaArn: string;
624
+ };
625
+ /**
626
+ * Type definition for `AWS::Bedrock::DataSource.UrlConfiguration`.
627
+ * A url configuration.
628
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-datasource-urlconfiguration.html}
629
+ */
630
+ export type UrlConfiguration = {
631
+ /**
632
+ * A list of web urls.
633
+ * @minLength `1`
634
+ * @maxLength `100`
635
+ */
636
+ SeedUrls: SeedUrl[];
637
+ };
182
638
  /**
183
639
  * Type definition for `AWS::Bedrock::DataSource.VectorIngestionConfiguration`.
184
640
  * Details about how to chunk the documents in the data source. A chunk refers to an excerpt from a data source that is returned when the knowledge base that it belongs to is queried.
@@ -189,6 +645,86 @@ export type VectorIngestionConfiguration = {
189
645
  * Details about how to chunk the documents in the data source. A chunk refers to an excerpt from a data source that is returned when the knowledge base that it belongs to is queried.
190
646
  */
191
647
  ChunkingConfiguration?: ChunkingConfiguration;
648
+ /**
649
+ * Settings for customizing steps in the data source content ingestion pipeline.
650
+ */
651
+ CustomTransformationConfiguration?: CustomTransformationConfiguration;
652
+ /**
653
+ * Settings for parsing document contents
654
+ */
655
+ ParsingConfiguration?: ParsingConfiguration;
656
+ };
657
+ /**
658
+ * Type definition for `AWS::Bedrock::DataSource.WebCrawlerConfiguration`.
659
+ * Configuration for the web crawler.
660
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-datasource-webcrawlerconfiguration.html}
661
+ */
662
+ export type WebCrawlerConfiguration = {
663
+ /**
664
+ * Limit settings for the web crawler.
665
+ */
666
+ CrawlerLimits?: WebCrawlerLimits;
667
+ /**
668
+ * A set of regular expression filter patterns for a type of object.
669
+ * @minLength `1`
670
+ * @maxLength `25`
671
+ */
672
+ ExclusionFilters?: string[];
673
+ /**
674
+ * A set of regular expression filter patterns for a type of object.
675
+ * @minLength `1`
676
+ * @maxLength `25`
677
+ */
678
+ InclusionFilters?: string[];
679
+ /**
680
+ * The scope that a web crawl job will be restricted to.
681
+ */
682
+ Scope?: WebScopeType;
683
+ };
684
+ /**
685
+ * Type definition for `AWS::Bedrock::DataSource.WebCrawlerLimits`.
686
+ * Limit settings for the web crawler.
687
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-datasource-webcrawlerlimits.html}
688
+ */
689
+ export type WebCrawlerLimits = {
690
+ /**
691
+ * Rate of web URLs retrieved per minute.
692
+ * @min `1`
693
+ * @max `300`
694
+ */
695
+ RateLimit?: number;
696
+ };
697
+ /**
698
+ * Type definition for `AWS::Bedrock::DataSource.WebDataSourceConfiguration`.
699
+ * Configures a web data source location.
700
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-datasource-webdatasourceconfiguration.html}
701
+ */
702
+ export type WebDataSourceConfiguration = {
703
+ /**
704
+ * Configuration for the web crawler.
705
+ */
706
+ CrawlerConfiguration?: WebCrawlerConfiguration;
707
+ /**
708
+ * A web source configuration.
709
+ */
710
+ SourceConfiguration: WebSourceConfiguration;
711
+ };
712
+ /**
713
+ * Type definition for `AWS::Bedrock::DataSource.WebScopeType`.
714
+ * The scope that a web crawl job will be restricted to.
715
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-datasource-webscopetype.html}
716
+ */
717
+ export type WebScopeType = "HOST_ONLY" | "SUBDOMAINS";
718
+ /**
719
+ * Type definition for `AWS::Bedrock::DataSource.WebSourceConfiguration`.
720
+ * A web source configuration.
721
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-datasource-websourceconfiguration.html}
722
+ */
723
+ export type WebSourceConfiguration = {
724
+ /**
725
+ * A url configuration.
726
+ */
727
+ UrlConfiguration: UrlConfiguration;
192
728
  };
193
729
  /**
194
730
  * Definition of AWS::Bedrock::DataSource Resource Type
@@ -34,6 +34,14 @@ export type EC2SubnetCidrBlockAttributes = {
34
34
  * Information about the IPv6 association.
35
35
  */
36
36
  Id: string;
37
+ /**
38
+ * The IP Source of an IPv6 Subnet CIDR Block.
39
+ */
40
+ IpSource: string;
41
+ /**
42
+ * The value denoting whether an IPv6 Subnet CIDR Block is public or private.
43
+ */
44
+ Ipv6AddressAttribute: string;
37
45
  };
38
46
  /**
39
47
  * The AWS::EC2::SubnetCidrBlock resource creates association between subnet and IPv6 CIDR
@@ -1,9 +1,8 @@
1
1
  import { Resource as $Resource } from "@awboost/cfn-template-builder/template/resource";
2
2
  import type { ResourceOptions as $ResourceOptions } from "@awboost/cfn-template-builder/template";
3
3
  /**
4
- * Resource type definition for `AWS::EC2::VPC`.
5
4
  * Specifies a virtual private cloud (VPC).
6
- You can optionally request an IPv6 CIDR block for the VPC. You can request an Amazon-provided IPv6 CIDR block from Amazon's pool of IPv6 addresses, or an IPv6 CIDR block from an IPv6 address pool that you provisioned through bring your own IP addresses (BYOIP).
5
+ To add an IPv6 CIDR block to the VPC, see [AWS::EC2::VPCCidrBlock](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpccidrblock.html).
7
6
  For more information, see [Virtual private clouds (VPC)](https://docs.aws.amazon.com/vpc/latest/userguide/configure-your-vpc.html) in the *Amazon VPC User Guide*.
8
7
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpc.html}
9
8
  */
@@ -24,8 +23,8 @@ export type EC2VPCProperties = {
24
23
  EnableDnsSupport?: boolean;
25
24
  /**
26
25
  * The allowed tenancy of instances launched into the VPC.
27
- + ``default``: An instance launched into the VPC runs on shared hardware by default, unless you explicitly specify a different tenancy during instance launch.
28
- + ``dedicated``: An instance launched into the VPC runs on dedicated hardware by default, unless you explicitly specify a tenancy of ``host`` during instance launch. You cannot specify a tenancy of ``default`` during instance launch.
26
+ + ``default``: An instance launched into the VPC runs on shared hardware by default, unless you explicitly specify a different tenancy during instance launch.
27
+ + ``dedicated``: An instance launched into the VPC runs on dedicated hardware by default, unless you explicitly specify a tenancy of ``host`` during instance launch. You cannot specify a tenancy of ``default`` during instance launch.
29
28
 
30
29
  Updating ``InstanceTenancy`` requires no replacement only if you are updating its value from ``dedicated`` to ``default``. Updating ``InstanceTenancy`` from ``default`` to ``dedicated`` requires replacement.
31
30
  */
@@ -71,9 +70,8 @@ export type Tag = {
71
70
  Value: string;
72
71
  };
73
72
  /**
74
- * Resource type definition for `AWS::EC2::VPC`.
75
73
  * Specifies a virtual private cloud (VPC).
76
- You can optionally request an IPv6 CIDR block for the VPC. You can request an Amazon-provided IPv6 CIDR block from Amazon's pool of IPv6 addresses, or an IPv6 CIDR block from an IPv6 address pool that you provisioned through bring your own IP addresses (BYOIP).
74
+ To add an IPv6 CIDR block to the VPC, see [AWS::EC2::VPCCidrBlock](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpccidrblock.html).
77
75
  For more information, see [Virtual private clouds (VPC)](https://docs.aws.amazon.com/vpc/latest/userguide/configure-your-vpc.html) in the *Amazon VPC User Guide*.
78
76
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpc.html}
79
77
  */
@@ -1,8 +1,7 @@
1
1
  import { Resource as $Resource } from "@awboost/cfn-template-builder/template/resource";
2
2
  /**
3
- * Resource type definition for `AWS::EC2::VPC`.
4
3
  * Specifies a virtual private cloud (VPC).
5
- You can optionally request an IPv6 CIDR block for the VPC. You can request an Amazon-provided IPv6 CIDR block from Amazon's pool of IPv6 addresses, or an IPv6 CIDR block from an IPv6 address pool that you provisioned through bring your own IP addresses (BYOIP).
4
+ To add an IPv6 CIDR block to the VPC, see [AWS::EC2::VPCCidrBlock](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpccidrblock.html).
6
5
  For more information, see [Virtual private clouds (VPC)](https://docs.aws.amazon.com/vpc/latest/userguide/configure-your-vpc.html) in the *Amazon VPC User Guide*.
7
6
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpc.html}
8
7
  */
@@ -83,6 +83,12 @@ export type LambdaEventSourceMappingProperties = {
83
83
  Valid Values: ``ReportBatchItemFailures``
84
84
  */
85
85
  FunctionResponseTypes?: "ReportBatchItemFailures"[];
86
+ /**
87
+ * @minLength `12`
88
+ * @maxLength `2048`
89
+ * @pattern `(arn:(aws[a-zA-Z-]*)?:[a-z0-9-.]+:.*)|()`
90
+ */
91
+ KmsKeyArn?: string;
86
92
  /**
87
93
  * The maximum amount of time, in seconds, that Lambda spends gathering records before invoking the function.
88
94
  *Default (, , event sources)*: 0
@@ -33,7 +33,7 @@ export type SignerSigningProfileAttributes = {
33
33
  * A name for the signing profile. If you don't specify a name, AWS CloudFormation generates a unique physical ID and uses that ID for the signing profile name.
34
34
  * @minLength `2`
35
35
  * @maxLength `64`
36
- * @pattern `^[0-9a-zA-Z_]$`
36
+ * @pattern `^[0-9a-zA-Z_]{2,64}$`
37
37
  */
38
38
  ProfileName: string;
39
39
  /**
@@ -6,14 +6,19 @@ import type { ResourceOptions as $ResourceOptions } from "@awboost/cfn-template-
6
6
  */
7
7
  export type SystemsManagerSAPApplicationProperties = {
8
8
  /**
9
- * @pattern `[\w\d]{1,50}`
9
+ * @pattern `[\w\d\.-]{1,60}`
10
10
  */
11
11
  ApplicationId: string;
12
- ApplicationType: "HANA";
12
+ ApplicationType: "HANA" | "SAP_ABAP";
13
13
  /**
14
14
  * @minLength `1`
15
15
  */
16
16
  Credentials?: Credential[];
17
+ /**
18
+ * The ARN of the SAP HANA database
19
+ * @pattern `^arn:(.+:){2,4}.+$|^arn:(.+:){1,3}.+\/.+$`
20
+ */
21
+ DatabaseArn?: string;
17
22
  /**
18
23
  * @minLength `1`
19
24
  */
@@ -37,7 +42,7 @@ export type SystemsManagerSAPApplicationProperties = {
37
42
  */
38
43
  export type SystemsManagerSAPApplicationAttributes = {
39
44
  /**
40
- * The ARN of the Helix application
45
+ * The ARN of the SSM-SAP application
41
46
  * @pattern `^arn:(.+:){2,4}.+$|^arn:(.+:){1,3}.+\/.+$`
42
47
  */
43
48
  Arn: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@awboost/cfn-resource-types",
3
- "version": "0.1.131",
3
+ "version": "0.1.132",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },