@awboost/cfn-resource-types 0.1.213 → 0.1.214

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,375 @@
1
+ import { Resource as $Resource } from "@awboost/cfn-template-builder/template/resource";
2
+ import type { ResourceOptions as $ResourceOptions } from "@awboost/cfn-template-builder/template";
3
+ /**
4
+ * Resource type definition for `AWS::Logs::Transformer`.
5
+ * Specifies a transformer on the log group to transform logs into consistent structured and information rich format.
6
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-logs-transformer.html}
7
+ */
8
+ export type LogsTransformerProperties = {
9
+ /**
10
+ * Existing log group that you want to associate with this transformer.
11
+ * @minLength `1`
12
+ * @maxLength `2048`
13
+ * @pattern `[\w#+=/:,.@-]*`
14
+ */
15
+ LogGroupIdentifier: string;
16
+ /**
17
+ * List of processors in a transformer
18
+ * @minLength `1`
19
+ * @maxLength `20`
20
+ */
21
+ TransformerConfig: Processor[];
22
+ };
23
+ /**
24
+ * Type definition for `AWS::Logs::Transformer.AddKeyEntry`.
25
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-logs-transformer-addkeyentry.html}
26
+ */
27
+ export type AddKeyEntry = {
28
+ /**
29
+ * @maxLength `128`
30
+ * @pattern `^.*[a-zA-Z0-9]+.*$`
31
+ */
32
+ Key: string;
33
+ OverwriteIfExists?: boolean;
34
+ /**
35
+ * @minLength `1`
36
+ * @maxLength `256`
37
+ */
38
+ Value: string;
39
+ };
40
+ /**
41
+ * Type definition for `AWS::Logs::Transformer.CopyValueEntry`.
42
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-logs-transformer-copyvalueentry.html}
43
+ */
44
+ export type CopyValueEntry = {
45
+ OverwriteIfExists?: boolean;
46
+ /**
47
+ * @pattern `^.*[a-zA-Z0-9]+.*$`
48
+ */
49
+ Source: string;
50
+ /**
51
+ * @maxLength `128`
52
+ * @pattern `^.*[a-zA-Z0-9]+.*$`
53
+ */
54
+ Target: string;
55
+ };
56
+ /**
57
+ * Type definition for `AWS::Logs::Transformer.MoveKeyEntry`.
58
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-logs-transformer-movekeyentry.html}
59
+ */
60
+ export type MoveKeyEntry = {
61
+ OverwriteIfExists?: boolean;
62
+ /**
63
+ * @pattern `^.*[a-zA-Z0-9]+.*$`
64
+ */
65
+ Source: string;
66
+ /**
67
+ * @pattern `^.*[a-zA-Z0-9]+.*$`
68
+ */
69
+ Target: string;
70
+ };
71
+ /**
72
+ * Type definition for `AWS::Logs::Transformer.ParseCloudfront`.
73
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-logs-transformer-parsecloudfront.html}
74
+ */
75
+ export type ParseCloudfront = {
76
+ /**
77
+ * @pattern `^.*[a-zA-Z0-9]+.*$`
78
+ */
79
+ Source?: string;
80
+ };
81
+ /**
82
+ * Type definition for `AWS::Logs::Transformer.ParsePostgres`.
83
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-logs-transformer-parsepostgres.html}
84
+ */
85
+ export type ParsePostgres = {
86
+ /**
87
+ * @pattern `^.*[a-zA-Z0-9]+.*$`
88
+ */
89
+ Source?: string;
90
+ };
91
+ /**
92
+ * Type definition for `AWS::Logs::Transformer.ParseRoute53`.
93
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-logs-transformer-parseroute53.html}
94
+ */
95
+ export type ParseRoute53 = {
96
+ /**
97
+ * @pattern `^.*[a-zA-Z0-9]+.*$`
98
+ */
99
+ Source?: string;
100
+ };
101
+ /**
102
+ * Type definition for `AWS::Logs::Transformer.ParseVPC`.
103
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-logs-transformer-parsevpc.html}
104
+ */
105
+ export type ParseVPC = {
106
+ /**
107
+ * @pattern `^.*[a-zA-Z0-9]+.*$`
108
+ */
109
+ Source?: string;
110
+ };
111
+ /**
112
+ * Type definition for `AWS::Logs::Transformer.ParseWAF`.
113
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-logs-transformer-parsewaf.html}
114
+ */
115
+ export type ParseWAF = {
116
+ /**
117
+ * @pattern `^.*[a-zA-Z0-9]+.*$`
118
+ */
119
+ Source?: string;
120
+ };
121
+ /**
122
+ * Type definition for `AWS::Logs::Transformer.Processor`.
123
+ * Individual processor configuration
124
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-logs-transformer-processor.html}
125
+ */
126
+ export type Processor = {
127
+ AddKeys?: {
128
+ /**
129
+ * @minLength `1`
130
+ * @maxLength `5`
131
+ */
132
+ Entries: AddKeyEntry[];
133
+ };
134
+ CopyValue?: {
135
+ /**
136
+ * @minLength `1`
137
+ * @maxLength `5`
138
+ */
139
+ Entries: CopyValueEntry[];
140
+ };
141
+ Csv?: {
142
+ /**
143
+ * @minLength `1`
144
+ * @maxLength `100`
145
+ */
146
+ Columns?: string[];
147
+ /**
148
+ * @maxLength `1`
149
+ */
150
+ Delimiter?: string;
151
+ /**
152
+ * @maxLength `1`
153
+ */
154
+ QuoteCharacter?: string;
155
+ Source?: string;
156
+ };
157
+ DateTimeConverter?: {
158
+ Locale?: string;
159
+ /**
160
+ * @minLength `1`
161
+ * @maxLength `5`
162
+ */
163
+ MatchPatterns: string[];
164
+ /**
165
+ * @pattern `^.*[a-zA-Z0-9]+.*$`
166
+ */
167
+ Source: string;
168
+ SourceTimezone?: string;
169
+ /**
170
+ * @maxLength `128`
171
+ * @pattern `^.*[a-zA-Z0-9]+.*$`
172
+ */
173
+ Target: string;
174
+ TargetFormat?: string;
175
+ TargetTimezone?: string;
176
+ };
177
+ DeleteKeys?: {
178
+ /**
179
+ * @minLength `1`
180
+ * @maxLength `5`
181
+ */
182
+ WithKeys: string[];
183
+ };
184
+ Grok?: {
185
+ /**
186
+ * @maxLength `128`
187
+ */
188
+ Match: string;
189
+ /**
190
+ * @pattern `^.*[a-zA-Z0-9]+.*$`
191
+ */
192
+ Source?: string;
193
+ };
194
+ ListToMap?: {
195
+ Flatten?: boolean;
196
+ FlattenedElement?: "first" | "last";
197
+ /**
198
+ * @pattern `^.*[a-zA-Z0-9]+.*$`
199
+ */
200
+ Key: string;
201
+ /**
202
+ * @pattern `^.*[a-zA-Z0-9]+.*$`
203
+ */
204
+ Source: string;
205
+ /**
206
+ * @maxLength `128`
207
+ * @pattern `^.*[a-zA-Z0-9]+.*$`
208
+ */
209
+ Target?: string;
210
+ /**
211
+ * @pattern `^.*[a-zA-Z0-9]+.*$`
212
+ */
213
+ ValueKey?: string;
214
+ };
215
+ LowerCaseString?: {
216
+ /**
217
+ * @minLength `1`
218
+ * @maxLength `10`
219
+ */
220
+ WithKeys: string[];
221
+ };
222
+ MoveKeys?: {
223
+ /**
224
+ * @minLength `1`
225
+ * @maxLength `5`
226
+ */
227
+ Entries: MoveKeyEntry[];
228
+ };
229
+ ParseCloudfront?: ParseCloudfront;
230
+ ParseJSON?: {
231
+ /**
232
+ * @maxLength `128`
233
+ * @pattern `^.*[a-zA-Z0-9]+.*$`
234
+ */
235
+ Destination?: string;
236
+ Source?: string;
237
+ };
238
+ ParseKeyValue?: {
239
+ /**
240
+ * @pattern `^.*[a-zA-Z0-9]+.*$`
241
+ */
242
+ Destination?: string;
243
+ FieldDelimiter?: string;
244
+ /**
245
+ * @pattern `^.*[a-zA-Z0-9]+.*$`
246
+ */
247
+ KeyPrefix?: string;
248
+ KeyValueDelimiter?: string;
249
+ /**
250
+ * @pattern `^.*[a-zA-Z0-9]+.*$`
251
+ */
252
+ NonMatchValue?: string;
253
+ OverwriteIfExists?: boolean;
254
+ /**
255
+ * @pattern `^.*[a-zA-Z0-9]+.*$`
256
+ */
257
+ Source?: string;
258
+ };
259
+ ParsePostgres?: ParsePostgres;
260
+ ParseRoute53?: ParseRoute53;
261
+ ParseVPC?: ParseVPC;
262
+ ParseWAF?: ParseWAF;
263
+ RenameKeys?: {
264
+ /**
265
+ * @minLength `1`
266
+ * @maxLength `5`
267
+ */
268
+ Entries: RenameKeyEntry[];
269
+ };
270
+ SplitString?: {
271
+ /**
272
+ * @minLength `1`
273
+ * @maxLength `10`
274
+ */
275
+ Entries: SplitStringEntry[];
276
+ };
277
+ SubstituteString?: {
278
+ /**
279
+ * @minLength `1`
280
+ * @maxLength `10`
281
+ */
282
+ Entries: SubstituteStringEntry[];
283
+ };
284
+ TrimString?: {
285
+ /**
286
+ * @minLength `1`
287
+ * @maxLength `10`
288
+ */
289
+ WithKeys: string[];
290
+ };
291
+ TypeConverter?: {
292
+ /**
293
+ * @minLength `1`
294
+ * @maxLength `5`
295
+ */
296
+ Entries: TypeConverterEntry[];
297
+ };
298
+ UpperCaseString?: {
299
+ /**
300
+ * @minLength `1`
301
+ * @maxLength `10`
302
+ */
303
+ WithKeys: string[];
304
+ };
305
+ };
306
+ /**
307
+ * Type definition for `AWS::Logs::Transformer.RenameKeyEntry`.
308
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-logs-transformer-renamekeyentry.html}
309
+ */
310
+ export type RenameKeyEntry = {
311
+ /**
312
+ * @pattern `^.*[a-zA-Z0-9]+.*$`
313
+ */
314
+ Key: string;
315
+ OverwriteIfExists?: boolean;
316
+ /**
317
+ * @pattern `^.*[a-zA-Z0-9]+.*$`
318
+ */
319
+ RenameTo: string;
320
+ };
321
+ /**
322
+ * Type definition for `AWS::Logs::Transformer.SplitStringEntry`.
323
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-logs-transformer-splitstringentry.html}
324
+ */
325
+ export type SplitStringEntry = {
326
+ /**
327
+ * @maxLength `1`
328
+ */
329
+ Delimiter: string;
330
+ /**
331
+ * @pattern `^.*[a-zA-Z0-9]+.*$`
332
+ */
333
+ Source: string;
334
+ };
335
+ /**
336
+ * Type definition for `AWS::Logs::Transformer.SubstituteStringEntry`.
337
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-logs-transformer-substitutestringentry.html}
338
+ */
339
+ export type SubstituteStringEntry = {
340
+ /**
341
+ * @maxLength `128`
342
+ * @pattern `^.*[a-zA-Z0-9]+.*$`
343
+ */
344
+ From: string;
345
+ /**
346
+ * @pattern `^.*[a-zA-Z0-9]+.*$`
347
+ */
348
+ Source: string;
349
+ /**
350
+ * @maxLength `128`
351
+ * @pattern `^.*[a-zA-Z0-9]+.*$`
352
+ */
353
+ To: string;
354
+ };
355
+ /**
356
+ * Type definition for `AWS::Logs::Transformer.TypeConverterEntry`.
357
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-logs-transformer-typeconverterentry.html}
358
+ */
359
+ export type TypeConverterEntry = {
360
+ /**
361
+ * @pattern `^.*[a-zA-Z0-9]+.*$`
362
+ */
363
+ Key: string;
364
+ Type: "boolean" | "integer" | "double" | "string";
365
+ };
366
+ /**
367
+ * Resource type definition for `AWS::Logs::Transformer`.
368
+ * Specifies a transformer on the log group to transform logs into consistent structured and information rich format.
369
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-logs-transformer.html}
370
+ */
371
+ export declare class LogsTransformer extends $Resource<"AWS::Logs::Transformer", LogsTransformerProperties, Record<string, never>> {
372
+ static readonly Type = "AWS::Logs::Transformer";
373
+ constructor(logicalId: string, properties: LogsTransformerProperties, options?: $ResourceOptions);
374
+ }
375
+ //# sourceMappingURL=AWS-Logs-Transformer.d.ts.map
@@ -0,0 +1,13 @@
1
+ import { Resource as $Resource } from "@awboost/cfn-template-builder/template/resource";
2
+ /**
3
+ * Resource type definition for `AWS::Logs::Transformer`.
4
+ * Specifies a transformer on the log group to transform logs into consistent structured and information rich format.
5
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-logs-transformer.html}
6
+ */
7
+ export class LogsTransformer extends $Resource {
8
+ static Type = "AWS::Logs::Transformer";
9
+ constructor(logicalId, properties, options) {
10
+ super(logicalId, LogsTransformer.Type, properties, options);
11
+ }
12
+ }
13
+ //# sourceMappingURL=AWS-Logs-Transformer.js.map
@@ -0,0 +1,144 @@
1
+ import { Resource as $Resource } from "@awboost/cfn-template-builder/template/resource";
2
+ import type { ResourceOptions as $ResourceOptions } from "@awboost/cfn-template-builder/template";
3
+ /**
4
+ * AWS::NetworkManager::DirectConnectGatewayAttachment Resource Type
5
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-networkmanager-directconnectgatewayattachment.html}
6
+ */
7
+ export type NetworkManagerDirectConnectGatewayAttachmentProperties = {
8
+ /**
9
+ * The ID of a core network for the Direct Connect Gateway attachment.
10
+ */
11
+ CoreNetworkId: string;
12
+ /**
13
+ * The ARN of the Direct Connect Gateway.
14
+ */
15
+ DirectConnectGatewayArn: string;
16
+ /**
17
+ * The Regions where the edges are located.
18
+ */
19
+ EdgeLocations: string[];
20
+ /**
21
+ * The attachment to move from one network function group to another.
22
+ */
23
+ ProposedNetworkFunctionGroupChange?: ProposedNetworkFunctionGroupChange;
24
+ /**
25
+ * The attachment to move from one segment to another.
26
+ */
27
+ ProposedSegmentChange?: ProposedSegmentChange;
28
+ /**
29
+ * Tags for the attachment.
30
+ */
31
+ Tags?: Tag[];
32
+ };
33
+ /**
34
+ * Attribute type definition for `AWS::NetworkManager::DirectConnectGatewayAttachment`.
35
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-networkmanager-directconnectgatewayattachment.html#aws-resource-networkmanager-directconnectgatewayattachment-return-values}
36
+ */
37
+ export type NetworkManagerDirectConnectGatewayAttachmentAttributes = {
38
+ /**
39
+ * Id of the attachment.
40
+ */
41
+ AttachmentId: string;
42
+ /**
43
+ * The policy rule number associated with the attachment.
44
+ */
45
+ AttachmentPolicyRuleNumber: number;
46
+ /**
47
+ * Attachment type.
48
+ */
49
+ AttachmentType: string;
50
+ /**
51
+ * The ARN of a core network for the Direct Connect Gateway attachment.
52
+ */
53
+ CoreNetworkArn: string;
54
+ /**
55
+ * Creation time of the attachment.
56
+ */
57
+ CreatedAt: string;
58
+ /**
59
+ * The name of the network function group attachment.
60
+ */
61
+ NetworkFunctionGroupName: string;
62
+ /**
63
+ * Owner account of the attachment.
64
+ */
65
+ OwnerAccountId: string;
66
+ /**
67
+ * The ARN of the Resource.
68
+ */
69
+ ResourceArn: string;
70
+ /**
71
+ * The name of the segment attachment..
72
+ */
73
+ SegmentName: string;
74
+ /**
75
+ * State of the attachment.
76
+ */
77
+ State: string;
78
+ /**
79
+ * Last update time of the attachment.
80
+ */
81
+ UpdatedAt: string;
82
+ };
83
+ /**
84
+ * Type definition for `AWS::NetworkManager::DirectConnectGatewayAttachment.ProposedNetworkFunctionGroupChange`.
85
+ * The attachment to move from one network function group to another.
86
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-networkmanager-directconnectgatewayattachment-proposednetworkfunctiongroupchange.html}
87
+ */
88
+ export type ProposedNetworkFunctionGroupChange = {
89
+ /**
90
+ * The rule number in the policy document that applies to this change.
91
+ */
92
+ AttachmentPolicyRuleNumber?: number;
93
+ /**
94
+ * The name of the network function group to change.
95
+ */
96
+ NetworkFunctionGroupName?: string;
97
+ /**
98
+ * The key-value tags that changed for the network function group.
99
+ */
100
+ Tags?: Tag[];
101
+ };
102
+ /**
103
+ * Type definition for `AWS::NetworkManager::DirectConnectGatewayAttachment.ProposedSegmentChange`.
104
+ * The attachment to move from one segment to another.
105
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-networkmanager-directconnectgatewayattachment-proposedsegmentchange.html}
106
+ */
107
+ export type ProposedSegmentChange = {
108
+ /**
109
+ * The rule number in the policy document that applies to this change.
110
+ */
111
+ AttachmentPolicyRuleNumber?: number;
112
+ /**
113
+ * The name of the segment to change.
114
+ */
115
+ SegmentName?: string;
116
+ /**
117
+ * The key-value tags that changed for the segment.
118
+ */
119
+ Tags?: Tag[];
120
+ };
121
+ /**
122
+ * Type definition for `AWS::NetworkManager::DirectConnectGatewayAttachment.Tag`.
123
+ * A key-value pair to associate with a resource.
124
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-networkmanager-directconnectgatewayattachment-tag.html}
125
+ */
126
+ export type Tag = {
127
+ /**
128
+ * The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
129
+ */
130
+ Key: string;
131
+ /**
132
+ * The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
133
+ */
134
+ Value: string;
135
+ };
136
+ /**
137
+ * AWS::NetworkManager::DirectConnectGatewayAttachment Resource Type
138
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-networkmanager-directconnectgatewayattachment.html}
139
+ */
140
+ export declare class NetworkManagerDirectConnectGatewayAttachment extends $Resource<"AWS::NetworkManager::DirectConnectGatewayAttachment", NetworkManagerDirectConnectGatewayAttachmentProperties, NetworkManagerDirectConnectGatewayAttachmentAttributes> {
141
+ static readonly Type = "AWS::NetworkManager::DirectConnectGatewayAttachment";
142
+ constructor(logicalId: string, properties: NetworkManagerDirectConnectGatewayAttachmentProperties, options?: $ResourceOptions);
143
+ }
144
+ //# sourceMappingURL=AWS-NetworkManager-DirectConnectGatewayAttachment.d.ts.map
@@ -0,0 +1,12 @@
1
+ import { Resource as $Resource } from "@awboost/cfn-template-builder/template/resource";
2
+ /**
3
+ * AWS::NetworkManager::DirectConnectGatewayAttachment Resource Type
4
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-networkmanager-directconnectgatewayattachment.html}
5
+ */
6
+ export class NetworkManagerDirectConnectGatewayAttachment extends $Resource {
7
+ static Type = "AWS::NetworkManager::DirectConnectGatewayAttachment";
8
+ constructor(logicalId, properties, options) {
9
+ super(logicalId, NetworkManagerDirectConnectGatewayAttachment.Type, properties, options);
10
+ }
11
+ }
12
+ //# sourceMappingURL=AWS-NetworkManager-DirectConnectGatewayAttachment.js.map