@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.
@@ -153,12 +153,6 @@
153
153
  },
154
154
  "S3Key": "c7dc0cc1b24bda1d2a5345f61897eee32184906649fdb1de93853c512e129dbf.zip"
155
155
  },
156
- "Role": {
157
- "Fn::GetAtt": [
158
- "testlambdakinesisstreamsLambdaFunctionServiceRole95206CF3",
159
- "Arn"
160
- ]
161
- },
162
156
  "Environment": {
163
157
  "Variables": {
164
158
  "KINESIS_DATASTREAM_NAME": {
@@ -167,6 +161,12 @@
167
161
  }
168
162
  },
169
163
  "Handler": "index.handler",
164
+ "Role": {
165
+ "Fn::GetAtt": [
166
+ "testlambdakinesisstreamsLambdaFunctionServiceRole95206CF3",
167
+ "Arn"
168
+ ]
169
+ },
170
170
  "Runtime": "nodejs18.x",
171
171
  "TracingConfig": {
172
172
  "Mode": "Active"
@@ -233,9 +233,9 @@
233
233
  "testlambdakinesisstreamsKinesisStreamGetRecordsIteratorAgeAlarmC4A0FF00": {
234
234
  "Type": "AWS::CloudWatch::Alarm",
235
235
  "Properties": {
236
+ "AlarmDescription": "Consumer Record Processing Falling Behind, there is risk for data loss due to record expiration.",
236
237
  "ComparisonOperator": "GreaterThanOrEqualToThreshold",
237
238
  "EvaluationPeriods": 1,
238
- "AlarmDescription": "Consumer Record Processing Falling Behind, there is risk for data loss due to record expiration.",
239
239
  "MetricName": "GetRecords.IteratorAgeMilliseconds",
240
240
  "Namespace": "AWS/Kinesis",
241
241
  "Period": 300,
@@ -246,9 +246,9 @@
246
246
  "testlambdakinesisstreamsKinesisStreamReadProvisionedThroughputExceededAlarm9732E188": {
247
247
  "Type": "AWS::CloudWatch::Alarm",
248
248
  "Properties": {
249
+ "AlarmDescription": "Consumer Application is Reading at a Slower Rate Than Expected.",
249
250
  "ComparisonOperator": "GreaterThanThreshold",
250
251
  "EvaluationPeriods": 1,
251
- "AlarmDescription": "Consumer Application is Reading at a Slower Rate Than Expected.",
252
252
  "MetricName": "ReadProvisionedThroughputExceeded",
253
253
  "Namespace": "AWS/Kinesis",
254
254
  "Period": 300,
@@ -274,9 +274,6 @@
274
274
  "VpcisolatedSubnet1SubnetE62B1B9B": {
275
275
  "Type": "AWS::EC2::Subnet",
276
276
  "Properties": {
277
- "VpcId": {
278
- "Ref": "Vpc8378EB38"
279
- },
280
277
  "AvailabilityZone": "test-region-1a",
281
278
  "CidrBlock": "10.0.0.0/18",
282
279
  "MapPublicIpOnLaunch": false,
@@ -293,21 +290,24 @@
293
290
  "Key": "Name",
294
291
  "Value": "newVpc/Vpc/isolatedSubnet1"
295
292
  }
296
- ]
293
+ ],
294
+ "VpcId": {
295
+ "Ref": "Vpc8378EB38"
296
+ }
297
297
  }
298
298
  },
299
299
  "VpcisolatedSubnet1RouteTableE442650B": {
300
300
  "Type": "AWS::EC2::RouteTable",
301
301
  "Properties": {
302
- "VpcId": {
303
- "Ref": "Vpc8378EB38"
304
- },
305
302
  "Tags": [
306
303
  {
307
304
  "Key": "Name",
308
305
  "Value": "newVpc/Vpc/isolatedSubnet1"
309
306
  }
310
- ]
307
+ ],
308
+ "VpcId": {
309
+ "Ref": "Vpc8378EB38"
310
+ }
311
311
  }
312
312
  },
313
313
  "VpcisolatedSubnet1RouteTableAssociationD259E31A": {
@@ -324,9 +324,6 @@
324
324
  "VpcisolatedSubnet2Subnet39217055": {
325
325
  "Type": "AWS::EC2::Subnet",
326
326
  "Properties": {
327
- "VpcId": {
328
- "Ref": "Vpc8378EB38"
329
- },
330
327
  "AvailabilityZone": "test-region-1b",
331
328
  "CidrBlock": "10.0.64.0/18",
332
329
  "MapPublicIpOnLaunch": false,
@@ -343,21 +340,24 @@
343
340
  "Key": "Name",
344
341
  "Value": "newVpc/Vpc/isolatedSubnet2"
345
342
  }
346
- ]
343
+ ],
344
+ "VpcId": {
345
+ "Ref": "Vpc8378EB38"
346
+ }
347
347
  }
348
348
  },
