@aws-solutions-constructs/aws-lambda-kinesisstreams 2.51.0 → 2.52.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.
Files changed (99) hide show
  1. package/.eslintignore +2 -0
  2. package/.jsii +49 -4
  3. package/integ.config.json +7 -0
  4. package/lib/index.js +1 -1
  5. package/package.json +9 -8
  6. package/test/integ.lamkin-existingLambda.js +5 -2
  7. package/test/integ.lamkin-existingLambda.js.snapshot/asset.c7dc0cc1b24bda1d2a5345f61897eee32184906649fdb1de93853c512e129dbf/index.mjs +15 -0
  8. package/test/integ.lamkin-existingLambda.js.snapshot/cdk.out +1 -0
  9. package/test/integ.lamkin-existingLambda.js.snapshot/integ.json +12 -0
  10. package/test/integ.lamkin-existingLambda.js.snapshot/lamkin-existingLambda.assets.json +32 -0
  11. package/test/integ.lamkin-existingLambda.js.snapshot/lamkin-existingLambda.template.json +229 -0
  12. package/test/integ.lamkin-existingLambda.js.snapshot/lamkinexistingLambdaIntegDefaultTestDeployAssertD62E9419.assets.json +19 -0
  13. package/test/integ.lamkin-existingLambda.js.snapshot/lamkinexistingLambdaIntegDefaultTestDeployAssertD62E9419.template.json +36 -0
  14. package/test/integ.lamkin-existingLambda.js.snapshot/manifest.json +143 -0
  15. package/test/integ.lamkin-existingLambda.js.snapshot/tree.json +412 -0
  16. package/test/integ.lamkin-existingStream.js +5 -2
  17. package/test/integ.lamkin-existingStream.js.snapshot/asset.c7dc0cc1b24bda1d2a5345f61897eee32184906649fdb1de93853c512e129dbf/index.mjs +15 -0
  18. package/test/integ.lamkin-existingStream.js.snapshot/cdk.out +1 -0
  19. package/test/integ.lamkin-existingStream.js.snapshot/integ.json +12 -0
  20. package/test/integ.lamkin-existingStream.js.snapshot/lamkin-existingStream.assets.json +32 -0
  21. package/test/integ.lamkin-existingStream.js.snapshot/lamkin-existingStream.template.json +231 -0
  22. package/test/integ.lamkin-existingStream.js.snapshot/lamkinexistingStreamIntegDefaultTestDeployAssert2681B9A2.assets.json +19 -0
  23. package/test/integ.lamkin-existingStream.js.snapshot/lamkinexistingStreamIntegDefaultTestDeployAssert2681B9A2.template.json +36 -0
  24. package/test/integ.lamkin-existingStream.js.snapshot/manifest.json +143 -0
  25. package/test/integ.lamkin-existingStream.js.snapshot/tree.json +414 -0
  26. package/test/integ.lamkin-existingStreamWithCmk.js +5 -2
  27. package/test/integ.lamkin-existingStreamWithCmk.js.snapshot/asset.c7dc0cc1b24bda1d2a5345f61897eee32184906649fdb1de93853c512e129dbf/index.mjs +15 -0
  28. package/test/integ.lamkin-existingStreamWithCmk.js.snapshot/cdk.out +1 -0
  29. package/test/integ.lamkin-existingStreamWithCmk.js.snapshot/integ.json +12 -0
  30. package/test/integ.lamkin-existingStreamWithCmk.js.snapshot/lamkin-existingStreamWithCmk.assets.json +32 -0
  31. package/test/integ.lamkin-existingStreamWithCmk.js.snapshot/lamkin-existingStreamWithCmk.template.json +285 -0
  32. package/test/integ.lamkin-existingStreamWithCmk.js.snapshot/lamkinexistingStreamWithCmkIntegDefaultTestDeployAssert6EDF4045.assets.json +19 -0
  33. package/test/integ.lamkin-existingStreamWithCmk.js.snapshot/lamkinexistingStreamWithCmkIntegDefaultTestDeployAssert6EDF4045.template.json +36 -0
  34. package/test/integ.lamkin-existingStreamWithCmk.js.snapshot/manifest.json +149 -0
  35. package/test/integ.lamkin-existingStreamWithCmk.js.snapshot/tree.json +484 -0
  36. package/test/integ.lamkin-existingVpc.js +6 -2
  37. package/test/integ.lamkin-existingVpc.js.snapshot/asset.c7dc0cc1b24bda1d2a5345f61897eee32184906649fdb1de93853c512e129dbf/index.mjs +15 -0
  38. package/test/integ.lamkin-existingVpc.js.snapshot/asset.dd5711540f04e06aa955d7f4862fc04e8cdea464cb590dae91ed2976bb78098e/__entrypoint__.js +1 -0
  39. package/test/integ.lamkin-existingVpc.js.snapshot/asset.dd5711540f04e06aa955d7f4862fc04e8cdea464cb590dae91ed2976bb78098e/index.js +1 -0
  40. package/test/integ.lamkin-existingVpc.js.snapshot/cdk.out +1 -0
  41. package/test/integ.lamkin-existingVpc.js.snapshot/integ.json +12 -0
  42. package/test/integ.lamkin-existingVpc.js.snapshot/lamkin-existingVpc.assets.json +45 -0
  43. package/test/integ.lamkin-existingVpc.js.snapshot/lamkin-existingVpc.template.json +1040 -0
  44. package/test/integ.lamkin-existingVpc.js.snapshot/lamkinexistingVpcIntegDefaultTestDeployAssertB97E47BA.assets.json +19 -0
  45. package/test/integ.lamkin-existingVpc.js.snapshot/lamkinexistingVpcIntegDefaultTestDeployAssertB97E47BA.template.json +36 -0
  46. package/test/integ.lamkin-existingVpc.js.snapshot/manifest.json +341 -0
  47. package/test/integ.lamkin-existingVpc.js.snapshot/tree.json +1463 -0
  48. package/test/integ.lamkin-newStreamFromProps.js +5 -2
  49. package/test/integ.lamkin-newStreamFromProps.js.snapshot/asset.c7dc0cc1b24bda1d2a5345f61897eee32184906649fdb1de93853c512e129dbf/index.mjs +15 -0
  50. package/test/integ.lamkin-newStreamFromProps.js.snapshot/cdk.out +1 -0
  51. package/test/integ.lamkin-newStreamFromProps.js.snapshot/integ.json +12 -0
  52. package/test/integ.lamkin-newStreamFromProps.js.snapshot/lamkin-newStreamFromProps.assets.json +32 -0
  53. package/test/integ.lamkin-newStreamFromProps.js.snapshot/lamkin-newStreamFromProps.template.json +231 -0
  54. package/test/integ.lamkin-newStreamFromProps.js.snapshot/lamkinnewStreamFromPropsIntegDefaultTestDeployAssertC2946F34.assets.json +19 -0
  55. package/test/integ.lamkin-newStreamFromProps.js.snapshot/lamkinnewStreamFromPropsIntegDefaultTestDeployAssertC2946F34.template.json +36 -0
  56. package/test/integ.lamkin-newStreamFromProps.js.snapshot/manifest.json +143 -0
  57. package/test/integ.lamkin-newStreamFromProps.js.snapshot/tree.json +414 -0
  58. package/test/integ.lamkin-newVpc.js +6 -2
  59. package/test/integ.lamkin-newVpc.js.snapshot/asset.c7dc0cc1b24bda1d2a5345f61897eee32184906649fdb1de93853c512e129dbf/index.mjs +15 -0
  60. package/test/integ.lamkin-newVpc.js.snapshot/asset.dd5711540f04e06aa955d7f4862fc04e8cdea464cb590dae91ed2976bb78098e/__entrypoint__.js +1 -0
  61. package/test/integ.lamkin-newVpc.js.snapshot/asset.dd5711540f04e06aa955d7f4862fc04e8cdea464cb590dae91ed2976bb78098e/index.js +1 -0
  62. package/test/integ.lamkin-newVpc.js.snapshot/cdk.out +1 -0
  63. package/test/integ.lamkin-newVpc.js.snapshot/integ.json +12 -0
  64. package/test/integ.lamkin-newVpc.js.snapshot/lamkin-newVpc.assets.json +45 -0
  65. package/test/integ.lamkin-newVpc.js.snapshot/lamkin-newVpc.template.json +756 -0
  66. package/test/integ.lamkin-newVpc.js.snapshot/lamkinnewVpcIntegDefaultTestDeployAssert16AC3D59.assets.json +19 -0
  67. package/test/integ.lamkin-newVpc.js.snapshot/lamkinnewVpcIntegDefaultTestDeployAssert16AC3D59.template.json +36 -0
  68. package/test/integ.lamkin-newVpc.js.snapshot/manifest.json +245 -0
  69. package/test/integ.lamkin-newVpc.js.snapshot/tree.json +1051 -0
  70. package/test/integ.lamkin-newVpcFromProps.js +6 -2
  71. package/test/integ.lamkin-newVpcFromProps.js.snapshot/asset.c7dc0cc1b24bda1d2a5345f61897eee32184906649fdb1de93853c512e129dbf/index.mjs +15 -0
  72. package/test/integ.lamkin-newVpcFromProps.js.snapshot/asset.dd5711540f04e06aa955d7f4862fc04e8cdea464cb590dae91ed2976bb78098e/__entrypoint__.js +1 -0
  73. package/test/integ.lamkin-newVpcFromProps.js.snapshot/asset.dd5711540f04e06aa955d7f4862fc04e8cdea464cb590dae91ed2976bb78098e/index.js +1 -0
  74. package/test/integ.lamkin-newVpcFromProps.js.snapshot/cdk.out +1 -0
  75. package/test/integ.lamkin-newVpcFromProps.js.snapshot/integ.json +12 -0
  76. package/test/integ.lamkin-newVpcFromProps.js.snapshot/lamkin-newVpcFromProps.assets.json +45 -0
  77. package/test/integ.lamkin-newVpcFromProps.js.snapshot/lamkin-newVpcFromProps.template.json +692 -0
  78. package/test/integ.lamkin-newVpcFromProps.js.snapshot/lamkinnewVpcFromPropsIntegDefaultTestDeployAssert95FE0487.assets.json +19 -0
  79. package/test/integ.lamkin-newVpcFromProps.js.snapshot/lamkinnewVpcFromPropsIntegDefaultTestDeployAssert95FE0487.template.json +36 -0
  80. package/test/integ.lamkin-newVpcFromProps.js.snapshot/manifest.json +227 -0
  81. package/test/integ.lamkin-newVpcFromProps.js.snapshot/tree.json +946 -0
  82. package/test/integ.lamkin-noArguments.js +5 -2
  83. package/test/integ.lamkin-noArguments.js.snapshot/asset.c7dc0cc1b24bda1d2a5345f61897eee32184906649fdb1de93853c512e129dbf/index.mjs +15 -0
  84. package/test/integ.lamkin-noArguments.js.snapshot/cdk.out +1 -0
  85. package/test/integ.lamkin-noArguments.js.snapshot/integ.json +12 -0
  86. package/test/integ.lamkin-noArguments.js.snapshot/lamkin-noArguments.assets.json +32 -0
  87. package/test/integ.lamkin-noArguments.js.snapshot/lamkin-noArguments.template.json +229 -0
  88. package/test/integ.lamkin-noArguments.js.snapshot/lamkinnoArgumentsIntegDefaultTestDeployAssertC0CED4B2.assets.json +19 -0
  89. package/test/integ.lamkin-noArguments.js.snapshot/lamkinnoArgumentsIntegDefaultTestDeployAssertC0CED4B2.template.json +36 -0
  90. package/test/integ.lamkin-noArguments.js.snapshot/manifest.json +143 -0
  91. package/test/integ.lamkin-noArguments.js.snapshot/tree.json +412 -0
  92. package/test/integ.lamkin-existingLambda.expected.json +0 -229
  93. package/test/integ.lamkin-existingStream.expected.json +0 -231
  94. package/test/integ.lamkin-existingStreamWithCmk.expected.json +0 -297
  95. package/test/integ.lamkin-existingVpc.expected.json +0 -1065
  96. package/test/integ.lamkin-newStreamFromProps.expected.json +0 -231
  97. package/test/integ.lamkin-newVpc.expected.json +0 -671
  98. package/test/integ.lamkin-newVpcFromProps.expected.json +0 -557
  99. package/test/integ.lamkin-noArguments.expected.json +0 -229
