@aws-solutions-constructs/aws-lambda-kinesisstreams 2.50.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 +50 -5
  3. package/integ.config.json +7 -0
  4. package/lib/index.js +1 -1
  5. package/package.json +12 -11
  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,285 @@
1
+ {
2
+ "Resources": {
3
+ "testkey784D0285": {
4
+ "Type": "AWS::KMS::Key",
5
+ "Properties": {
6
+ "EnableKeyRotation": true,
7
+ "KeyPolicy": {
8
+ "Statement": [
9
+ {
10
+ "Action": "kms:*",
11
+ "Effect": "Allow",
12
+ "Principal": {
13
+ "AWS": {
14
+ "Fn::Join": [
15
+ "",
16
+ [
17
+ "arn:",
18
+ {
19
+ "Ref": "AWS::Partition"
20
+ },
21
+ ":iam::",
22
+ {
23
+ "Ref": "AWS::AccountId"
24
+ },
25
+ ":root"
26
+ ]
27
+ ]
28
+ }
29
+ },
30
+ "Resource": "*"
31
+ }
32
+ ],
33
+ "Version": "2012-10-17"
34
+ }
35
+ },
36
+ "UpdateReplacePolicy": "Retain",
37
+ "DeletionPolicy": "Retain"
38
+ },
39
+ "teststream04374A09": {
40
+ "Type": "AWS::Kinesis::Stream",
41
+ "Properties": {
42
+ "RetentionPeriodHours": 24,
43
+ "ShardCount": 1,
44
+ "StreamEncryption": {
45
+ "EncryptionType": "KMS",
46
+ "KeyId": {
47
+ "Fn::GetAtt": [
48
+ "testkey784D0285",
49
+ "Arn"
50
+ ]
51
+ }
52
+ }
53
+ }
54
+ },
55
+ "testlambdakinesisstreamsLambdaFunctionServiceRole95206CF3": {
56
+ "Type": "AWS::IAM::Role",
57
+ "Properties": {
58
+ "AssumeRolePolicyDocument": {
59
+ "Statement": [
60
+ {
61
+ "Action": "sts:AssumeRole",
62
+ "Effect": "Allow",
63
+ "Principal": {
64
+ "Service": "lambda.amazonaws.com"
65
+ }
66
+ }
67
+ ],
68
+ "Version": "2012-10-17"
69
+ },
70
+ "Policies": [
71
+ {
72
+ "PolicyDocument": {
73
+ "Statement": [
74
+ {
75
+ "Action": [
76
+ "logs:CreateLogGroup",
77
+ "logs:CreateLogStream",
78
+ "logs:PutLogEvents"
79
+ ],
80
+ "Effect": "Allow",
81
+ "Resource": {
82
+ "Fn::Join": [
83
+ "",
84
+ [
85
+ "arn:",
86
+ {
87
+ "Ref": "AWS::Partition"
88
+ },
89
+ ":logs:",
90
+ {
91
+ "Ref": "AWS::Region"
92
+ },
93
+ ":",
94
+ {
95
+ "Ref": "AWS::AccountId"
96
+ },
97
+ ":log-group:/aws/lambda/*"
98
+ ]
99
+ ]
100
+ }
101
+ }
102
+ ],
103
+ "Version": "2012-10-17"
104
+ },
105
+ "PolicyName": "LambdaFunctionServiceRolePolicy"
106
+ }
107
+ ]
108
+ }
109
+ },
110
+ "testlambdakinesisstreamsLambdaFunctionServiceRoleDefaultPolicyED972043": {
111
+ "Type": "AWS::IAM::Policy",
112
+ "Properties": {
113
+ "PolicyDocument": {
114
+ "Statement": [
115
+ {
116
+ "Action": [
117
+ "xray:PutTelemetryRecords",
118
+ "xray:PutTraceSegments"
119
+ ],
120
+ "Effect": "Allow",
121
+ "Resource": "*"
122
+ },
123
+ {
124
+ "Action": [
125
+ "kinesis:ListShards",
126
+ "kinesis:PutRecord",
127
+ "kinesis:PutRecords"
128
+ ],
129
+ "Effect": "Allow",
130
+ "Resource": {
131
+ "Fn::GetAtt": [
132
+ "teststream04374A09",
133
+ "Arn"
134
+ ]
135
+ }
136
+ },
137
+ {
138
+ "Action": [
139
+ "kms:Decrypt",
140
+ "kms:Encrypt",
141
+ "kms:GenerateDataKey*",
142
+ "kms:ReEncrypt*"
143
+ ],
144
+ "Effect": "Allow",
145
+ "Resource": {
146
+ "Fn::GetAtt": [
147
+ "testkey784D0285",
148
+ "Arn"
149
+ ]
150
+ }
151
+ }
152
+ ],
153
+ "Version": "2012-10-17"
154
+ },
155
+ "PolicyName": "testlambdakinesisstreamsLambdaFunctionServiceRoleDefaultPolicyED972043",
156
+ "Roles": [
157
+ {
158
+ "Ref": "testlambdakinesisstreamsLambdaFunctionServiceRole95206CF3"
159
+ }
160
+ ]
161
+ },
162
+ "Metadata": {
163
+ "cfn_nag": {
164
+ "rules_to_suppress": [
165
+ {
166
+ "id": "W12",
167
+ "reason": "Lambda needs the following minimum required permissions to send trace data to X-Ray and access ENIs in a VPC."
168
+ }
169
+ ]
170
+ }
171
+ }
172
+ },
173
+ "testlambdakinesisstreamsLambdaFunction4348B6E4": {
174
+ "Type": "AWS::Lambda::Function",
175
+ "Properties": {
176
+ "Code": {
177
+ "S3Bucket": {
178
+ "Fn::Sub": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}"
179
+ },
180
+ "S3Key": "c7dc0cc1b24bda1d2a5345f61897eee32184906649fdb1de93853c512e129dbf.zip"
181
+ },
182
+ "Environment": {
183
+ "Variables": {
184
+ "KINESIS_DATASTREAM_NAME": {
185
+ "Ref": "teststream04374A09"
186
+ }
187
+ }
188
+ },
189
+ "Handler": "index.handler",
190
+ "Role": {
191
+ "Fn::GetAtt": [
192
+ "testlambdakinesisstreamsLambdaFunctionServiceRole95206CF3",
193
+ "Arn"
194
+ ]
195
+ },
196
+ "Runtime": "nodejs18.x",
197
+ "TracingConfig": {
198
+ "Mode": "Active"
199
+ }
200
+ },
201
+ "DependsOn": [
202
+ "testlambdakinesisstreamsLambdaFunctionServiceRoleDefaultPolicyED972043",
203
+ "testlambdakinesisstreamsLambdaFunctionServiceRole95206CF3"
204
+ ],
205
+ "Metadata": {
206
+ "cfn_nag": {
207
+ "rules_to_suppress": [
208
+ {
209
+ "id": "W58",
210
+ "reason": "Lambda functions has the required permission to write CloudWatch Logs. It uses custom policy instead of arn:aws:iam::aws:policy/service-role/AWSLambdaBasicExecutionRole with tighter permissions."
211
+ },
212
+ {
213
+ "id": "W89",
214
+ "reason": "This is not a rule for the general case, just for specific use cases/industries"
215
+ },
216
+ {
217
+ "id": "W92",
218
+ "reason": "Impossible for us to define the correct concurrency for clients"
219
+ }
220
+ ]
221
+ }
222
+ }
223
+ },
224
+ "testlambdakinesisstreamsKinesisStreamGetRecordsIteratorAgeAlarmC4A0FF00": {
225
+ "Type": "AWS::CloudWatch::Alarm",
226
+ "Properties": {
227
+ "AlarmDescription": "Consumer Record Processing Falling Behind, there is risk for data loss due to record expiration.",
228
+ "ComparisonOperator": "GreaterThanOrEqualToThreshold",
229
+ "EvaluationPeriods": 1,
230
+ "MetricName": "GetRecords.IteratorAgeMilliseconds",
231
+ "Namespace": "AWS/Kinesis",
232
+ "Period": 300,
233
+ "Statistic": "Maximum",
234
+ "Threshold": 43200000
235
+ }
236
+ },
237
+ "testlambdakinesisstreamsKinesisStreamReadProvisionedThroughputExceededAlarm9732E188": {
238
+ "Type": "AWS::CloudWatch::Alarm",
239
+ "Properties": {
240
+ "AlarmDescription": "Consumer Application is Reading at a Slower Rate Than Expected.",
241
+ "ComparisonOperator": "GreaterThanThreshold",
242
+ "EvaluationPeriods": 1,
243
+ "MetricName": "ReadProvisionedThroughputExceeded",
244
+ "Namespace": "AWS/Kinesis",
245
+ "Period": 300,
246
+ "Statistic": "Average",
247
+ "Threshold": 0
248
+ }
249
+ }
250
+ },
251
+ "Parameters": {
252
+ "BootstrapVersion": {
253
+ "Type": "AWS::SSM::Parameter::Value<String>",
254
+ "Default": "/cdk-bootstrap/hnb659fds/version",
255
+ "Description": "Version of the CDK Bootstrap resources in this environment, automatically retrieved from SSM Parameter Store. [cdk:skip]"
256
+ }
257
+ },
258
+ "Rules": {
259
+ "CheckBootstrapVersion": {
260
+ "Assertions": [
261
+ {
262
+ "Assert": {
263
+ "Fn::Not": [
264
+ {
265
+ "Fn::Contains": [
266
+ [
267
+ "1",
268
+ "2",
269
+ "3",
270
+ "4",
271
+ "5"
272
+ ],
273
+ {
274
+ "Ref": "BootstrapVersion"
275
+ }
276
+ ]
277
+ }
278
+ ]
279
+ },
280
+ "AssertDescription": "CDK bootstrap stack version 6 required. Please run 'cdk bootstrap' with a recent version of the CDK CLI."
281
+ }
282
+ ]
283
+ }
284
+ }
285
+ }
@@ -0,0 +1,19 @@
1
+ {
2
+ "version": "36.0.0",
3
+ "files": {
4
+ "21fbb51d7b23f6a6c262b46a9caee79d744a3ac019fd45422d988b96d44b2a22": {
5
+ "source": {
6
+ "path": "lamkinexistingStreamWithCmkIntegDefaultTestDeployAssert6EDF4045.template.json",
7
+ "packaging": "file"
8
+ },
9
+ "destinations": {
10
+ "current_account-current_region": {
11
+ "bucketName": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}",
12
+ "objectKey": "21fbb51d7b23f6a6c262b46a9caee79d744a3ac019fd45422d988b96d44b2a22.json",
13
+ "assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-file-publishing-role-${AWS::AccountId}-${AWS::Region}"
14
+ }
15
+ }
16
+ }
17
+ },
18
+ "dockerImages": {}
19
+ }
@@ -0,0 +1,36 @@
1
+ {
2
+ "Parameters": {
3
+ "BootstrapVersion": {
4
+ "Type": "AWS::SSM::Parameter::Value<String>",
5
+ "Default": "/cdk-bootstrap/hnb659fds/version",
6
+ "Description": "Version of the CDK Bootstrap resources in this environment, automatically retrieved from SSM Parameter Store. [cdk:skip]"
7
+ }
8
+ },
9
+ "Rules": {
10
+ "CheckBootstrapVersion": {
11
+ "Assertions": [
12
+ {
13
+ "Assert": {
14
+ "Fn::Not": [
15
+ {
16
+ "Fn::Contains": [
17
+ [
18
+ "1",
19
+ "2",
20
+ "3",
21
+ "4",
22
+ "5"
23
+ ],
24
+ {
25
+ "Ref": "BootstrapVersion"
26
+ }
27
+ ]
28
+ }
29
+ ]
30
+ },
31
+ "AssertDescription": "CDK bootstrap stack version 6 required. Please run 'cdk bootstrap' with a recent version of the CDK CLI."
32
+ }
33
+ ]
34
+ }
35
+ }
36
+ }
@@ -0,0 +1,149 @@
1
+ {
2
+ "version": "36.0.0",
3
+ "artifacts": {
4
+ "lamkinexistingStreamWithCmkIntegDefaultTestDeployAssert6EDF4045.assets": {
5
+ "type": "cdk:asset-manifest",
6
+ "properties": {
7
+ "file": "lamkinexistingStreamWithCmkIntegDefaultTestDeployAssert6EDF4045.assets.json",
8
+ "requiresBootstrapStackVersion": 6,
9
+ "bootstrapStackVersionSsmParameter": "/cdk-bootstrap/hnb659fds/version"
10
+ }
11
+ },
12
+ "lamkinexistingStreamWithCmkIntegDefaultTestDeployAssert6EDF4045": {
13
+ "type": "aws:cloudformation:stack",
14
+ "environment": "aws://unknown-account/unknown-region",
15
+ "properties": {
16
+ "templateFile": "lamkinexistingStreamWithCmkIntegDefaultTestDeployAssert6EDF4045.template.json",
17
+ "terminationProtection": false,
18
+ "validateOnSynth": false,
19
+ "assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-deploy-role-${AWS::AccountId}-${AWS::Region}",
20
+ "cloudFormationExecutionRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-cfn-exec-role-${AWS::AccountId}-${AWS::Region}",
21
+ "stackTemplateAssetObjectUrl": "s3://cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}/21fbb51d7b23f6a6c262b46a9caee79d744a3ac019fd45422d988b96d44b2a22.json",
22
+ "requiresBootstrapStackVersion": 6,
23
+ "bootstrapStackVersionSsmParameter": "/cdk-bootstrap/hnb659fds/version",
24
+ "additionalDependencies": [
25
+ "lamkinexistingStreamWithCmkIntegDefaultTestDeployAssert6EDF4045.assets"
26
+ ],
27
+ "lookupRole": {
28
+ "arn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-lookup-role-${AWS::AccountId}-${AWS::Region}",
29
+ "requiresBootstrapStackVersion": 8,
30
+ "bootstrapStackVersionSsmParameter": "/cdk-bootstrap/hnb659fds/version"
31
+ }
32
+ },
33
+ "dependencies": [
34
+ "lamkinexistingStreamWithCmkIntegDefaultTestDeployAssert6EDF4045.assets"
35
+ ],
36
+ "metadata": {
37
+ "/lamkin-existingStreamWithCmk/Integ/DefaultTest/DeployAssert/BootstrapVersion": [
38
+ {
39
+ "type": "aws:cdk:logicalId",
40
+ "data": "BootstrapVersion"
41
+ }
42
+ ],
43
+ "/lamkin-existingStreamWithCmk/Integ/DefaultTest/DeployAssert/CheckBootstrapVersion": [
44
+ {
45
+ "type": "aws:cdk:logicalId",
46
+ "data": "CheckBootstrapVersion"
47
+ }
48
+ ]
49
+ },
50
+ "displayName": "lamkin-existingStreamWithCmk/Integ/DefaultTest/DeployAssert"
51
+ },
52
+ "lamkin-existingStreamWithCmk.assets": {
53
+ "type": "cdk:asset-manifest",
54
+ "properties": {
55
+ "file": "lamkin-existingStreamWithCmk.assets.json",
56
+ "requiresBootstrapStackVersion": 6,
57
+ "bootstrapStackVersionSsmParameter": "/cdk-bootstrap/hnb659fds/version"
58
+ }
59
+ },
60
+ "lamkin-existingStreamWithCmk": {
61
+ "type": "aws:cloudformation:stack",
62
+ "environment": "aws://unknown-account/unknown-region",
63
+ "properties": {
64
+ "templateFile": "lamkin-existingStreamWithCmk.template.json",
65
+ "terminationProtection": false,
66
+ "validateOnSynth": false,
67
+ "assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-deploy-role-${AWS::AccountId}-${AWS::Region}",
68
+ "cloudFormationExecutionRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-cfn-exec-role-${AWS::AccountId}-${AWS::Region}",
69
+ "stackTemplateAssetObjectUrl": "s3://cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}/e1434e4ab6034c88b30ae1030adeefb704b6aad8acd930fe1ca7193b2f1f10c7.json",
70
+ "requiresBootstrapStackVersion": 6,
71
+ "bootstrapStackVersionSsmParameter": "/cdk-bootstrap/hnb659fds/version",
72
+ "additionalDependencies": [
73
+ "lamkin-existingStreamWithCmk.assets"
74
+ ],
75
+ "lookupRole": {
76
+ "arn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-lookup-role-${AWS::AccountId}-${AWS::Region}",
77
+ "requiresBootstrapStackVersion": 8,
78
+ "bootstrapStackVersionSsmParameter": "/cdk-bootstrap/hnb659fds/version"
79
+ }
80
+ },
81
+ "dependencies": [
82
+ "lamkin-existingStreamWithCmk.assets"
83
+ ],
84
+ "metadata": {
85
+ "/lamkin-existingStreamWithCmk/test-key/Resource": [
86
+ {
87
+ "type": "aws:cdk:logicalId",
88
+ "data": "testkey784D0285"
89
+ }
90
+ ],
91
+ "/lamkin-existingStreamWithCmk/test-stream/Resource": [
92
+ {
93
+ "type": "aws:cdk:logicalId",
94
+ "data": "teststream04374A09"
95
+ }
96
+ ],
97
+ "/lamkin-existingStreamWithCmk/test-lambda-kinesisstreams/LambdaFunctionServiceRole/Resource": [
98
+ {
99
+ "type": "aws:cdk:logicalId",
100
+ "data": "testlambdakinesisstreamsLambdaFunctionServiceRole95206CF3"
101
+ }
102
+ ],
103
+ "/lamkin-existingStreamWithCmk/test-lambda-kinesisstreams/LambdaFunctionServiceRole/DefaultPolicy/Resource": [
104
+ {
105
+ "type": "aws:cdk:logicalId",
106
+ "data": "testlambdakinesisstreamsLambdaFunctionServiceRoleDefaultPolicyED972043"
107
+ }
108
+ ],
109
+ "/lamkin-existingStreamWithCmk/test-lambda-kinesisstreams/LambdaFunction/Resource": [
110
+ {
111
+ "type": "aws:cdk:logicalId",
112
+ "data": "testlambdakinesisstreamsLambdaFunction4348B6E4"
113
+ }
114
+ ],
115
+ "/lamkin-existingStreamWithCmk/test-lambda-kinesisstreams/KinesisStreamGetRecordsIteratorAgeAlarm/Resource": [
116
+ {
117
+ "type": "aws:cdk:logicalId",
118
+ "data": "testlambdakinesisstreamsKinesisStreamGetRecordsIteratorAgeAlarmC4A0FF00"
119
+ }
120
+ ],
121
+ "/lamkin-existingStreamWithCmk/test-lambda-kinesisstreams/KinesisStreamReadProvisionedThroughputExceededAlarm/Resource": [
122
+ {
123
+ "type": "aws:cdk:logicalId",
124
+ "data": "testlambdakinesisstreamsKinesisStreamReadProvisionedThroughputExceededAlarm9732E188"
125
+ }
126
+ ],
127
+ "/lamkin-existingStreamWithCmk/BootstrapVersion": [
128
+ {
129
+ "type": "aws:cdk:logicalId",
130
+ "data": "BootstrapVersion"
131
+ }
132
+ ],
133
+ "/lamkin-existingStreamWithCmk/CheckBootstrapVersion": [
134
+ {
135
+ "type": "aws:cdk:logicalId",
136
+ "data": "CheckBootstrapVersion"
137
+ }
138
+ ]
139
+ },
140
+ "displayName": "lamkin-existingStreamWithCmk"
141
+ },
142
+ "Tree": {
143
+ "type": "cdk:tree",
144
+ "properties": {
145
+ "file": "tree.json"
146
+ }
147
+ }
148
+ }
149
+ }