@awboost/cfn-resource-types 0.1.131 → 0.1.133

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.
@@ -1,27 +1,82 @@
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::ApiGatewayV2::Integration
4
+ * Resource type definition for `AWS::ApiGatewayV2::Integration`.
5
+ * An example resource schema demonstrating some basic constructs and validation rules.
5
6
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-integration.html}
6
7
  */
7
8
  export type ApiGatewayV2IntegrationProperties = {
9
+ /**
10
+ * The API identifier.
11
+ */
8
12
  ApiId: string;
13
+ /**
14
+ * The ID of the VPC link for a private integration. Supported only for HTTP APIs.
15
+ */
9
16
  ConnectionId?: string;
17
+ /**
18
+ * The type of the network connection to the integration endpoint. Specify INTERNET for connections through the public routable internet or VPC_LINK for private connections between API Gateway and resources in a VPC. The default value is INTERNET.
19
+ */
10
20
  ConnectionType?: string;
21
+ /**
22
+ * Supported only for WebSocket APIs. Specifies how to handle response payload content type conversions. Supported values are CONVERT_TO_BINARY and CONVERT_TO_TEXT.
23
+ */
11
24
  ContentHandlingStrategy?: string;
25
+ /**
26
+ * Specifies the credentials required for the integration, if any. For AWS integrations, three options are available. To specify an IAM Role for API Gateway to assume, use the role's Amazon Resource Name (ARN). To require that the caller's identity be passed through from the request, specify the string arn:aws:iam::*:user/*. To use resource-based permissions on supported AWS services, don't specify this parameter.
27
+ */
12
28
  CredentialsArn?: string;
29
+ /**
30
+ * The description of the integration.
31
+ */
13
32
  Description?: string;
33
+ /**
34
+ * Specifies the integration's HTTP method type.
35
+ */
14
36
  IntegrationMethod?: string;
37
+ /**
38
+ * Supported only for HTTP API AWS_PROXY integrations. Specifies the AWS service action to invoke.
39
+ */
15
40
  IntegrationSubtype?: string;
41
+ /**
42
+ * The integration type of an integration.
43
+ */
16
44
  IntegrationType: string;
45
+ /**
46
+ * For a Lambda integration, specify the URI of a Lambda function. For an HTTP integration, specify a fully-qualified URL. For an HTTP API private integration, specify the ARN of an Application Load Balancer listener, Network Load Balancer listener, or AWS Cloud Map service.
47
+ */
17
48
  IntegrationUri?: string;
49
+ /**
50
+ * Specifies the pass-through behavior for incoming requests based on the Content-Type header in the request, and the available mapping templates specified as the requestTemplates property on the Integration resource. There are three valid values: WHEN_NO_MATCH, WHEN_NO_TEMPLATES, and NEVER. Supported only for WebSocket APIs.
51
+ */
18
52
  PassthroughBehavior?: string;
53
+ /**
54
+ * Specifies the format of the payload sent to an integration. Required for HTTP APIs. For HTTP APIs, supported values for Lambda proxy integrations are 1.0 and 2.0 For all other integrations, 1.0 is the only supported value.
55
+ */
19
56
  PayloadFormatVersion?: string;
20
- RequestParameters?: Record<string, any>;
21
- RequestTemplates?: Record<string, any>;
22
- ResponseParameters?: Record<string, any>;
57
+ /**
58
+ * A key-value map specifying parameters.
59
+ */
60
+ RequestParameters?: Record<string, string>;
61
+ /**
62
+ * A map of Velocity templates that are applied on the request payload based on the value of the Content-Type header sent by the client.
63
+ */
64
+ RequestTemplates?: Record<string, string>;
65
+ /**
66
+ * Parameters that transform the HTTP response from a backend integration before returning the response to clients. Supported only for HTTP APIs.
67
+ */
68
+ ResponseParameters?: Record<string, ResponseParameter[]>;
69
+ /**
70
+ * The template selection expression for the integration. Supported only for WebSocket APIs.
71
+ */
23
72
  TemplateSelectionExpression?: string;
73
+ /**
74
+ * Custom timeout between 50 and 29000 milliseconds for WebSocket APIs and between 50 and 30000 milliseconds for HTTP APIs. The default timeout is 29 seconds for WebSocket APIs and 30 seconds for HTTP APIs.
75
+ */
24
76
  TimeoutInMillis?: number;
77
+ /**
78
+ * The TLS configuration for a private integration. If you specify a TLS configuration, private integration traffic uses the HTTPS protocol. Supported only for HTTP APIs.
79
+ */
25
80
  TlsConfig?: TlsConfig;
26
81
  };
27
82
  /**
@@ -29,17 +84,31 @@ export type ApiGatewayV2IntegrationProperties = {
29
84
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-integration.html#aws-resource-apigatewayv2-integration-return-values}
30
85
  */
