@aws-solutions-constructs/aws-lambda-kinesisstreams 2.79.1 → 2.81.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 (59) hide show
  1. package/.jsii +43 -43
  2. package/lib/index.js +1 -1
  3. package/package.json +6 -6
  4. package/test/integ.lamkin-existingLambda.js.snapshot/cdk.out +1 -1
  5. package/test/integ.lamkin-existingLambda.js.snapshot/integ.json +1 -1
  6. package/test/integ.lamkin-existingLambda.js.snapshot/lamkin-existingLambda.assets.json +3 -3
  7. package/test/integ.lamkin-existingLambda.js.snapshot/lamkin-existingLambda.template.json +24 -18
  8. package/test/integ.lamkin-existingLambda.js.snapshot/lamkinexistingLambdaIntegDefaultTestDeployAssertD62E9419.assets.json +1 -1
  9. package/test/integ.lamkin-existingLambda.js.snapshot/manifest.json +199 -3
  10. package/test/integ.lamkin-existingLambda.js.snapshot/tree.json +1 -413
  11. package/test/integ.lamkin-existingStream.js.snapshot/cdk.out +1 -1
  12. package/test/integ.lamkin-existingStream.js.snapshot/integ.json +1 -1
  13. package/test/integ.lamkin-existingStream.js.snapshot/lamkin-existingStream.assets.json +3 -3
  14. package/test/integ.lamkin-existingStream.js.snapshot/lamkin-existingStream.template.json +24 -18
  15. package/test/integ.lamkin-existingStream.js.snapshot/lamkinexistingStreamIntegDefaultTestDeployAssert2681B9A2.assets.json +1 -1
  16. package/test/integ.lamkin-existingStream.js.snapshot/manifest.json +200 -3
  17. package/test/integ.lamkin-existingStream.js.snapshot/tree.json +1 -415
  18. package/test/integ.lamkin-existingStreamWithCmk.js.snapshot/cdk.out +1 -1
  19. package/test/integ.lamkin-existingStreamWithCmk.js.snapshot/integ.json +1 -1
  20. package/test/integ.lamkin-existingStreamWithCmk.js.snapshot/lamkin-existingStreamWithCmk.assets.json +3 -3
  21. package/test/integ.lamkin-existingStreamWithCmk.js.snapshot/lamkin-existingStreamWithCmk.template.json +24 -18
  22. package/test/integ.lamkin-existingStreamWithCmk.js.snapshot/lamkinexistingStreamWithCmkIntegDefaultTestDeployAssert6EDF4045.assets.json +1 -1
  23. package/test/integ.lamkin-existingStreamWithCmk.js.snapshot/manifest.json +239 -3
  24. package/test/integ.lamkin-existingStreamWithCmk.js.snapshot/tree.json +1 -485
  25. package/test/integ.lamkin-existingVpc.js.snapshot/cdk.out +1 -1
  26. package/test/integ.lamkin-existingVpc.js.snapshot/integ.json +1 -1
  27. package/test/integ.lamkin-existingVpc.js.snapshot/lamkin-existingVpc.assets.json +3 -3
  28. package/test/integ.lamkin-existingVpc.js.snapshot/lamkin-existingVpc.template.json +35 -7
  29. package/test/integ.lamkin-existingVpc.js.snapshot/lamkinexistingVpcIntegDefaultTestDeployAssertB97E47BA.assets.json +1 -1
  30. package/test/integ.lamkin-existingVpc.js.snapshot/manifest.json +533 -3
  31. package/test/integ.lamkin-existingVpc.js.snapshot/tree.json +1 -1478
  32. package/test/integ.lamkin-newStreamFromProps.js.snapshot/cdk.out +1 -1
  33. package/test/integ.lamkin-newStreamFromProps.js.snapshot/integ.json +1 -1
  34. package/test/integ.lamkin-newStreamFromProps.js.snapshot/lamkin-newStreamFromProps.assets.json +3 -3
  35. package/test/integ.lamkin-newStreamFromProps.js.snapshot/lamkin-newStreamFromProps.template.json +24 -18
  36. package/test/integ.lamkin-newStreamFromProps.js.snapshot/lamkinnewStreamFromPropsIntegDefaultTestDeployAssertC2946F34.assets.json +1 -1
  37. package/test/integ.lamkin-newStreamFromProps.js.snapshot/manifest.json +200 -3
  38. package/test/integ.lamkin-newStreamFromProps.js.snapshot/tree.json +1 -415
  39. package/test/integ.lamkin-newVpc.js.snapshot/cdk.out +1 -1
  40. package/test/integ.lamkin-newVpc.js.snapshot/integ.json +1 -1
  41. package/test/integ.lamkin-newVpc.js.snapshot/lamkin-newVpc.assets.json +3 -3
  42. package/test/integ.lamkin-newVpc.js.snapshot/lamkin-newVpc.template.json +33 -7
  43. package/test/integ.lamkin-newVpc.js.snapshot/lamkinnewVpcIntegDefaultTestDeployAssert16AC3D59.assets.json +1 -1
  44. package/test/integ.lamkin-newVpc.js.snapshot/manifest.json +464 -3
  45. package/test/integ.lamkin-newVpc.js.snapshot/tree.json +1 -1066
  46. package/test/integ.lamkin-newVpcFromProps.js.snapshot/cdk.out +1 -1
  47. package/test/integ.lamkin-newVpcFromProps.js.snapshot/integ.json +1 -1
  48. package/test/integ.lamkin-newVpcFromProps.js.snapshot/lamkin-newVpcFromProps.assets.json +3 -3
  49. package/test/integ.lamkin-newVpcFromProps.js.snapshot/lamkin-newVpcFromProps.template.json +32 -7
  50. package/test/integ.lamkin-newVpcFromProps.js.snapshot/lamkinnewVpcFromPropsIntegDefaultTestDeployAssert95FE0487.assets.json +1 -1
  51. package/test/integ.lamkin-newVpcFromProps.js.snapshot/manifest.json +441 -3
  52. package/test/integ.lamkin-newVpcFromProps.js.snapshot/tree.json +1 -961
  53. package/test/integ.lamkin-noArguments.js.snapshot/cdk.out +1 -1
  54. package/test/integ.lamkin-noArguments.js.snapshot/integ.json +1 -1
  55. package/test/integ.lamkin-noArguments.js.snapshot/lamkin-noArguments.assets.json +3 -3
  56. package/test/integ.lamkin-noArguments.js.snapshot/lamkin-noArguments.template.json +24 -18
  57. package/test/integ.lamkin-noArguments.js.snapshot/lamkinnoArgumentsIntegDefaultTestDeployAssertC0CED4B2.assets.json +1 -1
  58. package/test/integ.lamkin-noArguments.js.snapshot/manifest.json +199 -3
  59. package/test/integ.lamkin-noArguments.js.snapshot/tree.json +1 -413
