@awboost/cfn-resource-types 0.1.158 → 0.1.160

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.
@@ -49,6 +49,11 @@ export type B2BICapabilityAttributes = {
49
49
  export type CapabilityConfiguration = {
50
50
  Edi: EdiConfiguration;
51
51
  };
52
+ /**
53
+ * Type definition for `AWS::B2BI::Capability.CapabilityDirection`.
54
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-capability-capabilitydirection.html}
55
+ */
56
+ export type CapabilityDirection = "INBOUND" | "OUTBOUND";
52
57
  /**
53
58
  * Type definition for `AWS::B2BI::Capability.CapabilityType`.
54
59
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-capability-capabilitytype.html}
@@ -59,6 +64,7 @@ export type CapabilityType = "edi";
59
64
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-capability-ediconfiguration.html}
60
65
  */
61
66
  export type EdiConfiguration = {
67
+ CapabilityDirection?: CapabilityDirection;
62
68
  InputLocation: S3Location;
63
69
  OutputLocation: S3Location;
64
70
  /**
@@ -5,7 +5,8 @@ import type { ResourceOptions as $ResourceOptions } from "@awboost/cfn-template-
5
5
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-b2bi-partnership.html}
6
6
  */
7
7
  export type B2BIPartnershipProperties = {
8
- Capabilities?: string[];
8
+ Capabilities: string[];
9
+ CapabilityOptions?: CapabilityOptions;
9
10
  /**
10
11
  * @minLength `5`
11
12
  * @maxLength `254`
@@ -60,6 +61,20 @@ export type B2BIPartnershipAttributes = {
60
61
  */
61
62
  TradingPartnerId: string;
62
63
  };
64
+ /**
65
+ * Type definition for `AWS::B2BI::Partnership.CapabilityOptions`.
66
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-partnership-capabilityoptions.html}
67
+ */
68
+ export type CapabilityOptions = {
69
+ OutboundEdi?: OutboundEdiOptions;
70
+ };
71
+ /**
72
+ * Type definition for `AWS::B2BI::Partnership.OutboundEdiOptions`.
73
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-partnership-outboundedioptions.html}
74
+ */
75
+ export type OutboundEdiOptions = {
76
+ X12: X12Envelope;
77
+ };
63
78
  /**
64
79
  * Type definition for `AWS::B2BI::Partnership.Tag`.
65
80
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-partnership-tag.html}
@@ -76,6 +91,118 @@ export type Tag = {
76
91
  */
77
92
  Value: string;
78
93
  };
94
+ /**
95
+ * Type definition for `AWS::B2BI::Partnership.X12Delimiters`.
96
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-partnership-x12delimiters.html}
97
+ */
98
+ export type X12Delimiters = {
99
+ /**
100
+ * @minLength `1`
101
+ * @maxLength `1`
102
+ * @pattern `^[!&'()*+,\-./:;?=%@\[\]_{}|<>~^`"]$`
103
+ */
104
+ ComponentSeparator?: string;
105
+ /**
106
+ * @minLength `1`
107
+ * @maxLength `1`
108
+ * @pattern `^[!&'()*+,\-./:;?=%@\[\]_{}|<>~^`"]$`
109
+ */
110
+ DataElementSeparator?: string;
111
+ /**
112
+ * @minLength `1`
113
+ * @maxLength `1`
114
+ * @pattern `^[!&'()*+,\-./:;?=%@\[\]_{}|<>~^`"]$`
115
+ */
116
+ SegmentTerminator?: string;
117
+ };
118
+ /**
119
+ * Type definition for `AWS::B2BI::Partnership.X12Envelope`.
120
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-partnership-x12envelope.html}
121
+ */
122
+ export type X12Envelope = {
123
+ Common?: X12OutboundEdiHeaders;
124
+ };
125
+ /**
126
+ * Type definition for `AWS::B2BI::Partnership.X12FunctionalGroupHeaders`.
127
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-partnership-x12functionalgroupheaders.html}
128
+ */
129
+ export type X12FunctionalGroupHeaders = {
130
+ /**
131
+ * @minLength `2`
132
+ * @maxLength `15`
133
+ * @pattern `^[a-zA-Z0-9]*$`
134
+ */
135
+ ApplicationReceiverCode?: string;
136
+ /**
137
+ * @minLength `2`
138
+ * @maxLength `15`
139
+ * @pattern `^[a-zA-Z0-9]*$`
140
+ */
141
+ ApplicationSenderCode?: string;
142
+ /**
143
+ * @minLength `1`
144
+ * @maxLength `2`
145
+ * @pattern `^[a-zA-Z0-9]*$`
146
+ */
147
+ ResponsibleAgencyCode?: string;
148
+ };
149
+ /**
150
+ * Type definition for `AWS::B2BI::Partnership.X12InterchangeControlHeaders`.
151
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-partnership-x12interchangecontrolheaders.html}
152
+ */
153
+ export type X12InterchangeControlHeaders = {
154
+ /**
155
+ * @minLength `1`
156
+ * @maxLength `1`
157
+ * @pattern `^[a-zA-Z0-9]*$`
158
+ */
159
+ AcknowledgmentRequestedCode?: string;
160
+ /**
161
+ * @minLength `15`
162
+ * @maxLength `15`
163
+ * @pattern `^[a-zA-Z0-9]*$`
164
+ */
165
+ ReceiverId?: string;
166
+ /**
167
+ * @minLength `2`
168
+ * @maxLength `2`
169
+ * @pattern `^[a-zA-Z0-9]*$`
170
+ */
171
+ ReceiverIdQualifier?: string;
172
+ /**
173
+ * @minLength `1`
174
+ * @maxLength `1`
175
+ */
176
+ RepetitionSeparator?: string;
177
+ /**
178
+ * @minLength `15`
179
+ * @maxLength `15`
180
+ * @pattern `^[a-zA-Z0-9]*$`
181
+ */
182
+ SenderId?: string;
183
+ /**
184
+ * @minLength `2`
185
+ * @maxLength `2`
186
+ * @pattern `^[a-zA-Z0-9]*$`
187
+ */
188
+ SenderIdQualifier?: string;
189
+ /**
190
+ * @minLength `1`
191
+ * @maxLength `1`
192
+ * @pattern `^[a-zA-Z0-9]*$`
193
+ */
194
+ UsageIndicatorCode?: string;
195
+ };
196
+ /**
197
+ * Type definition for `AWS::B2BI::Partnership.X12OutboundEdiHeaders`.
198
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-partnership-x12outboundediheaders.html}
199
+ */
200
+ export type X12OutboundEdiHeaders = {
201
+ Delimiters?: X12Delimiters;
202
+ FunctionalGroupHeaders?: X12FunctionalGroupHeaders;
203
+ InterchangeControlHeaders?: X12InterchangeControlHeaders;
204
+ ValidateEdi?: boolean;
205
+ };
79
206
  /**
80
207
  * Definition of AWS::B2BI::Partnership Resource Type
81
208
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-b2bi-partnership.html}
@@ -5,23 +5,30 @@ import type { ResourceOptions as $ResourceOptions } from "@awboost/cfn-template-
5
5
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-b2bi-transformer.html}
6
6
  */
7
7
  export type B2BITransformerProperties = {
8
- EdiType: EdiType;
9
- FileFormat: FileFormat;
8
+ EdiType?: EdiType;
9
+ FileFormat?: FileFormat;
10
+ InputConversion?: InputConversion;
11
+ Mapping?: Mapping;
10
12
  /**
13
+ * This shape is deprecated: This is a legacy trait. Please use input-conversion or output-conversion.
11
14
  * @minLength `0`
12
15
  * @maxLength `350000`
13
16
  */
14
- MappingTemplate: string;
17
+ MappingTemplate?: string;
15
18
  /**
16
19
  * @minLength `1`
17
20
  * @maxLength `254`
21
+ * @pattern `^[a-zA-Z0-9_-]{1,512}$`
18
22
  */
19
23
  Name: string;
24
+ OutputConversion?: OutputConversion;
20
25
  /**
26
+ * This shape is deprecated: This is a legacy trait. Please use input-conversion or output-conversion.
21
27
  * @minLength `0`
22
28
  * @maxLength `1024`
23
29
  */
24
30
  SampleDocument?: string;
31
+ SampleDocuments?: SampleDocuments;
25
32
  Status: TransformerStatus;
26
33
  /**
27
34
  * @minLength `0`
@@ -59,7 +66,80 @@ export type EdiType = {
59
66
  * Type definition for `AWS::B2BI::Transformer.FileFormat`.
60
67
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-transformer-fileformat.html}
61
68
  */
62
- export type FileFormat = "XML" | "JSON";
69
+ export type FileFormat = "XML" | "JSON" | "NOT_USED";
70
+ /**
71
+ * Type definition for `AWS::B2BI::Transformer.FormatOptions`.
72
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-transformer-formatoptions.html}
73
+ */
74
+ export type FormatOptions = {
75
+ X12: X12Details;
76
+ };
77
+ /**
78
+ * Type definition for `AWS::B2BI::Transformer.FromFormat`.
79
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-transformer-fromformat.html}
80
+ */
81
+ export type FromFormat = "X12";
82
+ /**
83
+ * Type definition for `AWS::B2BI::Transformer.InputConversion`.
84
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-transformer-inputconversion.html}
85
+ */
86
+ export type InputConversion = {
87
+ FormatOptions?: FormatOptions;
88
+ FromFormat: FromFormat;
89
+ };
90
+ /**
91
+ * Type definition for `AWS::B2BI::Transformer.Mapping`.
92
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-transformer-mapping.html}
93
+ */
94
+ export type Mapping = {
95
+ /**
96
+ * @minLength `0`
97
+ * @maxLength `350000`
98
+ */
99
+ Template?: string;
100
+ TemplateLanguage: MappingTemplateLanguage;
101
+ };
102
+ /**
103
+ * Type definition for `AWS::B2BI::Transformer.MappingTemplateLanguage`.
104
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-transformer-mappingtemplatelanguage.html}
105
+ */
106
+ export type MappingTemplateLanguage = "XSLT" | "JSONATA";
107
+ /**
108
+ * Type definition for `AWS::B2BI::Transformer.OutputConversion`.
109
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-transformer-outputconversion.html}
110
+ */
111
+ export type OutputConversion = {
112
+ FormatOptions?: FormatOptions;
113
+ ToFormat: ToFormat;
114
+ };
115
+ /**
116
+ * Type definition for `AWS::B2BI::Transformer.SampleDocumentKeys`.
117
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-transformer-sampledocumentkeys.html}
118
+ */
119
+ export type SampleDocumentKeys = {
120
+ /**
121
+ * @minLength `0`
122
+ * @maxLength `1024`
123
+ */
124
+ Input?: string;
125
+ /**
126
+ * @minLength `0`
127
+ * @maxLength `1024`
128
+ */
129
+ Output?: string;
130
+ };
131
+ /**
132
+ * Type definition for `AWS::B2BI::Transformer.SampleDocuments`.
133
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-transformer-sampledocuments.html}
134
+ */
135
+ export type SampleDocuments = {
136
+ /**
137
+ * @minLength `3`
138
+ * @maxLength `63`
139
+ */
140
+ BucketName: string;
141
+ Keys: SampleDocumentKeys[];
142
+ };
63
143
  /**
64
144
  * Type definition for `AWS::B2BI::Transformer.Tag`.
65
145
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-transformer-tag.html}
@@ -76,6 +156,11 @@ export type Tag = {
76
156
  */
77
157
  Value: string;
78
158
  };
159
+ /**
160
+ * Type definition for `AWS::B2BI::Transformer.ToFormat`.
161
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-transformer-toformat.html}
162
+ */
163
+ export type ToFormat = "X12";
79
164
  /**
80
165
  * Type definition for `AWS::B2BI::Transformer.TransformerStatus`.
81
166
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-b2bi-transformer-transformerstatus.html}
@@ -5,6 +5,7 @@ import type { ResourceOptions as $ResourceOptions } from "@awboost/cfn-template-
5
5
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudformation-customresource.html}
6
6
  */
7
7
  export type CloudFormationCustomResourceProperties = {
8
+ ServiceTimeout?: number;
8
9
  ServiceToken: string;
9
10
  };
10
11
  /**
@@ -143,6 +143,7 @@ export type InstanceFleetConfig = {
143
143
  InstanceTypeConfigs?: InstanceTypeConfig[];
144
144
  LaunchSpecifications?: InstanceFleetProvisioningSpecifications;
145
145
  Name?: string;
146
+ ResizeSpecifications?: InstanceFleetResizingSpecifications;
146
147
  TargetOnDemandCapacity?: number;
147
148
  TargetSpotCapacity?: number;
148
149
  };
@@ -154,6 +155,14 @@ export type InstanceFleetProvisioningSpecifications = {
154
155
  OnDemandSpecification?: OnDemandProvisioningSpecification;
155
156
  SpotSpecification?: SpotProvisioningSpecification;
156
157
  };
158
+ /**
159
+ * Type definition for `AWS::EMR::Cluster.InstanceFleetResizingSpecifications`.
160
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-emr-cluster-instancefleetresizingspecifications.html}
161
+ */
162
+ export type InstanceFleetResizingSpecifications = {
163
+ OnDemandResizeSpecification?: OnDemandResizingSpecification;
164
+ SpotResizeSpecification?: SpotResizingSpecification;
165
+ };
157
166
  /**
158
167
  * Type definition for `AWS::EMR::Cluster.InstanceGroupConfig`.
159
168
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-emr-cluster-instancegroupconfig.html}
@@ -180,6 +189,7 @@ export type InstanceTypeConfig = {
180
189
  CustomAmiId?: string;
181
190
  EbsConfiguration?: EbsConfiguration;
182
191
  InstanceType: string;
192
+ Priority?: number;
183
193
  WeightedCapacity?: number;
184
194
  };
185
195
  /**
@@ -241,12 +251,31 @@ export type MetricDimension = {
241
251
  Key: string;
242
252
  Value: string;
243
253
  };
254
+ /**
255
+ * Type definition for `AWS::EMR::Cluster.OnDemandCapacityReservationOptions`.
256
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-emr-cluster-ondemandcapacityreservationoptions.html}
257
+ */
258
+ export type OnDemandCapacityReservationOptions = {
259
+ CapacityReservationPreference?: string;
260
+ CapacityReservationResourceGroupArn?: string;
261
+ UsageStrategy?: string;
262
+ };
244
263
  /**
245
264
  * Type definition for `AWS::EMR::Cluster.OnDemandProvisioningSpecification`.
246
265
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-emr-cluster-ondemandprovisioningspecification.html}
247
266
  */
248
267
  export type OnDemandProvisioningSpecification = {
249
268
  AllocationStrategy: string;
269
+ CapacityReservationOptions?: OnDemandCapacityReservationOptions;
270
+ };
271
+ /**
272
+ * Type definition for `AWS::EMR::Cluster.OnDemandResizingSpecification`.
273
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-emr-cluster-ondemandresizingspecification.html}
274
+ */
275
+ export type OnDemandResizingSpecification = {
276
+ AllocationStrategy?: string;
277
+ CapacityReservationOptions?: OnDemandCapacityReservationOptions;
278
+ TimeoutDurationMinutes?: number;
250
279
  };
251
280
  /**
252
281
  * Type definition for `AWS::EMR::Cluster.PlacementGroupConfig`.
@@ -323,6 +352,14 @@ export type SpotProvisioningSpecification = {
323
352
  TimeoutAction: string;
324
353
  TimeoutDurationMinutes: number;
325
354
  };
355
+ /**
356
+ * Type definition for `AWS::EMR::Cluster.SpotResizingSpecification`.
357
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-emr-cluster-spotresizingspecification.html}
358
+ */
359
+ export type SpotResizingSpecification = {
360
+ AllocationStrategy?: string;
361
+ TimeoutDurationMinutes?: number;
362
+ };
326
363
  /**
327
364
  * Type definition for `AWS::EMR::Cluster.StepConfig`.
328
365
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-emr-cluster-stepconfig.html}
@@ -10,6 +10,7 @@ export type EMRInstanceFleetConfigProperties = {
10
10
  InstanceTypeConfigs?: InstanceTypeConfig[];
11
11
  LaunchSpecifications?: InstanceFleetProvisioningSpecifications;
12
12
  Name?: string;
13
+ ResizeSpecifications?: InstanceFleetResizingSpecifications;
13
14
  TargetOnDemandCapacity?: number;
14
15
  TargetSpotCapacity?: number;
15
16
  };
@@ -53,6 +54,14 @@ export type InstanceFleetProvisioningSpecifications = {
53
54
  OnDemandSpecification?: OnDemandProvisioningSpecification;
54
55
  SpotSpecification?: SpotProvisioningSpecification;
55
56
  };
57
+ /**
58
+ * Type definition for `AWS::EMR::InstanceFleetConfig.InstanceFleetResizingSpecifications`.
59
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-emr-instancefleetconfig-instancefleetresizingspecifications.html}
60
+ */
61
+ export type InstanceFleetResizingSpecifications = {
62
+ OnDemandResizeSpecification?: OnDemandResizingSpecification;
63
+ SpotResizeSpecification?: SpotResizingSpecification;
64
+ };
56
65
  /**
57
66
  * Type definition for `AWS::EMR::InstanceFleetConfig.InstanceTypeConfig`.
58
67
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-emr-instancefleetconfig-instancetypeconfig.html}
@@ -64,14 +73,34 @@ export type InstanceTypeConfig = {
64
73
  CustomAmiId?: string;
65
74
  EbsConfiguration?: EbsConfiguration;
66
75
  InstanceType: string;
76
+ Priority?: number;
67
77
  WeightedCapacity?: number;
68
78
  };
79
+ /**
80
+ * Type definition for `AWS::EMR::InstanceFleetConfig.OnDemandCapacityReservationOptions`.
81
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-emr-instancefleetconfig-ondemandcapacityreservationoptions.html}
82
+ */
83
+ export type OnDemandCapacityReservationOptions = {
84
+ CapacityReservationPreference?: string;
85
+ CapacityReservationResourceGroupArn?: string;
86
+ UsageStrategy?: string;
87
+ };
69
88
  /**
70
89
  * Type definition for `AWS::EMR::InstanceFleetConfig.OnDemandProvisioningSpecification`.
71
90
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-emr-instancefleetconfig-ondemandprovisioningspecification.html}
72
91
  */
73
92
  export type OnDemandProvisioningSpecification = {
74
93
  AllocationStrategy: string;
94
+ CapacityReservationOptions?: OnDemandCapacityReservationOptions;
95
+ };
96
+ /**
97
+ * Type definition for `AWS::EMR::InstanceFleetConfig.OnDemandResizingSpecification`.
98
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-emr-instancefleetconfig-ondemandresizingspecification.html}
99
+ */
100
+ export type OnDemandResizingSpecification = {
101
+ AllocationStrategy?: string;
102
+ CapacityReservationOptions?: OnDemandCapacityReservationOptions;
103
+ TimeoutDurationMinutes?: number;
75
104
  };
76
105
  /**
77
106
  * Type definition for `AWS::EMR::InstanceFleetConfig.SpotProvisioningSpecification`.
@@ -83,6 +112,14 @@ export type SpotProvisioningSpecification = {
83
112
  TimeoutAction: string;
84
113
  TimeoutDurationMinutes: number;
85
114
  };
115
+ /**
116
+ * Type definition for `AWS::EMR::InstanceFleetConfig.SpotResizingSpecification`.
117
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-emr-instancefleetconfig-spotresizingspecification.html}
118
+ */
119
+ export type SpotResizingSpecification = {
120
+ AllocationStrategy?: string;
121
+ TimeoutDurationMinutes?: number;
122
+ };
86
123
  /**
87
124
  * Type definition for `AWS::EMR::InstanceFleetConfig.VolumeSpecification`.
88
125
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-emr-instancefleetconfig-volumespecification.html}
@@ -5,144 +5,307 @@ import type { ResourceOptions as $ResourceOptions } from "@awboost/cfn-template-
5
5
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-crawler.html}
6
6
  */
7
7
  export type GlueCrawlerProperties = {
8
+ /**
9
+ * A list of UTF-8 strings that specify the names of custom classifiers that are associated with the crawler.
10
+ */
8
11
  Classifiers?: string[];
12
+ /**
13
+ * Crawler configuration information. This versioned JSON string allows users to specify aspects of a crawler's behavior.
14
+ */
9
15
  Configuration?: string;
16
+ /**
17
+ * The name of the SecurityConfiguration structure to be used by this crawler.
18
+ */
10
19
  CrawlerSecurityConfiguration?: string;
20
+ /**
21
+ * The name of the database in which the crawler's output is stored.
22
+ */
11
23
  DatabaseName?: string;
24
+ /**
25
+ * A description of the crawler.
26
+ */
12
27
  Description?: string;
28
+ /**
29
+ * Specifies AWS Lake Formation configuration settings for the crawler
30
+ */
13
31
  LakeFormationConfiguration?: LakeFormationConfiguration;
32
+ /**
33
+ * The name of the crawler.
34
+ */
14
35
  Name?: string;
36
+ /**
37
+ * When crawling an Amazon S3 data source after the first crawl is complete, specifies whether to crawl the entire dataset again or to crawl only folders that were added since the last crawler run. For more information, see Incremental Crawls in AWS Glue in the developer guide.
38
+ */
15
39
  RecrawlPolicy?: RecrawlPolicy;
40
+ /**
41
+ * The Amazon Resource Name (ARN) of an IAM role that's used to access customer resources, such as Amazon Simple Storage Service (Amazon S3) data.
42
+ */
16
43
  Role: string;
44
+ /**
45
+ * A scheduling object using a cron statement to schedule an event.
46
+ */
17
47
  Schedule?: Schedule;
48
+ /**
49
+ * The policy that specifies update and delete behaviors for the crawler. The policy tells the crawler what to do in the event that it detects a change in a table that already exists in the customer's database at the time of the crawl. The SchemaChangePolicy does not affect whether or how new tables and partitions are added. New tables and partitions are always created regardless of the SchemaChangePolicy on a crawler. The SchemaChangePolicy consists of two components, UpdateBehavior and DeleteBehavior.
50
+ */
18
51
  SchemaChangePolicy?: SchemaChangePolicy;
52
+ /**
53
+ * The prefix added to the names of tables that are created.
54
+ */
19
55
  TablePrefix?: string;
56
+ /**
57
+ * The tags to use with this crawler.
58
+ */
20
59
  Tags?: Record<string, any>;
60
+ /**
61
+ * Specifies data stores to crawl.
62
+ */
21
63
  Targets: Targets;
22
64
  };
23
- /**
24
- * Attribute type definition for `AWS::Glue::Crawler`.
25
- * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-crawler.html#aws-resource-glue-crawler-return-values}
26
- */
27
- export type GlueCrawlerAttributes = {
28
- Id: string;
29
- };
30
65
  /**
31
66
  * Type definition for `AWS::Glue::Crawler.CatalogTarget`.
67
+ * Specifies an AWS Glue Data Catalog target.
32
68
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-crawler-catalogtarget.html}
33
69
  */
34
70
  export type CatalogTarget = {
71
+ /**
72
+ * The name of the connection for an Amazon S3-backed Data Catalog table to be a target of the crawl when using a Catalog connection type paired with a NETWORK Connection type.
73
+ */
35
74
  ConnectionName?: string;
75
+ /**
76
+ * The name of the database to be synchronized.
77
+ */
36
78
  DatabaseName?: string;
79
+ /**
80
+ * A valid Amazon dead-letter SQS ARN. For example, arn:aws:sqs:region:account:deadLetterQueue.
81
+ */
37
82
  DlqEventQueueArn?: string;
83
+ /**
84
+ * A valid Amazon SQS ARN. For example, arn:aws:sqs:region:account:sqs.
85
+ */
38
86
  EventQueueArn?: string;
87
+ /**
88
+ * A list of the tables to be synchronized.
89
+ */
39
90
  Tables?: string[];
40
91
  };
41
92
  /**
42
93
  * Type definition for `AWS::Glue::Crawler.DeltaTarget`.
94
+ * Specifies a Delta data store to crawl one or more Delta tables.
43
95
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-crawler-deltatarget.html}
44
96
  */
45
97
  export type DeltaTarget = {
98
+ /**
99
+ * The name of the connection to use to connect to the Delta table target.
100
+ */
46
101
  ConnectionName?: string;
102
+ /**
103
+ * Specifies whether the crawler will create native tables, to allow integration with query engines that support querying of the Delta transaction log directly.
104
+ */
47
105
  CreateNativeDeltaTable?: boolean;
48
106
  DeltaTables?: string[];
107
+ /**
108
+ * Specifies whether to write the manifest files to the Delta table path.
109
+ */
49
110
  WriteManifest?: boolean;
50
111
  };
51
112
  /**
52
113
  * Type definition for `AWS::Glue::Crawler.DynamoDBTarget`.
114
+ * Specifies an Amazon DynamoDB table to crawl.
53
115
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-crawler-dynamodbtarget.html}
54
116
  */
55
117
  export type DynamoDBTarget = {
118
+ /**
119
+ * The name of the DynamoDB table to crawl.
120
+ */
56
121
  Path?: string;
57
122
  };
58
123
  /**
59
124
  * Type definition for `AWS::Glue::Crawler.IcebergTarget`.
125
+ * Specifies Apache Iceberg data store targets.
60
126
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-crawler-icebergtarget.html}
61
127
  */
62
128
  export type IcebergTarget = {
129
+ /**
130
+ * The name of the connection to use to connect to the Iceberg target.
131
+ */
63
132
  ConnectionName?: string;
133
+ /**
134
+ * A list of global patterns used to exclude from the crawl.
135
+ */
64
136
  Exclusions?: string[];
137
+ /**
138
+ * The maximum depth of Amazon S3 paths that the crawler can traverse to discover the Iceberg metadata folder in your Amazon S3 path. Used to limit the crawler run time.
139
+ */
65
140
  MaximumTraversalDepth?: number;
141
+ /**
142
+ * One or more Amazon S3 paths that contains Iceberg metadata folders as s3://bucket/prefix .
143
+ */
66
144
  Paths?: string[];
67
145
  };
68
146
  /**
69
147
  * Type definition for `AWS::Glue::Crawler.JdbcTarget`.
148
+ * Specifies a JDBC data store to crawl.
70
149
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-crawler-jdbctarget.html}
71
150
  */
72
151
  export type JdbcTarget = {
152
+ /**
153
+ * The name of the connection to use to connect to the JDBC target.
154
+ */
73
155
  ConnectionName?: string;
156
+ /**
157
+ * Specify a value of RAWTYPES or COMMENTS to enable additional metadata in table responses. RAWTYPES provides the native-level datatype. COMMENTS provides comments associated with a column or table in the database.
158
+
159
+ If you do not need additional metadata, keep the field empty.
160
+ */
74
161
  EnableAdditionalMetadata?: string[];
162
+ /**
163
+ * A list of glob patterns used to exclude from the crawl. For more information, see Catalog Tables with a Crawler.
164
+ */
75
165
  Exclusions?: string[];
166
+ /**
167
+ * The path of the JDBC target.
168
+ */
76
169
  Path?: string;
77
170
  };
78
171
  /**
79
172
  * Type definition for `AWS::Glue::Crawler.LakeFormationConfiguration`.
173
+ * Specifies AWS Lake Formation configuration settings for the crawler
80
174
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-crawler-lakeformationconfiguration.html}
81
175
  */
82
176
  export type LakeFormationConfiguration = {
177
+ /**
178
+ * Required for cross account crawls. For same account crawls as the target data, this can be left as null.
179
+ */
83
180
  AccountId?: string;
181
+ /**
182
+ * Specifies whether to use AWS Lake Formation credentials for the crawler instead of the IAM role credentials.
183
+ */
84
184
  UseLakeFormationCredentials?: boolean;
85
185
  };
86
186
  /**
87
187
  * Type definition for `AWS::Glue::Crawler.MongoDBTarget`.
188
+ * Specifies an Amazon DocumentDB or MongoDB data store to crawl.
88
189
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-crawler-mongodbtarget.html}
89
190
  */
90
191
  export type MongoDBTarget = {
192
+ /**
193
+ * The name of the connection to use to connect to the Amazon DocumentDB or MongoDB target.
194
+ */
91
195
  ConnectionName?: string;
196
+ /**
197
+ * The path of the Amazon DocumentDB or MongoDB target (database/collection).
198
+ */
92
199
  Path?: string;
93
200
  };
94
201
  /**
95
202
  * Type definition for `AWS::Glue::Crawler.RecrawlPolicy`.
203
+ * When crawling an Amazon S3 data source after the first crawl is complete, specifies whether to crawl the entire dataset again or to crawl only folders that were added since the last crawler run. For more information, see Incremental Crawls in AWS Glue in the developer guide.
96
204
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-crawler-recrawlpolicy.html}
97
205
  */
98
206
  export type RecrawlPolicy = {
207
+ /**
208
+ * Specifies whether to crawl the entire dataset again or to crawl only folders that were added since the last crawler run. A value of CRAWL_EVERYTHING specifies crawling the entire dataset again. A value of CRAWL_NEW_FOLDERS_ONLY specifies crawling only folders that were added since the last crawler run. A value of CRAWL_EVENT_MODE specifies crawling only the changes identified by Amazon S3 events.
209
+ */
99
210
  RecrawlBehavior?: string;
100
211
  };
101
212
  /**
102
213
  * Type definition for `AWS::Glue::Crawler.S3Target`.
214
+ * Specifies a data store in Amazon Simple Storage Service (Amazon S3).
103
215
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-crawler-s3target.html}
104
216
  */
105
217
  export type S3Target = {
218
+ /**
219
+ * The name of a connection which allows a job or crawler to access data in Amazon S3 within an Amazon Virtual Private Cloud environment (Amazon VPC).
220
+ */
106
221
  ConnectionName?: string;
222
+ /**
223
+ * A valid Amazon dead-letter SQS ARN. For example, arn:aws:sqs:region:account:deadLetterQueue.
224
+ */
107
225
  DlqEventQueueArn?: string;
226
+ /**
227
+ * A valid Amazon SQS ARN. For example, arn:aws:sqs:region:account:sqs.
228
+ */
108
229
  EventQueueArn?: string;
230
+ /**
231
+ * A list of glob patterns used to exclude from the crawl.
232
+ */
109
233
  Exclusions?: string[];
234
+ /**
235
+ * The path to the Amazon S3 target.
236
+ */
110
237
  Path?: string;
238
+ /**
239
+ * Sets the number of files in each leaf folder to be crawled when crawling sample files in a dataset. If not set, all the files are crawled. A valid value is an integer between 1 and 249.
240
+ */
111
241
  SampleSize?: number;
112
242
  };
113
243
  /**
114
244
  * Type definition for `AWS::Glue::Crawler.Schedule`.
245
+ * A scheduling object using a cron statement to schedule an event.
115
246
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-crawler-schedule.html}
116
247
  */
117
248
  export type Schedule = {
249
+ /**
250
+ * A cron expression used to specify the schedule. For more information, see Time-Based Schedules for Jobs and Crawlers. For example, to run something every day at 12:15 UTC, specify cron(15 12 * * ? *).
251
+ */
118
252
  ScheduleExpression?: string;
119
253
  };
120
254
  /**
121
255
  * Type definition for `AWS::Glue::Crawler.SchemaChangePolicy`.
256
+ * The policy that specifies update and delete behaviors for the crawler. The policy tells the crawler what to do in the event that it detects a change in a table that already exists in the customer's database at the time of the crawl. The SchemaChangePolicy does not affect whether or how new tables and partitions are added. New tables and partitions are always created regardless of the SchemaChangePolicy on a crawler. The SchemaChangePolicy consists of two components, UpdateBehavior and DeleteBehavior.
122
257
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-crawler-schemachangepolicy.html}
123
258
  */
124
259
  export type SchemaChangePolicy = {
260
+ /**
261
+ * The deletion behavior when the crawler finds a deleted object. A value of LOG specifies that if a table or partition is found to no longer exist, do not delete it, only log that it was found to no longer exist. A value of DELETE_FROM_DATABASE specifies that if a table or partition is found to have been removed, delete it from the database. A value of DEPRECATE_IN_DATABASE specifies that if a table has been found to no longer exist, to add a property to the table that says 'DEPRECATED' and includes a timestamp with the time of deprecation.
262
+ */
125
263
  DeleteBehavior?: string;
264
+ /**
265
+ * The update behavior when the crawler finds a changed schema. A value of LOG specifies that if a table or a partition already exists, and a change is detected, do not update it, only log that a change was detected. Add new tables and new partitions (including on existing tables). A value of UPDATE_IN_DATABASE specifies that if a table or partition already exists, and a change is detected, update it. Add new tables and partitions.
266
+ */
126
267
  UpdateBehavior?: string;
127
268
  };
128
269
  /**
129
270
  * Type definition for `AWS::Glue::Crawler.Targets`.
271
+ * Specifies data stores to crawl.
130
272
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-crawler-targets.html}
131
273
  */
132
274
  export type Targets = {
275
+ /**
276
+ * Specifies AWS Glue Data Catalog targets.
277
+ */
133
278
  CatalogTargets?: CatalogTarget[];
279
+ /**
280
+ * Specifies an array of Delta data store targets.
281
+ */
134
282
  DeltaTargets?: DeltaTarget[];
283
+ /**
284
+ * Specifies Amazon DynamoDB targets.
285
+ */
135
286
  DynamoDBTargets?: DynamoDBTarget[];
287
+ /**
288
+ * Specifies Apache Iceberg data store targets.
289
+ */
136
290
  IcebergTargets?: IcebergTarget[];
291
+ /**
292
+ * Specifies JDBC targets.
293
+ */
137
294
  JdbcTargets?: JdbcTarget[];
295
+ /**
296
+ * A list of Mongo DB targets.
297
+ */
138
298
  MongoDBTargets?: MongoDBTarget[];
299
+ /**
300
+ * Specifies Amazon Simple Storage Service (Amazon S3) targets.
301
+ */
139
302
  S3Targets?: S3Target[];
140
303
  };
141
304
  /**
142
305
  * Resource Type definition for AWS::Glue::Crawler
143
306
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-crawler.html}
144
307
  */
145
- export declare class GlueCrawler extends $Resource<"AWS::Glue::Crawler", GlueCrawlerProperties, GlueCrawlerAttributes> {
308
+ export declare class GlueCrawler extends $Resource<"AWS::Glue::Crawler", GlueCrawlerProperties, Record<string, never>> {
146
309
  static readonly Type = "AWS::Glue::Crawler";
147
310
  constructor(logicalId: string, properties: GlueCrawlerProperties, options?: $ResourceOptions);
148
311
  }
@@ -6,7 +6,10 @@ import type { ResourceOptions as $ResourceOptions } from "@awboost/cfn-template-
6
6
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-domainconfiguration.html}
7
7
  */
8
8
  export type IoTDomainConfigurationProperties = {
9
+ ApplicationProtocol?: "SECURE_MQTT" | "MQTT_WSS" | "HTTPS" | "DEFAULT";
10
+ AuthenticationType?: "AWS_X509" | "CUSTOM_AUTH" | "AWS_SIGV4" | "CUSTOM_AUTH_X509" | "DEFAULT";
9
11
  AuthorizerConfig?: AuthorizerConfig;
12
+ ClientCertificateConfig?: ClientCertificateConfig;
10
13
  /**
11
14
  * @minLength `1`
12
15
  * @maxLength `128`
@@ -64,6 +67,17 @@ export type AuthorizerConfig = {
64
67
  */
65
68
  DefaultAuthorizerName?: string;
66
69
  };
70
+ /**
71
+ * Type definition for `AWS::IoT::DomainConfiguration.ClientCertificateConfig`.
72
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-domainconfiguration-clientcertificateconfig.html}
73
+ */
74
+ export type ClientCertificateConfig = {
75
+ /**
76
+ * @minLength `1`
77
+ * @maxLength `170`
78
+ */
79
+ ClientCertificateCallbackArn?: string;
80
+ };
67
81
  /**
68
82
  * Type definition for `AWS::IoT::DomainConfiguration.ServerCertificateConfig`.
69
83
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-domainconfiguration-servercertificateconfig.html}
@@ -433,6 +433,7 @@ export type LifecycleConfiguration = {
433
433
  * A lifecycle rule for individual objects in an Amazon S3 bucket.
434
434
  */
435
435
  Rules: Rule[];
436
+ TransitionDefaultMinimumObjectSize?: "varies_by_storage_class" | "all_storage_classes_128K";
436
437
  };