31
86
  export type ApiGatewayV2IntegrationAttributes = {
32
- Id: string;
87
+ /**
88
+ * The integration ID.
89
+ */
90
+ IntegrationId: string;
91
+ };
92
+ /**
93
+ * Type definition for `AWS::ApiGatewayV2::Integration.ResponseParameter`.
94
+ * response parameter
95
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigatewayv2-integration-responseparameter.html}
96
+ */
97
+ export type ResponseParameter = {
98
+ Destination?: string;
99
+ Source?: string;
33
100
  };
34
101
  /**
35
102
  * Type definition for `AWS::ApiGatewayV2::Integration.TlsConfig`.
103
+ * The TlsConfig property specifies the TLS configuration for a private integration. Supported only for HTTP APIs.
36
104
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigatewayv2-integration-tlsconfig.html}
37
105
  */
38
106
  export type TlsConfig = {
39
107
  ServerNameToVerify?: string;
40
108
  };
41
109
  /**
42
- * Resource Type definition for AWS::ApiGatewayV2::Integration
110
+ * Resource type definition for `AWS::ApiGatewayV2::Integration`.
111
+ * An example resource schema demonstrating some basic constructs and validation rules.
43
112
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-integration.html}
44
113
  */
45
114
  export declare class ApiGatewayV2Integration extends $Resource<"AWS::ApiGatewayV2::Integration", ApiGatewayV2IntegrationProperties, ApiGatewayV2IntegrationAttributes> {
@@ -1,6 +1,7 @@
1
1
  import { Resource as $Resource } from "@awboost/cfn-template-builder/template/resource";
2
2
  /**
3
- * Resource Type definition for AWS::ApiGatewayV2::Integration
3
+ * Resource type definition for `AWS::ApiGatewayV2::Integration`.
4
+ * An example resource schema demonstrating some basic constructs and validation rules.
4
5
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-integration.html}
5
6
  */
6
7
  export class ApiGatewayV2Integration extends $Resource {
@@ -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
@@ -6,6 +6,10 @@ import type { ResourceOptions as $ResourceOptions } from "@awboost/cfn-template-
6
6
  */
7
7
  export type EC2IPAMProperties = {
8
8
  Description?: string;
9
+ /**
10
+ * Enable provisioning of GUA space in private pools.
11
+ */
12
+ EnablePrivateGua?: boolean;
9
13
  /**
10
14
  * The regions IPAM is enabled for. Allows pools to be created in these regions, as well as enabling monitoring
11
15
  */
@@ -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
  */
@@ -51,6 +51,14 @@ export type EC2VPCCidrBlockAttributes = {
51
51
  * The Id of the VPC associated CIDR Block.
52
52
  */
53
53
  Id: string;
54
+ /**
55
+ * The IP Source of an IPv6 VPC CIDR Block.
56
+ */
57
+ IpSource: string;
58
+ /**
59
+ * The value denoting whether an IPv6 VPC CIDR Block is public or private.
60
+ */
61
+ Ipv6AddressAttribute: string;
54
62
  };
55
63
  /**
56
64
  * Resource Type definition for AWS::EC2::VPCCidrBlock
@@ -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
@@ -85,6 +85,10 @@ export type LambdaFunctionProperties = {
85
85
  * The type of deployment package. Set to ``Image`` for container image and set ``Zip`` for .zip file archive.
86
86
  */
87
87
  PackageType?: "Image" | "Zip";
88
+ /**
89
+ * The function recursion configuration.
90
+ */
91
+ RecursiveLoop?: RecursiveLoop;
88
92
  /**
89
93
  * The number of simultaneous executions to reserve for the function.
90
94
  * @min `0`
@@ -290,6 +294,12 @@ export type LoggingConfig = {
290
294
  */
291
295
  SystemLogLevel?: "DEBUG" | "INFO" | "WARN";
292
296
  };
297
+ /**
298
+ * Type definition for `AWS::Lambda::Function.RecursiveLoop`.
299
+ * The function recursion configuration.
300
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-function-recursiveloop.html}
301
+ */
302
+ export type RecursiveLoop = "Allow" | "Terminate";
293
303
  /**
294
304
  * Type definition for `AWS::Lambda::Function.RuntimeManagementConfig`.
295
305
  * Sets the runtime management configuration for a function's version. For more information, see [Runtime updates](https://docs.aws.amazon.com/lambda/latest/dg/runtimes-update.html).
@@ -89,8 +89,9 @@ export type S3BucketProperties = {
89
89
  */
90
90
  Tags?: Tag[];
91
91
  /**
92
- * Enables multiple versions of all objects in this bucket. You might enable versioning to prevent objects from being deleted or overwritten by mistake or to archive objects so that you can retrieve previous versions of them.
93
- */
92
+ * Enables multiple versions of all objects in this bucket. You might enable versioning to prevent objects from being deleted or overwritten by mistake or to archive objects so that you can retrieve previous versions of them.
93
+ When you enable versioning on a bucket for the first time, it might take a short amount of time for the change to be fully propagated. We recommend that you wait for 15 minutes after enabling versioning before issuing write operations (``PUT`` or ``DELETE``) on objects in the bucket.
94
+ */
94
95
  VersioningConfiguration?: VersioningConfiguration;
95
96
  /**
96
97
  * Information used to configure the bucket as a static website. For more information, see [Hosting Websites on Amazon S3](https://docs.aws.amazon.com/AmazonS3/latest/dev/WebsiteHosting.html).
@@ -302,6 +303,7 @@ export type Destination = {
302
303
  /**
303
304
  * Type definition for `AWS::S3::Bucket.EncryptionConfiguration`.
304
305
  * Specifies encryption-related information for an Amazon S3 bucket that is a destination for replicated objects.
306
+ If you're specifying a customer managed KMS key, we recommend using a fully qualified KMS key ARN. If you use a KMS key alias instead, then KMS resolves the key within the requester’s account. This behavior can result in data that's encrypted with a KMS key that belongs to the requester, and not the bucket owner.
305
307
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-encryptionconfiguration.html}
306
308
  */
307
309
  export type EncryptionConfiguration = {
@@ -621,8 +623,10 @@ export type OwnershipControlsRule = {
621
623
  */
622
624
  export type PartitionedPrefix = {
623
625
  /**
624
- * Specifies the partition date source for the partitioned prefix. PartitionDateSource can be EventTime or DeliveryTime.
625
- */
626
+ * Specifies the partition date source for the partitioned prefix. ``PartitionDateSource`` can be ``EventTime`` or ``DeliveryTime``.
627
+ For ``DeliveryTime``, the time in the log file names corresponds to the delivery time for the log files.
628
+ For ``EventTime``, The logs delivered are for a specific day only. The year, month, and day correspond to the day on which the event occurred, and the hour, minutes and seconds are set to 00 in the key.
629
+ */
626
630
  PartitionDateSource?: "EventTime" | "DeliveryTime";
627
631
  };
628
632
  /**
@@ -1023,6 +1027,7 @@ export type S3KeyFilter = {
1023
1027
  /**
1024
1028
  * Type definition for `AWS::S3::Bucket.ServerSideEncryptionByDefault`.
1025
1029
  * Describes the default server-side encryption to apply to new objects in the bucket. If a PUT Object request doesn't specify any server-side encryption, this default encryption will be applied. If you don't specify a customer managed key at configuration, Amazon S3 automatically creates an AWS KMS key in your AWS account the first time that you add an object encrypted with SSE-KMS to a bucket. By default, Amazon S3 uses this KMS key for SSE-KMS. For more information, see [PUT Bucket encryption](https://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketPUTencryption.html) in the *Amazon S3 API Reference*.
1030
+ If you're specifying a customer managed KMS key, we recommend using a fully qualified KMS key ARN. If you use a KMS key alias instead, then KMS resolves the key within the requester’s account. This behavior can result in data that's encrypted with a KMS key that belongs to the requester, and not the bucket owner.
1026
1031
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-serversideencryptionbydefault.html}
1027
1032
  */
1028
1033
  export type ServerSideEncryptionByDefault = {
@@ -1046,6 +1051,7 @@ export type ServerSideEncryptionByDefault = {
1046
1051
  /**
1047
1052
  * Type definition for `AWS::S3::Bucket.ServerSideEncryptionRule`.
1048
1053
  * Specifies the default server-side encryption configuration.
1054
+ If you're specifying a customer managed KMS key, we recommend using a fully qualified KMS key ARN. If you use a KMS key alias instead, then KMS resolves the key within the requester’s account. This behavior can result in data that's encrypted with a KMS key that belongs to the requester, and not the bucket owner.
1049
1055
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-serversideencryptionrule.html}
1050
1056
  */
1051
1057
  export type ServerSideEncryptionRule = {
@@ -1204,6 +1210,7 @@ export type Transition = {
1204
1210
  /**
1205
1211
  * Type definition for `AWS::S3::Bucket.VersioningConfiguration`.
1206
1212
  * Describes the versioning state of an Amazon S3 bucket. For more information, see [PUT Bucket versioning](https://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketPUTVersioningStatus.html) in the *Amazon S3 API Reference*.
1213
+ When you enable versioning on a bucket for the first time, it might take a short amount of time for the change to be fully propagated. We recommend that you wait for 15 minutes after enabling versioning before issuing write operations (``PUT`` or ``DELETE``) on objects in the bucket.
1207
1214
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-versioningconfiguration.html}
1208
1215
  */
1209
1216
  export type VersioningConfiguration = {
@@ -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.133",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },