@aws-solutions-constructs/aws-lambda-kinesisstreams 2.51.0 → 2.52.1

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,946 @@
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.118.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.118.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.118.0"
143
+ }
144
+ }
145
+ },
146
+ "constructInfo": {
147
+ "fqn": "aws-cdk-lib.aws_iam.Policy",
148
+ "version": "2.118.0"
149
+ }
150
+ }
151
+ },
152
+ "constructInfo": {
153
+ "fqn": "aws-cdk-lib.aws_iam.Role",
154
+ "version": "2.118.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.118.0"
183
+ }
184
+ }
185
+ },
186
+ "constructInfo": {
187
+ "fqn": "aws-cdk-lib.aws_ec2.SecurityGroup",
188
+ "version": "2.118.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.118.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.118.0"
213
+ }
214
+ }
215
+ },
216
+ "constructInfo": {
217
+ "fqn": "aws-cdk-lib.aws_s3_assets.Asset",
218
+ "version": "2.118.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
+ "KINESIS_DATASTREAM_NAME": {
236
+ "Ref": "testlambdakinesisstreamsKinesisStream11A82116"
237
+ }
238
+ }
239
+ },
240
+ "handler": "index.handler",
241
+ "role": {
242
+ "Fn::GetAtt": [
243
+ "testlambdakinesisstreamsLambdaFunctionServiceRole95206CF3",
244
+ "Arn"
245
+ ]
246
+ },
247
+ "runtime": "nodejs18.x",
248
+ "tracingConfig": {
249
+ "mode": "Active"
250
+ },
251
+ "vpcConfig": {
252
+ "subnetIds": [
253
+ {
254
+ "Ref": "VpcisolatedSubnet1SubnetE62B1B9B"
255
+ }
256
+ ],
257
+ "securityGroupIds": [
258
+ {
259
+ "Fn::GetAtt": [
260
+ "testlambdakinesisstreamsReplaceDefaultSecurityGroupsecuritygroupFB22266C",
261
+ "GroupId"
262
+ ]
263
+ }
264
+ ]
265
+ }
266
+ }
267
+ },
268
+ "constructInfo": {
269
+ "fqn": "aws-cdk-lib.aws_lambda.CfnFunction",
270
+ "version": "2.118.0"
271
+ }
272
+ }
273
+ },
274
+ "constructInfo": {
275
+ "fqn": "aws-cdk-lib.aws_lambda.Function",
276
+ "version": "2.118.0"
277
+ }
278
+ },
279
+ "KinesisStream": {
280
+ "id": "KinesisStream",
281
+ "path": "lamkin-newVpcFromProps/test-lambda-kinesisstreams/KinesisStream",
282
+ "children": {
283
+ "Resource": {
284
+ "id": "Resource",
285
+ "path": "lamkin-newVpcFromProps/test-lambda-kinesisstreams/KinesisStream/Resource",
286
+ "attributes": {
287
+ "aws:cdk:cloudformation:type": "AWS::Kinesis::Stream",
288
+ "aws:cdk:cloudformation:props": {
289
+ "retentionPeriodHours": 24,
290
+ "shardCount": 1,
291
+ "streamEncryption": {
292
+ "encryptionType": "KMS",
293
+ "keyId": "alias/aws/kinesis"
294
+ }
295
+ }
296
+ },
297
+ "constructInfo": {
298
+ "fqn": "aws-cdk-lib.aws_kinesis.CfnStream",
299
+ "version": "2.118.0"
300
+ }
301
+ }
302
+ },
303
+ "constructInfo": {
304
+ "fqn": "aws-cdk-lib.aws_kinesis.Stream",
305
+ "version": "2.118.0"
306
+ }
307
+ },
308
+ "KinesisStreamGetRecordsIteratorAgeAlarm": {
309
+ "id": "KinesisStreamGetRecordsIteratorAgeAlarm",
310
+ "path": "lamkin-newVpcFromProps/test-lambda-kinesisstreams/KinesisStreamGetRecordsIteratorAgeAlarm",
311
+ "children": {
312
+ "Resource": {
313
+ "id": "Resource",
314
+ "path": "lamkin-newVpcFromProps/test-lambda-kinesisstreams/KinesisStreamGetRecordsIteratorAgeAlarm/Resource",
315
+ "attributes": {
316
+ "aws:cdk:cloudformation:type": "AWS::CloudWatch::Alarm",
317
+ "aws:cdk:cloudformation:props": {
318
+ "alarmDescription": "Consumer Record Processing Falling Behind, there is risk for data loss due to record expiration.",
319
+ "comparisonOperator": "GreaterThanOrEqualToThreshold",
320
+ "evaluationPeriods": 1,
321
+ "metricName": "GetRecords.IteratorAgeMilliseconds",
322
+ "namespace": "AWS/Kinesis",
323
+ "period": 300,
324
+ "statistic": "Maximum",
325
+ "threshold": 43200000
326
+ }
327
+ },
328
+ "constructInfo": {
329
+ "fqn": "aws-cdk-lib.aws_cloudwatch.CfnAlarm",
330
+ "version": "2.118.0"
331
+ }
332
+ }
333
+ },
334
+ "constructInfo": {
335
+ "fqn": "aws-cdk-lib.aws_cloudwatch.Alarm",
336
+ "version": "2.118.0"
337
+ }
338
+ },
339
+ "KinesisStreamReadProvisionedThroughputExceededAlarm": {
340
+ "id": "KinesisStreamReadProvisionedThroughputExceededAlarm",
341
+ "path": "lamkin-newVpcFromProps/test-lambda-kinesisstreams/KinesisStreamReadProvisionedThroughputExceededAlarm",
342
+ "children": {
343
+ "Resource": {
344
+ "id": "Resource",
345
+ "path": "lamkin-newVpcFromProps/test-lambda-kinesisstreams/KinesisStreamReadProvisionedThroughputExceededAlarm/Resource",
346
+ "attributes": {
347
+ "aws:cdk:cloudformation:type": "AWS::CloudWatch::Alarm",
348
+ "aws:cdk:cloudformation:props": {
349
+ "alarmDescription": "Consumer Application is Reading at a Slower Rate Than Expected.",
350
+ "comparisonOperator": "GreaterThanThreshold",
351
+ "evaluationPeriods": 1,
352
+ "metricName": "ReadProvisionedThroughputExceeded",
353
+ "namespace": "AWS/Kinesis",
354
+ "period": 300,
355
+ "statistic": "Average",
356
+ "threshold": 0
357
+ }
358
+ },
359
+ "constructInfo": {
360
+ "fqn": "aws-cdk-lib.aws_cloudwatch.CfnAlarm",
361
+ "version": "2.118.0"
362
+ }
363
+ }
364
+ },
365
+ "constructInfo": {
366
+ "fqn": "aws-cdk-lib.aws_cloudwatch.Alarm",
367
+ "version": "2.118.0"
368
+ }
369
+ }
370
+ },
371
+ "constructInfo": {
372
+ "fqn": "@aws-solutions-constructs/aws-lambda-kinesisstreams.LambdaToKinesisStreams",
373
+ "version": "2.51.0"
374
+ }
375
+ },
376
+ "Vpc": {
377
+ "id": "Vpc",
378
+ "path": "lamkin-newVpcFromProps/Vpc",
379
+ "children": {
380
+ "Resource": {
381
+ "id": "Resource",
382
+ "path": "lamkin-newVpcFromProps/Vpc/Resource",
383
+ "attributes": {
384
+ "aws:cdk:cloudformation:type": "AWS::EC2::VPC",
385
+ "aws:cdk:cloudformation:props": {
386
+ "cidrBlock": "10.0.0.0/16",
387
+ "enableDnsHostnames": true,
388
+ "enableDnsSupport": true,
389
+ "instanceTenancy": "default",
390
+ "tags": [
391
+ {
392
+ "key": "Name",
393
+ "value": "lamkin-newVpcFromProps/Vpc"
394
+ }
395
+ ]
396
+ }
397
+ },
398
+ "constructInfo": {
399
+ "fqn": "aws-cdk-lib.aws_ec2.CfnVPC",
400
+ "version": "2.118.0"
401
+ }
402
+ },
403
+ "isolatedSubnet1": {
404
+ "id": "isolatedSubnet1",
405
+ "path": "lamkin-newVpcFromProps/Vpc/isolatedSubnet1",
406
+ "children": {
407
+ "Subnet": {
408
+ "id": "Subnet",
409
+ "path": "lamkin-newVpcFromProps/Vpc/isolatedSubnet1/Subnet",
410
+ "attributes": {
411
+ "aws:cdk:cloudformation:type": "AWS::EC2::Subnet",
412
+ "aws:cdk:cloudformation:props": {
413
+ "availabilityZone": {
414
+ "Fn::Select": [
415
+ 0,
416
+ {
417
+ "Fn::GetAZs": ""
418
+ }
419
+ ]
420
+ },
421
+ "cidrBlock": "10.0.0.0/18",
422
+ "mapPublicIpOnLaunch": false,
423
+ "tags": [
424
+ {
425
+ "key": "aws-cdk:subnet-name",
426
+ "value": "isolated"
427
+ },
428
+ {
429
+ "key": "aws-cdk:subnet-type",
430
+ "value": "Isolated"
431
+ },
432
+ {
433
+ "key": "Name",
434
+ "value": "lamkin-newVpcFromProps/Vpc/isolatedSubnet1"
435
+ }
436
+ ],
437
+ "vpcId": {
438
+ "Ref": "Vpc8378EB38"
439
+ }
440
+ }
441
+ },
442
+ "constructInfo": {
443
+ "fqn": "aws-cdk-lib.aws_ec2.CfnSubnet",
444
+ "version": "2.118.0"
445
+ }
446
+ },
447
+ "Acl": {
448
+ "id": "Acl",
449
+ "path": "lamkin-newVpcFromProps/Vpc/isolatedSubnet1/Acl",
450
+ "constructInfo": {
451
+ "fqn": "aws-cdk-lib.Resource",
452
+ "version": "2.118.0"
453
+ }
454
+ },
455
+ "RouteTable": {
456
+ "id": "RouteTable",
457
+ "path": "lamkin-newVpcFromProps/Vpc/isolatedSubnet1/RouteTable",
458
+ "attributes": {
459
+ "aws:cdk:cloudformation:type": "AWS::EC2::RouteTable",
460
+ "aws:cdk:cloudformation:props": {
461
+ "tags": [
462
+ {
463
+ "key": "Name",
464
+ "value": "lamkin-newVpcFromProps/Vpc/isolatedSubnet1"
465
+ }
466
+ ],
467
+ "vpcId": {
468
+ "Ref": "Vpc8378EB38"
469
+ }
470
+ }
471
+ },
472
+ "constructInfo": {
473
+ "fqn": "aws-cdk-lib.aws_ec2.CfnRouteTable",
474
+ "version": "2.118.0"
475
+ }
476
+ },
477
+ "RouteTableAssociation": {
478
+ "id": "RouteTableAssociation",
479
+ "path": "lamkin-newVpcFromProps/Vpc/isolatedSubnet1/RouteTableAssociation",
480
+ "attributes": {
481
+ "aws:cdk:cloudformation:type": "AWS::EC2::SubnetRouteTableAssociation",
482
+ "aws:cdk:cloudformation:props": {
483
+ "routeTableId": {
484
+ "Ref": "VpcisolatedSubnet1RouteTableE442650B"
485
+ },
486
+ "subnetId": {
487
+ "Ref": "VpcisolatedSubnet1SubnetE62B1B9B"
488
+ }
489
+ }
490
+ },
491
+ "constructInfo": {
492
+ "fqn": "aws-cdk-lib.aws_ec2.CfnSubnetRouteTableAssociation",
493
+ "version": "2.118.0"
494
+ }
495
+ }
496
+ },
497
+ "constructInfo": {
498
+ "fqn": "aws-cdk-lib.aws_ec2.PrivateSubnet",
499
+ "version": "2.118.0"
500
+ }
501
+ },
502
+ "RestrictDefaultSecurityGroupCustomResource": {
503
+ "id": "RestrictDefaultSecurityGroupCustomResource",
504
+ "path": "lamkin-newVpcFromProps/Vpc/RestrictDefaultSecurityGroupCustomResource",
505
+ "children": {
506
+ "Default": {
507
+ "id": "Default",
508
+ "path": "lamkin-newVpcFromProps/Vpc/RestrictDefaultSecurityGroupCustomResource/Default",
509
+ "constructInfo": {
510
+ "fqn": "aws-cdk-lib.CfnResource",
511
+ "version": "2.118.0"
512
+ }
513
+ }
514
+ },
515
+ "constructInfo": {
516
+ "fqn": "aws-cdk-lib.CustomResource",
517
+ "version": "2.118.0"
518
+ }
519
+ },
520
+ "FlowLog": {
521
+ "id": "FlowLog",
522
+ "path": "lamkin-newVpcFromProps/Vpc/FlowLog",
523
+ "children": {
524
+ "IAMRole": {
525
+ "id": "IAMRole",
526
+ "path": "lamkin-newVpcFromProps/Vpc/FlowLog/IAMRole",
527
+ "children": {
528
+ "ImportIAMRole": {
529
+ "id": "ImportIAMRole",
530
+ "path": "lamkin-newVpcFromProps/Vpc/FlowLog/IAMRole/ImportIAMRole",
531
+ "constructInfo": {
532
+ "fqn": "aws-cdk-lib.Resource",
533
+ "version": "2.118.0"
534
+ }
535
+ },
536
+ "Resource": {
537
+ "id": "Resource",
538
+ "path": "lamkin-newVpcFromProps/Vpc/FlowLog/IAMRole/Resource",
539
+ "attributes": {
540
+ "aws:cdk:cloudformation:type": "AWS::IAM::Role",
541
+ "aws:cdk:cloudformation:props": {
542
+ "assumeRolePolicyDocument": {
543
+ "Statement": [
544
+ {
545
+ "Action": "sts:AssumeRole",
546
+ "Effect": "Allow",
547
+ "Principal": {
548
+ "Service": "vpc-flow-logs.amazonaws.com"
549
+ }
550
+ }
551
+ ],
552
+ "Version": "2012-10-17"
553
+ },
554
+ "tags": [
555
+ {
556
+ "key": "Name",
557
+ "value": "lamkin-newVpcFromProps/Vpc/FlowLog"
558
+ }
559
+ ]
560
+ }
561
+ },
562
+ "constructInfo": {
563
+ "fqn": "aws-cdk-lib.aws_iam.CfnRole",
564
+ "version": "2.118.0"
565
+ }
566
+ },
567
+ "DefaultPolicy": {
568
+ "id": "DefaultPolicy",
569
+ "path": "lamkin-newVpcFromProps/Vpc/FlowLog/IAMRole/DefaultPolicy",
570
+ "children": {
571
+ "Resource": {
572
+ "id": "Resource",
573
+ "path": "lamkin-newVpcFromProps/Vpc/FlowLog/IAMRole/DefaultPolicy/Resource",
574
+ "attributes": {
575
+ "aws:cdk:cloudformation:type": "AWS::IAM::Policy",
576
+ "aws:cdk:cloudformation:props": {
577
+ "policyDocument": {
578
+ "Statement": [
579
+ {
580
+ "Action": [
581
+ "logs:CreateLogStream",
582
+ "logs:DescribeLogStreams",
583
+ "logs:PutLogEvents"
584
+ ],
585
+ "Effect": "Allow",
586
+ "Resource": {
587
+ "Fn::GetAtt": [
588
+ "VpcFlowLogLogGroup7B5C56B9",
589
+ "Arn"
590
+ ]
591
+ }
592
+ },
593
+ {
594
+ "Action": "iam:PassRole",
595
+ "Effect": "Allow",
596
+ "Resource": {
597
+ "Fn::GetAtt": [
598
+ "VpcFlowLogIAMRole6A475D41",
599
+ "Arn"
600
+ ]
601
+ }
602
+ }
603
+ ],
604
+ "Version": "2012-10-17"
605
+ },
606
+ "policyName": "VpcFlowLogIAMRoleDefaultPolicy406FB995",
607
+ "roles": [
608
+ {
609
+ "Ref": "VpcFlowLogIAMRole6A475D41"
610
+ }
611
+ ]
612
+ }
613
+ },
614
+ "constructInfo": {
615
+ "fqn": "aws-cdk-lib.aws_iam.CfnPolicy",
616
+ "version": "2.118.0"
617
+ }
618
+ }
619
+ },
620
+ "constructInfo": {
621
+ "fqn": "aws-cdk-lib.aws_iam.Policy",
622
+ "version": "2.118.0"
623
+ }
624
+ }
625
+ },
626
+ "constructInfo": {
627
+ "fqn": "aws-cdk-lib.aws_iam.Role",
628
+ "version": "2.118.0"
629
+ }
630
+ },
631
+ "LogGroup": {
632
+ "id": "LogGroup",
633
+ "path": "lamkin-newVpcFromProps/Vpc/FlowLog/LogGroup",
634
+ "children": {
635
+ "Resource": {
636
+ "id": "Resource",
637
+ "path": "lamkin-newVpcFromProps/Vpc/FlowLog/LogGroup/Resource",
638
+ "attributes": {
639
+ "aws:cdk:cloudformation:type": "AWS::Logs::LogGroup",
640
+ "aws:cdk:cloudformation:props": {
641
+ "retentionInDays": 731,
642
+ "tags": [
643
+ {
644
+ "key": "Name",
645
+ "value": "lamkin-newVpcFromProps/Vpc/FlowLog"
646
+ }
647
+ ]
648
+ }
649
+ },
650
+ "constructInfo": {
651
+ "fqn": "aws-cdk-lib.aws_logs.CfnLogGroup",
652
+ "version": "2.118.0"
653
+ }
654
+ }
655
+ },
656
+ "constructInfo": {
657
+ "fqn": "aws-cdk-lib.aws_logs.LogGroup",
658
+ "version": "2.118.0"
659
+ }
660
+ },
661
+ "FlowLog": {
662
+ "id": "FlowLog",
663
+ "path": "lamkin-newVpcFromProps/Vpc/FlowLog/FlowLog",
664
+ "attributes": {
665
+ "aws:cdk:cloudformation:type": "AWS::EC2::FlowLog",
666
+ "aws:cdk:cloudformation:props": {
667
+ "deliverLogsPermissionArn": {
668
+ "Fn::GetAtt": [
669
+ "VpcFlowLogIAMRole6A475D41",
670
+ "Arn"
671
+ ]
672
+ },
673
+ "logDestinationType": "cloud-watch-logs",
674
+ "logGroupName": {
675
+ "Ref": "VpcFlowLogLogGroup7B5C56B9"
676
+ },
677
+ "resourceId": {
678
+ "Ref": "Vpc8378EB38"
679
+ },
680
+ "resourceType": "VPC",
681
+ "tags": [
682
+ {
683
+ "key": "Name",
684
+ "value": "lamkin-newVpcFromProps/Vpc/FlowLog"
685
+ }
686
+ ],
687
+ "trafficType": "ALL"
688
+ }
689
+ },
690
+ "constructInfo": {
691
+ "fqn": "aws-cdk-lib.aws_ec2.CfnFlowLog",
692
+ "version": "2.118.0"
693
+ }
694
+ }
695
+ },
696
+ "constructInfo": {
697
+ "fqn": "aws-cdk-lib.aws_ec2.FlowLog",
698
+ "version": "2.118.0"
699
+ }
700
+ },
701
+ "KINESIS_STREAMS": {
702
+ "id": "KINESIS_STREAMS",
703
+ "path": "lamkin-newVpcFromProps/Vpc/KINESIS_STREAMS",
704
+ "children": {
705
+ "Resource": {
706
+ "id": "Resource",
707
+ "path": "lamkin-newVpcFromProps/Vpc/KINESIS_STREAMS/Resource",
708
+ "attributes": {
709
+ "aws:cdk:cloudformation:type": "AWS::EC2::VPCEndpoint",
710
+ "aws:cdk:cloudformation:props": {
711
+ "privateDnsEnabled": true,
712
+ "securityGroupIds": [
713
+ {
714
+ "Fn::GetAtt": [
715
+ "lamkinnewVpcFromPropsKINESISSTREAMSsecuritygroup10DC8B01",
716
+ "GroupId"
717
+ ]
718
+ }
719
+ ],
720
+ "serviceName": {
721
+ "Fn::Join": [
722
+ "",
723
+ [
724
+ "com.amazonaws.",
725
+ {
726
+ "Ref": "AWS::Region"
727
+ },
728
+ ".kinesis-streams"
729
+ ]
730
+ ]
731
+ },
732
+ "subnetIds": [
733
+ {
734
+ "Ref": "VpcisolatedSubnet1SubnetE62B1B9B"
735
+ }
736
+ ],
737
+ "vpcEndpointType": "Interface",
738
+ "vpcId": {
739
+ "Ref": "Vpc8378EB38"
740
+ }
741
+ }
742
+ },
743
+ "constructInfo": {
744
+ "fqn": "aws-cdk-lib.aws_ec2.CfnVPCEndpoint",
745
+ "version": "2.118.0"
746
+ }
747
+ }
748
+ },
749
+ "constructInfo": {
750
+ "fqn": "aws-cdk-lib.aws_ec2.InterfaceVpcEndpoint",
751
+ "version": "2.118.0"
752
+ }
753
+ }
754
+ },
755
+ "constructInfo": {
756
+ "fqn": "aws-cdk-lib.aws_ec2.Vpc",
757
+ "version": "2.118.0"
758
+ }
759
+ },
760
+ "Custom::VpcRestrictDefaultSGCustomResourceProvider": {
761
+ "id": "Custom::VpcRestrictDefaultSGCustomResourceProvider",
762
+ "path": "lamkin-newVpcFromProps/Custom::VpcRestrictDefaultSGCustomResourceProvider",
763
+ "children": {
764
+ "Staging": {
765
+ "id": "Staging",
766
+ "path": "lamkin-newVpcFromProps/Custom::VpcRestrictDefaultSGCustomResourceProvider/Staging",
767
+ "constructInfo": {
768
+ "fqn": "aws-cdk-lib.AssetStaging",
769
+ "version": "2.118.0"
770
+ }
771
+ },
772
+ "Role": {
773
+ "id": "Role",
774
+ "path": "lamkin-newVpcFromProps/Custom::VpcRestrictDefaultSGCustomResourceProvider/Role",
775
+ "constructInfo": {
776
+ "fqn": "aws-cdk-lib.CfnResource",
777
+ "version": "2.118.0"
778
+ }
779
+ },
780
+ "Handler": {
781
+ "id": "Handler",
782
+ "path": "lamkin-newVpcFromProps/Custom::VpcRestrictDefaultSGCustomResourceProvider/Handler",
783
+ "constructInfo": {
784
+ "fqn": "aws-cdk-lib.CfnResource",
785
+ "version": "2.118.0"
786
+ }
787
+ }
788
+ },
789
+ "constructInfo": {
790
+ "fqn": "aws-cdk-lib.CustomResourceProviderBase",
791
+ "version": "2.118.0"
792
+ }
793
+ },
794
+ "lamkin-newVpcFromProps-KINESIS_STREAMS-security-group": {
795
+ "id": "lamkin-newVpcFromProps-KINESIS_STREAMS-security-group",
796
+ "path": "lamkin-newVpcFromProps/lamkin-newVpcFromProps-KINESIS_STREAMS-security-group",
797
+ "children": {
798
+ "Resource": {
799
+ "id": "Resource",
800
+ "path": "lamkin-newVpcFromProps/lamkin-newVpcFromProps-KINESIS_STREAMS-security-group/Resource",
801
+ "attributes": {
802
+ "aws:cdk:cloudformation:type": "AWS::EC2::SecurityGroup",
803
+ "aws:cdk:cloudformation:props": {
804
+ "groupDescription": "lamkin-newVpcFromProps/lamkin-newVpcFromProps-KINESIS_STREAMS-security-group",
805
+ "securityGroupEgress": [
806
+ {
807
+ "cidrIp": "0.0.0.0/0",
808
+ "description": "Allow all outbound traffic by default",
809
+ "ipProtocol": "-1"
810
+ }
811
+ ],
812
+ "securityGroupIngress": [
813
+ {
814
+ "cidrIp": {
815
+ "Fn::GetAtt": [
816
+ "Vpc8378EB38",
817
+ "CidrBlock"
818
+ ]
819
+ },
820
+ "ipProtocol": "tcp",
821
+ "fromPort": 443,
822
+ "toPort": 443,
823
+ "description": {
824
+ "Fn::Join": [
825
+ "",
826
+ [
827
+ "from ",
828
+ {
829
+ "Fn::GetAtt": [
830
+ "Vpc8378EB38",
831
+ "CidrBlock"
832
+ ]
833
+ },
834
+ ":443"
835
+ ]
836
+ ]
837
+ }
838
+ }
839
+ ],
840
+ "vpcId": {
841
+ "Ref": "Vpc8378EB38"
842
+ }
843
+ }
844
+ },
845
+ "constructInfo": {
846
+ "fqn": "aws-cdk-lib.aws_ec2.CfnSecurityGroup",
847
+ "version": "2.118.0"
848
+ }
849
+ }
850
+ },
851
+ "constructInfo": {
852
+ "fqn": "aws-cdk-lib.aws_ec2.SecurityGroup",
853
+ "version": "2.118.0"
854
+ }
855
+ },
856
+ "Integ": {
857
+ "id": "Integ",
858
+ "path": "lamkin-newVpcFromProps/Integ",
859
+ "children": {
860
+ "DefaultTest": {
861
+ "id": "DefaultTest",
862
+ "path": "lamkin-newVpcFromProps/Integ/DefaultTest",
863
+ "children": {
864
+ "Default": {
865
+ "id": "Default",
866
+ "path": "lamkin-newVpcFromProps/Integ/DefaultTest/Default",
867
+ "constructInfo": {
868
+ "fqn": "constructs.Construct",
869
+ "version": "10.3.0"
870
+ }
871
+ },
872
+ "DeployAssert": {
873
+ "id": "DeployAssert",
874
+ "path": "lamkin-newVpcFromProps/Integ/DefaultTest/DeployAssert",
875
+ "children": {
876
+ "BootstrapVersion": {
877
+ "id": "BootstrapVersion",
878
+ "path": "lamkin-newVpcFromProps/Integ/DefaultTest/DeployAssert/BootstrapVersion",
879
+ "constructInfo": {
880
+ "fqn": "aws-cdk-lib.CfnParameter",
881
+ "version": "2.118.0"
882
+ }
883
+ },
884
+ "CheckBootstrapVersion": {
885
+ "id": "CheckBootstrapVersion",
886
+ "path": "lamkin-newVpcFromProps/Integ/DefaultTest/DeployAssert/CheckBootstrapVersion",
887
+ "constructInfo": {
888
+ "fqn": "aws-cdk-lib.CfnRule",
889
+ "version": "2.118.0"
890
+ }
891
+ }
892
+ },
893
+ "constructInfo": {
894
+ "fqn": "aws-cdk-lib.Stack",
895
+ "version": "2.118.0"
896
+ }
897
+ }
898
+ },
899
+ "constructInfo": {
900
+ "fqn": "@aws-cdk/integ-tests-alpha.IntegTestCase",
901
+ "version": "2.118.0-alpha.0"
902
+ }
903
+ }
904
+ },
905
+ "constructInfo": {
906
+ "fqn": "@aws-cdk/integ-tests-alpha.IntegTest",
907
+ "version": "2.118.0-alpha.0"
908
+ }
909
+ },
910
+ "BootstrapVersion": {
911
+ "id": "BootstrapVersion",
912
+ "path": "lamkin-newVpcFromProps/BootstrapVersion",
913
+ "constructInfo": {
914
+ "fqn": "aws-cdk-lib.CfnParameter",
915
+ "version": "2.118.0"
916
+ }
917
+ },
918
+ "CheckBootstrapVersion": {
919
+ "id": "CheckBootstrapVersion",
920
+ "path": "lamkin-newVpcFromProps/CheckBootstrapVersion",
921
+ "constructInfo": {
922
+ "fqn": "aws-cdk-lib.CfnRule",
923
+ "version": "2.118.0"
924
+ }
925
+ }
926
+ },
927
+ "constructInfo": {
928
+ "fqn": "aws-cdk-lib.Stack",
929
+ "version": "2.118.0"
930
+ }
931
+ },
932
+ "Tree": {
933
+ "id": "Tree",
934
+ "path": "Tree",
935
+ "constructInfo": {
936
+ "fqn": "constructs.Construct",
937
+ "version": "10.3.0"
938
+ }
939
+ }
940
+ },
941
+ "constructInfo": {
942
+ "fqn": "aws-cdk-lib.App",
943
+ "version": "2.118.0"
944
+ }
945
+ }
946
+ }