@@ -1,961 +1 @@
1
- {
2
- "version": "tree-0.1",
3
- "tree": {
4
- "id": "App",
5
- "path": "",
6
- "children": {
7
- "lamkin-newVpcFromProps": {
8
- "id": "lamkin-newVpcFromProps",
9
- "path": "lamkin-newVpcFromProps",
10
- "children": {
11
- "test-lambda-kinesisstreams": {
12
- "id": "test-lambda-kinesisstreams",
13
- "path": "lamkin-newVpcFromProps/test-lambda-kinesisstreams",
14
- "children": {
15
- "LambdaFunctionServiceRole": {
16
- "id": "LambdaFunctionServiceRole",
17
- "path": "lamkin-newVpcFromProps/test-lambda-kinesisstreams/LambdaFunctionServiceRole",
18
- "children": {
19
- "ImportLambdaFunctionServiceRole": {
20
- "id": "ImportLambdaFunctionServiceRole",
21
- "path": "lamkin-newVpcFromProps/test-lambda-kinesisstreams/LambdaFunctionServiceRole/ImportLambdaFunctionServiceRole",
22
- "constructInfo": {
23
- "fqn": "aws-cdk-lib.Resource",
24
- "version": "2.174.0"
25
- }
26
- },
27
- "Resource": {
28
- "id": "Resource",
29
- "path": "lamkin-newVpcFromProps/test-lambda-kinesisstreams/LambdaFunctionServiceRole/Resource",
30
- "attributes": {
31
- "aws:cdk:cloudformation:type": "AWS::IAM::Role",
32
- "aws:cdk:cloudformation:props": {
33
- "assumeRolePolicyDocument": {
34
- "Statement": [
35
- {
36
- "Action": "sts:AssumeRole",
37
- "Effect": "Allow",
38
- "Principal": {
39
- "Service": "lambda.amazonaws.com"
40
- }
41
- }
42
- ],
43
- "Version": "2012-10-17"
44
- },
45
- "policies": [
46
- {
47
- "policyName": "LambdaFunctionServiceRolePolicy",
48
- "policyDocument": {
49
- "Statement": [
50
- {
51
- "Action": [
52
- "logs:CreateLogGroup",
53
- "logs:CreateLogStream",
54
- "logs:PutLogEvents"
55
- ],
56
- "Effect": "Allow",
57
- "Resource": {
58
- "Fn::Join": [
59
- "",
60
- [
61
- "arn:",
62
- {
63
- "Ref": "AWS::Partition"
64
- },
65
- ":logs:",
66
- {
67
- "Ref": "AWS::Region"
68
- },
69
- ":",
70
- {
71
- "Ref": "AWS::AccountId"
72
- },
73
- ":log-group:/aws/lambda/*"
74
- ]
75
- ]
76
- }
77
- }
78
- ],
79
- "Version": "2012-10-17"
80
- }
81
- }
82
- ]
83
- }
84
- },
85
- "constructInfo": {
86
- "fqn": "aws-cdk-lib.aws_iam.CfnRole",
87
- "version": "2.174.0"
88
- }
89
- },
90
- "DefaultPolicy": {
91
- "id": "DefaultPolicy",
92
- "path": "lamkin-newVpcFromProps/test-lambda-kinesisstreams/LambdaFunctionServiceRole/DefaultPolicy",
93
- "children": {
94
- "Resource": {
95
- "id": "Resource",
96
- "path": "lamkin-newVpcFromProps/test-lambda-kinesisstreams/LambdaFunctionServiceRole/DefaultPolicy/Resource",
97
- "attributes": {
98
- "aws:cdk:cloudformation:type": "AWS::IAM::Policy",
99
- "aws:cdk:cloudformation:props": {
100
- "policyDocument": {
101
- "Statement": [
102
- {
103
- "Action": [
104
- "ec2:AssignPrivateIpAddresses",
105
- "ec2:CreateNetworkInterface",
106
- "ec2:DeleteNetworkInterface",
107
- "ec2:DescribeNetworkInterfaces",
108
- "ec2:UnassignPrivateIpAddresses",
109
- "xray:PutTelemetryRecords",
110
- "xray:PutTraceSegments"
111
- ],
112
- "Effect": "Allow",
113
- "Resource": "*"
114
- },
115
- {
116
- "Action": [
117
- "kinesis:ListShards",
118
- "kinesis:PutRecord",
119
- "kinesis:PutRecords"
120
- ],
121
- "Effect": "Allow",
122
- "Resource": {
123
- "Fn::GetAtt": [
124
- "testlambdakinesisstreamsKinesisStream11A82116",
125
- "Arn"
126
- ]
127
- }
128
- }
129
- ],
130
- "Version": "2012-10-17"
131
- },
132
- "policyName": "testlambdakinesisstreamsLambdaFunctionServiceRoleDefaultPolicyED972043",
133
- "roles": [
134
- {
135
- "Ref": "testlambdakinesisstreamsLambdaFunctionServiceRole95206CF3"
136
- }
137
- ]
138
- }
139
- },
140
- "constructInfo": {
141
- "fqn": "aws-cdk-lib.aws_iam.CfnPolicy",
142
- "version": "2.174.0"
143
- }
144
- }
145
- },
146
- "constructInfo": {
147
- "fqn": "aws-cdk-lib.aws_iam.Policy",
148
- "version": "2.174.0"
149
- }
150
- }
151
- },
152
- "constructInfo": {
153
- "fqn": "aws-cdk-lib.aws_iam.Role",
154
- "version": "2.174.0"
155
- }
156
- },
157
- "ReplaceDefaultSecurityGroup-security-group": {
158
- "id": "ReplaceDefaultSecurityGroup-security-group",
159
- "path": "lamkin-newVpcFromProps/test-lambda-kinesisstreams/ReplaceDefaultSecurityGroup-security-group",
160
- "children": {
161
- "Resource": {
162
- "id": "Resource",
163
- "path": "lamkin-newVpcFromProps/test-lambda-kinesisstreams/ReplaceDefaultSecurityGroup-security-group/Resource",
164
- "attributes": {
165
- "aws:cdk:cloudformation:type": "AWS::EC2::SecurityGroup",
166
- "aws:cdk:cloudformation:props": {
167
- "groupDescription": "lamkin-newVpcFromProps/test-lambda-kinesisstreams/ReplaceDefaultSecurityGroup-security-group",
168
- "securityGroupEgress": [
169
- {
170
- "cidrIp": "0.0.0.0/0",
171
- "description": "Allow all outbound traffic by default",
172
- "ipProtocol": "-1"
173
- }
174
- ],
175
- "vpcId": {
176
- "Ref": "Vpc8378EB38"
177
- }
178
- }
179
- },
180
- "constructInfo": {
181
- "fqn": "aws-cdk-lib.aws_ec2.CfnSecurityGroup",
182
- "version": "2.174.0"
183
- }
184
- }
185
- },
186
- "constructInfo": {
187
- "fqn": "aws-cdk-lib.aws_ec2.SecurityGroup",
188
- "version": "2.174.0"
189
- }
190
- },
191
- "LambdaFunction": {
192
- "id": "LambdaFunction",
193
- "path": "lamkin-newVpcFromProps/test-lambda-kinesisstreams/LambdaFunction",
194
- "children": {
195
- "Code": {
196
- "id": "Code",
197
- "path": "lamkin-newVpcFromProps/test-lambda-kinesisstreams/LambdaFunction/Code",
198
- "children": {
199
- "Stage": {
200
- "id": "Stage",
201
- "path": "lamkin-newVpcFromProps/test-lambda-kinesisstreams/LambdaFunction/Code/Stage",
202
- "constructInfo": {
203
- "fqn": "aws-cdk-lib.AssetStaging",
204
- "version": "2.174.0"
205
- }
206
- },
207
- "AssetBucket": {
208
- "id": "AssetBucket",
209
- "path": "lamkin-newVpcFromProps/test-lambda-kinesisstreams/LambdaFunction/Code/AssetBucket",
210
- "constructInfo": {
211
- "fqn": "aws-cdk-lib.aws_s3.BucketBase",
212
- "version": "2.174.0"
213
- }
214
- }
215
- },
216
- "constructInfo": {
217
- "fqn": "aws-cdk-lib.aws_s3_assets.Asset",
218
- "version": "2.174.0"
219
- }
220
- },
221
- "Resource": {
222
- "id": "Resource",
223
- "path": "lamkin-newVpcFromProps/test-lambda-kinesisstreams/LambdaFunction/Resource",
224
- "attributes": {
225
- "aws:cdk:cloudformation:type": "AWS::Lambda::Function",
226
- "aws:cdk:cloudformation:props": {
227
- "code": {
228
- "s3Bucket": {
229
- "Fn::Sub": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}"
230
- },
231
- "s3Key": "c7dc0cc1b24bda1d2a5345f61897eee32184906649fdb1de93853c512e129dbf.zip"
232
- },
233
- "environment": {
234
- "variables": {
235
- "AWS_NODEJS_CONNECTION_REUSE_ENABLED": "1",
236
- "KINESIS_DATASTREAM_NAME": {
237
- "Ref": "testlambdakinesisstreamsKinesisStream11A82116"
238
- }
239
- }
240
- },
241
- "handler": "index.handler",
242
- "role": {
243
- "Fn::GetAtt": [
244
- "testlambdakinesisstreamsLambdaFunctionServiceRole95206CF3",
245
- "Arn"
246
- ]
247
- },
248
- "runtime": "nodejs20.x",
249
- "tracingConfig": {
250
- "mode": "Active"
251
- },
252
- "vpcConfig": {
253
- "subnetIds": [
254
- {
255
- "Ref": "VpcisolatedSubnet1SubnetE62B1B9B"
256
- }
257
- ],
258
- "securityGroupIds": [
259
- {
260
- "Fn::GetAtt": [
261
- "testlambdakinesisstreamsReplaceDefaultSecurityGroupsecuritygroupFB22266C",
262
- "GroupId"
263
- ]
264
- }
265
- ]
266
- }
267
- }
268
- },
269
- "constructInfo": {
270
- "fqn": "aws-cdk-lib.aws_lambda.CfnFunction",
271
- "version": "2.174.0"
272
- }
273
- }
274
- },
275
- "constructInfo": {
276
- "fqn": "aws-cdk-lib.aws_lambda.Function",
277
- "version": "2.174.0"
278
- }
279
- },
280
- "KinesisStream": {
281
- "id": "KinesisStream",
282
- "path": "lamkin-newVpcFromProps/test-lambda-kinesisstreams/KinesisStream",
283
- "children": {
284
- "Resource": {
285
- "id": "Resource",
286
- "path": "lamkin-newVpcFromProps/test-lambda-kinesisstreams/KinesisStream/Resource",
287
- "attributes": {
288
- "aws:cdk:cloudformation:type": "AWS::Kinesis::Stream",
289
- "aws:cdk:cloudformation:props": {
290
- "retentionPeriodHours": 24,
291
- "shardCount": 1,
292
- "streamEncryption": {
293
- "encryptionType": "KMS",
294
- "keyId": "alias/aws/kinesis"
295
- }
296
- }
297
- },
298
- "constructInfo": {
299
- "fqn": "aws-cdk-lib.aws_kinesis.CfnStream",
300
- "version": "2.174.0"
301
- }
302
- }
303
- },
304
- "constructInfo": {
305
- "fqn": "aws-cdk-lib.aws_kinesis.Stream",
306
- "version": "2.174.0"
307
- }
308
- },
309
- "KinesisStreamGetRecordsIteratorAgeAlarm": {
310
- "id": "KinesisStreamGetRecordsIteratorAgeAlarm",
311
- "path": "lamkin-newVpcFromProps/test-lambda-kinesisstreams/KinesisStreamGetRecordsIteratorAgeAlarm",
312
- "children": {
313
- "Resource": {
314
- "id": "Resource",
315
- "path": "lamkin-newVpcFromProps/test-lambda-kinesisstreams/KinesisStreamGetRecordsIteratorAgeAlarm/Resource",
316
- "attributes": {
317
- "aws:cdk:cloudformation:type": "AWS::CloudWatch::Alarm",
318
- "aws:cdk:cloudformation:props": {
319
- "alarmDescription": "Consumer Record Processing Falling Behind, there is risk for data loss due to record expiration.",
320
- "comparisonOperator": "GreaterThanOrEqualToThreshold",
321
- "evaluationPeriods": 1,
322
- "metricName": "GetRecords.IteratorAgeMilliseconds",
323
- "namespace": "AWS/Kinesis",
324
- "period": 300,
325
- "statistic": "Maximum",
326
- "threshold": 43200000
327
- }
328
- },
329
- "constructInfo": {
330
- "fqn": "aws-cdk-lib.aws_cloudwatch.CfnAlarm",
331
- "version": "2.174.0"
332
- }
333
- }
334
- },
335
- "constructInfo": {
336
- "fqn": "aws-cdk-lib.aws_cloudwatch.Alarm",
337
- "version": "2.174.0"
338
- }
339
- },
340
- "KinesisStreamReadProvisionedThroughputExceededAlarm": {
341
- "id": "KinesisStreamReadProvisionedThroughputExceededAlarm",
342
- "path": "lamkin-newVpcFromProps/test-lambda-kinesisstreams/KinesisStreamReadProvisionedThroughputExceededAlarm",
343
- "children": {
344
- "Resource": {
345
- "id": "Resource",
346
- "path": "lamkin-newVpcFromProps/test-lambda-kinesisstreams/KinesisStreamReadProvisionedThroughputExceededAlarm/Resource",
347
- "attributes": {
348
- "aws:cdk:cloudformation:type": "AWS::CloudWatch::Alarm",
349
- "aws:cdk:cloudformation:props": {
350
- "alarmDescription": "Consumer Application is Reading at a Slower Rate Than Expected.",
351
- "comparisonOperator": "GreaterThanThreshold",
352
- "evaluationPeriods": 1,
353
- "metricName": "ReadProvisionedThroughputExceeded",
354
- "namespace": "AWS/Kinesis",
355
- "period": 300,
356
- "statistic": "Average",
357
- "threshold": 0
358
- }
359
- },
360
- "constructInfo": {
361
- "fqn": "aws-cdk-lib.aws_cloudwatch.CfnAlarm",
362
- "version": "2.174.0"
363
- }
364
- }
365
- },
366
- "constructInfo": {
367
- "fqn": "aws-cdk-lib.aws_cloudwatch.Alarm",
368
- "version": "2.174.0"
369
- }
370
- }
371
- },
372
- "constructInfo": {
373
- "fqn": "@aws-solutions-constructs/aws-lambda-kinesisstreams.LambdaToKinesisStreams",
374
- "version": "2.76.0"
375
- }
376
- },
377
- "Vpc": {
378
- "id": "Vpc",
379
- "path": "lamkin-newVpcFromProps/Vpc",
380
- "children": {
381
- "Resource": {
382
- "id": "Resource",
383
- "path": "lamkin-newVpcFromProps/Vpc/Resource",
384
- "attributes": {
385
- "aws:cdk:cloudformation:type": "AWS::EC2::VPC",
386
- "aws:cdk:cloudformation:props": {
387
- "cidrBlock": "10.0.0.0/16",
388
- "enableDnsHostnames": true,
389
- "enableDnsSupport": true,
390
- "instanceTenancy": "default",
391
- "tags": [
392
- {
393
- "key": "Name",
394
- "value": "lamkin-newVpcFromProps/Vpc"
395
- }
396
- ]
397
- }
398
- },
399
- "constructInfo": {
400
- "fqn": "aws-cdk-lib.aws_ec2.CfnVPC",
401
- "version": "2.174.0"
402
- }
403
- },
404
- "isolatedSubnet1": {
405
- "id": "isolatedSubnet1",
406
- "path": "lamkin-newVpcFromProps/Vpc/isolatedSubnet1",
407
- "children": {
408
- "Subnet": {
409
- "id": "Subnet",
410
- "path": "lamkin-newVpcFromProps/Vpc/isolatedSubnet1/Subnet",
411
- "attributes": {
412
- "aws:cdk:cloudformation:type": "AWS::EC2::Subnet",
413
- "aws:cdk:cloudformation:props": {
414
- "availabilityZone": {
415
- "Fn::Select": [
416
- 0,
417
- {
418
- "Fn::GetAZs": ""
419
- }
420
- ]
421
- },
422
- "cidrBlock": "10.0.0.0/18",
423
- "mapPublicIpOnLaunch": false,
424
- "tags": [
425
- {
426
- "key": "aws-cdk:subnet-name",
427
- "value": "isolated"
428
- },
429
- {
430
- "key": "aws-cdk:subnet-type",
431
- "value": "Isolated"
432
- },
433
- {
434
- "key": "Name",
435
- "value": "lamkin-newVpcFromProps/Vpc/isolatedSubnet1"
436
- }
437
- ],
438
- "vpcId": {
439
- "Ref": "Vpc8378EB38"
440
- }
441
- }
442
- },
443
- "constructInfo": {
444
- "fqn": "aws-cdk-lib.aws_ec2.CfnSubnet",
445
- "version": "2.174.0"
446
- }
447
- },
448
- "Acl": {
449
- "id": "Acl",
450
- "path": "lamkin-newVpcFromProps/Vpc/isolatedSubnet1/Acl",
451
- "constructInfo": {
452
- "fqn": "aws-cdk-lib.Resource",
453
- "version": "2.174.0"
454
- }
455
- },
456
- "RouteTable": {
457
- "id": "RouteTable",
458
- "path": "lamkin-newVpcFromProps/Vpc/isolatedSubnet1/RouteTable",
459
- "attributes": {
460
- "aws:cdk:cloudformation:type": "AWS::EC2::RouteTable",
461
- "aws:cdk:cloudformation:props": {
462
- "tags": [
463
- {
464
- "key": "Name",
465
- "value": "lamkin-newVpcFromProps/Vpc/isolatedSubnet1"
466
- }
467
- ],
468
- "vpcId": {
469
- "Ref": "Vpc8378EB38"
470
- }
471
- }
472
- },
473
- "constructInfo": {
474
- "fqn": "aws-cdk-lib.aws_ec2.CfnRouteTable",
475
- "version": "2.174.0"
476
- }
477
- },
478
- "RouteTableAssociation": {
479
- "id": "RouteTableAssociation",
480
- "path": "lamkin-newVpcFromProps/Vpc/isolatedSubnet1/RouteTableAssociation",
481
- "attributes": {
482
- "aws:cdk:cloudformation:type": "AWS::EC2::SubnetRouteTableAssociation",
483
- "aws:cdk:cloudformation:props": {
484
- "routeTableId": {
485
- "Ref": "VpcisolatedSubnet1RouteTableE442650B"
486
- },
487
- "subnetId": {
488
- "Ref": "VpcisolatedSubnet1SubnetE62B1B9B"
489
- }
490
- }
491
- },
492
- "constructInfo": {
493
- "fqn": "aws-cdk-lib.aws_ec2.CfnSubnetRouteTableAssociation",
494
- "version": "2.174.0"
495
- }
496
- }
497
- },
498
- "constructInfo": {
499
- "fqn": "aws-cdk-lib.aws_ec2.PrivateSubnet",
500
- "version": "2.174.0"
501
- }
502
- },
503
- "RestrictDefaultSecurityGroupCustomResource": {
504
- "id": "RestrictDefaultSecurityGroupCustomResource",
505
- "path": "lamkin-newVpcFromProps/Vpc/RestrictDefaultSecurityGroupCustomResource",
506
- "children": {
507
- "Default": {
508
- "id": "Default",
509
- "path": "lamkin-newVpcFromProps/Vpc/RestrictDefaultSecurityGroupCustomResource/Default",
510
- "constructInfo": {
511
- "fqn": "aws-cdk-lib.CfnResource",
512
- "version": "2.174.0"
513
- }
514
- }
515
- },
516
- "constructInfo": {
517
- "fqn": "aws-cdk-lib.CustomResource",
518
- "version": "2.174.0"
519
- }
520
- },
521
- "FlowLog": {
522
- "id": "FlowLog",
523
- "path": "lamkin-newVpcFromProps/Vpc/FlowLog",
524
- "children": {
525
- "IAMRole": {
526
- "id": "IAMRole",
527
- "path": "lamkin-newVpcFromProps/Vpc/FlowLog/IAMRole",
528
- "children": {
529
- "ImportIAMRole": {
530
- "id": "ImportIAMRole",
531
- "path": "lamkin-newVpcFromProps/Vpc/FlowLog/IAMRole/ImportIAMRole",
532
- "constructInfo": {
533
- "fqn": "aws-cdk-lib.Resource",
534
- "version": "2.174.0"
535
- }
536
- },
537
- "Resource": {
538
- "id": "Resource",
539
- "path": "lamkin-newVpcFromProps/Vpc/FlowLog/IAMRole/Resource",
540
- "attributes": {
541
- "aws:cdk:cloudformation:type": "AWS::IAM::Role",
542
- "aws:cdk:cloudformation:props": {
543
- "assumeRolePolicyDocument": {
544
- "Statement": [
545
- {
546
- "Action": "sts:AssumeRole",
547
- "Effect": "Allow",
548
- "Principal": {
549
- "Service": "vpc-flow-logs.amazonaws.com"
550
- }
551
- }
552
- ],
553
- "Version": "2012-10-17"
554
- },
555
- "tags": [
556
- {
557
- "key": "Name",
558
- "value": "lamkin-newVpcFromProps/Vpc/FlowLog"
559
- }
560
- ]
561
- }
562
- },
563
- "constructInfo": {
564
- "fqn": "aws-cdk-lib.aws_iam.CfnRole",
565
- "version": "2.174.0"
566
- }
567
- },
568
- "DefaultPolicy": {
569
- "id": "DefaultPolicy",
570
- "path": "lamkin-newVpcFromProps/Vpc/FlowLog/IAMRole/DefaultPolicy",
571
- "children": {
572
- "Resource": {
573
- "id": "Resource",
574
- "path": "lamkin-newVpcFromProps/Vpc/FlowLog/IAMRole/DefaultPolicy/Resource",
575
- "attributes": {
576
- "aws:cdk:cloudformation:type": "AWS::IAM::Policy",
577
- "aws:cdk:cloudformation:props": {
578
- "policyDocument": {
579
- "Statement": [
580
- {
581
- "Action": [
582
- "logs:CreateLogStream",
583
- "logs:DescribeLogStreams",
584
- "logs:PutLogEvents"
585
- ],
586
- "Effect": "Allow",
587
- "Resource": {
588
- "Fn::GetAtt": [
589
- "VpcFlowLogLogGroup7B5C56B9",
590
- "Arn"
591
- ]
592
- }
593
- },
594
- {
595
- "Action": "iam:PassRole",
596
- "Effect": "Allow",
597
- "Resource": {
598
- "Fn::GetAtt": [
599
- "VpcFlowLogIAMRole6A475D41",
600
- "Arn"
601
- ]
602
- }
603
- }
604
- ],
605
- "Version": "2012-10-17"
606
- },
607
- "policyName": "VpcFlowLogIAMRoleDefaultPolicy406FB995",
608
- "roles": [
609
- {
610
- "Ref": "VpcFlowLogIAMRole6A475D41"
611
- }
612
- ]
613
- }
614
- },
615
- "constructInfo": {
616
- "fqn": "aws-cdk-lib.aws_iam.CfnPolicy",
617
- "version": "2.174.0"
618
- }
619
- }
620
- },
621
- "constructInfo": {
622
- "fqn": "aws-cdk-lib.aws_iam.Policy",
623
- "version": "2.174.0"
624
- }
625
- }
626
- },
627
- "constructInfo": {
628
- "fqn": "aws-cdk-lib.aws_iam.Role",
629
- "version": "2.174.0"
630
- }
631
- },
632
- "LogGroup": {
633
- "id": "LogGroup",
634
- "path": "lamkin-newVpcFromProps/Vpc/FlowLog/LogGroup",
635
- "children": {
636
- "Resource": {
637
- "id": "Resource",
638
- "path": "lamkin-newVpcFromProps/Vpc/FlowLog/LogGroup/Resource",
639
- "attributes": {
640
- "aws:cdk:cloudformation:type": "AWS::Logs::LogGroup",
641
- "aws:cdk:cloudformation:props": {
642
- "retentionInDays": 731,
643
- "tags": [
644
- {
645
- "key": "Name",
646
- "value": "lamkin-newVpcFromProps/Vpc/FlowLog"
647
- }
648
- ]
649
- }
650
- },
651
- "constructInfo": {
652
- "fqn": "aws-cdk-lib.aws_logs.CfnLogGroup",
653
- "version": "2.174.0"
654
- }
655
- }
656
- },
657
- "constructInfo": {
658
- "fqn": "aws-cdk-lib.aws_logs.LogGroup",
659
- "version": "2.174.0"
660
- }
661
- },
662
- "FlowLog": {
663
- "id": "FlowLog",
664
- "path": "lamkin-newVpcFromProps/Vpc/FlowLog/FlowLog",
665
- "attributes": {
666
- "aws:cdk:cloudformation:type": "AWS::EC2::FlowLog",
667
- "aws:cdk:cloudformation:props": {
668
- "deliverLogsPermissionArn": {
669
- "Fn::GetAtt": [
670
- "VpcFlowLogIAMRole6A475D41",
671
- "Arn"
672
- ]
673
- },
674
- "logDestinationType": "cloud-watch-logs",
675
- "logGroupName": {
676
- "Ref": "VpcFlowLogLogGroup7B5C56B9"
677
- },
678
- "resourceId": {
679
- "Ref": "Vpc8378EB38"
680
- },
681
- "resourceType": "VPC",
682
- "tags": [
683
- {
684
- "key": "Name",
685
- "value": "lamkin-newVpcFromProps/Vpc/FlowLog"
686
- }
687
- ],
688
- "trafficType": "ALL"
689
- }
690
- },
691
- "constructInfo": {
692
- "fqn": "aws-cdk-lib.aws_ec2.CfnFlowLog",
693
- "version": "2.174.0"
694
- }
695
- }
696
- },
697
- "constructInfo": {
698
- "fqn": "aws-cdk-lib.aws_ec2.FlowLog",
699
- "version": "2.174.0"
700
- }
701
- },
702
- "KINESIS_STREAMS": {
703
- "id": "KINESIS_STREAMS",
704
- "path": "lamkin-newVpcFromProps/Vpc/KINESIS_STREAMS",
705
- "children": {
706
- "Resource": {
707
- "id": "Resource",
708
- "path": "lamkin-newVpcFromProps/Vpc/KINESIS_STREAMS/Resource",
709
- "attributes": {
710
- "aws:cdk:cloudformation:type": "AWS::EC2::VPCEndpoint",
711
- "aws:cdk:cloudformation:props": {
712
- "tags": [
713
- {
714
- "key": "Name",
715
- "value": "lamkin-newVpcFromProps/Vpc"
716
- }
717
- ],
718
- "privateDnsEnabled": true,
719
- "securityGroupIds": [
720
- {
721
- "Fn::GetAtt": [
722
- "lamkinnewVpcFromPropsKINESISSTREAMSsecuritygroup10DC8B01",
723
- "GroupId"
724
- ]
725
- }
726
- ],
727
- "serviceName": {
728
- "Fn::Join": [
729
- "",
730
- [
731
- "com.amazonaws.",
732
- {
733
- "Ref": "AWS::Region"
734
- },
735
- ".kinesis-streams"
736
- ]
737
- ]
738
- },
739
- "subnetIds": [
740
- {
741
- "Ref": "VpcisolatedSubnet1SubnetE62B1B9B"
742
- }
743
- ],
744
- "vpcEndpointType": "Interface",
745
- "vpcId": {
746
- "Ref": "Vpc8378EB38"
747
- }
748
- }
749
- },
750
- "constructInfo": {
751
- "fqn": "aws-cdk-lib.aws_ec2.CfnVPCEndpoint",
752
- "version": "2.174.0"
753
- }
754
- }
755
- },
756
- "constructInfo": {
757
- "fqn": "aws-cdk-lib.aws_ec2.InterfaceVpcEndpoint",
758
- "version": "2.174.0"
759
- }
760
- }
761
- },
762
- "constructInfo": {
763
- "fqn": "aws-cdk-lib.aws_ec2.Vpc",
764
- "version": "2.174.0"
765
- }
766
- },
767
- "LatestNodeRuntimeMap": {
768
- "id": "LatestNodeRuntimeMap",
769
- "path": "lamkin-newVpcFromProps/LatestNodeRuntimeMap",
770
- "constructInfo": {
771
- "fqn": "aws-cdk-lib.CfnMapping",
772
- "version": "2.174.0"
773
- }
774
- },
775
- "Custom::VpcRestrictDefaultSGCustomResourceProvider": {
776
- "id": "Custom::VpcRestrictDefaultSGCustomResourceProvider",
777
- "path": "lamkin-newVpcFromProps/Custom::VpcRestrictDefaultSGCustomResourceProvider",
778
- "children": {
779
- "Staging": {
780
- "id": "Staging",
781
- "path": "lamkin-newVpcFromProps/Custom::VpcRestrictDefaultSGCustomResourceProvider/Staging",
782
- "constructInfo": {
783
- "fqn": "aws-cdk-lib.AssetStaging",
784
- "version": "2.174.0"
785
- }
786
- },
787
- "Role": {
788
- "id": "Role",
789
- "path": "lamkin-newVpcFromProps/Custom::VpcRestrictDefaultSGCustomResourceProvider/Role",
790
- "constructInfo": {
791
- "fqn": "aws-cdk-lib.CfnResource",
792
- "version": "2.174.0"
793
- }
794
- },
795
- "Handler": {
796
- "id": "Handler",
797
- "path": "lamkin-newVpcFromProps/Custom::VpcRestrictDefaultSGCustomResourceProvider/Handler",
798
- "constructInfo": {
799
- "fqn": "aws-cdk-lib.CfnResource",
800
- "version": "2.174.0"
801
- }
802
- }
803
- },
804
- "constructInfo": {
805
- "fqn": "aws-cdk-lib.CustomResourceProviderBase",
806
- "version": "2.174.0"
807
- }
808
- },
809
- "lamkin-newVpcFromProps-KINESIS_STREAMS-security-group": {
810
- "id": "lamkin-newVpcFromProps-KINESIS_STREAMS-security-group",
811
- "path": "lamkin-newVpcFromProps/lamkin-newVpcFromProps-KINESIS_STREAMS-security-group",
812
- "children": {
813
- "Resource": {
814
- "id": "Resource",
815
- "path": "lamkin-newVpcFromProps/lamkin-newVpcFromProps-KINESIS_STREAMS-security-group/Resource",
816
- "attributes": {
817
- "aws:cdk:cloudformation:type": "AWS::EC2::SecurityGroup",
818
- "aws:cdk:cloudformation:props": {
819
- "groupDescription": "lamkin-newVpcFromProps/lamkin-newVpcFromProps-KINESIS_STREAMS-security-group",
820
- "securityGroupEgress": [
821
- {
822
- "cidrIp": "0.0.0.0/0",
823
- "description": "Allow all outbound traffic by default",
824
- "ipProtocol": "-1"
825
- }
826
- ],
827
- "securityGroupIngress": [
828
- {
829
- "cidrIp": {
830
- "Fn::GetAtt": [
831
- "Vpc8378EB38",
832
- "CidrBlock"
833
- ]
834
- },
835
- "ipProtocol": "tcp",
836
- "fromPort": 443,
837
- "toPort": 443,
838
- "description": {
839
- "Fn::Join": [
840
- "",
841
- [
842
- "from ",
843
- {
844
- "Fn::GetAtt": [
845
- "Vpc8378EB38",
846
- "CidrBlock"
847
- ]
848
- },
849
- ":443"
850
- ]
851
- ]
852
- }
853
- }
854
- ],
855
- "vpcId": {
856
- "Ref": "Vpc8378EB38"
857
- }
858
- }
859
- },
860
- "constructInfo": {
861
- "fqn": "aws-cdk-lib.aws_ec2.CfnSecurityGroup",
862
- "version": "2.174.0"
863
- }
864
- }
865
- },
866
- "constructInfo": {
867
- "fqn": "aws-cdk-lib.aws_ec2.SecurityGroup",
868
- "version": "2.174.0"
869
- }
870
- },
871
- "Integ": {
872
- "id": "Integ",
873
- "path": "lamkin-newVpcFromProps/Integ",
874
- "children": {
875
- "DefaultTest": {
876
- "id": "DefaultTest",
877
- "path": "lamkin-newVpcFromProps/Integ/DefaultTest",
878
- "children": {
879
- "Default": {
880
- "id": "Default",
881
- "path": "lamkin-newVpcFromProps/Integ/DefaultTest/Default",
882
- "constructInfo": {
883
- "fqn": "constructs.Construct",
884
- "version": "10.4.2"
885
- }
886
- },
887
- "DeployAssert": {
888
- "id": "DeployAssert",
889
- "path": "lamkin-newVpcFromProps/Integ/DefaultTest/DeployAssert",
890
- "children": {
891
- "BootstrapVersion": {
892
- "id": "BootstrapVersion",
893
- "path": "lamkin-newVpcFromProps/Integ/DefaultTest/DeployAssert/BootstrapVersion",
894
- "constructInfo": {
895
- "fqn": "aws-cdk-lib.CfnParameter",
896
- "version": "2.174.0"
897
- }
898
- },
899
- "CheckBootstrapVersion": {
900
- "id": "CheckBootstrapVersion",
901
- "path": "lamkin-newVpcFromProps/Integ/DefaultTest/DeployAssert/CheckBootstrapVersion",
902
- "constructInfo": {
903
- "fqn": "aws-cdk-lib.CfnRule",
904
- "version": "2.174.0"
905
- }
906
- }
907
- },
908
- "constructInfo": {
909
- "fqn": "aws-cdk-lib.Stack",
910
- "version": "2.174.0"
911
- }
912
- }
913
- },
914
- "constructInfo": {
915
- "fqn": "@aws-cdk/integ-tests-alpha.IntegTestCase",
916
- "version": "2.174.0-alpha.0"
917
- }
918
- }
919
- },
920
- "constructInfo": {
921
- "fqn": "@aws-cdk/integ-tests-alpha.IntegTest",
922
- "version": "2.174.0-alpha.0"
923
- }
924
- },
925
- "BootstrapVersion": {
926
- "id": "BootstrapVersion",
927
- "path": "lamkin-newVpcFromProps/BootstrapVersion",
928
- "constructInfo": {
929
- "fqn": "aws-cdk-lib.CfnParameter",
930
- "version": "2.174.0"
931
- }
932
- },
933
- "CheckBootstrapVersion": {
934
- "id": "CheckBootstrapVersion",
935
- "path": "lamkin-newVpcFromProps/CheckBootstrapVersion",
936
- "constructInfo": {
937
- "fqn": "aws-cdk-lib.CfnRule",
938
- "version": "2.174.0"
939
- }
940
- }
941
- },
942
- "constructInfo": {
943
- "fqn": "aws-cdk-lib.Stack",
944
- "version": "2.174.0"
945
- }
946
- },
947
- "Tree": {
948
- "id": "Tree",
949
- "path": "Tree",
950
- "constructInfo": {
951
- "fqn": "constructs.Construct",
952
- "version": "10.4.2"
953
- }
954
- }
955
- },
956
- "constructInfo": {
957
- "fqn": "aws-cdk-lib.App",
958
- "version": "2.174.0"
959
- }
960
- }
961
- }
1
+ {"version":"tree-0.1","tree":{"id":"App","path":"","children":{"lamkin-newVpcFromProps":{"id":"lamkin-newVpcFromProps","path":"lamkin-newVpcFromProps","children":{"test-lambda-kinesisstreams":{"id":"test-lambda-kinesisstreams","path":"lamkin-newVpcFromProps/test-lambda-kinesisstreams","children":{"LambdaFunctionServiceRole":{"id":"LambdaFunctionServiceRole","path":"lamkin-newVpcFromProps/test-lambda-kinesisstreams/LambdaFunctionServiceRole","children":{"ImportLambdaFunctionServiceRole":{"id":"ImportLambdaFunctionServiceRole","path":"lamkin-newVpcFromProps/test-lambda-kinesisstreams/LambdaFunctionServiceRole/ImportLambdaFunctionServiceRole","constructInfo":{"fqn":"aws-cdk-lib.Resource","version":"2.186.0","metadata":["*"]}},"Resource":{"id":"Resource","path":"lamkin-newVpcFromProps/test-lambda-kinesisstreams/LambdaFunctionServiceRole/Resource","attributes":{"aws:cdk:cloudformation:type":"AWS::IAM::Role","aws:cdk:cloudformation:props":{"assumeRolePolicyDocument":{"Statement":[{"Action":"sts:AssumeRole","Effect":"Allow","Principal":{"Service":"lambda.amazonaws.com"}}],"Version":"2012-10-17"},"policies":[{"policyName":"LambdaFunctionServiceRolePolicy","policyDocument":{"Statement":[{"Action":["logs:CreateLogGroup","logs:CreateLogStream","logs:PutLogEvents"],"Effect":"Allow","Resource":{"Fn::Join":["",["arn:",{"Ref":"AWS::Partition"},":logs:",{"Ref":"AWS::Region"},":",{"Ref":"AWS::AccountId"},":log-group:/aws/lambda/*"]]}}],"Version":"2012-10-17"}}]}},"constructInfo":{"fqn":"aws-cdk-lib.aws_iam.CfnRole","version":"2.186.0"}},"DefaultPolicy":{"id":"DefaultPolicy","path":"lamkin-newVpcFromProps/test-lambda-kinesisstreams/LambdaFunctionServiceRole/DefaultPolicy","children":{"Resource":{"id":"Resource","path":"lamkin-newVpcFromProps/test-lambda-kinesisstreams/LambdaFunctionServiceRole/DefaultPolicy/Resource","attributes":{"aws:cdk:cloudformation:type":"AWS::IAM::Policy","aws:cdk:cloudformation:props":{"policyDocument":{"Statement":[{"Action":["ec2:AssignPrivateIpAddresses","ec2:CreateNetworkInterface","ec2:DeleteNetworkInterface","ec2:DescribeNetworkInterfaces","ec2:UnassignPrivateIpAddresses"],"Effect":"Allow","Resource":"*"},{"Action":["kinesis:ListShards","kinesis:PutRecord","kinesis:PutRecords"],"Effect":"Allow","Resource":{"Fn::GetAtt":["testlambdakinesisstreamsKinesisStream11A82116","Arn"]}}],"Version":"2012-10-17"},"policyName":"testlambdakinesisstreamsLambdaFunctionServiceRoleDefaultPolicyED972043","roles":[{"Ref":"testlambdakinesisstreamsLambdaFunctionServiceRole95206CF3"}]}},"constructInfo":{"fqn":"aws-cdk-lib.aws_iam.CfnPolicy","version":"2.186.0"}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_iam.Policy","version":"2.186.0","metadata":["*",{"attachToRole":["*"]},{"attachToRole":["*"]},{"addStatements":[{}]},{"addStatements":[{}]}]}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_iam.Role","version":"2.186.0","metadata":[{"assumedBy":{"principalAccount":"*","assumeRoleAction":"*"},"inlinePolicies":"*"},{"addToPolicy":[{}]},{"addToPrincipalPolicy":[{}]},{"attachInlinePolicy":["*"]},{"attachInlinePolicy":["*"]},{"attachInlinePolicy":["*"]},{"attachInlinePolicy":["*"]},{"addToPrincipalPolicy":[{}]}]}},"ReplaceDefaultSecurityGroup-security-group":{"id":"ReplaceDefaultSecurityGroup-security-group","path":"lamkin-newVpcFromProps/test-lambda-kinesisstreams/ReplaceDefaultSecurityGroup-security-group","children":{"Resource":{"id":"Resource","path":"lamkin-newVpcFromProps/test-lambda-kinesisstreams/ReplaceDefaultSecurityGroup-security-group/Resource","attributes":{"aws:cdk:cloudformation:type":"AWS::EC2::SecurityGroup","aws:cdk:cloudformation:props":{"groupDescription":"lamkin-newVpcFromProps/test-lambda-kinesisstreams/ReplaceDefaultSecurityGroup-security-group","securityGroupEgress":[{"cidrIp":"0.0.0.0/0","description":"Allow all outbound traffic by default","ipProtocol":"-1"}],"vpcId":{"Ref":"Vpc8378EB38"}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.CfnSecurityGroup","version":"2.186.0"}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.SecurityGroup","version":"2.186.0","metadata":[{"vpc":"*","allowAllOutbound":true}]}},"LambdaFunction":{"id":"LambdaFunction","path":"lamkin-newVpcFromProps/test-lambda-kinesisstreams/LambdaFunction","children":{"Code":{"id":"Code","path":"lamkin-newVpcFromProps/test-lambda-kinesisstreams/LambdaFunction/Code","children":{"Stage":{"id":"Stage","path":"lamkin-newVpcFromProps/test-lambda-kinesisstreams/LambdaFunction/Code/Stage","constructInfo":{"fqn":"aws-cdk-lib.AssetStaging","version":"2.186.0"}},"AssetBucket":{"id":"AssetBucket","path":"lamkin-newVpcFromProps/test-lambda-kinesisstreams/LambdaFunction/Code/AssetBucket","constructInfo":{"fqn":"aws-cdk-lib.aws_s3.BucketBase","version":"2.186.0","metadata":[]}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_s3_assets.Asset","version":"2.186.0"}},"Resource":{"id":"Resource","path":"lamkin-newVpcFromProps/test-lambda-kinesisstreams/LambdaFunction/Resource","attributes":{"aws:cdk:cloudformation:type":"AWS::Lambda::Function","aws:cdk:cloudformation:props":{"code":{"s3Bucket":{"Fn::Sub":"cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}"},"s3Key":"c7dc0cc1b24bda1d2a5345f61897eee32184906649fdb1de93853c512e129dbf.zip"},"environment":{"variables":{"AWS_NODEJS_CONNECTION_REUSE_ENABLED":"1","KINESIS_DATASTREAM_NAME":{"Ref":"testlambdakinesisstreamsKinesisStream11A82116"}}},"handler":"index.handler","role":{"Fn::GetAtt":["testlambdakinesisstreamsLambdaFunctionServiceRole95206CF3","Arn"]},"runtime":"nodejs20.x","tracingConfig":{"mode":"Active"},"vpcConfig":{"subnetIds":[{"Ref":"VpcisolatedSubnet1SubnetE62B1B9B"}],"securityGroupIds":[{"Fn::GetAtt":["testlambdakinesisstreamsReplaceDefaultSecurityGroupsecuritygroupFB22266C","GroupId"]}]}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_lambda.CfnFunction","version":"2.186.0"}},"inlinePolicyAddedToExecutionRole-0":{"id":"inlinePolicyAddedToExecutionRole-0","path":"lamkin-newVpcFromProps/test-lambda-kinesisstreams/LambdaFunction/inlinePolicyAddedToExecutionRole-0","children":{"Resource":{"id":"Resource","path":"lamkin-newVpcFromProps/test-lambda-kinesisstreams/LambdaFunction/inlinePolicyAddedToExecutionRole-0/Resource","attributes":{"aws:cdk:cloudformation:type":"AWS::IAM::Policy","aws:cdk:cloudformation:props":{"policyDocument":{"Statement":[{"Action":["xray:PutTelemetryRecords","xray:PutTraceSegments"],"Effect":"Allow","Resource":"*"}],"Version":"2012-10-17"},"policyName":"testlambdakinesisstreamsLambdaFunctioninlinePolicyAddedToExecutionRole022FB8950","roles":[{"Ref":"testlambdakinesisstreamsLambdaFunctionServiceRole95206CF3"}]}},"constructInfo":{"fqn":"aws-cdk-lib.aws_iam.CfnPolicy","version":"2.186.0"}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_iam.Policy","version":"2.186.0","metadata":[{"statements":"*"},{"addStatements":[{}]},{"attachToRole":["*"]},{"attachToRole":["*"]}]}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_lambda.Function","version":"2.186.0","metadata":[{"role":"*","tracing":"Active","code":"*","runtime":"*","handler":"*","securityGroups":["*"],"vpc":"*"},{"addEnvironment":["*","*",{"removeInEdge":true}]},{"addEnvironment":["*","*"]}]}},"KinesisStream":{"id":"KinesisStream","path":"lamkin-newVpcFromProps/test-lambda-kinesisstreams/KinesisStream","children":{"Resource":{"id":"Resource","path":"lamkin-newVpcFromProps/test-lambda-kinesisstreams/KinesisStream/Resource","attributes":{"aws:cdk:cloudformation:type":"AWS::Kinesis::Stream","aws:cdk:cloudformation:props":{"retentionPeriodHours":24,"shardCount":1,"streamEncryption":{"encryptionType":"KMS","keyId":"alias/aws/kinesis"}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_kinesis.CfnStream","version":"2.186.0"}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_kinesis.Stream","version":"2.186.0","metadata":[{"encryption":"MANAGED"}]}},"KinesisStreamGetRecordsIteratorAgeAlarm":{"id":"KinesisStreamGetRecordsIteratorAgeAlarm","path":"lamkin-newVpcFromProps/test-lambda-kinesisstreams/KinesisStreamGetRecordsIteratorAgeAlarm","children":{"Resource":{"id":"Resource","path":"lamkin-newVpcFromProps/test-lambda-kinesisstreams/KinesisStreamGetRecordsIteratorAgeAlarm/Resource","attributes":{"aws:cdk:cloudformation:type":"AWS::CloudWatch::Alarm","aws:cdk:cloudformation:props":{"alarmDescription":"Consumer Record Processing Falling Behind, there is risk for data loss due to record expiration.","comparisonOperator":"GreaterThanOrEqualToThreshold","evaluationPeriods":1,"metricName":"GetRecords.IteratorAgeMilliseconds","namespace":"AWS/Kinesis","period":300,"statistic":"Maximum","threshold":43200000}},"constructInfo":{"fqn":"aws-cdk-lib.aws_cloudwatch.CfnAlarm","version":"2.186.0"}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_cloudwatch.Alarm","version":"2.186.0","metadata":[{"metric":{"warnings":"*"},"threshold":"*","evaluationPeriods":"*","comparisonOperator":"*","alarmDescription":"*"}]}},"KinesisStreamReadProvisionedThroughputExceededAlarm":{"id":"KinesisStreamReadProvisionedThroughputExceededAlarm","path":"lamkin-newVpcFromProps/test-lambda-kinesisstreams/KinesisStreamReadProvisionedThroughputExceededAlarm","children":{"Resource":{"id":"Resource","path":"lamkin-newVpcFromProps/test-lambda-kinesisstreams/KinesisStreamReadProvisionedThroughputExceededAlarm/Resource","attributes":{"aws:cdk:cloudformation:type":"AWS::CloudWatch::Alarm","aws:cdk:cloudformation:props":{"alarmDescription":"Consumer Application is Reading at a Slower Rate Than Expected.","comparisonOperator":"GreaterThanThreshold","evaluationPeriods":1,"metricName":"ReadProvisionedThroughputExceeded","namespace":"AWS/Kinesis","period":300,"statistic":"Average","threshold":0}},"constructInfo":{"fqn":"aws-cdk-lib.aws_cloudwatch.CfnAlarm","version":"2.186.0"}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_cloudwatch.Alarm","version":"2.186.0","metadata":[{"metric":{"warnings":"*"},"threshold":"*","evaluationPeriods":"*","comparisonOperator":"*","alarmDescription":"*"}]}}},"constructInfo":{"fqn":"@aws-solutions-constructs/aws-lambda-kinesisstreams.LambdaToKinesisStreams","version":"2.80.0"}},"Vpc":{"id":"Vpc","path":"lamkin-newVpcFromProps/Vpc","children":{"Resource":{"id":"Resource","path":"lamkin-newVpcFromProps/Vpc/Resource","attributes":{"aws:cdk:cloudformation:type":"AWS::EC2::VPC","aws:cdk:cloudformation:props":{"cidrBlock":"10.0.0.0/16","enableDnsHostnames":true,"enableDnsSupport":true,"instanceTenancy":"default","tags":[{"key":"Name","value":"lamkin-newVpcFromProps/Vpc"}]}},"constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.CfnVPC","version":"2.186.0"}},"isolatedSubnet1":{"id":"isolatedSubnet1","path":"lamkin-newVpcFromProps/Vpc/isolatedSubnet1","children":{"Subnet":{"id":"Subnet","path":"lamkin-newVpcFromProps/Vpc/isolatedSubnet1/Subnet","attributes":{"aws:cdk:cloudformation:type":"AWS::EC2::Subnet","aws:cdk:cloudformation:props":{"availabilityZone":{"Fn::Select":[0,{"Fn::GetAZs":""}]},"cidrBlock":"10.0.0.0/18","mapPublicIpOnLaunch":false,"tags":[{"key":"aws-cdk:subnet-name","value":"isolated"},{"key":"aws-cdk:subnet-type","value":"Isolated"},{"key":"Name","value":"lamkin-newVpcFromProps/Vpc/isolatedSubnet1"}],"vpcId":{"Ref":"Vpc8378EB38"}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.CfnSubnet","version":"2.186.0"}},"Acl":{"id":"Acl","path":"lamkin-newVpcFromProps/Vpc/isolatedSubnet1/Acl","constructInfo":{"fqn":"aws-cdk-lib.Resource","version":"2.186.0","metadata":[]}},"RouteTable":{"id":"RouteTable","path":"lamkin-newVpcFromProps/Vpc/isolatedSubnet1/RouteTable","attributes":{"aws:cdk:cloudformation:type":"AWS::EC2::RouteTable","aws:cdk:cloudformation:props":{"tags":[{"key":"Name","value":"lamkin-newVpcFromProps/Vpc/isolatedSubnet1"}],"vpcId":{"Ref":"Vpc8378EB38"}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.CfnRouteTable","version":"2.186.0"}},"RouteTableAssociation":{"id":"RouteTableAssociation","path":"lamkin-newVpcFromProps/Vpc/isolatedSubnet1/RouteTableAssociation","attributes":{"aws:cdk:cloudformation:type":"AWS::EC2::SubnetRouteTableAssociation","aws:cdk:cloudformation:props":{"routeTableId":{"Ref":"VpcisolatedSubnet1RouteTableE442650B"},"subnetId":{"Ref":"VpcisolatedSubnet1SubnetE62B1B9B"}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.CfnSubnetRouteTableAssociation","version":"2.186.0"}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.PrivateSubnet","version":"2.186.0","metadata":[{"availabilityZone":"*","vpcId":"*","cidrBlock":"*","mapPublicIpOnLaunch":false,"ipv6CidrBlock":"*","assignIpv6AddressOnCreation":"*"},{"availabilityZone":"*","vpcId":"*","cidrBlock":"*","mapPublicIpOnLaunch":false,"ipv6CidrBlock":"*","assignIpv6AddressOnCreation":"*"}]}},"RestrictDefaultSecurityGroupCustomResource":{"id":"RestrictDefaultSecurityGroupCustomResource","path":"lamkin-newVpcFromProps/Vpc/RestrictDefaultSecurityGroupCustomResource","children":{"Default":{"id":"Default","path":"lamkin-newVpcFromProps/Vpc/RestrictDefaultSecurityGroupCustomResource/Default","constructInfo":{"fqn":"aws-cdk-lib.CfnResource","version":"2.186.0"}}},"constructInfo":{"fqn":"aws-cdk-lib.CustomResource","version":"2.186.0","metadata":["*"]}},"FlowLog":{"id":"FlowLog","path":"lamkin-newVpcFromProps/Vpc/FlowLog","children":{"IAMRole":{"id":"IAMRole","path":"lamkin-newVpcFromProps/Vpc/FlowLog/IAMRole","children":{"ImportIAMRole":{"id":"ImportIAMRole","path":"lamkin-newVpcFromProps/Vpc/FlowLog/IAMRole/ImportIAMRole","constructInfo":{"fqn":"aws-cdk-lib.Resource","version":"2.186.0","metadata":["*"]}},"Resource":{"id":"Resource","path":"lamkin-newVpcFromProps/Vpc/FlowLog/IAMRole/Resource","attributes":{"aws:cdk:cloudformation:type":"AWS::IAM::Role","aws:cdk:cloudformation:props":{"assumeRolePolicyDocument":{"Statement":[{"Action":"sts:AssumeRole","Effect":"Allow","Principal":{"Service":"vpc-flow-logs.amazonaws.com"}}],"Version":"2012-10-17"},"tags":[{"key":"Name","value":"lamkin-newVpcFromProps/Vpc/FlowLog"}]}},"constructInfo":{"fqn":"aws-cdk-lib.aws_iam.CfnRole","version":"2.186.0"}},"DefaultPolicy":{"id":"DefaultPolicy","path":"lamkin-newVpcFromProps/Vpc/FlowLog/IAMRole/DefaultPolicy","children":{"Resource":{"id":"Resource","path":"lamkin-newVpcFromProps/Vpc/FlowLog/IAMRole/DefaultPolicy/Resource","attributes":{"aws:cdk:cloudformation:type":"AWS::IAM::Policy","aws:cdk:cloudformation:props":{"policyDocument":{"Statement":[{"Action":["logs:CreateLogStream","logs:DescribeLogStreams","logs:PutLogEvents"],"Effect":"Allow","Resource":{"Fn::GetAtt":["VpcFlowLogLogGroup7B5C56B9","Arn"]}},{"Action":"iam:PassRole","Effect":"Allow","Resource":{"Fn::GetAtt":["VpcFlowLogIAMRole6A475D41","Arn"]}}],"Version":"2012-10-17"},"policyName":"VpcFlowLogIAMRoleDefaultPolicy406FB995","roles":[{"Ref":"VpcFlowLogIAMRole6A475D41"}]}},"constructInfo":{"fqn":"aws-cdk-lib.aws_iam.CfnPolicy","version":"2.186.0"}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_iam.Policy","version":"2.186.0","metadata":["*",{"attachToRole":["*"]},{"attachToRole":["*"]},{"addStatements":[{}]},{"addStatements":[{}]}]}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_iam.Role","version":"2.186.0","metadata":[{"roleName":"*","assumedBy":{"principalAccount":"*","assumeRoleAction":"*"}},{"addToPrincipalPolicy":[{}]},{"attachInlinePolicy":["*"]},{"attachInlinePolicy":["*"]},{"addToPrincipalPolicy":[{}]}]}},"LogGroup":{"id":"LogGroup","path":"lamkin-newVpcFromProps/Vpc/FlowLog/LogGroup","children":{"Resource":{"id":"Resource","path":"lamkin-newVpcFromProps/Vpc/FlowLog/LogGroup/Resource","attributes":{"aws:cdk:cloudformation:type":"AWS::Logs::LogGroup","aws:cdk:cloudformation:props":{"retentionInDays":731,"tags":[{"key":"Name","value":"lamkin-newVpcFromProps/Vpc/FlowLog"}]}},"constructInfo":{"fqn":"aws-cdk-lib.aws_logs.CfnLogGroup","version":"2.186.0"}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_logs.LogGroup","version":"2.186.0","metadata":["*"]}},"FlowLog":{"id":"FlowLog","path":"lamkin-newVpcFromProps/Vpc/FlowLog/FlowLog","attributes":{"aws:cdk:cloudformation:type":"AWS::EC2::FlowLog","aws:cdk:cloudformation:props":{"deliverLogsPermissionArn":{"Fn::GetAtt":["VpcFlowLogIAMRole6A475D41","Arn"]},"logDestinationType":"cloud-watch-logs","logGroupName":{"Ref":"VpcFlowLogLogGroup7B5C56B9"},"resourceId":{"Ref":"Vpc8378EB38"},"resourceType":"VPC","tags":[{"key":"Name","value":"lamkin-newVpcFromProps/Vpc/FlowLog"}],"trafficType":"ALL"}},"constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.CfnFlowLog","version":"2.186.0"}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.FlowLog","version":"2.186.0","metadata":[{"resourceType":"*"}]}},"KINESIS_STREAMS":{"id":"KINESIS_STREAMS","path":"lamkin-newVpcFromProps/Vpc/KINESIS_STREAMS","children":{"Resource":{"id":"Resource","path":"lamkin-newVpcFromProps/Vpc/KINESIS_STREAMS/Resource","attributes":{"aws:cdk:cloudformation:type":"AWS::EC2::VPCEndpoint","aws:cdk:cloudformation:props":{"tags":[{"key":"Name","value":"lamkin-newVpcFromProps/Vpc"}],"privateDnsEnabled":true,"securityGroupIds":[{"Fn::GetAtt":["lamkinnewVpcFromPropsKINESISSTREAMSsecuritygroup10DC8B01","GroupId"]}],"serviceName":{"Fn::Join":["",["com.amazonaws.",{"Ref":"AWS::Region"},".kinesis-streams"]]},"subnetIds":[{"Ref":"VpcisolatedSubnet1SubnetE62B1B9B"}],"vpcEndpointType":"Interface","vpcId":{"Ref":"Vpc8378EB38"}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.CfnVPCEndpoint","version":"2.186.0"}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.InterfaceVpcEndpoint","version":"2.186.0","metadata":[{"vpc":"*","service":{"privateDnsDefault":true,"name":"*","port":"*"},"securityGroups":["*"]}]}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.Vpc","version":"2.186.0","metadata":[{"natGateways":"*","subnetConfiguration":[{"cidrMask":"*","name":"*","subnetType":"Isolated"}],"maxAzs":"*","enableDnsHostnames":true,"enableDnsSupport":true}]}},"LatestNodeRuntimeMap":{"id":"LatestNodeRuntimeMap","path":"lamkin-newVpcFromProps/LatestNodeRuntimeMap","constructInfo":{"fqn":"aws-cdk-lib.CfnMapping","version":"2.186.0"}},"Custom::VpcRestrictDefaultSGCustomResourceProvider":{"id":"Custom::VpcRestrictDefaultSGCustomResourceProvider","path":"lamkin-newVpcFromProps/Custom::VpcRestrictDefaultSGCustomResourceProvider","children":{"Staging":{"id":"Staging","path":"lamkin-newVpcFromProps/Custom::VpcRestrictDefaultSGCustomResourceProvider/Staging","constructInfo":{"fqn":"aws-cdk-lib.AssetStaging","version":"2.186.0"}},"Role":{"id":"Role","path":"lamkin-newVpcFromProps/Custom::VpcRestrictDefaultSGCustomResourceProvider/Role","constructInfo":{"fqn":"aws-cdk-lib.CfnResource","version":"2.186.0"}},"Handler":{"id":"Handler","path":"lamkin-newVpcFromProps/Custom::VpcRestrictDefaultSGCustomResourceProvider/Handler","constructInfo":{"fqn":"aws-cdk-lib.CfnResource","version":"2.186.0"}}},"constructInfo":{"fqn":"aws-cdk-lib.CustomResourceProviderBase","version":"2.186.0"}},"lamkin-newVpcFromProps-KINESIS_STREAMS-security-group":{"id":"lamkin-newVpcFromProps-KINESIS_STREAMS-security-group","path":"lamkin-newVpcFromProps/lamkin-newVpcFromProps-KINESIS_STREAMS-security-group","children":{"Resource":{"id":"Resource","path":"lamkin-newVpcFromProps/lamkin-newVpcFromProps-KINESIS_STREAMS-security-group/Resource","attributes":{"aws:cdk:cloudformation:type":"AWS::EC2::SecurityGroup","aws:cdk:cloudformation:props":{"groupDescription":"lamkin-newVpcFromProps/lamkin-newVpcFromProps-KINESIS_STREAMS-security-group","securityGroupEgress":[{"cidrIp":"0.0.0.0/0","description":"Allow all outbound traffic by default","ipProtocol":"-1"}],"securityGroupIngress":[{"cidrIp":{"Fn::GetAtt":["Vpc8378EB38","CidrBlock"]},"ipProtocol":"tcp","fromPort":443,"toPort":443,"description":{"Fn::Join":["",["from ",{"Fn::GetAtt":["Vpc8378EB38","CidrBlock"]},":443"]]}}],"vpcId":{"Ref":"Vpc8378EB38"}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.CfnSecurityGroup","version":"2.186.0"}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.SecurityGroup","version":"2.186.0","metadata":[{"vpc":"*","allowAllOutbound":true},{"addIngressRule":[{"canInlineRule":true,"connections":"*","uniqueId":"*"},{},"*","*"]},{"addIngressRule":[{"canInlineRule":true,"connections":"*","uniqueId":"*"},{},"*",false]}]}},"Integ":{"id":"Integ","path":"lamkin-newVpcFromProps/Integ","children":{"DefaultTest":{"id":"DefaultTest","path":"lamkin-newVpcFromProps/Integ/DefaultTest","children":{"Default":{"id":"Default","path":"lamkin-newVpcFromProps/Integ/DefaultTest/Default","constructInfo":{"fqn":"constructs.Construct","version":"10.4.2"}},"DeployAssert":{"id":"DeployAssert","path":"lamkin-newVpcFromProps/Integ/DefaultTest/DeployAssert","children":{"BootstrapVersion":{"id":"BootstrapVersion","path":"lamkin-newVpcFromProps/Integ/DefaultTest/DeployAssert/BootstrapVersion","constructInfo":{"fqn":"aws-cdk-lib.CfnParameter","version":"2.186.0"}},"CheckBootstrapVersion":{"id":"CheckBootstrapVersion","path":"lamkin-newVpcFromProps/Integ/DefaultTest/DeployAssert/CheckBootstrapVersion","constructInfo":{"fqn":"aws-cdk-lib.CfnRule","version":"2.186.0"}}},"constructInfo":{"fqn":"aws-cdk-lib.Stack","version":"2.186.0"}}},"constructInfo":{"fqn":"@aws-cdk/integ-tests-alpha.IntegTestCase","version":"2.186.0-alpha.0"}}},"constructInfo":{"fqn":"@aws-cdk/integ-tests-alpha.IntegTest","version":"2.186.0-alpha.0"}},"BootstrapVersion":{"id":"BootstrapVersion","path":"lamkin-newVpcFromProps/BootstrapVersion","constructInfo":{"fqn":"aws-cdk-lib.CfnParameter","version":"2.186.0"}},"CheckBootstrapVersion":{"id":"CheckBootstrapVersion","path":"lamkin-newVpcFromProps/CheckBootstrapVersion","constructInfo":{"fqn":"aws-cdk-lib.CfnRule","version":"2.186.0"}}},"constructInfo":{"fqn":"aws-cdk-lib.Stack","version":"2.186.0"}},"Tree":{"id":"Tree","path":"Tree","constructInfo":{"fqn":"constructs.Construct","version":"10.4.2"}}},"constructInfo":{"fqn":"aws-cdk-lib.App","version":"2.186.0"}}}