349
349
  "VpcisolatedSubnet2RouteTable334F9764": {
350
350
  "Type": "AWS::EC2::RouteTable",
351
351
  "Properties": {
352
- "VpcId": {
353
- "Ref": "Vpc8378EB38"
354
- },
355
352
  "Tags": [
356
353
  {
357
354
  "Key": "Name",
358
355
  "Value": "newVpc/Vpc/isolatedSubnet2"
359
356
  }
360
- ]
357
+ ],
358
+ "VpcId": {
359
+ "Ref": "Vpc8378EB38"
360
+ }
361
361
  }
362
362
  },
363
363
  "VpcisolatedSubnet2RouteTableAssociation25A4716F": {
@@ -374,9 +374,6 @@
374
374
  "VpcisolatedSubnet3Subnet44F2537D": {
375
375
  "Type": "AWS::EC2::Subnet",
376
376
  "Properties": {
377
- "VpcId": {
378
- "Ref": "Vpc8378EB38"
379
- },
380
377
  "AvailabilityZone": "test-region-1c",
381
378
  "CidrBlock": "10.0.128.0/18",
382
379
  "MapPublicIpOnLaunch": false,
@@ -393,21 +390,24 @@
393
390
  "Key": "Name",
394
391
  "Value": "newVpc/Vpc/isolatedSubnet3"
395
392
  }
396
- ]
393
+ ],
394
+ "VpcId": {
395
+ "Ref": "Vpc8378EB38"
396
+ }
397
397
  }
398
398
  },
399
399
  "VpcisolatedSubnet3RouteTableA2F6BBC0": {
400
400
  "Type": "AWS::EC2::RouteTable",
401
401
  "Properties": {
402
- "VpcId": {
403
- "Ref": "Vpc8378EB38"
404
- },
405
402
  "Tags": [
406
403
  {
407
404
  "Key": "Name",
408
405
  "Value": "newVpc/Vpc/isolatedSubnet3"
409
406
  }
410
- ]
407
+ ],
408
+ "VpcId": {
409
+ "Ref": "Vpc8378EB38"
410
+ }
411
411
  }
412
412
  },
413
413
  "VpcisolatedSubnet3RouteTableAssociationDC010BEB": {
@@ -439,7 +439,7 @@
439
439
  "Tags": [
440
440
  {
441
441
  "Key": "Name",
442
- "Value": "newVpc/Vpc"
442
+ "Value": "newVpc/Vpc/FlowLog"
443
443
  }
444
444
  ]
445
445
  }
@@ -491,7 +491,7 @@
491
491
  "Tags": [
492
492
  {
493
493
  "Key": "Name",
494
- "Value": "newVpc/Vpc"
494
+ "Value": "newVpc/Vpc/FlowLog"
495
495
  }
496
496
  ]
497
497
  },
@@ -511,10 +511,6 @@
511
511
  "VpcFlowLog8FF33A73": {
512
512
  "Type": "AWS::EC2::FlowLog",
513
513
  "Properties": {
514
- "ResourceId": {
515
- "Ref": "Vpc8378EB38"
516
- },
517
- "ResourceType": "VPC",
518
514
  "DeliverLogsPermissionArn": {
519
515
  "Fn::GetAtt": [
520
516
  "VpcFlowLogIAMRole6A475D41",
@@ -525,10 +521,14 @@
525
521
  "LogGroupName": {
526
522
  "Ref": "VpcFlowLogLogGroup7B5C56B9"
527
523
  },
524
+ "ResourceId": {
525
+ "Ref": "Vpc8378EB38"
526
+ },
527
+ "ResourceType": "VPC",
528
528
  "Tags": [
529
529
  {
530
530
  "Key": "Name",
531
- "Value": "newVpc/Vpc"
531
+ "Value": "newVpc/Vpc/FlowLog"
532
532
  }
533
533
  ],
534
534
  "TrafficType": "ALL"
@@ -537,6 +537,15 @@
537
537
  "VpcKINESISSTREAMSC07D91B5": {
538
538
  "Type": "AWS::EC2::VPCEndpoint",
539
539
  "Properties": {
540
+ "PrivateDnsEnabled": true,
541
+ "SecurityGroupIds": [
542
+ {
543
+ "Fn::GetAtt": [
544
+ "newVpcKINESISSTREAMSsecuritygroup88F75AD5",
545
+ "GroupId"
546
+ ]
547
+ }
548
+ ],
540
549
  "ServiceName": {
541
550
  "Fn::Join": [
542
551
  "",
@@ -549,18 +558,6 @@
549
558
  ]
550
559
  ]
551
560
  },
552
- "VpcId": {
553
- "Ref": "Vpc8378EB38"
554
- },
555
- "PrivateDnsEnabled": true,
556
- "SecurityGroupIds": [
557
- {
558
- "Fn::GetAtt": [
559
- "newVpcKINESISSTREAMSsecuritygroup88F75AD5",
560
- "GroupId"
561
- ]
562
- }
563
- ],
564
561
  "SubnetIds": [
565
562
  {
566
563
  "Ref": "VpcisolatedSubnet1SubnetE62B1B9B"
@@ -572,7 +569,10 @@
572
569
  "Ref": "VpcisolatedSubnet3Subnet44F2537D"
573
570
  }
574
571
  ],
575
- "VpcEndpointType": "Interface"
572
+ "VpcEndpointType": "Interface",
573
+ "VpcId": {
574
+ "Ref": "Vpc8378EB38"
575
+ }
576
576
  }
577
577
  },
578
578
  "newVpcKINESISSTREAMSsecuritygroup88F75AD5": {
@@ -153,12 +153,6 @@
153
153
  },
154
154
  "S3Key": "c7dc0cc1b24bda1d2a5345f61897eee32184906649fdb1de93853c512e129dbf.zip"
155
155
  },
156
- "Role": {
157
- "Fn::GetAtt": [
158
- "testlambdakinesisstreamsLambdaFunctionServiceRole95206CF3",
159
- "Arn"
160
- ]
161
- },
162
156
  "Environment": {
163
157
  "Variables": {
164
158
  "KINESIS_DATASTREAM_NAME": {
@@ -167,6 +161,12 @@
167
161
  }
168
162
  },
169
163
  "Handler": "index.handler",
164
+ "Role": {
165
+ "Fn::GetAtt": [
166
+ "testlambdakinesisstreamsLambdaFunctionServiceRole95206CF3",
167
+ "Arn"
168
+ ]
169
+ },
170
170
  "Runtime": "nodejs18.x",
171
171
  "TracingConfig": {
172
172
  "Mode": "Active"
@@ -225,9 +225,9 @@
225
225
  "testlambdakinesisstreamsKinesisStreamGetRecordsIteratorAgeAlarmC4A0FF00": {
226
226
  "Type": "AWS::CloudWatch::Alarm",
227
227
  "Properties": {
228
+ "AlarmDescription": "Consumer Record Processing Falling Behind, there is risk for data loss due to record expiration.",
228
229
  "ComparisonOperator": "GreaterThanOrEqualToThreshold",
229
230
  "EvaluationPeriods": 1,
230
- "AlarmDescription": "Consumer Record Processing Falling Behind, there is risk for data loss due to record expiration.",
231
231
  "MetricName": "GetRecords.IteratorAgeMilliseconds",
232
232
  "Namespace": "AWS/Kinesis",
233
233
  "Period": 300,
@@ -238,9 +238,9 @@
238
238
  "testlambdakinesisstreamsKinesisStreamReadProvisionedThroughputExceededAlarm9732E188": {
239
239
  "Type": "AWS::CloudWatch::Alarm",
240
240
  "Properties": {
241
+ "AlarmDescription": "Consumer Application is Reading at a Slower Rate Than Expected.",
241
242
  "ComparisonOperator": "GreaterThanThreshold",
242
243
  "EvaluationPeriods": 1,
243
- "AlarmDescription": "Consumer Application is Reading at a Slower Rate Than Expected.",
244
244
  "MetricName": "ReadProvisionedThroughputExceeded",
245
245
  "Namespace": "AWS/Kinesis",
246
246
  "Period": 300,
@@ -266,9 +266,6 @@
266
266
  "VpcisolatedSubnet1SubnetE62B1B9B": {
267
267
  "Type": "AWS::EC2::Subnet",
268
268
  "Properties": {
269
- "VpcId": {
270
- "Ref": "Vpc8378EB38"
271
- },
272
269
  "AvailabilityZone": "test-region-1a",
273
270
  "CidrBlock": "10.0.0.0/18",
274
271
  "MapPublicIpOnLaunch": false,
@@ -285,21 +282,24 @@
285
282
  "Key": "Name",
286
283
  "Value": "newVpcFromProps/Vpc/isolatedSubnet1"
287
284
  }
288
- ]
285
+ ],
286
+ "VpcId": {
287
+ "Ref": "Vpc8378EB38"
288
+ }
289
289
  }
290
290
  },
291
291
  "VpcisolatedSubnet1RouteTableE442650B": {
292
292
  "Type": "AWS::EC2::RouteTable",
293
293
  "Properties": {
294
- "VpcId": {
295
- "Ref": "Vpc8378EB38"
296
- },
297
294
  "Tags": [
298
295
  {
299
296
  "Key": "Name",
300
297
  "Value": "newVpcFromProps/Vpc/isolatedSubnet1"
301
298
  }
302
- ]
299
+ ],
300
+ "VpcId": {
301
+ "Ref": "Vpc8378EB38"
302
+ }
303
303
  }
304
304
  },
305
305
  "VpcisolatedSubnet1RouteTableAssociationD259E31A": {
@@ -331,7 +331,7 @@
331
331
  "Tags": [
332
332
  {
333
333
  "Key": "Name",
334
- "Value": "newVpcFromProps/Vpc"
334
+ "Value": "newVpcFromProps/Vpc/FlowLog"
335
335
  }
336
336
  ]
337
337
  }
@@ -383,7 +383,7 @@
383
383
  "Tags": [
384
384
  {
385
385
  "Key": "Name",
386
- "Value": "newVpcFromProps/Vpc"
386
+ "Value": "newVpcFromProps/Vpc/FlowLog"
387
387
  }
388
388
  ]
389
389
  },
@@ -403,10 +403,6 @@
403
403
  "VpcFlowLog8FF33A73": {
404
404
  "Type": "AWS::EC2::FlowLog",
405
405
  "Properties": {
406
- "ResourceId": {
407
- "Ref": "Vpc8378EB38"
408
- },
409
- "ResourceType": "VPC",
410
406
  "DeliverLogsPermissionArn": {
411
407
  "Fn::GetAtt": [
412
408
  "VpcFlowLogIAMRole6A475D41",
@@ -417,10 +413,14 @@
417
413
  "LogGroupName": {
418
414
  "Ref": "VpcFlowLogLogGroup7B5C56B9"
419
415
  },
416
+ "ResourceId": {
417
+ "Ref": "Vpc8378EB38"
418
+ },
419
+ "ResourceType": "VPC",
420
420
  "Tags": [
421
421
  {
422
422
  "Key": "Name",
423
- "Value": "newVpcFromProps/Vpc"
423
+ "Value": "newVpcFromProps/Vpc/FlowLog"
424
424
  }
425
425
  ],
426
426
  "TrafficType": "ALL"
@@ -429,6 +429,15 @@
429
429
  "VpcKINESISSTREAMSC07D91B5": {
430
430
  "Type": "AWS::EC2::VPCEndpoint",
431
431
  "Properties": {
432
+ "PrivateDnsEnabled": true,
433
+ "SecurityGroupIds": [
434
+ {
435
+ "Fn::GetAtt": [
436
+ "newVpcFromPropsKINESISSTREAMSsecuritygroup9B3EE931",
437
+ "GroupId"
438
+ ]
439
+ }
440
+ ],
432
441
  "ServiceName": {
433
442
  "Fn::Join": [
434
443
  "",
@@ -441,24 +450,15 @@
441
450
  ]
442
451
  ]
443
452
  },
444
- "VpcId": {
445
- "Ref": "Vpc8378EB38"
446
- },
447
- "PrivateDnsEnabled": true,
448
- "SecurityGroupIds": [
449
- {
450
- "Fn::GetAtt": [
451
- "newVpcFromPropsKINESISSTREAMSsecuritygroup9B3EE931",
452
- "GroupId"
453
- ]
454
- }
455
- ],
456
453
  "SubnetIds": [
457
454
  {
458
455
  "Ref": "VpcisolatedSubnet1SubnetE62B1B9B"
459
456
  }
460
457
  ],
461
- "VpcEndpointType": "Interface"
458
+ "VpcEndpointType": "Interface",
459
+ "VpcId": {
460
+ "Ref": "Vpc8378EB38"
461
+ }
462
462
  }
463
463
  },
464
464
  "newVpcFromPropsKINESISSTREAMSsecuritygroup9B3EE931": {
@@ -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"
@@ -168,9 +168,9 @@
168
168
  "testlambdakinesisstreamsKinesisStreamGetRecordsIteratorAgeAlarmC4A0FF00": {
169
169
  "Type": "AWS::CloudWatch::Alarm",
170
170
  "Properties": {
171
+ "AlarmDescription": "Consumer Record Processing Falling Behind, there is risk for data loss due to record expiration.",
171
172
  "ComparisonOperator": "GreaterThanOrEqualToThreshold",
172
173
  "EvaluationPeriods": 1,
173
- "AlarmDescription": "Consumer Record Processing Falling Behind, there is risk for data loss due to record expiration.",
174
174
  "MetricName": "GetRecords.IteratorAgeMilliseconds",
175
175
  "Namespace": "AWS/Kinesis",
176
176
  "Period": 300,
@@ -181,9 +181,9 @@
181
181
  "testlambdakinesisstreamsKinesisStreamReadProvisionedThroughputExceededAlarm9732E188": {
182
182
  "Type": "AWS::CloudWatch::Alarm",
183
183
  "Properties": {
184
+ "AlarmDescription": "Consumer Application is Reading at a Slower Rate Than Expected.",
184
185
  "ComparisonOperator": "GreaterThanThreshold",
185
186
  "EvaluationPeriods": 1,
186
- "AlarmDescription": "Consumer Application is Reading at a Slower Rate Than Expected.",
187
187
  "MetricName": "ReadProvisionedThroughputExceeded",
188
188
  "Namespace": "AWS/Kinesis",
189
189
  "Period": 300,