@aws-solutions-constructs/aws-lambda-secretsmanager 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.
@@ -19,9 +19,6 @@
19
19
  "VpcPublicSubnet1Subnet5C2D37C4": {
20
20
  "Type": "AWS::EC2::Subnet",
21
21
  "Properties": {
22
- "VpcId": {
23
- "Ref": "Vpc8378EB38"
24
- },
25
22
  "AvailabilityZone": "test-region-1a",
26
23
  "CidrBlock": "10.0.0.0/19",
27
24
  "MapPublicIpOnLaunch": true,
@@ -38,7 +35,10 @@
38
35
  "Key": "Name",
39
36
  "Value": "deployFunctionWithExistingVpc/Vpc/PublicSubnet1"
40
37
  }
41
- ]
38
+ ],
39
+ "VpcId": {
40
+ "Ref": "Vpc8378EB38"
41
+ }
42
42
  },
43
43
  "Metadata": {
44
44
  "cfn_nag": {
@@ -54,15 +54,15 @@
54
54
  "VpcPublicSubnet1RouteTable6C95E38E": {
55
55
  "Type": "AWS::EC2::RouteTable",
56
56
  "Properties": {
57
- "VpcId": {
58
- "Ref": "Vpc8378EB38"
59
- },
60
57
  "Tags": [
61
58
  {
62
59
  "Key": "Name",
63
60
  "Value": "deployFunctionWithExistingVpc/Vpc/PublicSubnet1"
64
61
  }
65
- ]
62
+ ],
63
+ "VpcId": {
64
+ "Ref": "Vpc8378EB38"
65
+ }
66
66
  }
67
67
  },
68
68
  "VpcPublicSubnet1RouteTableAssociation97140677": {
@@ -79,12 +79,12 @@
79
79
  "VpcPublicSubnet1DefaultRoute3DA9E72A": {
80
80
  "Type": "AWS::EC2::Route",
81
81
  "Properties": {
82
- "RouteTableId": {
83
- "Ref": "VpcPublicSubnet1RouteTable6C95E38E"
84
- },
85
82
  "DestinationCidrBlock": "0.0.0.0/0",
86
83
  "GatewayId": {
87
84
  "Ref": "VpcIGWD7BA715C"
85
+ },
86
+ "RouteTableId": {
87
+ "Ref": "VpcPublicSubnet1RouteTable6C95E38E"
88
88
  }
89
89
  },
90
90
  "DependsOn": [
@@ -106,15 +106,15 @@
106
106
  "VpcPublicSubnet1NATGateway4D7517AA": {
107
107
  "Type": "AWS::EC2::NatGateway",
108
108
  "Properties": {
109
- "SubnetId": {
110
- "Ref": "VpcPublicSubnet1Subnet5C2D37C4"
111
- },
112
109
  "AllocationId": {
113
110
  "Fn::GetAtt": [
114
111
  "VpcPublicSubnet1EIPD7E02669",
115
112
  "AllocationId"
116
113
  ]
117
114
  },
115
+ "SubnetId": {
116
+ "Ref": "VpcPublicSubnet1Subnet5C2D37C4"
117
+ },
118
118
  "Tags": [
119
119
  {
120
120
  "Key": "Name",
@@ -130,9 +130,6 @@
130
130
  "VpcPublicSubnet2Subnet691E08A3": {
131
131
  "Type": "AWS::EC2::Subnet",
132
132
  "Properties": {
133
- "VpcId": {
134
- "Ref": "Vpc8378EB38"
135
- },
136
133
  "AvailabilityZone": "test-region-1b",
137
134
  "CidrBlock": "10.0.32.0/19",
138
135
  "MapPublicIpOnLaunch": true,
@@ -149,7 +146,10 @@
149
146
  "Key": "Name",
150
147
  "Value": "deployFunctionWithExistingVpc/Vpc/PublicSubnet2"
151
148
  }
152
- ]
149
+ ],
150
+ "VpcId": {
151
+ "Ref": "Vpc8378EB38"
152
+ }
153
153
  },
154
154
  "Metadata": {
155
155
  "cfn_nag": {
@@ -165,15 +165,15 @@
165
165
  "VpcPublicSubnet2RouteTable94F7E489": {
166
166
  "Type": "AWS::EC2::RouteTable",
167
167
  "Properties": {
168
- "VpcId": {
169
- "Ref": "Vpc8378EB38"
170
- },
171
168
  "Tags": [
172
169
  {
173
170
  "Key": "Name",
174
171
  "Value": "deployFunctionWithExistingVpc/Vpc/PublicSubnet2"
175
172
  }
176
- ]
173
+ ],
174
+ "VpcId": {
175
+ "Ref": "Vpc8378EB38"
176
+ }
177
177
  }
178
178
  },
179
179
  "VpcPublicSubnet2RouteTableAssociationDD5762D8": {
@@ -190,12 +190,12 @@
190
190
  "VpcPublicSubnet2DefaultRoute97F91067": {
191
191
  "Type": "AWS::EC2::Route",
192
192
  "Properties": {
193
- "RouteTableId": {
194
- "Ref": "VpcPublicSubnet2RouteTable94F7E489"
195
- },
196
193
  "DestinationCidrBlock": "0.0.0.0/0",
197
194
  "GatewayId": {
198
195
  "Ref": "VpcIGWD7BA715C"
196
+ },
197
+ "RouteTableId": {
198
+ "Ref": "VpcPublicSubnet2RouteTable94F7E489"
199
199
  }
200
200
  },
201
201
  "DependsOn": [
@@ -217,15 +217,15 @@
217
217
  "VpcPublicSubnet2NATGateway9182C01D": {
218
218
  "Type": "AWS::EC2::NatGateway",
219
219
  "Properties": {
220
- "SubnetId": {
221
- "Ref": "VpcPublicSubnet2Subnet691E08A3"
222
- },
223
220
  "AllocationId": {
224
221
  "Fn::GetAtt": [
225
222
  "VpcPublicSubnet2EIP3C605A87",
226
223
  "AllocationId"
227
224
  ]
228
225
  },
226
+ "SubnetId": {
227
+ "Ref": "VpcPublicSubnet2Subnet691E08A3"
228
+ },
229
229
  "Tags": [
230
230
  {
231
231
  "Key": "Name",
@@ -241,9 +241,6 @@
241
241
  "VpcPublicSubnet3SubnetBE12F0B6": {
242
242
  "Type": "AWS::EC2::Subnet",
243
243
  "Properties": {
244
- "VpcId": {
245
- "Ref": "Vpc8378EB38"
246
- },
247
244
  "AvailabilityZone": "test-region-1c",
248
245
  "CidrBlock": "10.0.64.0/19",
249
246
  "MapPublicIpOnLaunch": true,
@@ -260,7 +257,10 @@
260
257
  "Key": "Name",
261
258
  "Value": "deployFunctionWithExistingVpc/Vpc/PublicSubnet3"
262
259
  }
263
- ]
260
+ ],
261
+ "VpcId": {
262
+ "Ref": "Vpc8378EB38"
263
+ }
264
264
  },
265
265
  "Metadata": {
266
266
  "cfn_nag": {
@@ -276,15 +276,15 @@
276
276
  "VpcPublicSubnet3RouteTable93458DBB": {
277
277
  "Type": "AWS::EC2::RouteTable",
278
278
  "Properties": {
279
- "VpcId": {
280
- "Ref": "Vpc8378EB38"
281
- },
282
279
  "Tags": [
283
280
  {
284
281
  "Key": "Name",
285
282
  "Value": "deployFunctionWithExistingVpc/Vpc/PublicSubnet3"
286
283
  }
287
- ]
284
+ ],
285
+ "VpcId": {
286
+ "Ref": "Vpc8378EB38"
287
+ }
288
288
  }
289
289
  },
290
290
  "VpcPublicSubnet3RouteTableAssociation1F1EDF02": {
@@ -301,12 +301,12 @@
301
301
  "VpcPublicSubnet3DefaultRoute4697774F": {
302
302
  "Type": "AWS::EC2::Route",
303
303
  "Properties": {
304
- "RouteTableId": {
305
- "Ref": "VpcPublicSubnet3RouteTable93458DBB"
306
- },
307
304
  "DestinationCidrBlock": "0.0.0.0/0",
308
305
  "GatewayId": {
309
306
  "Ref": "VpcIGWD7BA715C"
307
+ },
308
+ "RouteTableId": {
309
+ "Ref": "VpcPublicSubnet3RouteTable93458DBB"
310
310
  }
311
311
  },
312
312
  "DependsOn": [
@@ -328,15 +328,15 @@
328
328
  "VpcPublicSubnet3NATGateway7640CD1D": {
329
329
  "Type": "AWS::EC2::NatGateway",
330
330
  "Properties": {
331
- "SubnetId": {
332
- "Ref": "VpcPublicSubnet3SubnetBE12F0B6"
333
- },
334
331
  "AllocationId": {
335
332
  "Fn::GetAtt": [
336
333
  "VpcPublicSubnet3EIP3A666A23",
337
334
  "AllocationId"
338
335
  ]
339
336
  },
337
+ "SubnetId": {
338
+ "Ref": "VpcPublicSubnet3SubnetBE12F0B6"
339
+ },
340
340
  "Tags": [
341
341
  {
342
342
  "Key": "Name",
@@ -352,9 +352,6 @@
352
352
  "VpcPrivateSubnet1Subnet536B997A": {
353
353
  "Type": "AWS::EC2::Subnet",
354
354
  "Properties": {
355
- "VpcId": {
356
- "Ref": "Vpc8378EB38"
357
- },
358
355
  "AvailabilityZone": "test-region-1a",
359
356
  "CidrBlock": "10.0.96.0/19",
360
357
  "MapPublicIpOnLaunch": false,
@@ -371,21 +368,24 @@
371
368
  "Key": "Name",
372
369
  "Value": "deployFunctionWithExistingVpc/Vpc/PrivateSubnet1"
373
370
  }
374
- ]
371
+ ],
372
+ "VpcId": {
373
+ "Ref": "Vpc8378EB38"
374
+ }
375
375
  }
376
376
  },
377
377
  "VpcPrivateSubnet1RouteTableB2C5B500": {
378
378
  "Type": "AWS::EC2::RouteTable",
379
379
  "Properties": {
380
- "VpcId": {
381
- "Ref": "Vpc8378EB38"
382
- },
383
380
  "Tags": [
384
381
  {
385
382
  "Key": "Name",
386
383
  "Value": "deployFunctionWithExistingVpc/Vpc/PrivateSubnet1"
387
384
  }
388
- ]
385
+ ],
386
+ "VpcId": {
387
+ "Ref": "Vpc8378EB38"
388
+ }
389
389
  }
390
390
  },
391
391
  "VpcPrivateSubnet1RouteTableAssociation70C59FA6": {
@@ -402,21 +402,18 @@
402
402
  "VpcPrivateSubnet1DefaultRouteBE02A9ED": {
403
403
  "Type": "AWS::EC2::Route",
404
404
  "Properties": {
405
- "RouteTableId": {
406
- "Ref": "VpcPrivateSubnet1RouteTableB2C5B500"
407
- },
408
405
  "DestinationCidrBlock": "0.0.0.0/0",
409
406
  "NatGatewayId": {
410
407
  "Ref": "VpcPublicSubnet1NATGateway4D7517AA"
408
+ },
409
+ "RouteTableId": {
410
+ "Ref": "VpcPrivateSubnet1RouteTableB2C5B500"
411
411
  }
412
412
  }
413
413
  },
414
414
  "VpcPrivateSubnet2Subnet3788AAA1": {
415
415
  "Type": "AWS::EC2::Subnet",
416
416
  "Properties": {
417
- "VpcId": {
418
- "Ref": "Vpc8378EB38"
419
- },
420
417
  "AvailabilityZone": "test-region-1b",
421
418
  "CidrBlock": "10.0.128.0/19",
422
419
  "MapPublicIpOnLaunch": false,
@@ -433,21 +430,24 @@
433
430
  "Key": "Name",
434
431
  "Value": "deployFunctionWithExistingVpc/Vpc/PrivateSubnet2"
435
432
  }
436
- ]
433
+ ],
434
+ "VpcId": {
435
+ "Ref": "Vpc8378EB38"
436
+ }
437
437
  }
438
438
  },
439
439
  "VpcPrivateSubnet2RouteTableA678073B": {
440
440
  "Type": "AWS::EC2::RouteTable",
441
441
  "Properties": {
442
- "VpcId": {
443
- "Ref": "Vpc8378EB38"
444
- },
445
442
  "Tags": [
446
443
  {
447
444
  "Key": "Name",
448
445
  "Value": "deployFunctionWithExistingVpc/Vpc/PrivateSubnet2"
449
446
  }
450
- ]
447
+ ],
448
+ "VpcId": {
449
+ "Ref": "Vpc8378EB38"
450
+ }
451
451
  }
452
452
  },
453
453
  "VpcPrivateSubnet2RouteTableAssociationA89CAD56": {
@@ -464,21 +464,18 @@
464
464
  "VpcPrivateSubnet2DefaultRoute060D2087": {
465
465
  "Type": "AWS::EC2::Route",
466
466
  "Properties": {
467
- "RouteTableId": {
468
- "Ref": "VpcPrivateSubnet2RouteTableA678073B"
469
- },
470
467
  "DestinationCidrBlock": "0.0.0.0/0",
471
468
  "NatGatewayId": {
472
469
  "Ref": "VpcPublicSubnet2NATGateway9182C01D"
470
+ },
471
+ "RouteTableId": {
472
+ "Ref": "VpcPrivateSubnet2RouteTableA678073B"
473
473
  }
474
474
  }
475
475
  },
476
476
  "VpcPrivateSubnet3SubnetF258B56E": {
477
477
  "Type": "AWS::EC2::Subnet",
478
478
  "Properties": {
479
- "VpcId": {
480
- "Ref": "Vpc8378EB38"
481
- },
482
479
  "AvailabilityZone": "test-region-1c",
483
480
  "CidrBlock": "10.0.160.0/19",
484
481
  "MapPublicIpOnLaunch": false,
@@ -495,21 +492,24 @@
495
492
  "Key": "Name",
496
493
  "Value": "deployFunctionWithExistingVpc/Vpc/PrivateSubnet3"
497
494
  }
498
- ]
495
+ ],
496
+ "VpcId": {
497
+ "Ref": "Vpc8378EB38"
498
+ }
499
499
  }
500
500
  },
501
501
  "VpcPrivateSubnet3RouteTableD98824C7": {
502
502
  "Type": "AWS::EC2::RouteTable",
503
503
  "Properties": {
504
- "VpcId": {
505
- "Ref": "Vpc8378EB38"
506
- },
507
504
  "Tags": [
508
505
  {
509
506
  "Key": "Name",
510
507
  "Value": "deployFunctionWithExistingVpc/Vpc/PrivateSubnet3"
511
508
  }
512
- ]
509
+ ],
510
+ "VpcId": {
511
+ "Ref": "Vpc8378EB38"
512
+ }
513
513
  }
514
514
  },
515
515
  "VpcPrivateSubnet3RouteTableAssociation16BDDC43": {
@@ -526,12 +526,12 @@
526
526
  "VpcPrivateSubnet3DefaultRoute94B74F0D": {
527
527
  "Type": "AWS::EC2::Route",
528
528
  "Properties": {
529
- "RouteTableId": {
530
- "Ref": "VpcPrivateSubnet3RouteTableD98824C7"
531
- },
532
529
  "DestinationCidrBlock": "0.0.0.0/0",
533
530
  "NatGatewayId": {
534
531
  "Ref": "VpcPublicSubnet3NATGateway7640CD1D"
532
+ },
533
+ "RouteTableId": {
534
+ "Ref": "VpcPrivateSubnet3RouteTableD98824C7"
535
535
  }
536
536
  }
537
537
  },
@@ -549,11 +549,11 @@
549
549
  "VpcVPCGWBF912B6E": {
550
550
  "Type": "AWS::EC2::VPCGatewayAttachment",
551
551
  "Properties": {
552
- "VpcId": {
553
- "Ref": "Vpc8378EB38"
554
- },
555
552
  "InternetGatewayId": {
556
553
  "Ref": "VpcIGWD7BA715C"
554
+ },
555
+ "VpcId": {
556
+ "Ref": "Vpc8378EB38"
557
557
  }
558
558
  }
559
559
  },
@@ -575,7 +575,7 @@
575
575
  "Tags": [
576
576
  {
577
577
  "Key": "Name",
578
- "Value": "deployFunctionWithExistingVpc/Vpc"
578
+ "Value": "deployFunctionWithExistingVpc/Vpc/FlowLog"
579
579
  }
580
580
  ]
581
581
  }
@@ -627,7 +627,7 @@
627
627
  "Tags": [
628
628
  {
629
629
  "Key": "Name",
630
- "Value": "deployFunctionWithExistingVpc/Vpc"
630
+ "Value": "deployFunctionWithExistingVpc/Vpc/FlowLog"
631
631
  }
632
632
  ]
633
633
  },
@@ -647,11 +647,6 @@
647
647
  "VpcFlowLog8FF33A73": {
648
648
  "Type": "AWS::EC2::FlowLog",
649
649
  "Properties": {
650
- "ResourceId": {
651
- "Ref": "Vpc8378EB38"
652
- },
653
- "ResourceType": "VPC",
654
- "TrafficType": "ALL",
655
650
  "DeliverLogsPermissionArn": {
656
651
  "Fn::GetAtt": [
657
652
  "VpcFlowLogIAMRole6A475D41",
@@ -662,17 +657,31 @@
662
657
  "LogGroupName": {
663
658
  "Ref": "VpcFlowLogLogGroup7B5C56B9"
664
659
  },
660
+ "ResourceId": {
661
+ "Ref": "Vpc8378EB38"
662
+ },
663
+ "ResourceType": "VPC",
665
664
  "Tags": [
666
665
  {
667
666
  "Key": "Name",
668
- "Value": "deployFunctionWithExistingVpc/Vpc"
667
+ "Value": "deployFunctionWithExistingVpc/Vpc/FlowLog"
669
668
  }
670
- ]
669
+ ],
670
+ "TrafficType": "ALL"
671
671
  }
672
672
  },
673
673
  "VpcSECRETSMANAGERF52907C2": {
674
674
  "Type": "AWS::EC2::VPCEndpoint",
675
675
  "Properties": {
676
+ "PrivateDnsEnabled": true,
677
+ "SecurityGroupIds": [
678
+ {
679
+ "Fn::GetAtt": [
680
+ "deployFunctionWithExistingVpcSECRETSMANAGERsecuritygroupB20BA3EB",
681
+ "GroupId"
682
+ ]
683
+ }
684
+ ],
676
685
  "ServiceName": {
677
686
  "Fn::Join": [
678
687
  "",
@@ -685,18 +694,6 @@
685
694
  ]
686
695
  ]
687
696
  },
688
- "VpcId": {
689
- "Ref": "Vpc8378EB38"
690
- },
691
- "PrivateDnsEnabled": true,
692
- "SecurityGroupIds": [
693
- {
694
- "Fn::GetAtt": [
695
- "deployFunctionWithExistingVpcSECRETSMANAGERsecuritygroupB20BA3EB",
696
- "GroupId"
697
- ]
698
- }
699
- ],
700
697
  "SubnetIds": [
701
698
  {
702
699
  "Ref": "VpcPrivateSubnet1Subnet536B997A"
@@ -708,7 +705,10 @@
708
705
  "Ref": "VpcPrivateSubnet3SubnetF258B56E"
709
706
  }
710
707
  ],
711
- "VpcEndpointType": "Interface"
708
+ "VpcEndpointType": "Interface",
709
+ "VpcId": {
710
+ "Ref": "Vpc8378EB38"
711
+ }
712
712
  }
713
713
  },
714
714
  "testlambdasecretsmanagerstackLambdaFunctionServiceRole4FE7A9C6": {
@@ -860,12 +860,6 @@
860
860
  },
861
861
  "S3Key": "0c3255e93ffe7a906c7422e9f0e9cc4c7fd86ee996ee3bb302e2f134b38463c8.zip"
862
862
  },
863
- "Role": {
864
- "Fn::GetAtt": [
865
- "testlambdasecretsmanagerstackLambdaFunctionServiceRole4FE7A9C6",
866
- "Arn"
867
- ]
868
- },
869
863
  "Environment": {
870
864
  "Variables": {
871
865
  "AWS_NODEJS_CONNECTION_REUSE_ENABLED": "1",
@@ -875,6 +869,12 @@
875
869
  }
876
870
  },
877
871
  "Handler": "index.handler",
872
+ "Role": {
873
+ "Fn::GetAtt": [
874
+ "testlambdasecretsmanagerstackLambdaFunctionServiceRole4FE7A9C6",
875
+ "Arn"
876
+ ]
877
+ },
878
878
  "Runtime": "nodejs16.x",
879
879
  "TracingConfig": {
880
880
  "Mode": "Active"