@aws-solutions-constructs/aws-kinesisfirehose-s3 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 (70) 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.fhss3-customLoggingBucket.js +6 -3
  7. package/test/integ.fhss3-customLoggingBucket.js.snapshot/asset.b7f33614a69548d6bafe224d751a7ef238cde19097415e553fe8b63a4c8fd8a6/index.js +1 -0
  8. package/test/integ.fhss3-customLoggingBucket.js.snapshot/cdk.out +1 -0
  9. package/test/integ.fhss3-customLoggingBucket.js.snapshot/fhss3-customLoggingBucket.assets.json +32 -0
  10. package/test/integ.fhss3-customLoggingBucket.js.snapshot/fhss3-customLoggingBucket.template.json +586 -0
  11. package/test/integ.fhss3-customLoggingBucket.js.snapshot/fhss3customLoggingBucketIntegDefaultTestDeployAssertA125B70A.assets.json +19 -0
  12. package/test/integ.fhss3-customLoggingBucket.js.snapshot/fhss3customLoggingBucketIntegDefaultTestDeployAssertA125B70A.template.json +36 -0
  13. package/test/integ.fhss3-customLoggingBucket.js.snapshot/integ.json +12 -0
  14. package/test/integ.fhss3-customLoggingBucket.js.snapshot/manifest.json +179 -0
  15. package/test/integ.fhss3-customLoggingBucket.js.snapshot/tree.json +753 -0
  16. package/test/integ.fhss3-no-arguments.js +6 -3
  17. package/test/integ.fhss3-no-arguments.js.snapshot/asset.b7f33614a69548d6bafe224d751a7ef238cde19097415e553fe8b63a4c8fd8a6/index.js +1 -0
  18. package/test/integ.fhss3-no-arguments.js.snapshot/cdk.out +1 -0
  19. package/test/integ.fhss3-no-arguments.js.snapshot/fhss3-no-arguments.assets.json +32 -0
  20. package/test/integ.fhss3-no-arguments.js.snapshot/fhss3-no-arguments.template.json +638 -0
  21. package/test/integ.fhss3-no-arguments.js.snapshot/fhss3noargumentsIntegDefaultTestDeployAssert4B27D283.assets.json +19 -0
  22. package/test/integ.fhss3-no-arguments.js.snapshot/fhss3noargumentsIntegDefaultTestDeployAssert4B27D283.template.json +36 -0
  23. package/test/integ.fhss3-no-arguments.js.snapshot/integ.json +12 -0
  24. package/test/integ.fhss3-no-arguments.js.snapshot/manifest.json +185 -0
  25. package/test/integ.fhss3-no-arguments.js.snapshot/tree.json +803 -0
  26. package/test/integ.fhss3-noLoggingBucket.js +5 -2
  27. package/test/integ.fhss3-noLoggingBucket.js.snapshot/cdk.out +1 -0
  28. package/test/integ.fhss3-noLoggingBucket.js.snapshot/fhss3-noLoggingBucket.assets.json +19 -0
  29. package/test/integ.fhss3-noLoggingBucket.js.snapshot/fhss3-noLoggingBucket.template.json +320 -0
  30. package/test/integ.fhss3-noLoggingBucket.js.snapshot/fhss3noLoggingBucketIntegDefaultTestDeployAssert461787D6.assets.json +19 -0
  31. package/test/integ.fhss3-noLoggingBucket.js.snapshot/fhss3noLoggingBucketIntegDefaultTestDeployAssert461787D6.template.json +36 -0
  32. package/test/integ.fhss3-noLoggingBucket.js.snapshot/integ.json +12 -0
  33. package/test/integ.fhss3-noLoggingBucket.js.snapshot/manifest.json +149 -0
  34. package/test/integ.fhss3-noLoggingBucket.js.snapshot/tree.json +496 -0
  35. package/test/integ.fhss3-pre-existing-bucket.js +6 -3
  36. package/test/integ.fhss3-pre-existing-bucket.js.snapshot/asset.b7f33614a69548d6bafe224d751a7ef238cde19097415e553fe8b63a4c8fd8a6/index.js +1 -0
  37. package/test/integ.fhss3-pre-existing-bucket.js.snapshot/cdk.out +1 -0
  38. package/test/integ.fhss3-pre-existing-bucket.js.snapshot/fhss3-pre-existing-bucket.assets.json +32 -0
  39. package/test/integ.fhss3-pre-existing-bucket.js.snapshot/fhss3-pre-existing-bucket.template.json +633 -0
  40. package/test/integ.fhss3-pre-existing-bucket.js.snapshot/fhss3preexistingbucketIntegDefaultTestDeployAssert84EBBD2B.assets.json +19 -0
  41. package/test/integ.fhss3-pre-existing-bucket.js.snapshot/fhss3preexistingbucketIntegDefaultTestDeployAssert84EBBD2B.template.json +36 -0
  42. package/test/integ.fhss3-pre-existing-bucket.js.snapshot/integ.json +12 -0
  43. package/test/integ.fhss3-pre-existing-bucket.js.snapshot/manifest.json +185 -0
  44. package/test/integ.fhss3-pre-existing-bucket.js.snapshot/tree.json +806 -0
  45. package/test/integ.fhss3-pre-existing-logging-bucket.js +6 -3
  46. package/test/integ.fhss3-pre-existing-logging-bucket.js.snapshot/asset.b7f33614a69548d6bafe224d751a7ef238cde19097415e553fe8b63a4c8fd8a6/index.js +1 -0
  47. package/test/integ.fhss3-pre-existing-logging-bucket.js.snapshot/cdk.out +1 -0
  48. package/test/integ.fhss3-pre-existing-logging-bucket.js.snapshot/fhss3-pre-existing-logging-bucket.assets.json +32 -0
  49. package/test/integ.fhss3-pre-existing-logging-bucket.js.snapshot/fhss3-pre-existing-logging-bucket.template.json +803 -0
  50. package/test/integ.fhss3-pre-existing-logging-bucket.js.snapshot/fhss3preexistingloggingbucketIntegDefaultTestDeployAssert92015BF9.assets.json +19 -0
  51. package/test/integ.fhss3-pre-existing-logging-bucket.js.snapshot/fhss3preexistingloggingbucketIntegDefaultTestDeployAssert92015BF9.template.json +36 -0
  52. package/test/integ.fhss3-pre-existing-logging-bucket.js.snapshot/integ.json +12 -0
  53. package/test/integ.fhss3-pre-existing-logging-bucket.js.snapshot/manifest.json +203 -0
  54. package/test/integ.fhss3-pre-existing-logging-bucket.js.snapshot/tree.json +1001 -0
  55. package/test/integ.fhss3-two-instances.js +6 -3
  56. package/test/integ.fhss3-two-instances.js.snapshot/asset.b7f33614a69548d6bafe224d751a7ef238cde19097415e553fe8b63a4c8fd8a6/index.js +1 -0
  57. package/test/integ.fhss3-two-instances.js.snapshot/cdk.out +1 -0
  58. package/test/integ.fhss3-two-instances.js.snapshot/fhss3-two-instances.assets.json +32 -0
  59. package/test/integ.fhss3-two-instances.js.snapshot/fhss3-two-instances.template.json +1161 -0
  60. package/test/integ.fhss3-two-instances.js.snapshot/fhss3twoinstancesIntegDefaultTestDeployAssertFD2CF598.assets.json +19 -0
  61. package/test/integ.fhss3-two-instances.js.snapshot/fhss3twoinstancesIntegDefaultTestDeployAssertFD2CF598.template.json +36 -0
  62. package/test/integ.fhss3-two-instances.js.snapshot/integ.json +12 -0
  63. package/test/integ.fhss3-two-instances.js.snapshot/manifest.json +251 -0
  64. package/test/integ.fhss3-two-instances.js.snapshot/tree.json +1471 -0
  65. package/test/integ.fhss3-customLoggingBucket.expected.json +0 -586
  66. package/test/integ.fhss3-no-arguments.expected.json +0 -638
  67. package/test/integ.fhss3-noLoggingBucket.expected.json +0 -320
  68. package/test/integ.fhss3-pre-existing-bucket.expected.json +0 -633
  69. package/test/integ.fhss3-pre-existing-logging-bucket.expected.json +0 -803
  70. package/test/integ.fhss3-two-instances.expected.json +0 -1161