@@ -0,0 +1,1463 @@
1
+ {
2
+ "version": "tree-0.1",
3
+ "tree": {
4
+ "id": "App",
5
+ "path": "",
6
+ "children": {
7
+ "lamkin-existingVpc": {
8
+ "id": "lamkin-existingVpc",
9
+ "path": "lamkin-existingVpc",
10
+ "children": {
11
+ "Vpc": {
12
+ "id": "Vpc",
13
+ "path": "lamkin-existingVpc/Vpc",
14
+ "children": {
15
+ "Resource": {
16
+ "id": "Resource",
17
+ "path": "lamkin-existingVpc/Vpc/Resource",
18
+ "attributes": {
19
+ "aws:cdk:cloudformation:type": "AWS::EC2::VPC",
20
+ "aws:cdk:cloudformation:props": {
21
+ "cidrBlock": "10.0.0.0/16",
22
+ "enableDnsHostnames": true,
23
+ "enableDnsSupport": true,
24
+ "instanceTenancy": "default",
25
+ "tags": [
26
+ {
27
+ "key": "Name",
28
+ "value": "lamkin-existingVpc/Vpc"
29
+ }
30
+ ]
31
+ }
32
+ },
33
+ "constructInfo": {
34
+ "fqn": "aws-cdk-lib.aws_ec2.CfnVPC",
35
+ "version": "2.118.0"
36
+ }
37
+ },
38
+ "PublicSubnet1": {
39
+ "id": "PublicSubnet1",
40
+ "path": "lamkin-existingVpc/Vpc/PublicSubnet1",
41
+ "children": {
42
+ "Subnet": {
43
+ "id": "Subnet",
44
+ "path": "lamkin-existingVpc/Vpc/PublicSubnet1/Subnet",
45
+ "attributes": {
46
+ "aws:cdk:cloudformation:type": "AWS::EC2::Subnet",
47
+ "aws:cdk:cloudformation:props": {
48
+ "availabilityZone": {
49
+ "Fn::Select": [
50
+ 0,
51
+ {
52
+ "Fn::GetAZs": ""
53
+ }
54
+ ]
55
+ },
56
+ "cidrBlock": "10.0.0.0/18",
57
+ "mapPublicIpOnLaunch": true,
58
+ "tags": [
59
+ {
60
+ "key": "aws-cdk:subnet-name",
61
+ "value": "Public"
62
+ },
63
+ {
64
+ "key": "aws-cdk:subnet-type",
65
+ "value": "Public"
66
+ },
67
+ {
68
+ "key": "Name",
69
+ "value": "lamkin-existingVpc/Vpc/PublicSubnet1"
70
+ }
71
+ ],
72
+ "vpcId": {
73
+ "Ref": "Vpc8378EB38"
74
+ }
75
+ }
76
+ },
77
+ "constructInfo": {
78
+ "fqn": "aws-cdk-lib.aws_ec2.CfnSubnet",
79
+ "version": "2.118.0"
80
+ }
81
+ },
82
+ "Acl": {
83
+ "id": "Acl",
84
+ "path": "lamkin-existingVpc/Vpc/PublicSubnet1/Acl",
85
+ "constructInfo": {
86
+ "fqn": "aws-cdk-lib.Resource",
87
+ "version": "2.118.0"
88
+ }
89
+ },
90
+ "RouteTable": {
91
+ "id": "RouteTable",
92
+ "path": "lamkin-existingVpc/Vpc/PublicSubnet1/RouteTable",
93
+ "attributes": {
94
+ "aws:cdk:cloudformation:type": "AWS::EC2::RouteTable",
95
+ "aws:cdk:cloudformation:props": {
96
+ "tags": [
97
+ {
98
+ "key": "Name",
99
+ "value": "lamkin-existingVpc/Vpc/PublicSubnet1"
100
+ }
101
+ ],
102
+ "vpcId": {
103
+ "Ref": "Vpc8378EB38"
104
+ }
105
+ }
106
+ },
107
+ "constructInfo": {
108
+ "fqn": "aws-cdk-lib.aws_ec2.CfnRouteTable",
109
+ "version": "2.118.0"
110
+ }
111
+ },
112
+ "RouteTableAssociation": {
113
+ "id": "RouteTableAssociation",
114
+ "path": "lamkin-existingVpc/Vpc/PublicSubnet1/RouteTableAssociation",
115
+ "attributes": {
116
+ "aws:cdk:cloudformation:type": "AWS::EC2::SubnetRouteTableAssociation",
117
+ "aws:cdk:cloudformation:props": {
118
+ "routeTableId": {
119
+ "Ref": "VpcPublicSubnet1RouteTable6C95E38E"
120
+ },
121
+ "subnetId": {
122
+ "Ref": "VpcPublicSubnet1Subnet5C2D37C4"
123
+ }
124
+ }
125
+ },
126
+ "constructInfo": {
127
+ "fqn": "aws-cdk-lib.aws_ec2.CfnSubnetRouteTableAssociation",
128
+ "version": "2.118.0"
129
+ }
130
+ },
131
+ "DefaultRoute": {
132
+ "id": "DefaultRoute",
133
+ "path": "lamkin-existingVpc/Vpc/PublicSubnet1/DefaultRoute",
134
+ "attributes": {
135
+ "aws:cdk:cloudformation:type": "AWS::EC2::Route",
136
+ "aws:cdk:cloudformation:props": {
137
+ "destinationCidrBlock": "0.0.0.0/0",
138
+ "gatewayId": {
139
+ "Ref": "VpcIGWD7BA715C"
140
+ },
141
+ "routeTableId": {
142
+ "Ref": "VpcPublicSubnet1RouteTable6C95E38E"
143
+ }
144
+ }
145
+ },
146
+ "constructInfo": {
147
+ "fqn": "aws-cdk-lib.aws_ec2.CfnRoute",
148
+ "version": "2.118.0"
149
+ }
150
+ },
151
+ "EIP": {
152
+ "id": "EIP",
153
+ "path": "lamkin-existingVpc/Vpc/PublicSubnet1/EIP",
154
+ "attributes": {
155
+ "aws:cdk:cloudformation:type": "AWS::EC2::EIP",
156
+ "aws:cdk:cloudformation:props": {
157
+ "domain": "vpc",
158
+ "tags": [
159
+ {
160
+ "key": "Name",
161
+ "value": "lamkin-existingVpc/Vpc/PublicSubnet1"
162
+ }
163
+ ]
164
+ }
165
+ },
166
+ "constructInfo": {
167
+ "fqn": "aws-cdk-lib.aws_ec2.CfnEIP",
168
+ "version": "2.118.0"
169
+ }
170
+ },
171
+ "NATGateway": {
172
+ "id": "NATGateway",
173
+ "path": "lamkin-existingVpc/Vpc/PublicSubnet1/NATGateway",
174
+ "attributes": {
175
+ "aws:cdk:cloudformation:type": "AWS::EC2::NatGateway",
176
+ "aws:cdk:cloudformation:props": {
177
+ "allocationId": {
178
+ "Fn::GetAtt": [
179
+ "VpcPublicSubnet1EIPD7E02669",
180
+ "AllocationId"
181
+ ]
182
+ },
183
+ "subnetId": {
184
+ "Ref": "VpcPublicSubnet1Subnet5C2D37C4"
185
+ },
186
+ "tags": [
187
+ {
188
+ "key": "Name",
189
+ "value": "lamkin-existingVpc/Vpc/PublicSubnet1"
190
+ }
191
+ ]
192
+ }
193
+ },
194
+ "constructInfo": {
195
+ "fqn": "aws-cdk-lib.aws_ec2.CfnNatGateway",
196
+ "version": "2.118.0"
197
+ }
198
+ }
199
+ },
200
+ "constructInfo": {
201
+ "fqn": "aws-cdk-lib.aws_ec2.PublicSubnet",
202
+ "version": "2.118.0"
203
+ }
204
+ },
205
+ "PublicSubnet2": {
206
+ "id": "PublicSubnet2",
207
+ "path": "lamkin-existingVpc/Vpc/PublicSubnet2",
208
+ "children": {
209
+ "Subnet": {
210
+ "id": "Subnet",
211
+ "path": "lamkin-existingVpc/Vpc/PublicSubnet2/Subnet",
212
+ "attributes": {
213
+ "aws:cdk:cloudformation:type": "AWS::EC2::Subnet",
214
+ "aws:cdk:cloudformation:props": {
215
+ "availabilityZone": {
216
+ "Fn::Select": [
217
+ 1,
218
+ {
219
+ "Fn::GetAZs": ""
220
+ }
221
+ ]
222
+ },
223
+ "cidrBlock": "10.0.64.0/18",
224
+ "mapPublicIpOnLaunch": true,
225
+ "tags": [
226
+ {
227
+ "key": "aws-cdk:subnet-name",
228
+ "value": "Public"
229
+ },
230
+ {
231
+ "key": "aws-cdk:subnet-type",
232
+ "value": "Public"
233
+ },
234
+ {
235
+ "key": "Name",
236
+ "value": "lamkin-existingVpc/Vpc/PublicSubnet2"
237
+ }
238
+ ],
239
+ "vpcId": {
240
+ "Ref": "Vpc8378EB38"
241
+ }
242
+ }
243
+ },
244
+ "constructInfo": {
245
+ "fqn": "aws-cdk-lib.aws_ec2.CfnSubnet",
246
+ "version": "2.118.0"
247
+ }
248
+ },
249
+ "Acl": {
250
+ "id": "Acl",
251
+ "path": "lamkin-existingVpc/Vpc/PublicSubnet2/Acl",
252
+ "constructInfo": {
253
+ "fqn": "aws-cdk-lib.Resource",
254
+ "version": "2.118.0"
255
+ }
256
+ },
257
+ "RouteTable": {
258
+ "id": "RouteTable",
259
+ "path": "lamkin-existingVpc/Vpc/PublicSubnet2/RouteTable",
260
+ "attributes": {
261
+ "aws:cdk:cloudformation:type": "AWS::EC2::RouteTable",
262
+ "aws:cdk:cloudformation:props": {
263
+ "tags": [
264
+ {
265
+ "key": "Name",
266
+ "value": "lamkin-existingVpc/Vpc/PublicSubnet2"
267
+ }
268
+ ],
269
+ "vpcId": {
270
+ "Ref": "Vpc8378EB38"
271
+ }
272
+ }
273
+ },
274
+ "constructInfo": {
275
+ "fqn": "aws-cdk-lib.aws_ec2.CfnRouteTable",
276
+ "version": "2.118.0"
277
+ }
278
+ },
279
+ "RouteTableAssociation": {
280
+ "id": "RouteTableAssociation",
281
+ "path": "lamkin-existingVpc/Vpc/PublicSubnet2/RouteTableAssociation",
282
+ "attributes": {
283
+ "aws:cdk:cloudformation:type": "AWS::EC2::SubnetRouteTableAssociation",
284
+ "aws:cdk:cloudformation:props": {
285
+ "routeTableId": {
286
+ "Ref": "VpcPublicSubnet2RouteTable94F7E489"
287
+ },
288
+ "subnetId": {
289
+ "Ref": "VpcPublicSubnet2Subnet691E08A3"
290
+ }
291
+ }
292
+ },
293
+ "constructInfo": {
294
+ "fqn": "aws-cdk-lib.aws_ec2.CfnSubnetRouteTableAssociation",
295
+ "version": "2.118.0"
296
+ }
297
+ },
298
+ "DefaultRoute": {
299
+ "id": "DefaultRoute",
300
+ "path": "lamkin-existingVpc/Vpc/PublicSubnet2/DefaultRoute",
301
+ "attributes": {
302
+ "aws:cdk:cloudformation:type": "AWS::EC2::Route",
303
+ "aws:cdk:cloudformation:props": {
304
+ "destinationCidrBlock": "0.0.0.0/0",
305
+ "gatewayId": {
306
+ "Ref": "VpcIGWD7BA715C"
307
+ },
308
+ "routeTableId": {
309
+ "Ref": "VpcPublicSubnet2RouteTable94F7E489"
310
+ }
311
+ }
312
+ },
313
+ "constructInfo": {
314
+ "fqn": "aws-cdk-lib.aws_ec2.CfnRoute",
315
+ "version": "2.118.0"
316
+ }
317
+ },
318
+ "EIP": {
319
+ "id": "EIP",
320
+ "path": "lamkin-existingVpc/Vpc/PublicSubnet2/EIP",
321
+ "attributes": {
322
+ "aws:cdk:cloudformation:type": "AWS::EC2::EIP",
323
+ "aws:cdk:cloudformation:props": {
324
+ "domain": "vpc",
325
+ "tags": [
326
+ {
327
+ "key": "Name",
328
+ "value": "lamkin-existingVpc/Vpc/PublicSubnet2"
329
+ }
330
+ ]
331
+ }
332
+ },
333
+ "constructInfo": {
334
+ "fqn": "aws-cdk-lib.aws_ec2.CfnEIP",
335
+ "version": "2.118.0"
336
+ }
337
+ },
338
+ "NATGateway": {
339
+ "id": "NATGateway",
340
+ "path": "lamkin-existingVpc/Vpc/PublicSubnet2/NATGateway",
341
+ "attributes": {
342
+ "aws:cdk:cloudformation:type": "AWS::EC2::NatGateway",
343
+ "aws:cdk:cloudformation:props": {
344
+ "allocationId": {
345
+ "Fn::GetAtt": [
346
+ "VpcPublicSubnet2EIP3C605A87",
347
+ "AllocationId"
348
+ ]
349
+ },
350
+ "subnetId": {
351
+ "Ref": "VpcPublicSubnet2Subnet691E08A3"
352
+ },
353
+ "tags": [
354
+ {
355
+ "key": "Name",
356
+ "value": "lamkin-existingVpc/Vpc/PublicSubnet2"
357
+ }
358
+ ]
359
+ }
360
+ },
361
+ "constructInfo": {
362
+ "fqn": "aws-cdk-lib.aws_ec2.CfnNatGateway",
363
+ "version": "2.118.0"
364
+ }
365
+ }
366
+ },
367
+ "constructInfo": {
368
+ "fqn": "aws-cdk-lib.aws_ec2.PublicSubnet",
369
+ "version": "2.118.0"
370
+ }
371
+ },
372
+ "PrivateSubnet1": {
373
+ "id": "PrivateSubnet1",
374
+ "path": "lamkin-existingVpc/Vpc/PrivateSubnet1",
375
+ "children": {
376
+ "Subnet": {
377
+ "id": "Subnet",
378
+ "path": "lamkin-existingVpc/Vpc/PrivateSubnet1/Subnet",
379
+ "attributes": {
380
+ "aws:cdk:cloudformation:type": "AWS::EC2::Subnet",
381
+ "aws:cdk:cloudformation:props": {
382
+ "availabilityZone": {
383
+ "Fn::Select": [
384
+ 0,
385
+ {
386
+ "Fn::GetAZs": ""
387
+ }
388
+ ]
389
+ },
390
+ "cidrBlock": "10.0.128.0/18",
391
+ "mapPublicIpOnLaunch": false,
392
+ "tags": [
393
+ {
394
+ "key": "aws-cdk:subnet-name",
395
+ "value": "Private"
396
+ },
397
+ {
398
+ "key": "aws-cdk:subnet-type",
399
+ "value": "Private"
400
+ },
401
+ {
402
+ "key": "Name",
403
+ "value": "lamkin-existingVpc/Vpc/PrivateSubnet1"
404
+ }
405
+ ],
406
+ "vpcId": {
407
+ "Ref": "Vpc8378EB38"
408
+ }
409
+ }
410
+ },
411
+ "constructInfo": {
412
+ "fqn": "aws-cdk-lib.aws_ec2.CfnSubnet",
413
+ "version": "2.118.0"
414
+ }
415
+ },
416
+ "Acl": {
417
+ "id": "Acl",
418
+ "path": "lamkin-existingVpc/Vpc/PrivateSubnet1/Acl",
419
+ "constructInfo": {
420
+ "fqn": "aws-cdk-lib.Resource",
421
+ "version": "2.118.0"
422
+ }
423
+ },
424
+ "RouteTable": {
425
+ "id": "RouteTable",
426
+ "path": "lamkin-existingVpc/Vpc/PrivateSubnet1/RouteTable",
427
+ "attributes": {
428
+ "aws:cdk:cloudformation:type": "AWS::EC2::RouteTable",
429
+ "aws:cdk:cloudformation:props": {
430
+ "tags": [
431
+ {
432
+ "key": "Name",
433
+ "value": "lamkin-existingVpc/Vpc/PrivateSubnet1"
434
+ }
435
+ ],
436
+ "vpcId": {
437
+ "Ref": "Vpc8378EB38"
438
+ }
439
+ }
440
+ },
441
+ "constructInfo": {
442
+ "fqn": "aws-cdk-lib.aws_ec2.CfnRouteTable",
443
+ "version": "2.118.0"
444
+ }
445
+ },
446
+ "RouteTableAssociation": {
447
+ "id": "RouteTableAssociation",
448
+ "path": "lamkin-existingVpc/Vpc/PrivateSubnet1/RouteTableAssociation",
449
+ "attributes": {
450
+ "aws:cdk:cloudformation:type": "AWS::EC2::SubnetRouteTableAssociation",
451
+ "aws:cdk:cloudformation:props": {
452
+ "routeTableId": {
453
+ "Ref": "VpcPrivateSubnet1RouteTableB2C5B500"
454
+ },
455
+ "subnetId": {
456
+ "Ref": "VpcPrivateSubnet1Subnet536B997A"
457
+ }
458
+ }
459
+ },
460
+ "constructInfo": {
461
+ "fqn": "aws-cdk-lib.aws_ec2.CfnSubnetRouteTableAssociation",
462
+ "version": "2.118.0"
463
+ }
464
+ },
465
+ "DefaultRoute": {
466
+ "id": "DefaultRoute",
467
+ "path": "lamkin-existingVpc/Vpc/PrivateSubnet1/DefaultRoute",
468
+ "attributes": {
469
+ "aws:cdk:cloudformation:type": "AWS::EC2::Route",
470
+ "aws:cdk:cloudformation:props": {
471
+ "destinationCidrBlock": "0.0.0.0/0",
472
+ "natGatewayId": {
473
+ "Ref": "VpcPublicSubnet1NATGateway4D7517AA"
474
+ },
475
+ "routeTableId": {
476
+ "Ref": "VpcPrivateSubnet1RouteTableB2C5B500"
477
+ }
478
+ }
479
+ },
480
+ "constructInfo": {
481
+ "fqn": "aws-cdk-lib.aws_ec2.CfnRoute",
482
+ "version": "2.118.0"
483
+ }
484
+ }
485
+ },
486
+ "constructInfo": {
487
+ "fqn": "aws-cdk-lib.aws_ec2.PrivateSubnet",
488
+ "version": "2.118.0"
489
+ }
490
+ },
491
+ "PrivateSubnet2": {
492
+ "id": "PrivateSubnet2",
493
+ "path": "lamkin-existingVpc/Vpc/PrivateSubnet2",
494
+ "children": {
495
+ "Subnet": {
496
+ "id": "Subnet",
497
+ "path": "lamkin-existingVpc/Vpc/PrivateSubnet2/Subnet",
498
+ "attributes": {
499
+ "aws:cdk:cloudformation:type": "AWS::EC2::Subnet",
500
+ "aws:cdk:cloudformation:props": {
501
+ "availabilityZone": {
502
+ "Fn::Select": [
503
+ 1,
504
+ {
505
+ "Fn::GetAZs": ""
506
+ }
507
+ ]
508
+ },
509
+ "cidrBlock": "10.0.192.0/18",
510
+ "mapPublicIpOnLaunch": false,
511
+ "tags": [
512
+ {
513
+ "key": "aws-cdk:subnet-name",
514
+ "value": "Private"
515
+ },
516
+ {
517
+ "key": "aws-cdk:subnet-type",
518
+ "value": "Private"
519
+ },
520
+ {
521
+ "key": "Name",
522
+ "value": "lamkin-existingVpc/Vpc/PrivateSubnet2"
523
+ }
524
+ ],
525
+ "vpcId": {
526
+ "Ref": "Vpc8378EB38"
527
+ }
528
+ }
529
+ },
530
+ "constructInfo": {
531
+ "fqn": "aws-cdk-lib.aws_ec2.CfnSubnet",
532
+ "version": "2.118.0"
533
+ }
534
+ },
535
+ "Acl": {
536
+ "id": "Acl",
537
+ "path": "lamkin-existingVpc/Vpc/PrivateSubnet2/Acl",
538
+ "constructInfo": {
539
+ "fqn": "aws-cdk-lib.Resource",
540
+ "version": "2.118.0"
541
+ }
542
+ },
543
+ "RouteTable": {
544
+ "id": "RouteTable",
545
+ "path": "lamkin-existingVpc/Vpc/PrivateSubnet2/RouteTable",
546
+ "attributes": {
547
+ "aws:cdk:cloudformation:type": "AWS::EC2::RouteTable",
548
+ "aws:cdk:cloudformation:props": {
549
+ "tags": [
550
+ {
551
+ "key": "Name",
552
+ "value": "lamkin-existingVpc/Vpc/PrivateSubnet2"
553
+ }
554
+ ],
555
+ "vpcId": {
556
+ "Ref": "Vpc8378EB38"
557
+ }
558
+ }
559
+ },
560
+ "constructInfo": {
561
+ "fqn": "aws-cdk-lib.aws_ec2.CfnRouteTable",
562
+ "version": "2.118.0"
563
+ }
564
+ },
565
+ "RouteTableAssociation": {
566
+ "id": "RouteTableAssociation",
567
+ "path": "lamkin-existingVpc/Vpc/PrivateSubnet2/RouteTableAssociation",
568
+ "attributes": {
569
+ "aws:cdk:cloudformation:type": "AWS::EC2::SubnetRouteTableAssociation",
570
+ "aws:cdk:cloudformation:props": {
571
+ "routeTableId": {
572
+ "Ref": "VpcPrivateSubnet2RouteTableA678073B"
573
+ },
574
+ "subnetId": {
575
+ "Ref": "VpcPrivateSubnet2Subnet3788AAA1"
576
+ }
577
+ }
578
+ },
579
+ "constructInfo": {
580
+ "fqn": "aws-cdk-lib.aws_ec2.CfnSubnetRouteTableAssociation",
581
+ "version": "2.118.0"
582
+ }
583
+ },
584
+ "DefaultRoute": {
585
+ "id": "DefaultRoute",
586
+ "path": "lamkin-existingVpc/Vpc/PrivateSubnet2/DefaultRoute",
587
+ "attributes": {
588
+ "aws:cdk:cloudformation:type": "AWS::EC2::Route",
589
+ "aws:cdk:cloudformation:props": {
590
+ "destinationCidrBlock": "0.0.0.0/0",
591
+ "natGatewayId": {
592
+ "Ref": "VpcPublicSubnet2NATGateway9182C01D"
593
+ },
594
+ "routeTableId": {
595
+ "Ref": "VpcPrivateSubnet2RouteTableA678073B"
596
+ }
597
+ }
598
+ },
599
+ "constructInfo": {
600
+ "fqn": "aws-cdk-lib.aws_ec2.CfnRoute",
601
+ "version": "2.118.0"
602
+ }
603
+ }
604
+ },
605
+ "constructInfo": {
606
+ "fqn": "aws-cdk-lib.aws_ec2.PrivateSubnet",
607
+ "version": "2.118.0"
608
+ }
609
+ },
610
+ "IGW": {
611
+ "id": "IGW",
612
+ "path": "lamkin-existingVpc/Vpc/IGW",
613
+ "attributes": {
614
+ "aws:cdk:cloudformation:type": "AWS::EC2::InternetGateway",
615
+ "aws:cdk:cloudformation:props": {
616
+ "tags": [
617
+ {
618
+ "key": "Name",
619
+ "value": "lamkin-existingVpc/Vpc"
620
+ }
621
+ ]
622
+ }
623
+ },
624
+ "constructInfo": {
625
+ "fqn": "aws-cdk-lib.aws_ec2.CfnInternetGateway",
626
+ "version": "2.118.0"
627
+ }
628
+ },
629
+ "VPCGW": {
630
+ "id": "VPCGW",
631
+ "path": "lamkin-existingVpc/Vpc/VPCGW",
632
+ "attributes": {
633
+ "aws:cdk:cloudformation:type": "AWS::EC2::VPCGatewayAttachment",
634
+ "aws:cdk:cloudformation:props": {
635
+ "internetGatewayId": {
636
+ "Ref": "VpcIGWD7BA715C"
637
+ },
638
+ "vpcId": {
639
+ "Ref": "Vpc8378EB38"
640
+ }
641
+ }
642
+ },
643
+ "constructInfo": {
644
+ "fqn": "aws-cdk-lib.aws_ec2.CfnVPCGatewayAttachment",
645
+ "version": "2.118.0"
646
+ }
647
+ },
648
+ "RestrictDefaultSecurityGroupCustomResource": {
649
+ "id": "RestrictDefaultSecurityGroupCustomResource",
650
+ "path": "lamkin-existingVpc/Vpc/RestrictDefaultSecurityGroupCustomResource",
651
+ "children": {
652
+ "Default": {
653
+ "id": "Default",
654
+ "path": "lamkin-existingVpc/Vpc/RestrictDefaultSecurityGroupCustomResource/Default",
655
+ "constructInfo": {
656
+ "fqn": "aws-cdk-lib.CfnResource",
657
+ "version": "2.118.0"
658
+ }
659
+ }
660
+ },
661
+ "constructInfo": {
662
+ "fqn": "aws-cdk-lib.CustomResource",
663
+ "version": "2.118.0"
664
+ }
665
+ },
666
+ "FlowLog": {
667
+ "id": "FlowLog",
668
+ "path": "lamkin-existingVpc/Vpc/FlowLog",
669
+ "children": {
670
+ "IAMRole": {
671
+ "id": "IAMRole",
672
+ "path": "lamkin-existingVpc/Vpc/FlowLog/IAMRole",
673
+ "children": {
674
+ "ImportIAMRole": {
675
+ "id": "ImportIAMRole",
676
+ "path": "lamkin-existingVpc/Vpc/FlowLog/IAMRole/ImportIAMRole",
677
+ "constructInfo": {
678
+ "fqn": "aws-cdk-lib.Resource",
679
+ "version": "2.118.0"
680
+ }
681
+ },
682
+ "Resource": {
683
+ "id": "Resource",
684
+ "path": "lamkin-existingVpc/Vpc/FlowLog/IAMRole/Resource",
685
+ "attributes": {
686
+ "aws:cdk:cloudformation:type": "AWS::IAM::Role",
687
+ "aws:cdk:cloudformation:props": {
688
+ "assumeRolePolicyDocument": {
689
+ "Statement": [
690
+ {
691
+ "Action": "sts:AssumeRole",
692
+ "Effect": "Allow",
693
+ "Principal": {
694
+ "Service": "vpc-flow-logs.amazonaws.com"
695
+ }
696
+ }
697
+ ],
698
+ "Version": "2012-10-17"
699
+ },
700
+ "tags": [
701
+ {
702
+ "key": "Name",
703
+ "value": "lamkin-existingVpc/Vpc/FlowLog"
704
+ }
705
+ ]
706
+ }
707
+ },
708
+ "constructInfo": {
709
+ "fqn": "aws-cdk-lib.aws_iam.CfnRole",
710
+ "version": "2.118.0"
711
+ }
712
+ },
713
+ "DefaultPolicy": {
714
+ "id": "DefaultPolicy",
715
+ "path": "lamkin-existingVpc/Vpc/FlowLog/IAMRole/DefaultPolicy",
716
+ "children": {
717
+ "Resource": {
718
+ "id": "Resource",
719
+ "path": "lamkin-existingVpc/Vpc/FlowLog/IAMRole/DefaultPolicy/Resource",
720
+ "attributes": {
721
+ "aws:cdk:cloudformation:type": "AWS::IAM::Policy",
722
+ "aws:cdk:cloudformation:props": {
723
+ "policyDocument": {
724
+ "Statement": [
725
+ {
726
+ "Action": [
727
+ "logs:CreateLogStream",
728
+ "logs:DescribeLogStreams",
729
+ "logs:PutLogEvents"
730
+ ],
731
+ "Effect": "Allow",
732
+ "Resource": {
733
+ "Fn::GetAtt": [
734
+ "VpcFlowLogLogGroup7B5C56B9",
735
+ "Arn"
736
+ ]
737
+ }
738
+ },
739
+ {
740
+ "Action": "iam:PassRole",
741
+ "Effect": "Allow",
742
+ "Resource": {
743
+ "Fn::GetAtt": [
744
+ "VpcFlowLogIAMRole6A475D41",
745
+ "Arn"
746
+ ]
747
+ }
748
+ }
749
+ ],
750
+ "Version": "2012-10-17"
751
+ },
752
+ "policyName": "VpcFlowLogIAMRoleDefaultPolicy406FB995",
753
+ "roles": [
754
+ {
755
+ "Ref": "VpcFlowLogIAMRole6A475D41"
756
+ }
757
+ ]
758
+ }
759
+ },
760
+ "constructInfo": {
761
+ "fqn": "aws-cdk-lib.aws_iam.CfnPolicy",
762
+ "version": "2.118.0"
763
+ }
764
+ }
765
+ },
766
+ "constructInfo": {
767
+ "fqn": "aws-cdk-lib.aws_iam.Policy",
768
+ "version": "2.118.0"
769
+ }
770
+ }
771
+ },
772
+ "constructInfo": {
773
+ "fqn": "aws-cdk-lib.aws_iam.Role",
774
+ "version": "2.118.0"
775
+ }
776
+ },
777
+ "LogGroup": {
778
+ "id": "LogGroup",
779
+ "path": "lamkin-existingVpc/Vpc/FlowLog/LogGroup",
780
+ "children": {
781
+ "Resource": {
782
+ "id": "Resource",
783
+ "path": "lamkin-existingVpc/Vpc/FlowLog/LogGroup/Resource",
784
+ "attributes": {
785
+ "aws:cdk:cloudformation:type": "AWS::Logs::LogGroup",
786
+ "aws:cdk:cloudformation:props": {
787
+ "retentionInDays": 731,
788
+ "tags": [
789
+ {
790
+ "key": "Name",
791
+ "value": "lamkin-existingVpc/Vpc/FlowLog"
792
+ }
793
+ ]
794
+ }
795
+ },
796
+ "constructInfo": {
797
+ "fqn": "aws-cdk-lib.aws_logs.CfnLogGroup",
798
+ "version": "2.118.0"
799
+ }
800
+ }
801
+ },
802
+ "constructInfo": {
803
+ "fqn": "aws-cdk-lib.aws_logs.LogGroup",
804
+ "version": "2.118.0"
805
+ }
806
+ },
807
+ "FlowLog": {
808
+ "id": "FlowLog",
809
+ "path": "lamkin-existingVpc/Vpc/FlowLog/FlowLog",
810
+ "attributes": {
811
+ "aws:cdk:cloudformation:type": "AWS::EC2::FlowLog",
812
+ "aws:cdk:cloudformation:props": {
813
+ "deliverLogsPermissionArn": {
814
+ "Fn::GetAtt": [
815
+ "VpcFlowLogIAMRole6A475D41",
816
+ "Arn"
817
+ ]
818
+ },
819
+ "logDestinationType": "cloud-watch-logs",
820
+ "logGroupName": {
821
+ "Ref": "VpcFlowLogLogGroup7B5C56B9"
822
+ },
823
+ "resourceId": {
824
+ "Ref": "Vpc8378EB38"
825
+ },
826
+ "resourceType": "VPC",
827
+ "tags": [
828
+ {
829
+ "key": "Name",
830
+ "value": "lamkin-existingVpc/Vpc/FlowLog"
831
+ }
832
+ ],
833
+ "trafficType": "ALL"
834
+ }
835
+ },
836
+ "constructInfo": {
837
+ "fqn": "aws-cdk-lib.aws_ec2.CfnFlowLog",
838
+ "version": "2.118.0"
839
+ }
840
+ }
841
+ },
842
+ "constructInfo": {
843
+ "fqn": "aws-cdk-lib.aws_ec2.FlowLog",
844
+ "version": "2.118.0"
845
+ }
846
+ },
847
+ "KINESIS_STREAMS": {
848
+ "id": "KINESIS_STREAMS",
849
+ "path": "lamkin-existingVpc/Vpc/KINESIS_STREAMS",
850
+ "children": {
851
+ "Resource": {
852
+ "id": "Resource",
853
+ "path": "lamkin-existingVpc/Vpc/KINESIS_STREAMS/Resource",
854
+ "attributes": {
855
+ "aws:cdk:cloudformation:type": "AWS::EC2::VPCEndpoint",
856
+ "aws:cdk:cloudformation:props": {
857
+ "privateDnsEnabled": true,
858
+ "securityGroupIds": [
859
+ {
860
+ "Fn::GetAtt": [
861
+ "lamkinexistingVpcKINESISSTREAMSsecuritygroupC307369A",
862
+ "GroupId"
863
+ ]
864
+ }
865
+ ],
866
+ "serviceName": {
867
+ "Fn::Join": [
868
+ "",
869
+ [
870
+ "com.amazonaws.",
871
+ {
872
+ "Ref": "AWS::Region"
873
+ },
874
+ ".kinesis-streams"
875
+ ]
876
+ ]
877
+ },
878
+ "subnetIds": [
879
+ {
880
+ "Ref": "VpcPrivateSubnet1Subnet536B997A"
881
+ },
882
+ {
883
+ "Ref": "VpcPrivateSubnet2Subnet3788AAA1"
884
+ }
885
+ ],
886
+ "vpcEndpointType": "Interface",
887
+ "vpcId": {
888
+ "Ref": "Vpc8378EB38"
889
+ }
890
+ }
891
+ },
892
+ "constructInfo": {
893
+ "fqn": "aws-cdk-lib.aws_ec2.CfnVPCEndpoint",
894
+ "version": "2.118.0"
895
+ }
896
+ }
897
+ },
898
+ "constructInfo": {
899
+ "fqn": "aws-cdk-lib.aws_ec2.InterfaceVpcEndpoint",
900
+ "version": "2.118.0"
901
+ }
902
+ }
903
+ },
904
+ "constructInfo": {
905
+ "fqn": "aws-cdk-lib.aws_ec2.Vpc",
906
+ "version": "2.118.0"
907
+ }
908
+ },
909
+ "Custom::VpcRestrictDefaultSGCustomResourceProvider": {
910
+ "id": "Custom::VpcRestrictDefaultSGCustomResourceProvider",
911
+ "path": "lamkin-existingVpc/Custom::VpcRestrictDefaultSGCustomResourceProvider",
912
+ "children": {
913
+ "Staging": {
914
+ "id": "Staging",
915
+ "path": "lamkin-existingVpc/Custom::VpcRestrictDefaultSGCustomResourceProvider/Staging",
916
+ "constructInfo": {
917
+ "fqn": "aws-cdk-lib.AssetStaging",
918
+ "version": "2.118.0"
919
+ }
920
+ },
921
+ "Role": {
922
+ "id": "Role",
923
+ "path": "lamkin-existingVpc/Custom::VpcRestrictDefaultSGCustomResourceProvider/Role",
924
+ "constructInfo": {
925
+ "fqn": "aws-cdk-lib.CfnResource",
926
+ "version": "2.118.0"
927
+ }
928
+ },
929
+ "Handler": {
930
+ "id": "Handler",
931
+ "path": "lamkin-existingVpc/Custom::VpcRestrictDefaultSGCustomResourceProvider/Handler",
932
+ "constructInfo": {
933
+ "fqn": "aws-cdk-lib.CfnResource",
934
+ "version": "2.118.0"
935
+ }
936
+ }
937
+ },
938
+ "constructInfo": {
939
+ "fqn": "aws-cdk-lib.CustomResourceProviderBase",
940
+ "version": "2.118.0"
941
+ }
942
+ },
943
+ "test-lambda-kinesisstreams": {
944
+ "id": "test-lambda-kinesisstreams",
945
+ "path": "lamkin-existingVpc/test-lambda-kinesisstreams",
946
+ "children": {
947
+ "LambdaFunctionServiceRole": {
948
+ "id": "LambdaFunctionServiceRole",
949
+ "path": "lamkin-existingVpc/test-lambda-kinesisstreams/LambdaFunctionServiceRole",
950
+ "children": {
951
+ "ImportLambdaFunctionServiceRole": {
952
+ "id": "ImportLambdaFunctionServiceRole",
953
+ "path": "lamkin-existingVpc/test-lambda-kinesisstreams/LambdaFunctionServiceRole/ImportLambdaFunctionServiceRole",
954
+ "constructInfo": {
955
+ "fqn": "aws-cdk-lib.Resource",
956
+ "version": "2.118.0"
957
+ }
958
+ },
959
+ "Resource": {
960
+ "id": "Resource",
961
+ "path": "lamkin-existingVpc/test-lambda-kinesisstreams/LambdaFunctionServiceRole/Resource",
962
+ "attributes": {
963
+ "aws:cdk:cloudformation:type": "AWS::IAM::Role",
964
+ "aws:cdk:cloudformation:props": {
965
+ "assumeRolePolicyDocument": {
966
+ "Statement": [
967
+ {
968
+ "Action": "sts:AssumeRole",
969
+ "Effect": "Allow",
970
+ "Principal": {
971
+ "Service": "lambda.amazonaws.com"
972
+ }
973
+ }
974
+ ],
975
+ "Version": "2012-10-17"
976
+ },
977
+ "policies": [
978
+ {
979
+ "policyName": "LambdaFunctionServiceRolePolicy",
980
+ "policyDocument": {
981
+ "Statement": [
982
+ {
983
+ "Action": [
984
+ "logs:CreateLogGroup",
985
+ "logs:CreateLogStream",
986
+ "logs:PutLogEvents"
987
+ ],
988
+ "Effect": "Allow",
989
+ "Resource": {
990
+ "Fn::Join": [
991
+ "",
992
+ [
993
+ "arn:",
994
+ {
995
+ "Ref": "AWS::Partition"
996
+ },
997
+ ":logs:",
998
+ {
999
+ "Ref": "AWS::Region"
1000
+ },
1001
+ ":",
1002
+ {
1003
+ "Ref": "AWS::AccountId"
1004
+ },
1005
+ ":log-group:/aws/lambda/*"
1006
+ ]
1007
+ ]
1008
+ }
1009
+ }
1010
+ ],
1011
+ "Version": "2012-10-17"
1012
+ }
1013
+ }
1014
+ ]
1015
+ }
1016
+ },
1017
+ "constructInfo": {
1018
+ "fqn": "aws-cdk-lib.aws_iam.CfnRole",
1019
+ "version": "2.118.0"
1020
+ }
1021
+ },
1022
+ "DefaultPolicy": {
1023
+ "id": "DefaultPolicy",
1024
+ "path": "lamkin-existingVpc/test-lambda-kinesisstreams/LambdaFunctionServiceRole/DefaultPolicy",
1025
+ "children": {
1026
+ "Resource": {
1027
+ "id": "Resource",
1028
+ "path": "lamkin-existingVpc/test-lambda-kinesisstreams/LambdaFunctionServiceRole/DefaultPolicy/Resource",
1029
+ "attributes": {
1030
+ "aws:cdk:cloudformation:type": "AWS::IAM::Policy",
1031
+ "aws:cdk:cloudformation:props": {
1032
+ "policyDocument": {
1033
+ "Statement": [
1034
+ {
1035
+ "Action": [
1036
+ "ec2:AssignPrivateIpAddresses",
1037
+ "ec2:CreateNetworkInterface",
1038
+ "ec2:DeleteNetworkInterface",
1039
+ "ec2:DescribeNetworkInterfaces",
1040
+ "ec2:UnassignPrivateIpAddresses",
1041
+ "xray:PutTelemetryRecords",
1042
+ "xray:PutTraceSegments"
1043
+ ],
1044
+ "Effect": "Allow",
1045
+ "Resource": "*"
1046
+ },
1047
+ {
1048
+ "Action": [
1049
+ "kinesis:ListShards",
1050
+ "kinesis:PutRecord",
1051
+ "kinesis:PutRecords"
1052
+ ],
1053
+ "Effect": "Allow",
1054
+ "Resource": {
1055
+ "Fn::GetAtt": [
1056
+ "testlambdakinesisstreamsKinesisStream11A82116",
1057
+ "Arn"
1058
+ ]
1059
+ }
1060
+ }
1061
+ ],
1062
+ "Version": "2012-10-17"
1063
+ },
1064
+ "policyName": "testlambdakinesisstreamsLambdaFunctionServiceRoleDefaultPolicyED972043",
1065
+ "roles": [
1066
+ {
1067
+ "Ref": "testlambdakinesisstreamsLambdaFunctionServiceRole95206CF3"
1068
+ }
1069
+ ]
1070
+ }
1071
+ },
1072
+ "constructInfo": {
1073
+ "fqn": "aws-cdk-lib.aws_iam.CfnPolicy",
1074
+ "version": "2.118.0"
1075
+ }
1076
+ }
1077
+ },
1078
+ "constructInfo": {
1079
+ "fqn": "aws-cdk-lib.aws_iam.Policy",
1080
+ "version": "2.118.0"
1081
+ }
1082
+ }
1083
+ },
1084
+ "constructInfo": {
1085
+ "fqn": "aws-cdk-lib.aws_iam.Role",
1086
+ "version": "2.118.0"
1087
+ }
1088
+ },
1089
+ "ReplaceDefaultSecurityGroup-security-group": {
1090
+ "id": "ReplaceDefaultSecurityGroup-security-group",
1091
+ "path": "lamkin-existingVpc/test-lambda-kinesisstreams/ReplaceDefaultSecurityGroup-security-group",
1092
+ "children": {
1093
+ "Resource": {
1094
+ "id": "Resource",
1095
+ "path": "lamkin-existingVpc/test-lambda-kinesisstreams/ReplaceDefaultSecurityGroup-security-group/Resource",
1096
+ "attributes": {
1097
+ "aws:cdk:cloudformation:type": "AWS::EC2::SecurityGroup",
1098
+ "aws:cdk:cloudformation:props": {
1099
+ "groupDescription": "lamkin-existingVpc/test-lambda-kinesisstreams/ReplaceDefaultSecurityGroup-security-group",
1100
+ "securityGroupEgress": [
1101
+ {
1102
+ "cidrIp": "0.0.0.0/0",
1103
+ "description": "Allow all outbound traffic by default",
1104
+ "ipProtocol": "-1"
1105
+ }
1106
+ ],
1107
+ "vpcId": {
1108
+ "Ref": "Vpc8378EB38"
1109
+ }
1110
+ }
1111
+ },
1112
+ "constructInfo": {
1113
+ "fqn": "aws-cdk-lib.aws_ec2.CfnSecurityGroup",
1114
+ "version": "2.118.0"
1115
+ }
1116
+ }
1117
+ },
1118
+ "constructInfo": {
1119
+ "fqn": "aws-cdk-lib.aws_ec2.SecurityGroup",
1120
+ "version": "2.118.0"
1121
+ }
1122
+ },
1123
+ "LambdaFunction": {
1124
+ "id": "LambdaFunction",
1125
+ "path": "lamkin-existingVpc/test-lambda-kinesisstreams/LambdaFunction",
1126
+ "children": {
1127
+ "Code": {
1128
+ "id": "Code",
1129
+ "path": "lamkin-existingVpc/test-lambda-kinesisstreams/LambdaFunction/Code",
1130
+ "children": {
1131
+ "Stage": {
1132
+ "id": "Stage",
1133
+ "path": "lamkin-existingVpc/test-lambda-kinesisstreams/LambdaFunction/Code/Stage",
1134
+ "constructInfo": {
1135
+ "fqn": "aws-cdk-lib.AssetStaging",
1136
+ "version": "2.118.0"
1137
+ }
1138
+ },
1139
+ "AssetBucket": {
1140
+ "id": "AssetBucket",
1141
+ "path": "lamkin-existingVpc/test-lambda-kinesisstreams/LambdaFunction/Code/AssetBucket",
1142
+ "constructInfo": {
1143
+ "fqn": "aws-cdk-lib.aws_s3.BucketBase",
1144
+ "version": "2.118.0"
1145
+ }
1146
+ }
1147
+ },
1148
+ "constructInfo": {
1149
+ "fqn": "aws-cdk-lib.aws_s3_assets.Asset",
1150
+ "version": "2.118.0"
1151
+ }
1152
+ },
1153
+ "Resource": {
1154
+ "id": "Resource",
1155
+ "path": "lamkin-existingVpc/test-lambda-kinesisstreams/LambdaFunction/Resource",
1156
+ "attributes": {
1157
+ "aws:cdk:cloudformation:type": "AWS::Lambda::Function",
1158
+ "aws:cdk:cloudformation:props": {
1159
+ "code": {
1160
+ "s3Bucket": {
1161
+ "Fn::Sub": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}"
1162
+ },
1163
+ "s3Key": "c7dc0cc1b24bda1d2a5345f61897eee32184906649fdb1de93853c512e129dbf.zip"
1164
+ },
1165
+ "environment": {
1166
+ "variables": {
1167
+ "KINESIS_DATASTREAM_NAME": {
1168
+ "Ref": "testlambdakinesisstreamsKinesisStream11A82116"
1169
+ }
1170
+ }
1171
+ },
1172
+ "handler": "index.handler",
1173
+ "role": {
1174
+ "Fn::GetAtt": [
1175
+ "testlambdakinesisstreamsLambdaFunctionServiceRole95206CF3",
1176
+ "Arn"
1177
+ ]
1178
+ },
1179
+ "runtime": "nodejs18.x",
1180
+ "tracingConfig": {
1181
+ "mode": "Active"
1182
+ },
1183
+ "vpcConfig": {
1184
+ "subnetIds": [
1185
+ {
1186
+ "Ref": "VpcPrivateSubnet1Subnet536B997A"
1187
+ },
1188
+ {
1189
+ "Ref": "VpcPrivateSubnet2Subnet3788AAA1"
1190
+ }
1191
+ ],
1192
+ "securityGroupIds": [
1193
+ {
1194
+ "Fn::GetAtt": [
1195
+ "testlambdakinesisstreamsReplaceDefaultSecurityGroupsecuritygroupFB22266C",
1196
+ "GroupId"
1197
+ ]
1198
+ }
1199
+ ]
1200
+ }
1201
+ }
1202
+ },
1203
+ "constructInfo": {
1204
+ "fqn": "aws-cdk-lib.aws_lambda.CfnFunction",
1205
+ "version": "2.118.0"
1206
+ }
1207
+ }
1208
+ },
1209
+ "constructInfo": {
1210
+ "fqn": "aws-cdk-lib.aws_lambda.Function",
1211
+ "version": "2.118.0"
1212
+ }
1213
+ },
1214
+ "KinesisStream": {
1215
+ "id": "KinesisStream",
1216
+ "path": "lamkin-existingVpc/test-lambda-kinesisstreams/KinesisStream",
1217
+ "children": {
1218
+ "Resource": {
1219
+ "id": "Resource",
1220
+ "path": "lamkin-existingVpc/test-lambda-kinesisstreams/KinesisStream/Resource",
1221
+ "attributes": {
1222
+ "aws:cdk:cloudformation:type": "AWS::Kinesis::Stream",
1223
+ "aws:cdk:cloudformation:props": {
1224
+ "retentionPeriodHours": 24,
1225
+ "shardCount": 1,
1226
+ "streamEncryption": {
1227
+ "encryptionType": "KMS",
1228
+ "keyId": "alias/aws/kinesis"
1229
+ }
1230
+ }
1231
+ },
1232
+ "constructInfo": {
1233
+ "fqn": "aws-cdk-lib.aws_kinesis.CfnStream",
1234
+ "version": "2.118.0"
1235
+ }
1236
+ }
1237
+ },
1238
+ "constructInfo": {
1239
+ "fqn": "aws-cdk-lib.aws_kinesis.Stream",
1240
+ "version": "2.118.0"
1241
+ }
1242
+ },
1243
+ "KinesisStreamGetRecordsIteratorAgeAlarm": {
1244
+ "id": "KinesisStreamGetRecordsIteratorAgeAlarm",
1245
+ "path": "lamkin-existingVpc/test-lambda-kinesisstreams/KinesisStreamGetRecordsIteratorAgeAlarm",
1246
+ "children": {
1247
+ "Resource": {
1248
+ "id": "Resource",
1249
+ "path": "lamkin-existingVpc/test-lambda-kinesisstreams/KinesisStreamGetRecordsIteratorAgeAlarm/Resource",
1250
+ "attributes": {
1251
+ "aws:cdk:cloudformation:type": "AWS::CloudWatch::Alarm",
1252
+ "aws:cdk:cloudformation:props": {
1253
+ "alarmDescription": "Consumer Record Processing Falling Behind, there is risk for data loss due to record expiration.",
1254
+ "comparisonOperator": "GreaterThanOrEqualToThreshold",
1255
+ "evaluationPeriods": 1,
1256
+ "metricName": "GetRecords.IteratorAgeMilliseconds",
1257
+ "namespace": "AWS/Kinesis",
1258
+ "period": 300,
1259
+ "statistic": "Maximum",
1260
+ "threshold": 43200000
1261
+ }
1262
+ },
1263
+ "constructInfo": {
1264
+ "fqn": "aws-cdk-lib.aws_cloudwatch.CfnAlarm",
1265
+ "version": "2.118.0"
1266
+ }
1267
+ }
1268
+ },
1269
+ "constructInfo": {
1270
+ "fqn": "aws-cdk-lib.aws_cloudwatch.Alarm",
1271
+ "version": "2.118.0"
1272
+ }
1273
+ },
1274
+ "KinesisStreamReadProvisionedThroughputExceededAlarm": {
1275
+ "id": "KinesisStreamReadProvisionedThroughputExceededAlarm",
1276
+ "path": "lamkin-existingVpc/test-lambda-kinesisstreams/KinesisStreamReadProvisionedThroughputExceededAlarm",
1277
+ "children": {
1278
+ "Resource": {
1279
+ "id": "Resource",
1280
+ "path": "lamkin-existingVpc/test-lambda-kinesisstreams/KinesisStreamReadProvisionedThroughputExceededAlarm/Resource",
1281
+ "attributes": {
1282
+ "aws:cdk:cloudformation:type": "AWS::CloudWatch::Alarm",
1283
+ "aws:cdk:cloudformation:props": {
1284
+ "alarmDescription": "Consumer Application is Reading at a Slower Rate Than Expected.",
1285
+ "comparisonOperator": "GreaterThanThreshold",
1286
+ "evaluationPeriods": 1,
1287
+ "metricName": "ReadProvisionedThroughputExceeded",
1288
+ "namespace": "AWS/Kinesis",
1289
+ "period": 300,
1290
+ "statistic": "Average",
1291
+ "threshold": 0
1292
+ }
1293
+ },
1294
+ "constructInfo": {
1295
+ "fqn": "aws-cdk-lib.aws_cloudwatch.CfnAlarm",
1296
+ "version": "2.118.0"
1297
+ }
1298
+ }
1299
+ },
1300
+ "constructInfo": {
1301
+ "fqn": "aws-cdk-lib.aws_cloudwatch.Alarm",
1302
+ "version": "2.118.0"
1303
+ }
1304
+ }
1305
+ },
1306
+ "constructInfo": {
1307
+ "fqn": "@aws-solutions-constructs/aws-lambda-kinesisstreams.LambdaToKinesisStreams",
1308
+ "version": "2.51.0"
1309
+ }
1310
+ },
1311
+ "lamkin-existingVpc-KINESIS_STREAMS-security-group": {
1312
+ "id": "lamkin-existingVpc-KINESIS_STREAMS-security-group",
1313
+ "path": "lamkin-existingVpc/lamkin-existingVpc-KINESIS_STREAMS-security-group",
1314
+ "children": {
1315
+ "Resource": {
1316
+ "id": "Resource",
1317
+ "path": "lamkin-existingVpc/lamkin-existingVpc-KINESIS_STREAMS-security-group/Resource",
1318
+ "attributes": {
1319
+ "aws:cdk:cloudformation:type": "AWS::EC2::SecurityGroup",
1320
+ "aws:cdk:cloudformation:props": {
1321
+ "groupDescription": "lamkin-existingVpc/lamkin-existingVpc-KINESIS_STREAMS-security-group",
1322
+ "securityGroupEgress": [
1323
+ {
1324
+ "cidrIp": "0.0.0.0/0",
1325
+ "description": "Allow all outbound traffic by default",
1326
+ "ipProtocol": "-1"
1327
+ }
1328
+ ],
1329
+ "securityGroupIngress": [
1330
+ {
1331
+ "cidrIp": {
1332
+ "Fn::GetAtt": [
1333
+ "Vpc8378EB38",
1334
+ "CidrBlock"
1335
+ ]
1336
+ },
1337
+ "ipProtocol": "tcp",
1338
+ "fromPort": 443,
1339
+ "toPort": 443,
1340
+ "description": {
1341
+ "Fn::Join": [
1342
+ "",
1343
+ [
1344
+ "from ",
1345
+ {
1346
+ "Fn::GetAtt": [
1347
+ "Vpc8378EB38",
1348
+ "CidrBlock"
1349
+ ]
1350
+ },
1351
+ ":443"
1352
+ ]
1353
+ ]
1354
+ }
1355
+ }
1356
+ ],
1357
+ "vpcId": {
1358
+ "Ref": "Vpc8378EB38"
1359
+ }
1360
+ }
1361
+ },
1362
+ "constructInfo": {
1363
+ "fqn": "aws-cdk-lib.aws_ec2.CfnSecurityGroup",
1364
+ "version": "2.118.0"
1365
+ }
1366
+ }
1367
+ },
1368
+ "constructInfo": {
1369
+ "fqn": "aws-cdk-lib.aws_ec2.SecurityGroup",
1370
+ "version": "2.118.0"
1371
+ }
1372
+ },
1373
+ "Integ": {
1374
+ "id": "Integ",
1375
+ "path": "lamkin-existingVpc/Integ",
1376
+ "children": {
1377
+ "DefaultTest": {
1378
+ "id": "DefaultTest",
1379
+ "path": "lamkin-existingVpc/Integ/DefaultTest",
1380
+ "children": {
1381
+ "Default": {
1382
+ "id": "Default",
1383
+ "path": "lamkin-existingVpc/Integ/DefaultTest/Default",
1384
+ "constructInfo": {
1385
+ "fqn": "constructs.Construct",
1386
+ "version": "10.3.0"
1387
+ }
1388
+ },
1389
+ "DeployAssert": {
1390
+ "id": "DeployAssert",
1391
+ "path": "lamkin-existingVpc/Integ/DefaultTest/DeployAssert",
1392
+ "children": {
1393
+ "BootstrapVersion": {
1394
+ "id": "BootstrapVersion",
1395
+ "path": "lamkin-existingVpc/Integ/DefaultTest/DeployAssert/BootstrapVersion",
1396
+ "constructInfo": {
1397
+ "fqn": "aws-cdk-lib.CfnParameter",
1398
+ "version": "2.118.0"
1399
+ }
1400
+ },
1401
+ "CheckBootstrapVersion": {
1402
+ "id": "CheckBootstrapVersion",
1403
+ "path": "lamkin-existingVpc/Integ/DefaultTest/DeployAssert/CheckBootstrapVersion",
1404
+ "constructInfo": {
1405
+ "fqn": "aws-cdk-lib.CfnRule",
1406
+ "version": "2.118.0"
1407
+ }
1408
+ }
1409
+ },
1410
+ "constructInfo": {
1411
+ "fqn": "aws-cdk-lib.Stack",
1412
+ "version": "2.118.0"
1413
+ }
1414
+ }
1415
+ },
1416
+ "constructInfo": {
1417
+ "fqn": "@aws-cdk/integ-tests-alpha.IntegTestCase",
1418
+ "version": "2.118.0-alpha.0"
1419
+ }
1420
+ }
1421
+ },
1422
+ "constructInfo": {
1423
+ "fqn": "@aws-cdk/integ-tests-alpha.IntegTest",
1424
+ "version": "2.118.0-alpha.0"
1425
+ }
1426
+ },
1427
+ "BootstrapVersion": {
1428
+ "id": "BootstrapVersion",
1429
+ "path": "lamkin-existingVpc/BootstrapVersion",
1430
+ "constructInfo": {
1431
+ "fqn": "aws-cdk-lib.CfnParameter",
1432
+ "version": "2.118.0"
1433
+ }
1434
+ },
1435
+ "CheckBootstrapVersion": {
1436
+ "id": "CheckBootstrapVersion",
1437
+ "path": "lamkin-existingVpc/CheckBootstrapVersion",
1438
+ "constructInfo": {
1439
+ "fqn": "aws-cdk-lib.CfnRule",
1440
+ "version": "2.118.0"
1441
+ }
1442
+ }
1443
+ },
1444
+ "constructInfo": {
1445
+ "fqn": "aws-cdk-lib.Stack",
1446
+ "version": "2.118.0"
1447
+ }
1448
+ },
1449
+ "Tree": {
1450
+ "id": "Tree",
1451
+ "path": "Tree",
1452
+ "constructInfo": {
1453
+ "fqn": "constructs.Construct",
1454
+ "version": "10.3.0"
1455
+ }
1456
+ }
1457
+ },
1458
+ "constructInfo": {
1459
+ "fqn": "aws-cdk-lib.App",
1460
+ "version": "2.118.0"
1461
+ }
1462
+ }
1463
+ }