@aws-solutions-constructs/aws-alb-lambda 2.44.0 → 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 +105 -14
- package/lib/index.js +6 -5
- package/package.json +6 -6
- package/test/alb-lambda.test.js +90 -1
- package/test/integ.privateApiExistingResources.expected.json +98 -98
- package/test/integ.privateApiNewResources.expected.json +44 -44
- package/test/integ.publicApiExistingResources.expected.json +98 -98
- package/test/integ.publicApiNewResources.expected.json +98 -98
- package/test/integ.twoTargets.expected.json +106 -106
|
@@ -471,18 +471,18 @@
|
|
|
471
471
|
},
|
|
472
472
|
"S3Key": "7caf594b8ad91abecca72f7f10a23a5cf446d05dc00d6194619935e7e3fd5a79.zip"
|
|
473
473
|
},
|
|
474
|
-
"Role": {
|
|
475
|
-
"Fn::GetAtt": [
|
|
476
|
-
"testoneLambdaFunctionServiceRoleE92573D3",
|
|
477
|
-
"Arn"
|
|
478
|
-
]
|
|
479
|
-
},
|
|
480
474
|
"Environment": {
|
|
481
475
|
"Variables": {
|
|
482
476
|
"AWS_NODEJS_CONNECTION_REUSE_ENABLED": "1"
|
|
483
477
|
}
|
|
484
478
|
},
|
|
485
479
|
"Handler": "index.handler",
|
|
480
|
+
"Role": {
|
|
481
|
+
"Fn::GetAtt": [
|
|
482
|
+
"testoneLambdaFunctionServiceRoleE92573D3",
|
|
483
|
+
"Arn"
|
|
484
|
+
]
|
|
485
|
+
},
|
|
486
486
|
"Runtime": "nodejs16.x",
|
|
487
487
|
"TracingConfig": {
|
|
488
488
|
"Mode": "Active"
|
|
@@ -620,6 +620,7 @@
|
|
|
620
620
|
"testonetg2tg6459EC7C": {
|
|
621
621
|
"Type": "AWS::ElasticLoadBalancingV2::TargetGroup",
|
|
622
622
|
"Properties": {
|
|
623
|
+
"TargetType": "lambda",
|
|
623
624
|
"Targets": [
|
|
624
625
|
{
|
|
625
626
|
"Id": {
|
|
@@ -629,8 +630,7 @@
|
|
|
629
630
|
]
|
|
630
631
|
}
|
|
631
632
|
}
|
|
632
|
-
]
|
|
633
|
-
"TargetType": "lambda"
|
|
633
|
+
]
|
|
634
634
|
},
|
|
635
635
|
"DependsOn": [
|
|
636
636
|
"testoneLambdaFunctionInvoke2UTWxhlfyqbT5FTn5jvgbLgjFfJwzswGk55DU1HY508A8518"
|
|
@@ -654,9 +654,6 @@
|
|
|
654
654
|
"VpcPublicSubnet1Subnet5C2D37C4": {
|
|
655
655
|
"Type": "AWS::EC2::Subnet",
|
|
656
656
|
"Properties": {
|
|
657
|
-
"VpcId": {
|
|
658
|
-
"Ref": "Vpc8378EB38"
|
|
659
|
-
},
|
|
660
657
|
"AvailabilityZone": "test-region-1a",
|
|
661
658
|
"CidrBlock": "10.0.0.0/19",
|
|
662
659
|
"MapPublicIpOnLaunch": true,
|
|
@@ -673,7 +670,10 @@
|
|
|
673
670
|
"Key": "Name",
|
|
674
671
|
"Value": "twoTargets/Vpc/PublicSubnet1"
|
|
675
672
|
}
|
|
676
|
-
]
|
|
673
|
+
],
|
|
674
|
+
"VpcId": {
|
|
675
|
+
"Ref": "Vpc8378EB38"
|
|
676
|
+
}
|
|
677
677
|
},
|
|
678
678
|
"Metadata": {
|
|
679
679
|
"cfn_nag": {
|
|
@@ -689,15 +689,15 @@
|
|
|
689
689
|
"VpcPublicSubnet1RouteTable6C95E38E": {
|
|
690
690
|
"Type": "AWS::EC2::RouteTable",
|
|
691
691
|
"Properties": {
|
|
692
|
-
"VpcId": {
|
|
693
|
-
"Ref": "Vpc8378EB38"
|
|
694
|
-
},
|
|
695
692
|
"Tags": [
|
|
696
693
|
{
|
|
697
694
|
"Key": "Name",
|
|
698
695
|
"Value": "twoTargets/Vpc/PublicSubnet1"
|
|
699
696
|
}
|
|
700
|
-
]
|
|
697
|
+
],
|
|
698
|
+
"VpcId": {
|
|
699
|
+
"Ref": "Vpc8378EB38"
|
|
700
|
+
}
|
|
701
701
|
}
|
|
702
702
|
},
|
|
703
703
|
"VpcPublicSubnet1RouteTableAssociation97140677": {
|
|
@@ -714,12 +714,12 @@
|
|
|
714
714
|
"VpcPublicSubnet1DefaultRoute3DA9E72A": {
|
|
715
715
|
"Type": "AWS::EC2::Route",
|
|
716
716
|
"Properties": {
|
|
717
|
-
"RouteTableId": {
|
|
718
|
-
"Ref": "VpcPublicSubnet1RouteTable6C95E38E"
|
|
719
|
-
},
|
|
720
717
|
"DestinationCidrBlock": "0.0.0.0/0",
|
|
721
718
|
"GatewayId": {
|
|
722
719
|
"Ref": "VpcIGWD7BA715C"
|
|
720
|
+
},
|
|
721
|
+
"RouteTableId": {
|
|
722
|
+
"Ref": "VpcPublicSubnet1RouteTable6C95E38E"
|
|
723
723
|
}
|
|
724
724
|
},
|
|
725
725
|
"DependsOn": [
|
|
@@ -741,15 +741,15 @@
|
|
|
741
741
|
"VpcPublicSubnet1NATGateway4D7517AA": {
|
|
742
742
|
"Type": "AWS::EC2::NatGateway",
|
|
743
743
|
"Properties": {
|
|
744
|
-
"SubnetId": {
|
|
745
|
-
"Ref": "VpcPublicSubnet1Subnet5C2D37C4"
|
|
746
|
-
},
|
|
747
744
|
"AllocationId": {
|
|
748
745
|
"Fn::GetAtt": [
|
|
749
746
|
"VpcPublicSubnet1EIPD7E02669",
|
|
750
747
|
"AllocationId"
|
|
751
748
|
]
|
|
752
749
|
},
|
|
750
|
+
"SubnetId": {
|
|
751
|
+
"Ref": "VpcPublicSubnet1Subnet5C2D37C4"
|
|
752
|
+
},
|
|
753
753
|
"Tags": [
|
|
754
754
|
{
|
|
755
755
|
"Key": "Name",
|
|
@@ -765,9 +765,6 @@
|
|
|
765
765
|
"VpcPublicSubnet2Subnet691E08A3": {
|
|
766
766
|
"Type": "AWS::EC2::Subnet",
|
|
767
767
|
"Properties": {
|
|
768
|
-
"VpcId": {
|
|
769
|
-
"Ref": "Vpc8378EB38"
|
|
770
|
-
},
|
|
771
768
|
"AvailabilityZone": "test-region-1b",
|
|
772
769
|
"CidrBlock": "10.0.32.0/19",
|
|
773
770
|
"MapPublicIpOnLaunch": true,
|
|
@@ -784,7 +781,10 @@
|
|
|
784
781
|
"Key": "Name",
|
|
785
782
|
"Value": "twoTargets/Vpc/PublicSubnet2"
|
|
786
783
|
}
|
|
787
|
-
]
|
|
784
|
+
],
|
|
785
|
+
"VpcId": {
|
|
786
|
+
"Ref": "Vpc8378EB38"
|
|
787
|
+
}
|
|
788
788
|
},
|
|
789
789
|
"Metadata": {
|
|
790
790
|
"cfn_nag": {
|
|
@@ -800,15 +800,15 @@
|
|
|
800
800
|
"VpcPublicSubnet2RouteTable94F7E489": {
|
|
801
801
|
"Type": "AWS::EC2::RouteTable",
|
|
802
802
|
"Properties": {
|
|
803
|
-
"VpcId": {
|
|
804
|
-
"Ref": "Vpc8378EB38"
|
|
805
|
-
},
|
|
806
803
|
"Tags": [
|
|
807
804
|
{
|
|
808
805
|
"Key": "Name",
|
|
809
806
|
"Value": "twoTargets/Vpc/PublicSubnet2"
|
|
810
807
|
}
|
|
811
|
-
]
|
|
808
|
+
],
|
|
809
|
+
"VpcId": {
|
|
810
|
+
"Ref": "Vpc8378EB38"
|
|
811
|
+
}
|
|
812
812
|
}
|
|
813
813
|
},
|
|
814
814
|
"VpcPublicSubnet2RouteTableAssociationDD5762D8": {
|
|
@@ -825,12 +825,12 @@
|
|
|
825
825
|
"VpcPublicSubnet2DefaultRoute97F91067": {
|
|
826
826
|
"Type": "AWS::EC2::Route",
|
|
827
827
|
"Properties": {
|
|
828
|
-
"RouteTableId": {
|
|
829
|
-
"Ref": "VpcPublicSubnet2RouteTable94F7E489"
|
|
830
|
-
},
|
|
831
828
|
"DestinationCidrBlock": "0.0.0.0/0",
|
|
832
829
|
"GatewayId": {
|
|
833
830
|
"Ref": "VpcIGWD7BA715C"
|
|
831
|
+
},
|
|
832
|
+
"RouteTableId": {
|
|
833
|
+
"Ref": "VpcPublicSubnet2RouteTable94F7E489"
|
|
834
834
|
}
|
|
835
835
|
},
|
|
836
836
|
"DependsOn": [
|
|
@@ -852,15 +852,15 @@
|
|
|
852
852
|
"VpcPublicSubnet2NATGateway9182C01D": {
|
|
853
853
|
"Type": "AWS::EC2::NatGateway",
|
|
854
854
|
"Properties": {
|
|
855
|
-
"SubnetId": {
|
|
856
|
-
"Ref": "VpcPublicSubnet2Subnet691E08A3"
|
|
857
|
-
},
|
|
858
855
|
"AllocationId": {
|
|
859
856
|
"Fn::GetAtt": [
|
|
860
857
|
"VpcPublicSubnet2EIP3C605A87",
|
|
861
858
|
"AllocationId"
|
|
862
859
|
]
|
|
863
860
|
},
|
|
861
|
+
"SubnetId": {
|
|
862
|
+
"Ref": "VpcPublicSubnet2Subnet691E08A3"
|
|
863
|
+
},
|
|
864
864
|
"Tags": [
|
|
865
865
|
{
|
|
866
866
|
"Key": "Name",
|
|
@@ -876,9 +876,6 @@
|
|
|
876
876
|
"VpcPublicSubnet3SubnetBE12F0B6": {
|
|
877
877
|
"Type": "AWS::EC2::Subnet",
|
|
878
878
|
"Properties": {
|
|
879
|
-
"VpcId": {
|
|
880
|
-
"Ref": "Vpc8378EB38"
|
|
881
|
-
},
|
|
882
879
|
"AvailabilityZone": "test-region-1c",
|
|
883
880
|
"CidrBlock": "10.0.64.0/19",
|
|
884
881
|
"MapPublicIpOnLaunch": true,
|
|
@@ -895,7 +892,10 @@
|
|
|
895
892
|
"Key": "Name",
|
|
896
893
|
"Value": "twoTargets/Vpc/PublicSubnet3"
|
|
897
894
|
}
|
|
898
|
-
]
|
|
895
|
+
],
|
|
896
|
+
"VpcId": {
|
|
897
|
+
"Ref": "Vpc8378EB38"
|
|
898
|
+
}
|
|
899
899
|
},
|
|
900
900
|
"Metadata": {
|
|
901
901
|
"cfn_nag": {
|
|
@@ -911,15 +911,15 @@
|
|
|
911
911
|
"VpcPublicSubnet3RouteTable93458DBB": {
|
|
912
912
|
"Type": "AWS::EC2::RouteTable",
|
|
913
913
|
"Properties": {
|
|
914
|
-
"VpcId": {
|
|
915
|
-
"Ref": "Vpc8378EB38"
|
|
916
|
-
},
|
|
917
914
|
"Tags": [
|
|
918
915
|
{
|
|
919
916
|
"Key": "Name",
|
|
920
917
|
"Value": "twoTargets/Vpc/PublicSubnet3"
|
|
921
918
|
}
|
|
922
|
-
]
|
|
919
|
+
],
|
|
920
|
+
"VpcId": {
|
|
921
|
+
"Ref": "Vpc8378EB38"
|
|
922
|
+
}
|
|
923
923
|
}
|
|
924
924
|
},
|
|
925
925
|
"VpcPublicSubnet3RouteTableAssociation1F1EDF02": {
|
|
@@ -936,12 +936,12 @@
|
|
|
936
936
|
"VpcPublicSubnet3DefaultRoute4697774F": {
|
|
937
937
|
"Type": "AWS::EC2::Route",
|
|
938
938
|
"Properties": {
|
|
939
|
-
"RouteTableId": {
|
|
940
|
-
"Ref": "VpcPublicSubnet3RouteTable93458DBB"
|
|
941
|
-
},
|
|
942
939
|
"DestinationCidrBlock": "0.0.0.0/0",
|
|
943
940
|
"GatewayId": {
|
|
944
941
|
"Ref": "VpcIGWD7BA715C"
|
|
942
|
+
},
|
|
943
|
+
"RouteTableId": {
|
|
944
|
+
"Ref": "VpcPublicSubnet3RouteTable93458DBB"
|
|
945
945
|
}
|
|
946
946
|
},
|
|
947
947
|
"DependsOn": [
|
|
@@ -963,15 +963,15 @@
|
|
|
963
963
|
"VpcPublicSubnet3NATGateway7640CD1D": {
|
|
964
964
|
"Type": "AWS::EC2::NatGateway",
|
|
965
965
|
"Properties": {
|
|
966
|
-
"SubnetId": {
|
|
967
|
-
"Ref": "VpcPublicSubnet3SubnetBE12F0B6"
|
|
968
|
-
},
|
|
969
966
|
"AllocationId": {
|
|
970
967
|
"Fn::GetAtt": [
|
|
971
968
|
"VpcPublicSubnet3EIP3A666A23",
|
|
972
969
|
"AllocationId"
|
|
973
970
|
]
|
|
974
971
|
},
|
|
972
|
+
"SubnetId": {
|
|
973
|
+
"Ref": "VpcPublicSubnet3SubnetBE12F0B6"
|
|
974
|
+
},
|
|
975
975
|
"Tags": [
|
|
976
976
|
{
|
|
977
977
|
"Key": "Name",
|
|
@@ -987,9 +987,6 @@
|
|
|
987
987
|
"VpcPrivateSubnet1Subnet536B997A": {
|
|
988
988
|
"Type": "AWS::EC2::Subnet",
|
|
989
989
|
"Properties": {
|
|
990
|
-
"VpcId": {
|
|
991
|
-
"Ref": "Vpc8378EB38"
|
|
992
|
-
},
|
|
993
990
|
"AvailabilityZone": "test-region-1a",
|
|
994
991
|
"CidrBlock": "10.0.96.0/19",
|
|
995
992
|
"MapPublicIpOnLaunch": false,
|
|
@@ -1006,21 +1003,24 @@
|
|
|
1006
1003
|
"Key": "Name",
|
|
1007
1004
|
"Value": "twoTargets/Vpc/PrivateSubnet1"
|
|
1008
1005
|
}
|
|
1009
|
-
]
|
|
1006
|
+
],
|
|
1007
|
+
"VpcId": {
|
|
1008
|
+
"Ref": "Vpc8378EB38"
|
|
1009
|
+
}
|
|
1010
1010
|
}
|
|
1011
1011
|
},
|
|
1012
1012
|
"VpcPrivateSubnet1RouteTableB2C5B500": {
|
|
1013
1013
|
"Type": "AWS::EC2::RouteTable",
|
|
1014
1014
|
"Properties": {
|
|
1015
|
-
"VpcId": {
|
|
1016
|
-
"Ref": "Vpc8378EB38"
|
|
1017
|
-
},
|
|
1018
1015
|
"Tags": [
|
|
1019
1016
|
{
|
|
1020
1017
|
"Key": "Name",
|
|
1021
1018
|
"Value": "twoTargets/Vpc/PrivateSubnet1"
|
|
1022
1019
|
}
|
|
1023
|
-
]
|
|
1020
|
+
],
|
|
1021
|
+
"VpcId": {
|
|
1022
|
+
"Ref": "Vpc8378EB38"
|
|
1023
|
+
}
|
|
1024
1024
|
}
|
|
1025
1025
|
},
|
|
1026
1026
|
"VpcPrivateSubnet1RouteTableAssociation70C59FA6": {
|
|
@@ -1037,21 +1037,18 @@
|
|
|
1037
1037
|
"VpcPrivateSubnet1DefaultRouteBE02A9ED": {
|
|
1038
1038
|
"Type": "AWS::EC2::Route",
|
|
1039
1039
|
"Properties": {
|
|
1040
|
-
"RouteTableId": {
|
|
1041
|
-
"Ref": "VpcPrivateSubnet1RouteTableB2C5B500"
|
|
1042
|
-
},
|
|
1043
1040
|
"DestinationCidrBlock": "0.0.0.0/0",
|
|
1044
1041
|
"NatGatewayId": {
|
|
1045
1042
|
"Ref": "VpcPublicSubnet1NATGateway4D7517AA"
|
|
1043
|
+
},
|
|
1044
|
+
"RouteTableId": {
|
|
1045
|
+
"Ref": "VpcPrivateSubnet1RouteTableB2C5B500"
|
|
1046
1046
|
}
|
|
1047
1047
|
}
|
|
1048
1048
|
},
|
|
1049
1049
|
"VpcPrivateSubnet2Subnet3788AAA1": {
|
|
1050
1050
|
"Type": "AWS::EC2::Subnet",
|
|
1051
1051
|
"Properties": {
|
|
1052
|
-
"VpcId": {
|
|
1053
|
-
"Ref": "Vpc8378EB38"
|
|
1054
|
-
},
|
|
1055
1052
|
"AvailabilityZone": "test-region-1b",
|
|
1056
1053
|
"CidrBlock": "10.0.128.0/19",
|
|
1057
1054
|
"MapPublicIpOnLaunch": false,
|
|
@@ -1068,21 +1065,24 @@
|
|
|
1068
1065
|
"Key": "Name",
|
|
1069
1066
|
"Value": "twoTargets/Vpc/PrivateSubnet2"
|
|
1070
1067
|
}
|
|
1071
|
-
]
|
|
1068
|
+
],
|
|
1069
|
+
"VpcId": {
|
|
1070
|
+
"Ref": "Vpc8378EB38"
|
|
1071
|
+
}
|
|
1072
1072
|
}
|
|
1073
1073
|
},
|
|
1074
1074
|
"VpcPrivateSubnet2RouteTableA678073B": {
|
|
1075
1075
|
"Type": "AWS::EC2::RouteTable",
|
|
1076
1076
|
"Properties": {
|
|
1077
|
-
"VpcId": {
|
|
1078
|
-
"Ref": "Vpc8378EB38"
|
|
1079
|
-
},
|
|
1080
1077
|
"Tags": [
|
|
1081
1078
|
{
|
|
1082
1079
|
"Key": "Name",
|
|
1083
1080
|
"Value": "twoTargets/Vpc/PrivateSubnet2"
|
|
1084
1081
|
}
|
|
1085
|
-
]
|
|
1082
|
+
],
|
|
1083
|
+
"VpcId": {
|
|
1084
|
+
"Ref": "Vpc8378EB38"
|
|
1085
|
+
}
|
|
1086
1086
|
}
|
|
1087
1087
|
},
|
|
1088
1088
|
"VpcPrivateSubnet2RouteTableAssociationA89CAD56": {
|
|
@@ -1099,21 +1099,18 @@
|
|
|
1099
1099
|
"VpcPrivateSubnet2DefaultRoute060D2087": {
|
|
1100
1100
|
"Type": "AWS::EC2::Route",
|
|
1101
1101
|
"Properties": {
|
|
1102
|
-
"RouteTableId": {
|
|
1103
|
-
"Ref": "VpcPrivateSubnet2RouteTableA678073B"
|
|
1104
|
-
},
|
|
1105
1102
|
"DestinationCidrBlock": "0.0.0.0/0",
|
|
1106
1103
|
"NatGatewayId": {
|
|
1107
1104
|
"Ref": "VpcPublicSubnet2NATGateway9182C01D"
|
|
1105
|
+
},
|
|
1106
|
+
"RouteTableId": {
|
|
1107
|
+
"Ref": "VpcPrivateSubnet2RouteTableA678073B"
|
|
1108
1108
|
}
|
|
1109
1109
|
}
|
|
1110
1110
|
},
|
|
1111
1111
|
"VpcPrivateSubnet3SubnetF258B56E": {
|
|
1112
1112
|
"Type": "AWS::EC2::Subnet",
|
|
1113
1113
|
"Properties": {
|
|
1114
|
-
"VpcId": {
|
|
1115
|
-
"Ref": "Vpc8378EB38"
|
|
1116
|
-
},
|
|
1117
1114
|
"AvailabilityZone": "test-region-1c",
|
|
1118
1115
|
"CidrBlock": "10.0.160.0/19",
|
|
1119
1116
|
"MapPublicIpOnLaunch": false,
|
|
@@ -1130,21 +1127,24 @@
|
|
|
1130
1127
|
"Key": "Name",
|
|
1131
1128
|
"Value": "twoTargets/Vpc/PrivateSubnet3"
|
|
1132
1129
|
}
|
|
1133
|
-
]
|
|
1130
|
+
],
|
|
1131
|
+
"VpcId": {
|
|
1132
|
+
"Ref": "Vpc8378EB38"
|
|
1133
|
+
}
|
|
1134
1134
|
}
|
|
1135
1135
|
},
|
|
1136
1136
|
"VpcPrivateSubnet3RouteTableD98824C7": {
|
|
1137
1137
|
"Type": "AWS::EC2::RouteTable",
|
|
1138
1138
|
"Properties": {
|
|
1139
|
-
"VpcId": {
|
|
1140
|
-
"Ref": "Vpc8378EB38"
|
|
1141
|
-
},
|
|
1142
1139
|
"Tags": [
|
|
1143
1140
|
{
|
|
1144
1141
|
"Key": "Name",
|
|
1145
1142
|
"Value": "twoTargets/Vpc/PrivateSubnet3"
|
|
1146
1143
|
}
|
|
1147
|
-
]
|
|
1144
|
+
],
|
|
1145
|
+
"VpcId": {
|
|
1146
|
+
"Ref": "Vpc8378EB38"
|
|
1147
|
+
}
|
|
1148
1148
|
}
|
|
1149
1149
|
},
|
|
1150
1150
|
"VpcPrivateSubnet3RouteTableAssociation16BDDC43": {
|
|
@@ -1161,12 +1161,12 @@
|
|
|
1161
1161
|
"VpcPrivateSubnet3DefaultRoute94B74F0D": {
|
|
1162
1162
|
"Type": "AWS::EC2::Route",
|
|
1163
1163
|
"Properties": {
|
|
1164
|
-
"RouteTableId": {
|
|
1165
|
-
"Ref": "VpcPrivateSubnet3RouteTableD98824C7"
|
|
1166
|
-
},
|
|
1167
1164
|
"DestinationCidrBlock": "0.0.0.0/0",
|
|
1168
1165
|
"NatGatewayId": {
|
|
1169
1166
|
"Ref": "VpcPublicSubnet3NATGateway7640CD1D"
|
|
1167
|
+
},
|
|
1168
|
+
"RouteTableId": {
|
|
1169
|
+
"Ref": "VpcPrivateSubnet3RouteTableD98824C7"
|
|
1170
1170
|
}
|
|
1171
1171
|
}
|
|
1172
1172
|
},
|
|
@@ -1184,11 +1184,11 @@
|
|
|
1184
1184
|
"VpcVPCGWBF912B6E": {
|
|
1185
1185
|
"Type": "AWS::EC2::VPCGatewayAttachment",
|
|
1186
1186
|
"Properties": {
|
|
1187
|
-
"VpcId": {
|
|
1188
|
-
"Ref": "Vpc8378EB38"
|
|
1189
|
-
},
|
|
1190
1187
|
"InternetGatewayId": {
|
|
1191
1188
|
"Ref": "VpcIGWD7BA715C"
|
|
1189
|
+
},
|
|
1190
|
+
"VpcId": {
|
|
1191
|
+
"Ref": "Vpc8378EB38"
|
|
1192
1192
|
}
|
|
1193
1193
|
}
|
|
1194
1194
|
},
|
|
@@ -1210,7 +1210,7 @@
|
|
|
1210
1210
|
"Tags": [
|
|
1211
1211
|
{
|
|
1212
1212
|
"Key": "Name",
|
|
1213
|
-
"Value": "twoTargets/Vpc"
|
|
1213
|
+
"Value": "twoTargets/Vpc/FlowLog"
|
|
1214
1214
|
}
|
|
1215
1215
|
]
|
|
1216
1216
|
}
|
|
@@ -1262,7 +1262,7 @@
|
|
|
1262
1262
|
"Tags": [
|
|
1263
1263
|
{
|
|
1264
1264
|
"Key": "Name",
|
|
1265
|
-
"Value": "twoTargets/Vpc"
|
|
1265
|
+
"Value": "twoTargets/Vpc/FlowLog"
|
|
1266
1266
|
}
|
|
1267
1267
|
]
|
|
1268
1268
|
},
|
|
@@ -1282,11 +1282,6 @@
|
|
|
1282
1282
|
"VpcFlowLog8FF33A73": {
|
|
1283
1283
|
"Type": "AWS::EC2::FlowLog",
|
|
1284
1284
|
"Properties": {
|
|
1285
|
-
"ResourceId": {
|
|
1286
|
-
"Ref": "Vpc8378EB38"
|
|
1287
|
-
},
|
|
1288
|
-
"ResourceType": "VPC",
|
|
1289
|
-
"TrafficType": "ALL",
|
|
1290
1285
|
"DeliverLogsPermissionArn": {
|
|
1291
1286
|
"Fn::GetAtt": [
|
|
1292
1287
|
"VpcFlowLogIAMRole6A475D41",
|
|
@@ -1297,12 +1292,17 @@
|
|
|
1297
1292
|
"LogGroupName": {
|
|
1298
1293
|
"Ref": "VpcFlowLogLogGroup7B5C56B9"
|
|
1299
1294
|
},
|
|
1295
|
+
"ResourceId": {
|
|
1296
|
+
"Ref": "Vpc8378EB38"
|
|
1297
|
+
},
|
|
1298
|
+
"ResourceType": "VPC",
|
|
1300
1299
|
"Tags": [
|
|
1301
1300
|
{
|
|
1302
1301
|
"Key": "Name",
|
|
1303
|
-
"Value": "twoTargets/Vpc"
|
|
1302
|
+
"Value": "twoTargets/Vpc/FlowLog"
|
|
1304
1303
|
}
|
|
1305
|
-
]
|
|
1304
|
+
],
|
|
1305
|
+
"TrafficType": "ALL"
|
|
1306
1306
|
}
|
|
1307
1307
|
},
|
|
1308
1308
|
"CustomS3AutoDeleteObjectsCustomResourceProviderRole3B1BD092": {
|
|
@@ -1334,18 +1334,18 @@
|
|
|
1334
1334
|
"S3Bucket": {
|
|
1335
1335
|
"Fn::Sub": "cdk-hnb659fds-assets-${AWS::AccountId}-us-east-1"
|
|
1336
1336
|
},
|
|
1337
|
-
"S3Key": "
|
|
1337
|
+
"S3Key": "5194f926380567b6fdffc61629afdad2afc818614cb227df45e499c69db163a7.zip"
|
|
1338
1338
|
},
|
|
1339
1339
|
"Timeout": 900,
|
|
1340
1340
|
"MemorySize": 128,
|
|
1341
|
-
"Handler": "
|
|
1341
|
+
"Handler": "index.handler",
|
|
1342
1342
|
"Role": {
|
|
1343
1343
|
"Fn::GetAtt": [
|
|
1344
1344
|
"CustomS3AutoDeleteObjectsCustomResourceProviderRole3B1BD092",
|
|
1345
1345
|
"Arn"
|
|
1346
1346
|
]
|
|
1347
1347
|
},
|
|
1348
|
-
"Runtime": "
|
|
1348
|
+
"Runtime": "nodejs18.x",
|
|
1349
1349
|
"Description": {
|
|
1350
1350
|
"Fn::Join": [
|
|
1351
1351
|
"",
|
|
@@ -1520,18 +1520,18 @@
|
|
|
1520
1520
|
},
|
|
1521
1521
|
"S3Key": "7caf594b8ad91abecca72f7f10a23a5cf446d05dc00d6194619935e7e3fd5a79.zip"
|
|
1522
1522
|
},
|
|
1523
|
-
"Role": {
|
|
1524
|
-
"Fn::GetAtt": [
|
|
1525
|
-
"testtwoLambdaFunctionServiceRoleD100E5F8",
|
|
1526
|
-
"Arn"
|
|
1527
|
-
]
|
|
1528
|
-
},
|
|
1529
1523
|
"Environment": {
|
|
1530
1524
|
"Variables": {
|
|
1531
1525
|
"AWS_NODEJS_CONNECTION_REUSE_ENABLED": "1"
|
|
1532
1526
|
}
|
|
1533
1527
|
},
|
|
1534
1528
|
"Handler": "index.handler",
|
|
1529
|
+
"Role": {
|
|
1530
|
+
"Fn::GetAtt": [
|
|
1531
|
+
"testtwoLambdaFunctionServiceRoleD100E5F8",
|
|
1532
|
+
"Arn"
|
|
1533
|
+
]
|
|
1534
|
+
},
|
|
1535
1535
|
"Runtime": "nodejs16.x",
|
|
1536
1536
|
"TracingConfig": {
|
|
1537
1537
|
"Mode": "Active"
|
|
@@ -1611,6 +1611,7 @@
|
|
|
1611
1611
|
"testtwotg2tg35BE6697": {
|
|
1612
1612
|
"Type": "AWS::ElasticLoadBalancingV2::TargetGroup",
|
|
1613
1613
|
"Properties": {
|
|
1614
|
+
"TargetType": "lambda",
|
|
1614
1615
|
"Targets": [
|
|
1615
1616
|
{
|
|
1616
1617
|
"Id": {
|
|
@@ -1620,8 +1621,7 @@
|
|
|
1620
1621
|
]
|
|
1621
1622
|
}
|
|
1622
1623
|
}
|
|
1623
|
-
]
|
|
1624
|
-
"TargetType": "lambda"
|
|
1624
|
+
]
|
|
1625
1625
|
},
|
|
1626
1626
|
"DependsOn": [
|
|
1627
1627
|
"testtwoLambdaFunctionInvoke2UTWxhlfyqbT5FTn5jvgbLgjFfJwzswGk55DU1HY068D8D47"
|