437
438
  /**
438
439
  * Type definition for `AWS::S3::Bucket.LoggingConfiguration`.
@@ -5,7 +5,10 @@ import type { ResourceOptions as $ResourceOptions } from "@awboost/cfn-template-
5
5
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3express-directorybucket.html}
6
6
  */
7
7
  export type S3ExpressDirectoryBucketProperties = {
8
- BucketEncryption?: any;
8
+ /**
9
+ * Specifies default encryption for a bucket using server-side encryption with Amazon S3 managed keys (SSE-S3) or AWS KMS keys (SSE-KMS).
10
+ */
11
+ BucketEncryption?: BucketEncryption;
9
12
  /**
10
13
  * Specifies a name for the bucket. The bucket name must contain only lowercase letters, numbers, and hyphens (-). A directory bucket name must be unique in the chosen Availability Zone. The bucket name must also follow the format 'bucket_base_name--az_id--x-s3' (for example, 'DOC-EXAMPLE-BUCKET--usw2-az1--x-s3'). If you don't specify a name, AWS CloudFormation generates a unique physical ID and uses that ID for the bucket name.
11
14
  * @maxLength `63`
@@ -35,6 +38,44 @@ export type S3ExpressDirectoryBucketAttributes = {
35
38
  */
36
39
  AvailabilityZoneName: string;
37
40
  };