@@ -0,0 +1,633 @@
1
+ {
2
+ "Description": "Integration Test for aws-kinesisfirehose-s3",
3
+ "Resources": {
4
+ "scrapBucketLog7B53B25C": {
5
+ "Type": "AWS::S3::Bucket",
6
+ "Properties": {
7
+ "BucketEncryption": {
8
+ "ServerSideEncryptionConfiguration": [
9
+ {
10
+ "ServerSideEncryptionByDefault": {
11
+ "SSEAlgorithm": "AES256"
12
+ }
13
+ }
14
+ ]
15
+ },
16
+ "Tags": [
17
+ {
18
+ "Key": "aws-cdk:auto-delete-objects",
19
+ "Value": "true"
20
+ }
21
+ ],
22
+ "VersioningConfiguration": {
23
+ "Status": "Enabled"
24
+ }
25
+ },
26
+ "UpdateReplacePolicy": "Delete",
27
+ "DeletionPolicy": "Delete",
28
+ "Metadata": {
29
+ "cfn_nag": {
30
+ "rules_to_suppress": [
31
+ {
32
+ "id": "W35",
33
+ "reason": "This is a log bucket"
34
+ }
35
+ ]
36
+ }
37
+ }
38
+ },
39
+ "scrapBucketLogPolicy2972C573": {
40
+ "Type": "AWS::S3::BucketPolicy",
41
+ "Properties": {
42
+ "Bucket": {
43
+ "Ref": "scrapBucketLog7B53B25C"
44
+ },
45
+ "PolicyDocument": {
46
+ "Statement": [
47
+ {
48
+ "Action": "s3:*",
49
+ "Condition": {
50
+ "Bool": {
51
+ "aws:SecureTransport": "false"
52
+ }
53
+ },
54
+ "Effect": "Deny",
55
+ "Principal": {
56
+ "AWS": "*"
57
+ },
58
+ "Resource": [
59
+ {
60
+ "Fn::GetAtt": [
61
+ "scrapBucketLog7B53B25C",
62
+ "Arn"
63
+ ]
64
+ },
65
+ {
66
+ "Fn::Join": [
67
+ "",
68
+ [
69
+ {
70
+ "Fn::GetAtt": [
71
+ "scrapBucketLog7B53B25C",
72
+ "Arn"
73
+ ]
74
+ },
75
+ "/*"
76
+ ]
77
+ ]
78
+ }
79
+ ]
80
+ },
81
+ {
82
+ "Action": [
83
+ "s3:DeleteObject*",
84
+ "s3:GetBucket*",
85
+ "s3:List*",
86
+ "s3:PutBucketPolicy"
87
+ ],
88
+ "Effect": "Allow",
89
+ "Principal": {
90
+ "AWS": {
91
+ "Fn::GetAtt": [
92
+ "CustomS3AutoDeleteObjectsCustomResourceProviderRole3B1BD092",
93
+ "Arn"
94
+ ]
95
+ }
96
+ },
97
+ "Resource": [
98
+ {
99
+ "Fn::GetAtt": [
100
+ "scrapBucketLog7B53B25C",
101
+ "Arn"
102
+ ]
103
+ },
104
+ {
105
+ "Fn::Join": [
106
+ "",
107
+ [
108
+ {
109
+ "Fn::GetAtt": [
110
+ "scrapBucketLog7B53B25C",
111
+ "Arn"
112
+ ]
113
+ },
114
+ "/*"
115
+ ]
116
+ ]
117
+ }
118
+ ]
119
+ },
120
+ {
121
+ "Action": "s3:PutObject",
122
+ "Condition": {
123
+ "ArnLike": {
124
+ "aws:SourceArn": {
125
+ "Fn::GetAtt": [
126
+ "scrapBucketB11863B7",
127
+ "Arn"
128
+ ]
129
+ }
130
+ },
131
+ "StringEquals": {
132
+ "aws:SourceAccount": {
133
+ "Ref": "AWS::AccountId"
134
+ }
135
+ }
136
+ },
137
+ "Effect": "Allow",
138
+ "Principal": {
139
+ "Service": "logging.s3.amazonaws.com"
140
+ },
141
+ "Resource": {
142
+ "Fn::Join": [
143
+ "",
144
+ [
145
+ {
146
+ "Fn::GetAtt": [
147
+ "scrapBucketLog7B53B25C",
148
+ "Arn"
149
+ ]
150
+ },
151
+ "/*"
152
+ ]
153
+ ]
154
+ }
155
+ }
156
+ ],
157
+ "Version": "2012-10-17"
158
+ }
159
+ }
160
+ },
161
+ "scrapBucketLogAutoDeleteObjectsCustomResource307F3D47": {
162
+ "Type": "Custom::S3AutoDeleteObjects",
163
+ "Properties": {
164
+ "ServiceToken": {
165
+ "Fn::GetAtt": [
166
+ "CustomS3AutoDeleteObjectsCustomResourceProviderHandler9D90184F",
167
+ "Arn"
168
+ ]
169
+ },
170
+ "BucketName": {
171
+ "Ref": "scrapBucketLog7B53B25C"
172
+ }
173
+ },
174
+ "DependsOn": [
175
+ "scrapBucketLogPolicy2972C573"
176
+ ],
177
+ "UpdateReplacePolicy": "Delete",
178
+ "DeletionPolicy": "Delete"
179
+ },
180
+ "CustomS3AutoDeleteObjectsCustomResourceProviderRole3B1BD092": {
181
+ "Type": "AWS::IAM::Role",
182
+ "Properties": {
183
+ "AssumeRolePolicyDocument": {
184
+ "Version": "2012-10-17",
185
+ "Statement": [
186
+ {
187
+ "Action": "sts:AssumeRole",
188
+ "Effect": "Allow",
189
+ "Principal": {
190
+ "Service": "lambda.amazonaws.com"
191
+ }
192
+ }
193
+ ]
194
+ },
195
+ "ManagedPolicyArns": [
196
+ {
197
+ "Fn::Sub": "arn:${AWS::Partition}:iam::aws:policy/service-role/AWSLambdaBasicExecutionRole"
198
+ }
199
+ ]
200
+ }
201
+ },
202
+ "CustomS3AutoDeleteObjectsCustomResourceProviderHandler9D90184F": {
203
+ "Type": "AWS::Lambda::Function",
204
+ "Properties": {
205
+ "Code": {
206
+ "S3Bucket": {
207
+ "Fn::Sub": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}"
208
+ },
209
+ "S3Key": "b7f33614a69548d6bafe224d751a7ef238cde19097415e553fe8b63a4c8fd8a6.zip"
210
+ },
211
+ "Timeout": 900,
212
+ "MemorySize": 128,
213
+ "Handler": "index.handler",
214
+ "Role": {
215
+ "Fn::GetAtt": [
216
+ "CustomS3AutoDeleteObjectsCustomResourceProviderRole3B1BD092",
217
+ "Arn"
218
+ ]
219
+ },
220
+ "Runtime": "nodejs18.x",
221
+ "Description": {
222
+ "Fn::Join": [
223
+ "",
224
+ [
225
+ "Lambda function for auto-deleting objects in ",
226
+ {
227
+ "Ref": "scrapBucketLog7B53B25C"
228
+ },
229
+ " S3 bucket."
230
+ ]
231
+ ]
232
+ }
233
+ },
234
+ "DependsOn": [
235
+ "CustomS3AutoDeleteObjectsCustomResourceProviderRole3B1BD092"
236
+ ],
237
+ "Metadata": {
238
+ "cfn_nag": {
239
+ "rules_to_suppress": [
240
+ {
241
+ "id": "W58",
242
+ "reason": "CDK generated custom resource"
243
+ },
244
+ {
245
+ "id": "W89",
246
+ "reason": "CDK generated custom resource"
247
+ },
248
+ {
249
+ "id": "W92",
250
+ "reason": "CDK generated custom resource"
251
+ }
252
+ ]
253
+ }
254
+ }
255
+ },
256
+ "scrapBucketB11863B7": {
257
+ "Type": "AWS::S3::Bucket",
258
+ "Properties": {
259
+ "BucketEncryption": {
260
+ "ServerSideEncryptionConfiguration": [
261
+ {
262
+ "ServerSideEncryptionByDefault": {
263
+ "SSEAlgorithm": "AES256"
264
+ }
265
+ }
266
+ ]
267
+ },
268
+ "LoggingConfiguration": {
269
+ "DestinationBucketName": {
270
+ "Ref": "scrapBucketLog7B53B25C"
271
+ }
272
+ },
273
+ "Tags": [
274
+ {
275
+ "Key": "aws-cdk:auto-delete-objects",
276
+ "Value": "true"
277
+ }
278
+ ],
279
+ "VersioningConfiguration": {
280
+ "Status": "Enabled"
281
+ }
282
+ },
283
+ "UpdateReplacePolicy": "Delete",
284
+ "DeletionPolicy": "Delete"
285
+ },
286
+ "scrapBucketPolicy189B0607": {
287
+ "Type": "AWS::S3::BucketPolicy",
288
+ "Properties": {
289
+ "Bucket": {
290
+ "Ref": "scrapBucketB11863B7"
291
+ },
292
+ "PolicyDocument": {
293
+ "Statement": [
294
+ {
295
+ "Action": "s3:*",
296
+ "Condition": {
297
+ "Bool": {
298
+ "aws:SecureTransport": "false"
299
+ }
300
+ },
301
+ "Effect": "Deny",
302
+ "Principal": {
303
+ "AWS": "*"
304
+ },
305
+ "Resource": [
306
+ {
307
+ "Fn::GetAtt": [
308
+ "scrapBucketB11863B7",
309
+ "Arn"
310
+ ]
311
+ },
312
+ {
313
+ "Fn::Join": [
314
+ "",
315
+ [
316
+ {
317
+ "Fn::GetAtt": [
318
+ "scrapBucketB11863B7",
319
+ "Arn"
320
+ ]
321
+ },
322
+ "/*"
323
+ ]
324
+ ]
325
+ }
326
+ ]
327
+ },
328
+ {
329
+ "Action": [
330
+ "s3:DeleteObject*",
331
+ "s3:GetBucket*",
332
+ "s3:List*",
333
+ "s3:PutBucketPolicy"
334
+ ],
335
+ "Effect": "Allow",
336
+ "Principal": {
337
+ "AWS": {
338
+ "Fn::GetAtt": [
339
+ "CustomS3AutoDeleteObjectsCustomResourceProviderRole3B1BD092",
340
+ "Arn"
341
+ ]
342
+ }
343
+ },
344
+ "Resource": [
345
+ {
346
+ "Fn::GetAtt": [
347
+ "scrapBucketB11863B7",
348
+ "Arn"
349
+ ]
350
+ },
351
+ {
352
+ "Fn::Join": [
353
+ "",
354
+ [
355
+ {
356
+ "Fn::GetAtt": [
357
+ "scrapBucketB11863B7",
358
+ "Arn"
359
+ ]
360
+ },
361
+ "/*"
362
+ ]
363
+ ]
364
+ }
365
+ ]
366
+ }
367
+ ],
368
+ "Version": "2012-10-17"
369
+ }
370
+ }
371
+ },
372
+ "scrapBucketAutoDeleteObjectsCustomResourceFFFC3275": {
373
+ "Type": "Custom::S3AutoDeleteObjects",
374
+ "Properties": {
375
+ "ServiceToken": {
376
+ "Fn::GetAtt": [
377
+ "CustomS3AutoDeleteObjectsCustomResourceProviderHandler9D90184F",
378
+ "Arn"
379
+ ]
380
+ },
381
+ "BucketName": {
382
+ "Ref": "scrapBucketB11863B7"
383
+ }
384
+ },
385
+ "DependsOn": [
386
+ "scrapBucketPolicy189B0607"
387
+ ],
388
+ "UpdateReplacePolicy": "Delete",
389
+ "DeletionPolicy": "Delete"
390
+ },
391
+ "testfirehoses3preexistingbucketstackfirehoseloggroupC6AF6572": {
392
+ "Type": "AWS::Logs::LogGroup",
393
+ "UpdateReplacePolicy": "Retain",
394
+ "DeletionPolicy": "Retain",
395
+ "Metadata": {
396
+ "cfn_nag": {
397
+ "rules_to_suppress": [
398
+ {
399
+ "id": "W86",
400
+ "reason": "Retention period for CloudWatchLogs LogGroups are set to 'Never Expire' to preserve customer data indefinitely"
401
+ },
402
+ {
403
+ "id": "W84",
404
+ "reason": "By default CloudWatchLogs LogGroups data is encrypted using the CloudWatch server-side encryption keys (AWS Managed Keys)"
405
+ }
406
+ ]
407
+ }
408
+ }
409
+ },
410
+ "testfirehoses3preexistingbucketstackfirehoseloggroupfirehoselogstreamDCA77A8C": {
411
+ "Type": "AWS::Logs::LogStream",
412
+ "Properties": {
413
+ "LogGroupName": {
414
+ "Ref": "testfirehoses3preexistingbucketstackfirehoseloggroupC6AF6572"
415
+ }
416
+ },
417
+ "UpdateReplacePolicy": "Retain",
418
+ "DeletionPolicy": "Retain"
419
+ },
420
+ "testfirehoses3preexistingbucketstackKinesisFirehoseRole84325204": {
421
+ "Type": "AWS::IAM::Role",
422
+ "Properties": {
423
+ "AssumeRolePolicyDocument": {
424
+ "Statement": [
425
+ {
426
+ "Action": "sts:AssumeRole",
427
+ "Effect": "Allow",
428
+ "Principal": {
429
+ "Service": "firehose.amazonaws.com"
430
+ }
431
+ }
432
+ ],
433
+ "Version": "2012-10-17"
434
+ }
435
+ }
436
+ },
437
+ "testfirehoses3preexistingbucketstackKinesisFirehosePolicy1A30B0A8": {
438
+ "Type": "AWS::IAM::Policy",
439
+ "Properties": {
440
+ "PolicyDocument": {
441
+ "Statement": [
442
+ {
443
+ "Action": [
444
+ "s3:AbortMultipartUpload",
445
+ "s3:GetBucketLocation",
446
+ "s3:GetObject",
447
+ "s3:ListBucket",
448
+ "s3:ListBucketMultipartUploads",
449
+ "s3:PutObject"
450
+ ],
451
+ "Effect": "Allow",
452
+ "Resource": [
453
+ {
454
+ "Fn::Join": [
455
+ "",
456
+ [
457
+ "arn:",
458
+ {
459
+ "Ref": "AWS::Partition"
460
+ },
461
+ ":s3:::",
462
+ {
463
+ "Ref": "scrapBucketB11863B7"
464
+ },
465
+ "/*"
466
+ ]
467
+ ]
468
+ },
469
+ {
470
+ "Fn::Join": [
471
+ "",
472
+ [
473
+ "arn:",
474
+ {
475
+ "Ref": "AWS::Partition"
476
+ },
477
+ ":s3:::",
478
+ {
479
+ "Ref": "scrapBucketB11863B7"
480
+ }
481
+ ]
482
+ ]
483
+ }
484
+ ]
485
+ },
486
+ {
487
+ "Action": "logs:PutLogEvents",
488
+ "Effect": "Allow",
489
+ "Resource": {
490
+ "Fn::Join": [
491
+ "",
492
+ [
493
+ "arn:",
494
+ {
495
+ "Ref": "AWS::Partition"
496
+ },
497
+ ":logs:",
498
+ {
499
+ "Ref": "AWS::Region"
500
+ },
501
+ ":",
502
+ {
503
+ "Ref": "AWS::AccountId"
504
+ },
505
+ ":log-group:",
506
+ {
507
+ "Ref": "testfirehoses3preexistingbucketstackfirehoseloggroupC6AF6572"
508
+ },
509
+ ":log-stream:",
510
+ {
511
+ "Ref": "testfirehoses3preexistingbucketstackfirehoseloggroupfirehoselogstreamDCA77A8C"
512
+ }
513
+ ]
514
+ ]
515
+ }
516
+ }
517
+ ],
518
+ "Version": "2012-10-17"
519
+ },
520
+ "PolicyName": "testfirehoses3preexistingbucketstackKinesisFirehosePolicy1A30B0A8",
521
+ "Roles": [
522
+ {
523
+ "Ref": "testfirehoses3preexistingbucketstackKinesisFirehoseRole84325204"
524
+ }
525
+ ]
526
+ }
527
+ },
528
+ "testfirehoses3preexistingbucketstackKinesisFirehoseCBFE01D6": {
529
+ "Type": "AWS::KinesisFirehose::DeliveryStream",
530
+ "Properties": {
531
+ "DeliveryStreamEncryptionConfigurationInput": {
532
+ "KeyType": "AWS_OWNED_CMK"
533
+ },
534
+ "DeliveryStreamName": "KinesisFirehosefhss3preexistingbs3preexistingbucketstackBC2A3EB1",
535
+ "ExtendedS3DestinationConfiguration": {
536
+ "BucketARN": {
537
+ "Fn::Join": [
538
+ "",
539
+ [
540
+ "arn:",
541
+ {
542
+ "Ref": "AWS::Partition"
543
+ },
544
+ ":s3:::",
545
+ {
546
+ "Ref": "scrapBucketB11863B7"
547
+ }
548
+ ]
549
+ ]
550
+ },
551
+ "BufferingHints": {
552
+ "IntervalInSeconds": 300,
553
+ "SizeInMBs": 5
554
+ },
555
+ "CloudWatchLoggingOptions": {
556
+ "Enabled": true,
557
+ "LogGroupName": {
558
+ "Ref": "testfirehoses3preexistingbucketstackfirehoseloggroupC6AF6572"
559
+ },
560
+ "LogStreamName": {
561
+ "Ref": "testfirehoses3preexistingbucketstackfirehoseloggroupfirehoselogstreamDCA77A8C"
562
+ }
563
+ },
564
+ "CompressionFormat": "GZIP",
565
+ "EncryptionConfiguration": {
566
+ "KMSEncryptionConfig": {
567
+ "AWSKMSKeyARN": {
568
+ "Fn::Join": [
569
+ "",
570
+ [
571
+ "arn:",
572
+ {
573
+ "Ref": "AWS::Partition"
574
+ },
575
+ ":kms:",
576
+ {
577
+ "Ref": "AWS::Region"
578
+ },
579
+ ":",
580
+ {
581
+ "Ref": "AWS::AccountId"
582
+ },
583
+ ":alias/aws/s3"
584
+ ]
585
+ ]
586
+ }
587
+ }
588
+ },
589
+ "RoleARN": {
590
+ "Fn::GetAtt": [
591
+ "testfirehoses3preexistingbucketstackKinesisFirehoseRole84325204",
592
+ "Arn"
593
+ ]
594
+ }
595
+ }
596
+ }
597
+ }
598
+ },
599
+ "Parameters": {
600
+ "BootstrapVersion": {
601
+ "Type": "AWS::SSM::Parameter::Value<String>",
602
+ "Default": "/cdk-bootstrap/hnb659fds/version",
603
+ "Description": "Version of the CDK Bootstrap resources in this environment, automatically retrieved from SSM Parameter Store. [cdk:skip]"
604
+ }
605
+ },
606
+ "Rules": {
607
+ "CheckBootstrapVersion": {
608
+ "Assertions": [
609
+ {
610
+ "Assert": {
611
+ "Fn::Not": [
612
+ {
613
+ "Fn::Contains": [
614
+ [
615
+ "1",
616
+ "2",
617
+ "3",
618
+ "4",
619
+ "5"
620
+ ],
621
+ {
622
+ "Ref": "BootstrapVersion"
623
+ }
624
+ ]
625
+ }
626
+ ]
627
+ },
628
+ "AssertDescription": "CDK bootstrap stack version 6 required. Please run 'cdk bootstrap' with a recent version of the CDK CLI."
629
+ }
630
+ ]
631
+ }
632
+ }
633
+ }
@@ -0,0 +1,19 @@
1
+ {
2
+ "version": "36.0.0",
3
+ "files": {
4
+ "21fbb51d7b23f6a6c262b46a9caee79d744a3ac019fd45422d988b96d44b2a22": {
5
+ "source": {
6
+ "path": "fhss3preexistingbucketIntegDefaultTestDeployAssert84EBBD2B.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,12 @@
1
+ {
2
+ "version": "36.0.0",
3
+ "testCases": {
4
+ "fhss3-pre-existing-bucket/Integ/DefaultTest": {
5
+ "stacks": [
6
+ "fhss3-pre-existing-bucket"
7
+ ],
8
+ "assertionStack": "fhss3-pre-existing-bucket/Integ/DefaultTest/DeployAssert",
9
+ "assertionStackName": "fhss3preexistingbucketIntegDefaultTestDeployAssert84EBBD2B"
10
+ }
11
+ }
12
+ }