@aws-solutions-constructs/aws-lambda-kinesisstreams 2.43.1 → 2.45.0
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.
- package/.jsii +106 -15
- package/README.md +1 -1
- package/lib/index.js +5 -3
- package/package.json +5 -5
- package/test/integ.existingLambda.expected.json +8 -8
- package/test/integ.existingStream.expected.json +8 -8
- package/test/integ.existingStreamWithCmk.expected.json +10 -10
- package/test/integ.existingVpc.expected.json +106 -106
- package/test/integ.newStreamFromProps.expected.json +8 -8
- package/test/integ.newVpc.expected.json +52 -52
- package/test/integ.newVpcFromProps.expected.json +36 -36
- package/test/integ.noArguments.expected.json +8 -8
- package/test/lambda-kinesisstream.test.js +65 -1
|
@@ -18,9 +18,6 @@
|
|
|
18
18
|
"VpcPublicSubnet1Subnet5C2D37C4": {
|
|
19
19
|
"Type": "AWS::EC2::Subnet",
|
|
20
20
|
"Properties": {
|
|
21
|
-
"VpcId": {
|
|
22
|
-
"Ref": "Vpc8378EB38"
|
|
23
|
-
},
|
|
24
21
|
"AvailabilityZone": "test-region-1a",
|
|
25
22
|
"CidrBlock": "10.0.0.0/19",
|
|
26
23
|
"MapPublicIpOnLaunch": true,
|
|
@@ -37,7 +34,10 @@
|
|
|
37
34
|
"Key": "Name",
|
|
38
35
|
"Value": "existingVpc/Vpc/PublicSubnet1"
|
|
39
36
|
}
|
|
40
|
-
]
|
|
37
|
+
],
|
|
38
|
+
"VpcId": {
|
|
39
|
+
"Ref": "Vpc8378EB38"
|
|
40
|
+
}
|
|
41
41
|
},
|
|
42
42
|
"Metadata": {
|
|
43
43
|
"cfn_nag": {
|
|
@@ -53,15 +53,15 @@
|
|
|
53
53
|
"VpcPublicSubnet1RouteTable6C95E38E": {
|
|
54
54
|
"Type": "AWS::EC2::RouteTable",
|
|
55
55
|
"Properties": {
|
|
56
|
-
"VpcId": {
|
|
57
|
-
"Ref": "Vpc8378EB38"
|
|
58
|
-
},
|
|
59
56
|
"Tags": [
|
|
60
57
|
{
|
|
61
58
|
"Key": "Name",
|
|
62
59
|
"Value": "existingVpc/Vpc/PublicSubnet1"
|
|
63
60
|
}
|
|
64
|
-
]
|
|
61
|
+
],
|
|
62
|
+
"VpcId": {
|
|
63
|
+
"Ref": "Vpc8378EB38"
|
|
64
|
+
}
|
|
65
65
|
}
|
|
66
66
|
},
|
|
67
67
|
"VpcPublicSubnet1RouteTableAssociation97140677": {
|
|
@@ -78,12 +78,12 @@
|
|
|
78
78
|
"VpcPublicSubnet1DefaultRoute3DA9E72A": {
|
|
79
79
|
"Type": "AWS::EC2::Route",
|
|
80
80
|
"Properties": {
|
|
81
|
-
"RouteTableId": {
|
|
82
|
-
"Ref": "VpcPublicSubnet1RouteTable6C95E38E"
|
|
83
|
-
},
|
|
84
81
|
"DestinationCidrBlock": "0.0.0.0/0",
|
|
85
82
|
"GatewayId": {
|
|
86
83
|
"Ref": "VpcIGWD7BA715C"
|
|
84
|
+
},
|
|
85
|
+
"RouteTableId": {
|
|
86
|
+
"Ref": "VpcPublicSubnet1RouteTable6C95E38E"
|
|
87
87
|
}
|
|
88
88
|
},
|
|
89
89
|
"DependsOn": [
|
|
@@ -105,15 +105,15 @@
|
|
|
105
105
|
"VpcPublicSubnet1NATGateway4D7517AA": {
|
|
106
106
|
"Type": "AWS::EC2::NatGateway",
|
|
107
107
|
"Properties": {
|
|
108
|
-
"SubnetId": {
|
|
109
|
-
"Ref": "VpcPublicSubnet1Subnet5C2D37C4"
|
|
110
|
-
},
|
|
111
108
|
"AllocationId": {
|
|
112
109
|
"Fn::GetAtt": [
|
|
113
110
|
"VpcPublicSubnet1EIPD7E02669",
|
|
114
111
|
"AllocationId"
|
|
115
112
|
]
|
|
116
113
|
},
|
|
114
|
+
"SubnetId": {
|
|
115
|
+
"Ref": "VpcPublicSubnet1Subnet5C2D37C4"
|
|
116
|
+
},
|
|
117
117
|
"Tags": [
|
|
118
118
|
{
|
|
119
119
|
"Key": "Name",
|
|
@@ -129,9 +129,6 @@
|
|
|
129
129
|
"VpcPublicSubnet2Subnet691E08A3": {
|
|
130
130
|
"Type": "AWS::EC2::Subnet",
|
|
131
131
|
"Properties": {
|
|
132
|
-
"VpcId": {
|
|
133
|
-
"Ref": "Vpc8378EB38"
|
|
134
|
-
},
|
|
135
132
|
"AvailabilityZone": "test-region-1b",
|
|
136
133
|
"CidrBlock": "10.0.32.0/19",
|
|
137
134
|
"MapPublicIpOnLaunch": true,
|
|
@@ -148,7 +145,10 @@
|
|
|
148
145
|
"Key": "Name",
|
|
149
146
|
"Value": "existingVpc/Vpc/PublicSubnet2"
|
|
150
147
|
}
|
|
151
|
-
]
|
|
148
|
+
],
|
|
149
|
+
"VpcId": {
|
|
150
|
+
"Ref": "Vpc8378EB38"
|
|
151
|
+
}
|
|
152
152
|
},
|
|
153
153
|
"Metadata": {
|
|
154
154
|
"cfn_nag": {
|
|
@@ -164,15 +164,15 @@
|
|
|
164
164
|
"VpcPublicSubnet2RouteTable94F7E489": {
|
|
165
165
|
"Type": "AWS::EC2::RouteTable",
|
|
166
166
|
"Properties": {
|
|
167
|
-
"VpcId": {
|
|
168
|
-
"Ref": "Vpc8378EB38"
|
|
169
|
-
},
|
|
170
167
|
"Tags": [
|
|
171
168
|
{
|
|
172
169
|
"Key": "Name",
|
|
173
170
|
"Value": "existingVpc/Vpc/PublicSubnet2"
|
|
174
171
|
}
|
|
175
|
-
]
|
|
172
|
+
],
|
|
173
|
+
"VpcId": {
|
|
174
|
+
"Ref": "Vpc8378EB38"
|
|
175
|
+
}
|
|
176
176
|
}
|
|
177
177
|
},
|
|
178
178
|
"VpcPublicSubnet2RouteTableAssociationDD5762D8": {
|
|
@@ -189,12 +189,12 @@
|
|
|
189
189
|
"VpcPublicSubnet2DefaultRoute97F91067": {
|
|
190
190
|
"Type": "AWS::EC2::Route",
|
|
191
191
|
"Properties": {
|
|
192
|
-
"RouteTableId": {
|
|
193
|
-
"Ref": "VpcPublicSubnet2RouteTable94F7E489"
|
|
194
|
-
},
|
|
195
192
|
"DestinationCidrBlock": "0.0.0.0/0",
|
|
196
193
|
"GatewayId": {
|
|
197
194
|
"Ref": "VpcIGWD7BA715C"
|
|
195
|
+
},
|
|
196
|
+
"RouteTableId": {
|
|
197
|
+
"Ref": "VpcPublicSubnet2RouteTable94F7E489"
|
|
198
198
|
}
|
|
199
199
|
},
|
|
200
200
|
"DependsOn": [
|
|
@@ -216,15 +216,15 @@
|
|
|
216
216
|
"VpcPublicSubnet2NATGateway9182C01D": {
|
|
217
217
|
"Type": "AWS::EC2::NatGateway",
|
|
218
218
|
"Properties": {
|
|
219
|
-
"SubnetId": {
|
|
220
|
-
"Ref": "VpcPublicSubnet2Subnet691E08A3"
|
|
221
|
-
},
|
|
222
219
|
"AllocationId": {
|
|
223
220
|
"Fn::GetAtt": [
|
|
224
221
|
"VpcPublicSubnet2EIP3C605A87",
|
|
225
222
|
"AllocationId"
|
|
226
223
|
]
|
|
227
224
|
},
|
|
225
|
+
"SubnetId": {
|
|
226
|
+
"Ref": "VpcPublicSubnet2Subnet691E08A3"
|
|
227
|
+
},
|
|
228
228
|
"Tags": [
|
|
229
229
|
{
|
|
230
230
|
"Key": "Name",
|
|
@@ -240,9 +240,6 @@
|
|
|
240
240
|
"VpcPublicSubnet3SubnetBE12F0B6": {
|
|
241
241
|
"Type": "AWS::EC2::Subnet",
|
|
242
242
|
"Properties": {
|
|
243
|
-
"VpcId": {
|
|
244
|
-
"Ref": "Vpc8378EB38"
|
|
245
|
-
},
|
|
246
243
|
"AvailabilityZone": "test-region-1c",
|
|
247
244
|
"CidrBlock": "10.0.64.0/19",
|
|
248
245
|
"MapPublicIpOnLaunch": true,
|
|
@@ -259,7 +256,10 @@
|
|
|
259
256
|
"Key": "Name",
|
|
260
257
|
"Value": "existingVpc/Vpc/PublicSubnet3"
|
|
261
258
|
}
|
|
262
|
-
]
|
|
259
|
+
],
|
|
260
|
+
"VpcId": {
|
|
261
|
+
"Ref": "Vpc8378EB38"
|
|
262
|
+
}
|
|
263
263
|
},
|
|
264
264
|
"Metadata": {
|
|
265
265
|
"cfn_nag": {
|
|
@@ -275,15 +275,15 @@
|
|
|
275
275
|
"VpcPublicSubnet3RouteTable93458DBB": {
|
|
276
276
|
"Type": "AWS::EC2::RouteTable",
|
|
277
277
|
"Properties": {
|
|
278
|
-
"VpcId": {
|
|
279
|
-
"Ref": "Vpc8378EB38"
|
|
280
|
-
},
|
|
281
278
|
"Tags": [
|
|
282
279
|
{
|
|
283
280
|
"Key": "Name",
|
|
284
281
|
"Value": "existingVpc/Vpc/PublicSubnet3"
|
|
285
282
|
}
|
|
286
|
-
]
|
|
283
|
+
],
|
|
284
|
+
"VpcId": {
|
|
285
|
+
"Ref": "Vpc8378EB38"
|
|
286
|
+
}
|
|
287
287
|
}
|
|
288
288
|
},
|
|
289
289
|
"VpcPublicSubnet3RouteTableAssociation1F1EDF02": {
|
|
@@ -300,12 +300,12 @@
|
|
|
300
300
|
"VpcPublicSubnet3DefaultRoute4697774F": {
|
|
301
301
|
"Type": "AWS::EC2::Route",
|
|
302
302
|
"Properties": {
|
|
303
|
-
"RouteTableId": {
|
|
304
|
-
"Ref": "VpcPublicSubnet3RouteTable93458DBB"
|
|
305
|
-
},
|
|
306
303
|
"DestinationCidrBlock": "0.0.0.0/0",
|
|
307
304
|
"GatewayId": {
|
|
308
305
|
"Ref": "VpcIGWD7BA715C"
|
|
306
|
+
},
|
|
307
|
+
"RouteTableId": {
|
|
308
|
+
"Ref": "VpcPublicSubnet3RouteTable93458DBB"
|
|
309
309
|
}
|
|
310
310
|
},
|
|
311
311
|
"DependsOn": [
|
|
@@ -327,15 +327,15 @@
|
|
|
327
327
|
"VpcPublicSubnet3NATGateway7640CD1D": {
|
|
328
328
|
"Type": "AWS::EC2::NatGateway",
|
|
329
329
|
"Properties": {
|
|
330
|
-
"SubnetId": {
|
|
331
|
-
"Ref": "VpcPublicSubnet3SubnetBE12F0B6"
|
|
332
|
-
},
|
|
333
330
|
"AllocationId": {
|
|
334
331
|
"Fn::GetAtt": [
|
|
335
332
|
"VpcPublicSubnet3EIP3A666A23",
|
|
336
333
|
"AllocationId"
|
|
337
334
|
]
|
|
338
335
|
},
|
|
336
|
+
"SubnetId": {
|
|
337
|
+
"Ref": "VpcPublicSubnet3SubnetBE12F0B6"
|
|
338
|
+
},
|
|
339
339
|
"Tags": [
|
|
340
340
|
{
|
|
341
341
|
"Key": "Name",
|
|
@@ -351,9 +351,6 @@
|
|
|
351
351
|
"VpcPrivateSubnet1Subnet536B997A": {
|
|
352
352
|
"Type": "AWS::EC2::Subnet",
|
|
353
353
|
"Properties": {
|
|
354
|
-
"VpcId": {
|
|
355
|
-
"Ref": "Vpc8378EB38"
|
|
356
|
-
},
|
|
357
354
|
"AvailabilityZone": "test-region-1a",
|
|
358
355
|
"CidrBlock": "10.0.96.0/19",
|
|
359
356
|
"MapPublicIpOnLaunch": false,
|
|
@@ -370,21 +367,24 @@
|
|
|
370
367
|
"Key": "Name",
|
|
371
368
|
"Value": "existingVpc/Vpc/PrivateSubnet1"
|
|
372
369
|
}
|
|
373
|
-
]
|
|
370
|
+
],
|
|
371
|
+
"VpcId": {
|
|
372
|
+
"Ref": "Vpc8378EB38"
|
|
373
|
+
}
|
|
374
374
|
}
|
|
375
375
|
},
|
|
376
376
|
"VpcPrivateSubnet1RouteTableB2C5B500": {
|
|
377
377
|
"Type": "AWS::EC2::RouteTable",
|
|
378
378
|
"Properties": {
|
|
379
|
-
"VpcId": {
|
|
380
|
-
"Ref": "Vpc8378EB38"
|
|
381
|
-
},
|
|
382
379
|
"Tags": [
|
|
383
380
|
{
|
|
384
381
|
"Key": "Name",
|
|
385
382
|
"Value": "existingVpc/Vpc/PrivateSubnet1"
|
|
386
383
|
}
|
|
387
|
-
]
|
|
384
|
+
],
|
|
385
|
+
"VpcId": {
|
|
386
|
+
"Ref": "Vpc8378EB38"
|
|
387
|
+
}
|
|
388
388
|
}
|
|
389
389
|
},
|
|
390
390
|
"VpcPrivateSubnet1RouteTableAssociation70C59FA6": {
|
|
@@ -401,21 +401,18 @@
|
|
|
401
401
|
"VpcPrivateSubnet1DefaultRouteBE02A9ED": {
|
|
402
402
|
"Type": "AWS::EC2::Route",
|
|
403
403
|
"Properties": {
|
|
404
|
-
"RouteTableId": {
|
|
405
|
-
"Ref": "VpcPrivateSubnet1RouteTableB2C5B500"
|
|
406
|
-
},
|
|
407
404
|
"DestinationCidrBlock": "0.0.0.0/0",
|
|
408
405
|
"NatGatewayId": {
|
|
409
406
|
"Ref": "VpcPublicSubnet1NATGateway4D7517AA"
|
|
407
|
+
},
|
|
408
|
+
"RouteTableId": {
|
|
409
|
+
"Ref": "VpcPrivateSubnet1RouteTableB2C5B500"
|
|
410
410
|
}
|
|
411
411
|
}
|
|
412
412
|
},
|
|
413
413
|
"VpcPrivateSubnet2Subnet3788AAA1": {
|
|
414
414
|
"Type": "AWS::EC2::Subnet",
|
|
415
415
|
"Properties": {
|
|
416
|
-
"VpcId": {
|
|
417
|
-
"Ref": "Vpc8378EB38"
|
|
418
|
-
},
|
|
419
416
|
"AvailabilityZone": "test-region-1b",
|
|
420
417
|
"CidrBlock": "10.0.128.0/19",
|
|
421
418
|
"MapPublicIpOnLaunch": false,
|
|
@@ -432,21 +429,24 @@
|
|
|
432
429
|
"Key": "Name",
|
|
433
430
|
"Value": "existingVpc/Vpc/PrivateSubnet2"
|
|
434
431
|
}
|
|
435
|
-
]
|
|
432
|
+
],
|
|
433
|
+
"VpcId": {
|
|
434
|
+
"Ref": "Vpc8378EB38"
|
|
435
|
+
}
|
|
436
436
|
}
|
|
437
437
|
},
|
|
438
438
|
"VpcPrivateSubnet2RouteTableA678073B": {
|
|
439
439
|
"Type": "AWS::EC2::RouteTable",
|
|
440
440
|
"Properties": {
|
|
441
|
-
"VpcId": {
|
|
442
|
-
"Ref": "Vpc8378EB38"
|
|
443
|
-
},
|
|
444
441
|
"Tags": [
|
|
445
442
|
{
|
|
446
443
|
"Key": "Name",
|
|
447
444
|
"Value": "existingVpc/Vpc/PrivateSubnet2"
|
|
448
445
|
}
|
|
449
|
-
]
|
|
446
|
+
],
|
|
447
|
+
"VpcId": {
|
|
448
|
+
"Ref": "Vpc8378EB38"
|
|
449
|
+
}
|
|
450
450
|
}
|
|
451
451
|
},
|
|
452
452
|
"VpcPrivateSubnet2RouteTableAssociationA89CAD56": {
|
|
@@ -463,21 +463,18 @@
|
|
|
463
463
|
"VpcPrivateSubnet2DefaultRoute060D2087": {
|
|
464
464
|
"Type": "AWS::EC2::Route",
|
|
465
465
|
"Properties": {
|
|
466
|
-
"RouteTableId": {
|
|
467
|
-
"Ref": "VpcPrivateSubnet2RouteTableA678073B"
|
|
468
|
-
},
|
|
469
466
|
"DestinationCidrBlock": "0.0.0.0/0",
|
|
470
467
|
"NatGatewayId": {
|
|
471
468
|
"Ref": "VpcPublicSubnet2NATGateway9182C01D"
|
|
469
|
+
},
|
|
470
|
+
"RouteTableId": {
|
|
471
|
+
"Ref": "VpcPrivateSubnet2RouteTableA678073B"
|
|
472
472
|
}
|
|
473
473
|
}
|
|
474
474
|
},
|
|
475
475
|
"VpcPrivateSubnet3SubnetF258B56E": {
|
|
476
476
|
"Type": "AWS::EC2::Subnet",
|
|
477
477
|
"Properties": {
|
|
478
|
-
"VpcId": {
|
|
479
|
-
"Ref": "Vpc8378EB38"
|
|
480
|
-
},
|
|
481
478
|
"AvailabilityZone": "test-region-1c",
|
|
482
479
|
"CidrBlock": "10.0.160.0/19",
|
|
483
480
|
"MapPublicIpOnLaunch": false,
|
|
@@ -494,21 +491,24 @@
|
|
|
494
491
|
"Key": "Name",
|
|
495
492
|
"Value": "existingVpc/Vpc/PrivateSubnet3"
|
|
496
493
|
}
|
|
497
|
-
]
|
|
494
|
+
],
|
|
495
|
+
"VpcId": {
|
|
496
|
+
"Ref": "Vpc8378EB38"
|
|
497
|
+
}
|
|
498
498
|
}
|
|
499
499
|
},
|
|
500
500
|
"VpcPrivateSubnet3RouteTableD98824C7": {
|
|
501
501
|
"Type": "AWS::EC2::RouteTable",
|
|
502
502
|
"Properties": {
|
|
503
|
-
"VpcId": {
|
|
504
|
-
"Ref": "Vpc8378EB38"
|
|
505
|
-
},
|
|
506
503
|
"Tags": [
|
|
507
504
|
{
|
|
508
505
|
"Key": "Name",
|
|
509
506
|
"Value": "existingVpc/Vpc/PrivateSubnet3"
|
|
510
507
|
}
|
|
511
|
-
]
|
|
508
|
+
],
|
|
509
|
+
"VpcId": {
|
|
510
|
+
"Ref": "Vpc8378EB38"
|
|
511
|
+
}
|
|
512
512
|
}
|
|
513
513
|
},
|
|
514
514
|
"VpcPrivateSubnet3RouteTableAssociation16BDDC43": {
|
|
@@ -525,12 +525,12 @@
|
|
|
525
525
|
"VpcPrivateSubnet3DefaultRoute94B74F0D": {
|
|
526
526
|
"Type": "AWS::EC2::Route",
|
|
527
527
|
"Properties": {
|
|
528
|
-
"RouteTableId": {
|
|
529
|
-
"Ref": "VpcPrivateSubnet3RouteTableD98824C7"
|
|
530
|
-
},
|
|
531
528
|
"DestinationCidrBlock": "0.0.0.0/0",
|
|
532
529
|
"NatGatewayId": {
|
|
533
530
|
"Ref": "VpcPublicSubnet3NATGateway7640CD1D"
|
|
531
|
+
},
|
|
532
|
+
"RouteTableId": {
|
|
533
|
+
"Ref": "VpcPrivateSubnet3RouteTableD98824C7"
|
|
534
534
|
}
|
|
535
535
|
}
|
|
536
536
|
},
|
|
@@ -548,11 +548,11 @@
|
|
|
548
548
|
"VpcVPCGWBF912B6E": {
|
|
549
549
|
"Type": "AWS::EC2::VPCGatewayAttachment",
|
|
550
550
|
"Properties": {
|
|
551
|
-
"VpcId": {
|
|
552
|
-
"Ref": "Vpc8378EB38"
|
|
553
|
-
},
|
|
554
551
|
"InternetGatewayId": {
|
|
555
552
|
"Ref": "VpcIGWD7BA715C"
|
|
553
|
+
},
|
|
554
|
+
"VpcId": {
|
|
555
|
+
"Ref": "Vpc8378EB38"
|
|
556
556
|
}
|
|
557
557
|
}
|
|
558
558
|
},
|
|
@@ -574,7 +574,7 @@
|
|
|
574
574
|
"Tags": [
|
|
575
575
|
{
|
|
576
576
|
"Key": "Name",
|
|
577
|
-
"Value": "existingVpc/Vpc"
|
|
577
|
+
"Value": "existingVpc/Vpc/FlowLog"
|
|
578
578
|
}
|
|
579
579
|
]
|
|
580
580
|
}
|
|
@@ -626,7 +626,7 @@
|
|
|
626
626
|
"Tags": [
|
|
627
627
|
{
|
|
628
628
|
"Key": "Name",
|
|
629
|
-
"Value": "existingVpc/Vpc"
|
|
629
|
+
"Value": "existingVpc/Vpc/FlowLog"
|
|
630
630
|
}
|
|
631
631
|
]
|
|
632
632
|
},
|
|
@@ -646,10 +646,6 @@
|
|
|
646
646
|
"VpcFlowLog8FF33A73": {
|
|
647
647
|
"Type": "AWS::EC2::FlowLog",
|
|
648
648
|
"Properties": {
|
|
649
|
-
"ResourceId": {
|
|
650
|
-
"Ref": "Vpc8378EB38"
|
|
651
|
-
},
|
|
652
|
-
"ResourceType": "VPC",
|
|
653
649
|
"DeliverLogsPermissionArn": {
|
|
654
650
|
"Fn::GetAtt": [
|
|
655
651
|
"VpcFlowLogIAMRole6A475D41",
|
|
@@ -660,10 +656,14 @@
|
|
|
660
656
|
"LogGroupName": {
|
|
661
657
|
"Ref": "VpcFlowLogLogGroup7B5C56B9"
|
|
662
658
|
},
|
|
659
|
+
"ResourceId": {
|
|
660
|
+
"Ref": "Vpc8378EB38"
|
|
661
|
+
},
|
|
662
|
+
"ResourceType": "VPC",
|
|
663
663
|
"Tags": [
|
|
664
664
|
{
|
|
665
665
|
"Key": "Name",
|
|
666
|
-
"Value": "existingVpc/Vpc"
|
|
666
|
+
"Value": "existingVpc/Vpc/FlowLog"
|
|
667
667
|
}
|
|
668
668
|
],
|
|
669
669
|
"TrafficType": "ALL"
|
|
@@ -672,6 +672,15 @@
|
|
|
672
672
|
"VpcKINESISSTREAMSC07D91B5": {
|
|
673
673
|
"Type": "AWS::EC2::VPCEndpoint",
|
|
674
674
|
"Properties": {
|
|
675
|
+
"PrivateDnsEnabled": true,
|
|
676
|
+
"SecurityGroupIds": [
|
|
677
|
+
{
|
|
678
|
+
"Fn::GetAtt": [
|
|
679
|
+
"existingVpcKINESISSTREAMSsecuritygroupDE0E9DB9",
|
|
680
|
+
"GroupId"
|
|
681
|
+
]
|
|
682
|
+
}
|
|
683
|
+
],
|
|
675
684
|
"ServiceName": {
|
|
676
685
|
"Fn::Join": [
|
|
677
686
|
"",
|
|
@@ -684,18 +693,6 @@
|
|
|
684
693
|
]
|
|
685
694
|
]
|
|
686
695
|
},
|
|
687
|
-
"VpcId": {
|
|
688
|
-
"Ref": "Vpc8378EB38"
|
|
689
|
-
},
|
|
690
|
-
"PrivateDnsEnabled": true,
|
|
691
|
-
"SecurityGroupIds": [
|
|
692
|
-
{
|
|
693
|
-
"Fn::GetAtt": [
|
|
694
|
-
"existingVpcKINESISSTREAMSsecuritygroupDE0E9DB9",
|
|
695
|
-
"GroupId"
|
|
696
|
-
]
|
|
697
|
-
}
|
|
698
|
-
],
|
|
699
696
|
"SubnetIds": [
|
|
700
697
|
{
|
|
701
698
|
"Ref": "VpcPrivateSubnet1Subnet536B997A"
|
|
@@ -707,7 +704,10 @@
|
|
|
707
704
|
"Ref": "VpcPrivateSubnet3SubnetF258B56E"
|
|
708
705
|
}
|
|
709
706
|
],
|
|
710
|
-
"VpcEndpointType": "Interface"
|
|
707
|
+
"VpcEndpointType": "Interface",
|
|
708
|
+
"VpcId": {
|
|
709
|
+
"Ref": "Vpc8378EB38"
|
|
710
|
+
}
|
|
711
711
|
}
|
|
712
712
|
},
|
|
713
713
|
"testlambdakinesisstreamsLambdaFunctionServiceRole95206CF3": {
|
|
@@ -863,12 +863,6 @@
|
|
|
863
863
|
},
|
|
864
864
|
"S3Key": "c7dc0cc1b24bda1d2a5345f61897eee32184906649fdb1de93853c512e129dbf.zip"
|
|
865
865
|
},
|
|
866
|
-
"Role": {
|
|
867
|
-
"Fn::GetAtt": [
|
|
868
|
-
"testlambdakinesisstreamsLambdaFunctionServiceRole95206CF3",
|
|
869
|
-
"Arn"
|
|
870
|
-
]
|
|
871
|
-
},
|
|
872
866
|
"Environment": {
|
|
873
867
|
"Variables": {
|
|
874
868
|
"KINESIS_DATASTREAM_NAME": {
|
|
@@ -877,6 +871,12 @@
|
|
|
877
871
|
}
|
|
878
872
|
},
|
|
879
873
|
"Handler": "index.handler",
|
|
874
|
+
"Role": {
|
|
875
|
+
"Fn::GetAtt": [
|
|
876
|
+
"testlambdakinesisstreamsLambdaFunctionServiceRole95206CF3",
|
|
877
|
+
"Arn"
|
|
878
|
+
]
|
|
879
|
+
},
|
|
880
880
|
"Runtime": "nodejs18.x",
|
|
881
881
|
"TracingConfig": {
|
|
882
882
|
"Mode": "Active"
|
|
@@ -946,9 +946,9 @@
|
|
|
946
946
|
"testlambdakinesisstreamsKinesisStreamGetRecordsIteratorAgeAlarmC4A0FF00": {
|
|
947
947
|
"Type": "AWS::CloudWatch::Alarm",
|
|
948
948
|
"Properties": {
|
|
949
|
+
"AlarmDescription": "Consumer Record Processing Falling Behind, there is risk for data loss due to record expiration.",
|
|
949
950
|
"ComparisonOperator": "GreaterThanOrEqualToThreshold",
|
|
950
951
|
"EvaluationPeriods": 1,
|
|
951
|
-
"AlarmDescription": "Consumer Record Processing Falling Behind, there is risk for data loss due to record expiration.",
|
|
952
952
|
"MetricName": "GetRecords.IteratorAgeMilliseconds",
|
|
953
953
|
"Namespace": "AWS/Kinesis",
|
|
954
954
|
"Period": 300,
|
|
@@ -959,9 +959,9 @@
|
|
|
959
959
|
"testlambdakinesisstreamsKinesisStreamReadProvisionedThroughputExceededAlarm9732E188": {
|
|
960
960
|
"Type": "AWS::CloudWatch::Alarm",
|
|
961
961
|
"Properties": {
|
|
962
|
+
"AlarmDescription": "Consumer Application is Reading at a Slower Rate Than Expected.",
|
|
962
963
|
"ComparisonOperator": "GreaterThanThreshold",
|
|
963
964
|
"EvaluationPeriods": 1,
|
|
964
|
-
"AlarmDescription": "Consumer Application is Reading at a Slower Rate Than Expected.",
|
|
965
965
|
"MetricName": "ReadProvisionedThroughputExceeded",
|
|
966
966
|
"Namespace": "AWS/Kinesis",
|
|
967
967
|
"Period": 300,
|
|
@@ -112,12 +112,6 @@
|
|
|
112
112
|
},
|
|
113
113
|
"S3Key": "c7dc0cc1b24bda1d2a5345f61897eee32184906649fdb1de93853c512e129dbf.zip"
|
|
114
114
|
},
|
|
115
|
-
"Role": {
|
|
116
|
-
"Fn::GetAtt": [
|
|
117
|
-
"testlambdakinesisstreamsLambdaFunctionServiceRole95206CF3",
|
|
118
|
-
"Arn"
|
|
119
|
-
]
|
|
120
|
-
},
|
|
121
115
|
"Environment": {
|
|
122
116
|
"Variables": {
|
|
123
117
|
"KINESIS_DATASTREAM_NAME": {
|
|
@@ -126,6 +120,12 @@
|
|
|
126
120
|
}
|
|
127
121
|
},
|
|
128
122
|
"Handler": "index.handler",
|
|
123
|
+
"Role": {
|
|
124
|
+
"Fn::GetAtt": [
|
|
125
|
+
"testlambdakinesisstreamsLambdaFunctionServiceRole95206CF3",
|
|
126
|
+
"Arn"
|
|
127
|
+
]
|
|
128
|
+
},
|
|
129
129
|
"Runtime": "nodejs18.x",
|
|
130
130
|
"TracingConfig": {
|
|
131
131
|
"Mode": "Active"
|
|
@@ -170,9 +170,9 @@
|
|
|
170
170
|
"testlambdakinesisstreamsKinesisStreamGetRecordsIteratorAgeAlarmC4A0FF00": {
|
|
171
171
|
"Type": "AWS::CloudWatch::Alarm",
|
|
172
172
|
"Properties": {
|
|
173
|
+
"AlarmDescription": "Consumer Record Processing Falling Behind, there is risk for data loss due to record expiration.",
|
|
173
174
|
"ComparisonOperator": "GreaterThanOrEqualToThreshold",
|
|
174
175
|
"EvaluationPeriods": 1,
|
|
175
|
-
"AlarmDescription": "Consumer Record Processing Falling Behind, there is risk for data loss due to record expiration.",
|
|
176
176
|
"MetricName": "GetRecords.IteratorAgeMilliseconds",
|
|
177
177
|
"Namespace": "AWS/Kinesis",
|
|
178
178
|
"Period": 300,
|
|
@@ -183,9 +183,9 @@
|
|
|
183
183
|
"testlambdakinesisstreamsKinesisStreamReadProvisionedThroughputExceededAlarm9732E188": {
|
|
184
184
|
"Type": "AWS::CloudWatch::Alarm",
|
|
185
185
|
"Properties": {
|
|
186
|
+
"AlarmDescription": "Consumer Application is Reading at a Slower Rate Than Expected.",
|
|
186
187
|
"ComparisonOperator": "GreaterThanThreshold",
|
|
187
188
|
"EvaluationPeriods": 1,
|
|
188
|
-
"AlarmDescription": "Consumer Application is Reading at a Slower Rate Than Expected.",
|
|
189
189
|
"MetricName": "ReadProvisionedThroughputExceeded",
|
|
190
190
|
"Namespace": "AWS/Kinesis",
|
|
191
191
|
"Period": 300,
|