41
+ /**
42
+ * Type definition for `AWS::S3Express::DirectoryBucket.BucketEncryption`.
43
+ * Specifies default encryption for a bucket using server-side encryption with Amazon S3 managed keys (SSE-S3) or AWS KMS keys (SSE-KMS).
44
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3express-directorybucket-bucketencryption.html}
45
+ */
46
+ export type BucketEncryption = {
47
+ /**
48
+ * Specifies the default server-side-encryption configuration.
49
+ */
50
+ ServerSideEncryptionConfiguration: ServerSideEncryptionRule[];
51
+ };
52
+ /**
53
+ * Type definition for `AWS::S3Express::DirectoryBucket.ServerSideEncryptionByDefault`.
54
+ * Specifies 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.
55
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3express-directorybucket-serversideencryptionbydefault.html}
56
+ */
57
+ export type ServerSideEncryptionByDefault = {
58
+ /**
59
+ * AWS Key Management Service (KMS) customer managed key ID to use for the default encryption. This parameter is allowed only if SSEAlgorithm is set to aws:kms. You can specify this parameter with the key ID or the Amazon Resource Name (ARN) of the KMS key
60
+ */
61
+ KMSMasterKeyID?: string;
62
+ SSEAlgorithm: "aws:kms" | "AES256";
63
+ };
64
+ /**
65
+ * Type definition for `AWS::S3Express::DirectoryBucket.ServerSideEncryptionRule`.
66
+ * Specifies the default server-side encryption configuration.
67
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3express-directorybucket-serversideencryptionrule.html}
68
+ */
69
+ export type ServerSideEncryptionRule = {
70
+ /**
71
+ * Specifies whether Amazon S3 should use an S3 Bucket Key with server-side encryption using KMS (SSE-KMS) for new objects in the bucket. Existing objects are not affected. Amazon S3 Express One Zone uses an S3 Bucket Key with SSE-KMS and S3 Bucket Key cannot be disabled. It's only allowed to set the BucketKeyEnabled element to true.
72
+ */
73
+ BucketKeyEnabled?: boolean;
74
+ /**
75
+ * Specifies 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.
76
+ */
77
+ ServerSideEncryptionByDefault?: ServerSideEncryptionByDefault;
78
+ };
38
79
  /**
39
80
  * Resource Type definition for AWS::S3Express::DirectoryBucket.
40
81
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3express-directorybucket.html}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@awboost/cfn-resource-types",
3
- "version": "0.1.158",
3
+ "version": "0.1.160",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },