@aws-solutions-constructs/aws-lambda-dynamodb 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.
@@ -168,12 +168,6 @@
168
168
  },
169
169
  "S3Key": "0c3255e93ffe7a906c7422e9f0e9cc4c7fd86ee996ee3bb302e2f134b38463c8.zip"
170
170
  },
171
- "Role": {
172
- "Fn::GetAtt": [
173
- "testlambdadynamodbstackLambdaFunctionServiceRole758347A1",
174
- "Arn"
175
- ]
176
- },
177
171
  "Environment": {
178
172
  "Variables": {
179
173
  "AWS_NODEJS_CONNECTION_REUSE_ENABLED": "1",
@@ -183,6 +177,12 @@
183
177
  }
184
178
  },
185
179
  "Handler": "index.handler",
180
+ "Role": {
181
+ "Fn::GetAtt": [
182
+ "testlambdadynamodbstackLambdaFunctionServiceRole758347A1",
183
+ "Arn"
184
+ ]
185
+ },
186
186
  "Runtime": "nodejs16.x",
187
187
  "TracingConfig": {
188
188
  "Mode": "Active"
@@ -238,19 +238,19 @@
238
238
  "testlambdadynamodbstackDynamoTable8138E93B": {
239
239
  "Type": "AWS::DynamoDB::Table",
240
240
  "Properties": {
241
- "KeySchema": [
241
+ "AttributeDefinitions": [
242
242
  {
243
243
  "AttributeName": "id",
244
- "KeyType": "HASH"
244
+ "AttributeType": "S"
245
245
  }
246
246
  ],
247
- "AttributeDefinitions": [
247
+ "BillingMode": "PAY_PER_REQUEST",
248
+ "KeySchema": [
248
249
  {
249
250
  "AttributeName": "id",
250
- "AttributeType": "S"
251
+ "KeyType": "HASH"
251
252
  }
252
253
  ],
253
- "BillingMode": "PAY_PER_REQUEST",
254
254
  "PointInTimeRecoverySpecification": {
255
255
  "PointInTimeRecoveryEnabled": true
256
256
  },
@@ -279,9 +279,6 @@
279
279
  "VpcisolatedSubnet1SubnetE62B1B9B": {
280
280
  "Type": "AWS::EC2::Subnet",
281
281
  "Properties": {
282
- "VpcId": {
283
- "Ref": "Vpc8378EB38"
284
- },
285
282
  "AvailabilityZone": "test-region-1a",
286
283
  "CidrBlock": "10.0.0.0/18",
287
284
  "MapPublicIpOnLaunch": false,
@@ -298,21 +295,24 @@
298
295
  "Key": "Name",
299
296
  "Value": "deployFunctionWithVpc/Vpc/isolatedSubnet1"
300
297
  }
301
- ]
298
+ ],
299
+ "VpcId": {
300
+ "Ref": "Vpc8378EB38"
301
+ }
302
302
  }
303
303
  },
304
304
  "VpcisolatedSubnet1RouteTableE442650B": {
305
305
  "Type": "AWS::EC2::RouteTable",
306
306
  "Properties": {
307
- "VpcId": {
308
- "Ref": "Vpc8378EB38"
309
- },
310
307
  "Tags": [
311
308
  {
312
309
  "Key": "Name",
313
310
  "Value": "deployFunctionWithVpc/Vpc/isolatedSubnet1"
314
311
  }
315
- ]
312
+ ],
313
+ "VpcId": {
314
+ "Ref": "Vpc8378EB38"
315
+ }
316
316
  }
317
317
  },
318
318
  "VpcisolatedSubnet1RouteTableAssociationD259E31A": {
@@ -329,9 +329,6 @@
329
329
  "VpcisolatedSubnet2Subnet39217055": {
330
330
  "Type": "AWS::EC2::Subnet",
331
331
  "Properties": {
332
- "VpcId": {
333
- "Ref": "Vpc8378EB38"
334
- },
335
332
  "AvailabilityZone": "test-region-1b",
336
333
  "CidrBlock": "10.0.64.0/18",
337
334
  "MapPublicIpOnLaunch": false,
@@ -348,21 +345,24 @@
348
345
  "Key": "Name",
349
346
  "Value": "deployFunctionWithVpc/Vpc/isolatedSubnet2"
350
347
  }
351
- ]
348
+ ],
349
+ "VpcId": {
350
+ "Ref": "Vpc8378EB38"
351
+ }
352
352
  }
353
353
  },
354
354
  "VpcisolatedSubnet2RouteTable334F9764": {
355
355
  "Type": "AWS::EC2::RouteTable",
356
356
  "Properties": {
357
- "VpcId": {
358
- "Ref": "Vpc8378EB38"
359
- },
360
357
  "Tags": [
361
358
  {
362
359
  "Key": "Name",
363
360
  "Value": "deployFunctionWithVpc/Vpc/isolatedSubnet2"
364
361
  }
365
- ]
362
+ ],
363
+ "VpcId": {
364
+ "Ref": "Vpc8378EB38"
365
+ }
366
366
  }
367
367
  },
368
368
  "VpcisolatedSubnet2RouteTableAssociation25A4716F": {
@@ -379,9 +379,6 @@
379
379
  "VpcisolatedSubnet3Subnet44F2537D": {
380
380
  "Type": "AWS::EC2::Subnet",
381
381
  "Properties": {
382
- "VpcId": {
383
- "Ref": "Vpc8378EB38"
384
- },
385
382
  "AvailabilityZone": "test-region-1c",
386
383
  "CidrBlock": "10.0.128.0/18",
387
384
  "MapPublicIpOnLaunch": false,
@@ -398,21 +395,24 @@
398
395
  "Key": "Name",
399
396
  "Value": "deployFunctionWithVpc/Vpc/isolatedSubnet3"
400
397
  }
401
- ]
398
+ ],
399
+ "VpcId": {
400
+ "Ref": "Vpc8378EB38"
401
+ }
402
402
  }
403
403
  },
404
404
  "VpcisolatedSubnet3RouteTableA2F6BBC0": {
405
405
  "Type": "AWS::EC2::RouteTable",
406
406
  "Properties": {
407
- "VpcId": {
408
- "Ref": "Vpc8378EB38"
409
- },
410
407
  "Tags": [
411
408
  {
412
409
  "Key": "Name",
413
410
  "Value": "deployFunctionWithVpc/Vpc/isolatedSubnet3"
414
411
  }
415
- ]
412
+ ],
413
+ "VpcId": {
414
+ "Ref": "Vpc8378EB38"
415
+ }
416
416
  }
417
417
  },
418
418
  "VpcisolatedSubnet3RouteTableAssociationDC010BEB": {
@@ -444,7 +444,7 @@
444
444
  "Tags": [
445
445
  {
446
446
  "Key": "Name",
447
- "Value": "deployFunctionWithVpc/Vpc"
447
+ "Value": "deployFunctionWithVpc/Vpc/FlowLog"
448
448
  }
449
449
  ]
450
450
  }
@@ -496,7 +496,7 @@
496
496
  "Tags": [
497
497
  {
498
498
  "Key": "Name",
499
- "Value": "deployFunctionWithVpc/Vpc"
499
+ "Value": "deployFunctionWithVpc/Vpc/FlowLog"
500
500
  }
501
501
  ]
502
502
  },
@@ -516,11 +516,6 @@
516
516
  "VpcFlowLog8FF33A73": {
517
517
  "Type": "AWS::EC2::FlowLog",
518
518
  "Properties": {
519
- "ResourceId": {
520
- "Ref": "Vpc8378EB38"
521
- },
522
- "ResourceType": "VPC",
523
- "TrafficType": "ALL",
524
519
  "DeliverLogsPermissionArn": {
525
520
  "Fn::GetAtt": [
526
521
  "VpcFlowLogIAMRole6A475D41",
@@ -531,17 +526,33 @@
531
526
  "LogGroupName": {
532
527
  "Ref": "VpcFlowLogLogGroup7B5C56B9"
533
528
  },
529
+ "ResourceId": {
530
+ "Ref": "Vpc8378EB38"
531
+ },
532
+ "ResourceType": "VPC",
534
533
  "Tags": [
535
534
  {
536
535
  "Key": "Name",
537
- "Value": "deployFunctionWithVpc/Vpc"
536
+ "Value": "deployFunctionWithVpc/Vpc/FlowLog"
538
537
  }
539
- ]
538
+ ],
539
+ "TrafficType": "ALL"
540
540
  }
541
541
  },
542
542
  "VpcDDB49FBEC5F": {
543
543
  "Type": "AWS::EC2::VPCEndpoint",
544
544
  "Properties": {
545
+ "RouteTableIds": [
546
+ {
547
+ "Ref": "VpcisolatedSubnet1RouteTableE442650B"
548
+ },
549
+ {
550
+ "Ref": "VpcisolatedSubnet2RouteTable334F9764"
551
+ },
552
+ {
553
+ "Ref": "VpcisolatedSubnet3RouteTableA2F6BBC0"
554
+ }
555
+ ],
545
556
  "ServiceName": {
546
557
  "Fn::Join": [
547
558
  "",
@@ -554,21 +565,10 @@
554
565
  ]
555
566
  ]
556
567
  },
568
+ "VpcEndpointType": "Gateway",
557
569
  "VpcId": {
558
570
  "Ref": "Vpc8378EB38"
559
- },
560
- "RouteTableIds": [
561
- {
562
- "Ref": "VpcisolatedSubnet1RouteTableE442650B"
563
- },
564
- {
565
- "Ref": "VpcisolatedSubnet2RouteTable334F9764"
566
- },
567
- {
568
- "Ref": "VpcisolatedSubnet3RouteTableA2F6BBC0"
569
- }
570
- ],
571
- "VpcEndpointType": "Gateway"
571
+ }
572
572
  }
573
573
  }
574
574
  },
@@ -126,12 +126,6 @@
126
126
  },
127
127
  "S3Key": "0c3255e93ffe7a906c7422e9f0e9cc4c7fd86ee996ee3bb302e2f134b38463c8.zip"
128
128
  },
129
- "Role": {
130
- "Fn::GetAtt": [
131
- "testlambdadynamodbstackLambdaFunctionServiceRole758347A1",
132
- "Arn"
133
- ]
134
- },
135
129
  "Environment": {
136
130
  "Variables": {
137
131
  "AWS_NODEJS_CONNECTION_REUSE_ENABLED": "1",
@@ -141,6 +135,12 @@
141
135
  }
142
136
  },
143
137
  "Handler": "index.handler",
138
+ "Role": {
139
+ "Fn::GetAtt": [
140
+ "testlambdadynamodbstackLambdaFunctionServiceRole758347A1",
141
+ "Arn"
142
+ ]
143
+ },
144
144
  "Runtime": "nodejs16.x",
145
145
  "TracingConfig": {
146
146
  "Mode": "Active"
@@ -172,19 +172,19 @@
172
172
  "testlambdadynamodbstackDynamoTable8138E93B": {
173
173
  "Type": "AWS::DynamoDB::Table",
174
174
  "Properties": {
175
- "KeySchema": [
175
+ "AttributeDefinitions": [
176
176
  {
177
177
  "AttributeName": "id",
178
- "KeyType": "HASH"
178
+ "AttributeType": "S"
179
179
  }
180
180
  ],
181
- "AttributeDefinitions": [
181
+ "BillingMode": "PAY_PER_REQUEST",
182
+ "KeySchema": [
182
183
  {
183
184
  "AttributeName": "id",
184
- "AttributeType": "S"
185
+ "KeyType": "HASH"
185
186
  }
186
187
  ],
187
- "BillingMode": "PAY_PER_REQUEST",
188
188
  "PointInTimeRecoverySpecification": {
189
189
  "PointInTimeRecoveryEnabled": true
190
190
  },
@@ -126,12 +126,6 @@
126
126
  },
127
127
  "S3Key": "0c3255e93ffe7a906c7422e9f0e9cc4c7fd86ee996ee3bb302e2f134b38463c8.zip"
128
128
  },
129
- "Role": {
130
- "Fn::GetAtt": [
131
- "testlambdadynamodbstackLambdaFunctionServiceRole758347A1",
132
- "Arn"
133
- ]
134
- },
135
129
  "Environment": {
136
130
  "Variables": {
137
131
  "AWS_NODEJS_CONNECTION_REUSE_ENABLED": "1",
@@ -141,6 +135,12 @@
141
135
  }
142
136
  },
143
137
  "Handler": "index.handler",
138
+ "Role": {
139
+ "Fn::GetAtt": [
140
+ "testlambdadynamodbstackLambdaFunctionServiceRole758347A1",
141
+ "Arn"
142
+ ]
143
+ },
144
144
  "Runtime": "nodejs16.x",
145
145
  "TracingConfig": {
146
146
  "Mode": "Active"
@@ -172,16 +172,16 @@
172
172
  "testlambdadynamodbstackDynamoTable8138E93B": {
173
173
  "Type": "AWS::DynamoDB::Table",
174
174
  "Properties": {
175
- "KeySchema": [
175
+ "AttributeDefinitions": [
176
176
  {
177
177
  "AttributeName": "id",
178
- "KeyType": "HASH"
178
+ "AttributeType": "S"
179
179
  }
180
180
  ],
181
- "AttributeDefinitions": [
181
+ "KeySchema": [
182
182
  {
183
183
  "AttributeName": "id",
184
- "AttributeType": "S"
184
+ "KeyType": "HASH"
185
185
  }
186
186
  ],
187
187
  "PointInTimeRecoverySpecification": {
@@ -126,12 +126,6 @@
126
126
  },
127
127
  "S3Key": "0c3255e93ffe7a906c7422e9f0e9cc4c7fd86ee996ee3bb302e2f134b38463c8.zip"
128
128
  },
129
- "Role": {
130
- "Fn::GetAtt": [
131
- "LambdaFunctionServiceRole0C4CDE0B",
132
- "Arn"
133
- ]
134
- },
135
129
  "Environment": {
136
130
  "Variables": {
137
131
  "AWS_NODEJS_CONNECTION_REUSE_ENABLED": "1",
@@ -141,6 +135,12 @@
141
135
  }
142
136
  },
143
137
  "Handler": "index.handler",
138
+ "Role": {
139
+ "Fn::GetAtt": [
140
+ "LambdaFunctionServiceRole0C4CDE0B",
141
+ "Arn"
142
+ ]
143
+ },
144
144
  "Runtime": "nodejs16.x",
145
145
  "TracingConfig": {
146
146
  "Mode": "Active"
@@ -172,19 +172,19 @@
172
172
  "testlambdadynamodbstackDynamoTable8138E93B": {
173
173
  "Type": "AWS::DynamoDB::Table",
174
174
  "Properties": {
175
- "KeySchema": [
175
+ "AttributeDefinitions": [
176
176
  {
177
177
  "AttributeName": "id",
178
- "KeyType": "HASH"
178
+ "AttributeType": "S"
179
179
  }
180
180
  ],
181
- "AttributeDefinitions": [
181
+ "BillingMode": "PAY_PER_REQUEST",
182
+ "KeySchema": [
182
183
  {
183
184
  "AttributeName": "id",
184
- "AttributeType": "S"
185
+ "KeyType": "HASH"
185
186
  }
186
187
  ],
187
- "BillingMode": "PAY_PER_REQUEST",
188
188
  "PointInTimeRecoverySpecification": {
189
189
  "PointInTimeRecoveryEnabled": true
190
190
  },