@aws-solutions-constructs/aws-kinesisfirehose-s3 2.51.0 → 2.52.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (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,1001 @@
1
+ {
2
+ "version": "tree-0.1",
3
+ "tree": {
4
+ "id": "App",
5
+ "path": "",
6
+ "children": {
7
+ "fhss3-pre-existing-logging-bucket": {
8
+ "id": "fhss3-pre-existing-logging-bucket",
9
+ "path": "fhss3-pre-existing-logging-bucket",
10
+ "children": {
11
+ "scrapBucketLog": {
12
+ "id": "scrapBucketLog",
13
+ "path": "fhss3-pre-existing-logging-bucket/scrapBucketLog",
14
+ "children": {
15
+ "Resource": {
16
+ "id": "Resource",
17
+ "path": "fhss3-pre-existing-logging-bucket/scrapBucketLog/Resource",
18
+ "attributes": {
19
+ "aws:cdk:cloudformation:type": "AWS::S3::Bucket",
20
+ "aws:cdk:cloudformation:props": {
21
+ "bucketEncryption": {
22
+ "serverSideEncryptionConfiguration": [
23
+ {
24
+ "serverSideEncryptionByDefault": {
25
+ "sseAlgorithm": "AES256"
26
+ }
27
+ }
28
+ ]
29
+ },
30
+ "tags": [
31
+ {
32
+ "key": "aws-cdk:auto-delete-objects",
33
+ "value": "true"
34
+ }
35
+ ],
36
+ "versioningConfiguration": {
37
+ "status": "Enabled"
38
+ }
39
+ }
40
+ },
41
+ "constructInfo": {
42
+ "fqn": "aws-cdk-lib.aws_s3.CfnBucket",
43
+ "version": "2.118.0"
44
+ }
45
+ },
46
+ "Policy": {
47
+ "id": "Policy",
48
+ "path": "fhss3-pre-existing-logging-bucket/scrapBucketLog/Policy",
49
+ "children": {
50
+ "Resource": {
51
+ "id": "Resource",
52
+ "path": "fhss3-pre-existing-logging-bucket/scrapBucketLog/Policy/Resource",
53
+ "attributes": {
54
+ "aws:cdk:cloudformation:type": "AWS::S3::BucketPolicy",
55
+ "aws:cdk:cloudformation:props": {
56
+ "bucket": {
57
+ "Ref": "scrapBucketLog7B53B25C"
58
+ },
59
+ "policyDocument": {
60
+ "Statement": [
61
+ {
62
+ "Action": "s3:*",
63
+ "Condition": {
64
+ "Bool": {
65
+ "aws:SecureTransport": "false"
66
+ }
67
+ },
68
+ "Effect": "Deny",
69
+ "Principal": {
70
+ "AWS": "*"
71
+ },
72
+ "Resource": [
73
+ {
74
+ "Fn::GetAtt": [
75
+ "scrapBucketLog7B53B25C",
76
+ "Arn"
77
+ ]
78
+ },
79
+ {
80
+ "Fn::Join": [
81
+ "",
82
+ [
83
+ {
84
+ "Fn::GetAtt": [
85
+ "scrapBucketLog7B53B25C",
86
+ "Arn"
87
+ ]
88
+ },
89
+ "/*"
90
+ ]
91
+ ]
92
+ }
93
+ ]
94
+ },
95
+ {
96
+ "Action": [
97
+ "s3:DeleteObject*",
98
+ "s3:GetBucket*",
99
+ "s3:List*",
100
+ "s3:PutBucketPolicy"
101
+ ],
102
+ "Effect": "Allow",
103
+ "Principal": {
104
+ "AWS": {
105
+ "Fn::GetAtt": [
106
+ "CustomS3AutoDeleteObjectsCustomResourceProviderRole3B1BD092",
107
+ "Arn"
108
+ ]
109
+ }
110
+ },
111
+ "Resource": [
112
+ {
113
+ "Fn::GetAtt": [
114
+ "scrapBucketLog7B53B25C",
115
+ "Arn"
116
+ ]
117
+ },
118
+ {
119
+ "Fn::Join": [
120
+ "",
121
+ [
122
+ {
123
+ "Fn::GetAtt": [
124
+ "scrapBucketLog7B53B25C",
125
+ "Arn"
126
+ ]
127
+ },
128
+ "/*"
129
+ ]
130
+ ]
131
+ }
132
+ ]
133
+ },
134
+ {
135
+ "Action": "s3:PutObject",
136
+ "Condition": {
137
+ "ArnLike": {
138
+ "aws:SourceArn": {
139
+ "Fn::GetAtt": [
140
+ "scrapBucketB11863B7",
141
+ "Arn"
142
+ ]
143
+ }
144
+ },
145
+ "StringEquals": {
146
+ "aws:SourceAccount": {
147
+ "Ref": "AWS::AccountId"
148
+ }
149
+ }
150
+ },
151
+ "Effect": "Allow",
152
+ "Principal": {
153
+ "Service": "logging.s3.amazonaws.com"
154
+ },
155
+ "Resource": {
156
+ "Fn::Join": [
157
+ "",
158
+ [
159
+ {
160
+ "Fn::GetAtt": [
161
+ "scrapBucketLog7B53B25C",
162
+ "Arn"
163
+ ]
164
+ },
165
+ "/*"
166
+ ]
167
+ ]
168
+ }
169
+ }
170
+ ],
171
+ "Version": "2012-10-17"
172
+ }
173
+ }
174
+ },
175
+ "constructInfo": {
176
+ "fqn": "aws-cdk-lib.aws_s3.CfnBucketPolicy",
177
+ "version": "2.118.0"
178
+ }
179
+ }
180
+ },
181
+ "constructInfo": {
182
+ "fqn": "aws-cdk-lib.aws_s3.BucketPolicy",
183
+ "version": "2.118.0"
184
+ }
185
+ },
186
+ "AutoDeleteObjectsCustomResource": {
187
+ "id": "AutoDeleteObjectsCustomResource",
188
+ "path": "fhss3-pre-existing-logging-bucket/scrapBucketLog/AutoDeleteObjectsCustomResource",
189
+ "children": {
190
+ "Default": {
191
+ "id": "Default",
192
+ "path": "fhss3-pre-existing-logging-bucket/scrapBucketLog/AutoDeleteObjectsCustomResource/Default",
193
+ "constructInfo": {
194
+ "fqn": "aws-cdk-lib.CfnResource",
195
+ "version": "2.118.0"
196
+ }
197
+ }
198
+ },
199
+ "constructInfo": {
200
+ "fqn": "aws-cdk-lib.CustomResource",
201
+ "version": "2.118.0"
202
+ }
203
+ }
204
+ },
205
+ "constructInfo": {
206
+ "fqn": "aws-cdk-lib.aws_s3.Bucket",
207
+ "version": "2.118.0"
208
+ }
209
+ },
210
+ "Custom::S3AutoDeleteObjectsCustomResourceProvider": {
211
+ "id": "Custom::S3AutoDeleteObjectsCustomResourceProvider",
212
+ "path": "fhss3-pre-existing-logging-bucket/Custom::S3AutoDeleteObjectsCustomResourceProvider",
213
+ "children": {
214
+ "Staging": {
215
+ "id": "Staging",
216
+ "path": "fhss3-pre-existing-logging-bucket/Custom::S3AutoDeleteObjectsCustomResourceProvider/Staging",
217
+ "constructInfo": {
218
+ "fqn": "aws-cdk-lib.AssetStaging",
219
+ "version": "2.118.0"
220
+ }
221
+ },
222
+ "Role": {
223
+ "id": "Role",
224
+ "path": "fhss3-pre-existing-logging-bucket/Custom::S3AutoDeleteObjectsCustomResourceProvider/Role",
225
+ "constructInfo": {
226
+ "fqn": "aws-cdk-lib.CfnResource",
227
+ "version": "2.118.0"
228
+ }
229
+ },
230
+ "Handler": {
231
+ "id": "Handler",
232
+ "path": "fhss3-pre-existing-logging-bucket/Custom::S3AutoDeleteObjectsCustomResourceProvider/Handler",
233
+ "constructInfo": {
234
+ "fqn": "aws-cdk-lib.CfnResource",
235
+ "version": "2.118.0"
236
+ }
237
+ }
238
+ },
239
+ "constructInfo": {
240
+ "fqn": "aws-cdk-lib.CustomResourceProviderBase",
241
+ "version": "2.118.0"
242
+ }
243
+ },
244
+ "scrapBucket": {
245
+ "id": "scrapBucket",
246
+ "path": "fhss3-pre-existing-logging-bucket/scrapBucket",
247
+ "children": {
248
+ "Resource": {
249
+ "id": "Resource",
250
+ "path": "fhss3-pre-existing-logging-bucket/scrapBucket/Resource",
251
+ "attributes": {
252
+ "aws:cdk:cloudformation:type": "AWS::S3::Bucket",
253
+ "aws:cdk:cloudformation:props": {
254
+ "bucketEncryption": {
255
+ "serverSideEncryptionConfiguration": [
256
+ {
257
+ "serverSideEncryptionByDefault": {
258
+ "sseAlgorithm": "AES256"
259
+ }
260
+ }
261
+ ]
262
+ },
263
+ "loggingConfiguration": {
264
+ "destinationBucketName": {
265
+ "Ref": "scrapBucketLog7B53B25C"
266
+ }
267
+ },
268
+ "tags": [
269
+ {
270
+ "key": "aws-cdk:auto-delete-objects",
271
+ "value": "true"
272
+ }
273
+ ],
274
+ "versioningConfiguration": {
275
+ "status": "Enabled"
276
+ }
277
+ }
278
+ },
279
+ "constructInfo": {
280
+ "fqn": "aws-cdk-lib.aws_s3.CfnBucket",
281
+ "version": "2.118.0"
282
+ }
283
+ },
284
+ "Policy": {
285
+ "id": "Policy",
286
+ "path": "fhss3-pre-existing-logging-bucket/scrapBucket/Policy",
287
+ "children": {
288
+ "Resource": {
289
+ "id": "Resource",
290
+ "path": "fhss3-pre-existing-logging-bucket/scrapBucket/Policy/Resource",
291
+ "attributes": {
292
+ "aws:cdk:cloudformation:type": "AWS::S3::BucketPolicy",
293
+ "aws:cdk:cloudformation:props": {
294
+ "bucket": {
295
+ "Ref": "scrapBucketB11863B7"
296
+ },
297
+ "policyDocument": {
298
+ "Statement": [
299
+ {
300
+ "Action": "s3:*",
301
+ "Condition": {
302
+ "Bool": {
303
+ "aws:SecureTransport": "false"
304
+ }
305
+ },
306
+ "Effect": "Deny",
307
+ "Principal": {
308
+ "AWS": "*"
309
+ },
310
+ "Resource": [
311
+ {
312
+ "Fn::GetAtt": [
313
+ "scrapBucketB11863B7",
314
+ "Arn"
315
+ ]
316
+ },
317
+ {
318
+ "Fn::Join": [
319
+ "",
320
+ [
321
+ {
322
+ "Fn::GetAtt": [
323
+ "scrapBucketB11863B7",
324
+ "Arn"
325
+ ]
326
+ },
327
+ "/*"
328
+ ]
329
+ ]
330
+ }
331
+ ]
332
+ },
333
+ {
334
+ "Action": [
335
+ "s3:DeleteObject*",
336
+ "s3:GetBucket*",
337
+ "s3:List*",
338
+ "s3:PutBucketPolicy"
339
+ ],
340
+ "Effect": "Allow",
341
+ "Principal": {
342
+ "AWS": {
343
+ "Fn::GetAtt": [
344
+ "CustomS3AutoDeleteObjectsCustomResourceProviderRole3B1BD092",
345
+ "Arn"
346
+ ]
347
+ }
348
+ },
349
+ "Resource": [
350
+ {
351
+ "Fn::GetAtt": [
352
+ "scrapBucketB11863B7",
353
+ "Arn"
354
+ ]
355
+ },
356
+ {
357
+ "Fn::Join": [
358
+ "",
359
+ [
360
+ {
361
+ "Fn::GetAtt": [
362
+ "scrapBucketB11863B7",
363
+ "Arn"
364
+ ]
365
+ },
366
+ "/*"
367
+ ]
368
+ ]
369
+ }
370
+ ]
371
+ },
372
+ {
373
+ "Action": "s3:PutObject",
374
+ "Condition": {
375
+ "ArnLike": {
376
+ "aws:SourceArn": {
377
+ "Fn::GetAtt": [
378
+ "testfirehoses3preexistingloggingbucketstackS3BucketD14D0F4F",
379
+ "Arn"
380
+ ]
381
+ }
382
+ },
383
+ "StringEquals": {
384
+ "aws:SourceAccount": {
385
+ "Ref": "AWS::AccountId"
386
+ }
387
+ }
388
+ },
389
+ "Effect": "Allow",
390
+ "Principal": {
391
+ "Service": "logging.s3.amazonaws.com"
392
+ },
393
+ "Resource": {
394
+ "Fn::Join": [
395
+ "",
396
+ [
397
+ {
398
+ "Fn::GetAtt": [
399
+ "scrapBucketB11863B7",
400
+ "Arn"
401
+ ]
402
+ },
403
+ "/*"
404
+ ]
405
+ ]
406
+ }
407
+ }
408
+ ],
409
+ "Version": "2012-10-17"
410
+ }
411
+ }
412
+ },
413
+ "constructInfo": {
414
+ "fqn": "aws-cdk-lib.aws_s3.CfnBucketPolicy",
415
+ "version": "2.118.0"
416
+ }
417
+ }
418
+ },
419
+ "constructInfo": {
420
+ "fqn": "aws-cdk-lib.aws_s3.BucketPolicy",
421
+ "version": "2.118.0"
422
+ }
423
+ },
424
+ "AutoDeleteObjectsCustomResource": {
425
+ "id": "AutoDeleteObjectsCustomResource",
426
+ "path": "fhss3-pre-existing-logging-bucket/scrapBucket/AutoDeleteObjectsCustomResource",
427
+ "children": {
428
+ "Default": {
429
+ "id": "Default",
430
+ "path": "fhss3-pre-existing-logging-bucket/scrapBucket/AutoDeleteObjectsCustomResource/Default",
431
+ "constructInfo": {
432
+ "fqn": "aws-cdk-lib.CfnResource",
433
+ "version": "2.118.0"
434
+ }
435
+ }
436
+ },
437
+ "constructInfo": {
438
+ "fqn": "aws-cdk-lib.CustomResource",
439
+ "version": "2.118.0"
440
+ }
441
+ }
442
+ },
443
+ "constructInfo": {
444
+ "fqn": "aws-cdk-lib.aws_s3.Bucket",
445
+ "version": "2.118.0"
446
+ }
447
+ },
448
+ "test-firehose-s3-pre-existing-logging-bucket-stack": {
449
+ "id": "test-firehose-s3-pre-existing-logging-bucket-stack",
450
+ "path": "fhss3-pre-existing-logging-bucket/test-firehose-s3-pre-existing-logging-bucket-stack",
451
+ "children": {
452
+ "S3Bucket": {
453
+ "id": "S3Bucket",
454
+ "path": "fhss3-pre-existing-logging-bucket/test-firehose-s3-pre-existing-logging-bucket-stack/S3Bucket",
455
+ "children": {
456
+ "Resource": {
457
+ "id": "Resource",
458
+ "path": "fhss3-pre-existing-logging-bucket/test-firehose-s3-pre-existing-logging-bucket-stack/S3Bucket/Resource",
459
+ "attributes": {
460
+ "aws:cdk:cloudformation:type": "AWS::S3::Bucket",
461
+ "aws:cdk:cloudformation:props": {
462
+ "bucketEncryption": {
463
+ "serverSideEncryptionConfiguration": [
464
+ {
465
+ "serverSideEncryptionByDefault": {
466
+ "sseAlgorithm": "AES256"
467
+ }
468
+ }
469
+ ]
470
+ },
471
+ "lifecycleConfiguration": {
472
+ "rules": [
473
+ {
474
+ "noncurrentVersionTransitions": [
475
+ {
476
+ "storageClass": "GLACIER",
477
+ "transitionInDays": 90
478
+ }
479
+ ],
480
+ "status": "Enabled"
481
+ }
482
+ ]
483
+ },
484
+ "loggingConfiguration": {
485
+ "destinationBucketName": {
486
+ "Ref": "scrapBucketB11863B7"
487
+ }
488
+ },
489
+ "publicAccessBlockConfiguration": {
490
+ "blockPublicAcls": true,
491
+ "blockPublicPolicy": true,
492
+ "ignorePublicAcls": true,
493
+ "restrictPublicBuckets": true
494
+ },
495
+ "tags": [
496
+ {
497
+ "key": "aws-cdk:auto-delete-objects",
498
+ "value": "true"
499
+ }
500
+ ],
501
+ "versioningConfiguration": {
502
+ "status": "Enabled"
503
+ }
504
+ }
505
+ },
506
+ "constructInfo": {
507
+ "fqn": "aws-cdk-lib.aws_s3.CfnBucket",
508
+ "version": "2.118.0"
509
+ }
510
+ },
511
+ "Policy": {
512
+ "id": "Policy",
513
+ "path": "fhss3-pre-existing-logging-bucket/test-firehose-s3-pre-existing-logging-bucket-stack/S3Bucket/Policy",
514
+ "children": {
515
+ "Resource": {
516
+ "id": "Resource",
517
+ "path": "fhss3-pre-existing-logging-bucket/test-firehose-s3-pre-existing-logging-bucket-stack/S3Bucket/Policy/Resource",
518
+ "attributes": {
519
+ "aws:cdk:cloudformation:type": "AWS::S3::BucketPolicy",
520
+ "aws:cdk:cloudformation:props": {
521
+ "bucket": {
522
+ "Ref": "testfirehoses3preexistingloggingbucketstackS3BucketD14D0F4F"
523
+ },
524
+ "policyDocument": {
525
+ "Statement": [
526
+ {
527
+ "Action": "s3:*",
528
+ "Condition": {
529
+ "Bool": {
530
+ "aws:SecureTransport": "false"
531
+ }
532
+ },
533
+ "Effect": "Deny",
534
+ "Principal": {
535
+ "AWS": "*"
536
+ },
537
+ "Resource": [
538
+ {
539
+ "Fn::GetAtt": [
540
+ "testfirehoses3preexistingloggingbucketstackS3BucketD14D0F4F",
541
+ "Arn"
542
+ ]
543
+ },
544
+ {
545
+ "Fn::Join": [
546
+ "",
547
+ [
548
+ {
549
+ "Fn::GetAtt": [
550
+ "testfirehoses3preexistingloggingbucketstackS3BucketD14D0F4F",
551
+ "Arn"
552
+ ]
553
+ },
554
+ "/*"
555
+ ]
556
+ ]
557
+ }
558
+ ]
559
+ },
560
+ {
561
+ "Action": [
562
+ "s3:DeleteObject*",
563
+ "s3:GetBucket*",
564
+ "s3:List*",
565
+ "s3:PutBucketPolicy"
566
+ ],
567
+ "Effect": "Allow",
568
+ "Principal": {
569
+ "AWS": {
570
+ "Fn::GetAtt": [
571
+ "CustomS3AutoDeleteObjectsCustomResourceProviderRole3B1BD092",
572
+ "Arn"
573
+ ]
574
+ }
575
+ },
576
+ "Resource": [
577
+ {
578
+ "Fn::GetAtt": [
579
+ "testfirehoses3preexistingloggingbucketstackS3BucketD14D0F4F",
580
+ "Arn"
581
+ ]
582
+ },
583
+ {
584
+ "Fn::Join": [
585
+ "",
586
+ [
587
+ {
588
+ "Fn::GetAtt": [
589
+ "testfirehoses3preexistingloggingbucketstackS3BucketD14D0F4F",
590
+ "Arn"
591
+ ]
592
+ },
593
+ "/*"
594
+ ]
595
+ ]
596
+ }
597
+ ]
598
+ }
599
+ ],
600
+ "Version": "2012-10-17"
601
+ }
602
+ }
603
+ },
604
+ "constructInfo": {
605
+ "fqn": "aws-cdk-lib.aws_s3.CfnBucketPolicy",
606
+ "version": "2.118.0"
607
+ }
608
+ }
609
+ },
610
+ "constructInfo": {
611
+ "fqn": "aws-cdk-lib.aws_s3.BucketPolicy",
612
+ "version": "2.118.0"
613
+ }
614
+ },
615
+ "AutoDeleteObjectsCustomResource": {
616
+ "id": "AutoDeleteObjectsCustomResource",
617
+ "path": "fhss3-pre-existing-logging-bucket/test-firehose-s3-pre-existing-logging-bucket-stack/S3Bucket/AutoDeleteObjectsCustomResource",
618
+ "children": {
619
+ "Default": {
620
+ "id": "Default",
621
+ "path": "fhss3-pre-existing-logging-bucket/test-firehose-s3-pre-existing-logging-bucket-stack/S3Bucket/AutoDeleteObjectsCustomResource/Default",
622
+ "constructInfo": {
623
+ "fqn": "aws-cdk-lib.CfnResource",
624
+ "version": "2.118.0"
625
+ }
626
+ }
627
+ },
628
+ "constructInfo": {
629
+ "fqn": "aws-cdk-lib.CustomResource",
630
+ "version": "2.118.0"
631
+ }
632
+ }
633
+ },
634
+ "constructInfo": {
635
+ "fqn": "aws-cdk-lib.aws_s3.Bucket",
636
+ "version": "2.118.0"
637
+ }
638
+ },
639
+ "firehose-log-group": {
640
+ "id": "firehose-log-group",
641
+ "path": "fhss3-pre-existing-logging-bucket/test-firehose-s3-pre-existing-logging-bucket-stack/firehose-log-group",
642
+ "children": {
643
+ "Resource": {
644
+ "id": "Resource",
645
+ "path": "fhss3-pre-existing-logging-bucket/test-firehose-s3-pre-existing-logging-bucket-stack/firehose-log-group/Resource",
646
+ "attributes": {
647
+ "aws:cdk:cloudformation:type": "AWS::Logs::LogGroup",
648
+ "aws:cdk:cloudformation:props": {}
649
+ },
650
+ "constructInfo": {
651
+ "fqn": "aws-cdk-lib.aws_logs.CfnLogGroup",
652
+ "version": "2.118.0"
653
+ }
654
+ },
655
+ "firehose-log-stream": {
656
+ "id": "firehose-log-stream",
657
+ "path": "fhss3-pre-existing-logging-bucket/test-firehose-s3-pre-existing-logging-bucket-stack/firehose-log-group/firehose-log-stream",
658
+ "children": {
659
+ "Resource": {
660
+ "id": "Resource",
661
+ "path": "fhss3-pre-existing-logging-bucket/test-firehose-s3-pre-existing-logging-bucket-stack/firehose-log-group/firehose-log-stream/Resource",
662
+ "attributes": {
663
+ "aws:cdk:cloudformation:type": "AWS::Logs::LogStream",
664
+ "aws:cdk:cloudformation:props": {
665
+ "logGroupName": {
666
+ "Ref": "testfirehoses3preexistingloggingbucketstackfirehoseloggroup38D768AE"
667
+ }
668
+ }
669
+ },
670
+ "constructInfo": {
671
+ "fqn": "aws-cdk-lib.aws_logs.CfnLogStream",
672
+ "version": "2.118.0"
673
+ }
674
+ }
675
+ },
676
+ "constructInfo": {
677
+ "fqn": "aws-cdk-lib.aws_logs.LogStream",
678
+ "version": "2.118.0"
679
+ }
680
+ }
681
+ },
682
+ "constructInfo": {
683
+ "fqn": "aws-cdk-lib.aws_logs.LogGroup",
684
+ "version": "2.118.0"
685
+ }
686
+ },
687
+ "KinesisFirehoseRole": {
688
+ "id": "KinesisFirehoseRole",
689
+ "path": "fhss3-pre-existing-logging-bucket/test-firehose-s3-pre-existing-logging-bucket-stack/KinesisFirehoseRole",
690
+ "children": {
691
+ "ImportKinesisFirehoseRole": {
692
+ "id": "ImportKinesisFirehoseRole",
693
+ "path": "fhss3-pre-existing-logging-bucket/test-firehose-s3-pre-existing-logging-bucket-stack/KinesisFirehoseRole/ImportKinesisFirehoseRole",
694
+ "constructInfo": {
695
+ "fqn": "aws-cdk-lib.Resource",
696
+ "version": "2.118.0"
697
+ }
698
+ },
699
+ "Resource": {
700
+ "id": "Resource",
701
+ "path": "fhss3-pre-existing-logging-bucket/test-firehose-s3-pre-existing-logging-bucket-stack/KinesisFirehoseRole/Resource",
702
+ "attributes": {
703
+ "aws:cdk:cloudformation:type": "AWS::IAM::Role",
704
+ "aws:cdk:cloudformation:props": {
705
+ "assumeRolePolicyDocument": {
706
+ "Statement": [
707
+ {
708
+ "Action": "sts:AssumeRole",
709
+ "Effect": "Allow",
710
+ "Principal": {
711
+ "Service": "firehose.amazonaws.com"
712
+ }
713
+ }
714
+ ],
715
+ "Version": "2012-10-17"
716
+ }
717
+ }
718
+ },
719
+ "constructInfo": {
720
+ "fqn": "aws-cdk-lib.aws_iam.CfnRole",
721
+ "version": "2.118.0"
722
+ }
723
+ }
724
+ },
725
+ "constructInfo": {
726
+ "fqn": "aws-cdk-lib.aws_iam.Role",
727
+ "version": "2.118.0"
728
+ }
729
+ },
730
+ "KinesisFirehosePolicy": {
731
+ "id": "KinesisFirehosePolicy",
732
+ "path": "fhss3-pre-existing-logging-bucket/test-firehose-s3-pre-existing-logging-bucket-stack/KinesisFirehosePolicy",
733
+ "children": {
734
+ "Resource": {
735
+ "id": "Resource",
736
+ "path": "fhss3-pre-existing-logging-bucket/test-firehose-s3-pre-existing-logging-bucket-stack/KinesisFirehosePolicy/Resource",
737
+ "attributes": {
738
+ "aws:cdk:cloudformation:type": "AWS::IAM::Policy",
739
+ "aws:cdk:cloudformation:props": {
740
+ "policyDocument": {
741
+ "Statement": [
742
+ {
743
+ "Action": [
744
+ "s3:AbortMultipartUpload",
745
+ "s3:GetBucketLocation",
746
+ "s3:GetObject",
747
+ "s3:ListBucket",
748
+ "s3:ListBucketMultipartUploads",
749
+ "s3:PutObject"
750
+ ],
751
+ "Effect": "Allow",
752
+ "Resource": [
753
+ {
754
+ "Fn::GetAtt": [
755
+ "testfirehoses3preexistingloggingbucketstackS3BucketD14D0F4F",
756
+ "Arn"
757
+ ]
758
+ },
759
+ {
760
+ "Fn::Join": [
761
+ "",
762
+ [
763
+ {
764
+ "Fn::GetAtt": [
765
+ "testfirehoses3preexistingloggingbucketstackS3BucketD14D0F4F",
766
+ "Arn"
767
+ ]
768
+ },
769
+ "/*"
770
+ ]
771
+ ]
772
+ }
773
+ ]
774
+ },
775
+ {
776
+ "Action": "logs:PutLogEvents",
777
+ "Effect": "Allow",
778
+ "Resource": {
779
+ "Fn::Join": [
780
+ "",
781
+ [
782
+ "arn:",
783
+ {
784
+ "Ref": "AWS::Partition"
785
+ },
786
+ ":logs:",
787
+ {
788
+ "Ref": "AWS::Region"
789
+ },
790
+ ":",
791
+ {
792
+ "Ref": "AWS::AccountId"
793
+ },
794
+ ":log-group:",
795
+ {
796
+ "Ref": "testfirehoses3preexistingloggingbucketstackfirehoseloggroup38D768AE"
797
+ },
798
+ ":log-stream:",
799
+ {
800
+ "Ref": "testfirehoses3preexistingloggingbucketstackfirehoseloggroupfirehoselogstream5A7CB78B"
801
+ }
802
+ ]
803
+ ]
804
+ }
805
+ }
806
+ ],
807
+ "Version": "2012-10-17"
808
+ },
809
+ "policyName": "testfirehoses3preexistingloggingbucketstackKinesisFirehosePolicyD5DBAB6C",
810
+ "roles": [
811
+ {
812
+ "Ref": "testfirehoses3preexistingloggingbucketstackKinesisFirehoseRole797DD1B0"
813
+ }
814
+ ]
815
+ }
816
+ },
817
+ "constructInfo": {
818
+ "fqn": "aws-cdk-lib.aws_iam.CfnPolicy",
819
+ "version": "2.118.0"
820
+ }
821
+ }
822
+ },
823
+ "constructInfo": {
824
+ "fqn": "aws-cdk-lib.aws_iam.Policy",
825
+ "version": "2.118.0"
826
+ }
827
+ },
828
+ "KinesisFirehose": {
829
+ "id": "KinesisFirehose",
830
+ "path": "fhss3-pre-existing-logging-bucket/test-firehose-s3-pre-existing-logging-bucket-stack/KinesisFirehose",
831
+ "attributes": {
832
+ "aws:cdk:cloudformation:type": "AWS::KinesisFirehose::DeliveryStream",
833
+ "aws:cdk:cloudformation:props": {
834
+ "deliveryStreamEncryptionConfigurationInput": {
835
+ "keyType": "AWS_OWNED_CMK"
836
+ },
837
+ "deliveryStreamName": "KinesisFirehosefhss3preexistinglistingloggingbucketstackE08C8853",
838
+ "extendedS3DestinationConfiguration": {
839
+ "bucketArn": {
840
+ "Fn::GetAtt": [
841
+ "testfirehoses3preexistingloggingbucketstackS3BucketD14D0F4F",
842
+ "Arn"
843
+ ]
844
+ },
845
+ "bufferingHints": {
846
+ "intervalInSeconds": 300,
847
+ "sizeInMBs": 5
848
+ },
849
+ "compressionFormat": "GZIP",
850
+ "roleArn": {
851
+ "Fn::GetAtt": [
852
+ "testfirehoses3preexistingloggingbucketstackKinesisFirehoseRole797DD1B0",
853
+ "Arn"
854
+ ]
855
+ },
856
+ "cloudWatchLoggingOptions": {
857
+ "enabled": true,
858
+ "logGroupName": {
859
+ "Ref": "testfirehoses3preexistingloggingbucketstackfirehoseloggroup38D768AE"
860
+ },
861
+ "logStreamName": {
862
+ "Ref": "testfirehoses3preexistingloggingbucketstackfirehoseloggroupfirehoselogstream5A7CB78B"
863
+ }
864
+ },
865
+ "encryptionConfiguration": {
866
+ "kmsEncryptionConfig": {
867
+ "awskmsKeyArn": {
868
+ "Fn::Join": [
869
+ "",
870
+ [
871
+ "arn:",
872
+ {
873
+ "Ref": "AWS::Partition"
874
+ },
875
+ ":kms:",
876
+ {
877
+ "Ref": "AWS::Region"
878
+ },
879
+ ":",
880
+ {
881
+ "Ref": "AWS::AccountId"
882
+ },
883
+ ":alias/aws/s3"
884
+ ]
885
+ ]
886
+ }
887
+ }
888
+ }
889
+ }
890
+ }
891
+ },
892
+ "constructInfo": {
893
+ "fqn": "aws-cdk-lib.aws_kinesisfirehose.CfnDeliveryStream",
894
+ "version": "2.118.0"
895
+ }
896
+ }
897
+ },
898
+ "constructInfo": {
899
+ "fqn": "@aws-solutions-constructs/aws-kinesisfirehose-s3.KinesisFirehoseToS3",
900
+ "version": "2.50.0"
901
+ }
902
+ },
903
+ "test-firehose-s3-pre-existing-logging-bucket-stackaws-managed-key": {
904
+ "id": "test-firehose-s3-pre-existing-logging-bucket-stackaws-managed-key",
905
+ "path": "fhss3-pre-existing-logging-bucket/test-firehose-s3-pre-existing-logging-bucket-stackaws-managed-key",
906
+ "constructInfo": {
907
+ "fqn": "aws-cdk-lib.Resource",
908
+ "version": "2.118.0"
909
+ }
910
+ },
911
+ "Integ": {
912
+ "id": "Integ",
913
+ "path": "fhss3-pre-existing-logging-bucket/Integ",
914
+ "children": {
915
+ "DefaultTest": {
916
+ "id": "DefaultTest",
917
+ "path": "fhss3-pre-existing-logging-bucket/Integ/DefaultTest",
918
+ "children": {
919
+ "Default": {
920
+ "id": "Default",
921
+ "path": "fhss3-pre-existing-logging-bucket/Integ/DefaultTest/Default",
922
+ "constructInfo": {
923
+ "fqn": "constructs.Construct",
924
+ "version": "10.0.0"
925
+ }
926
+ },
927
+ "DeployAssert": {
928
+ "id": "DeployAssert",
929
+ "path": "fhss3-pre-existing-logging-bucket/Integ/DefaultTest/DeployAssert",
930
+ "children": {
931
+ "BootstrapVersion": {
932
+ "id": "BootstrapVersion",
933
+ "path": "fhss3-pre-existing-logging-bucket/Integ/DefaultTest/DeployAssert/BootstrapVersion",
934
+ "constructInfo": {
935
+ "fqn": "aws-cdk-lib.CfnParameter",
936
+ "version": "2.118.0"
937
+ }
938
+ },
939
+ "CheckBootstrapVersion": {
940
+ "id": "CheckBootstrapVersion",
941
+ "path": "fhss3-pre-existing-logging-bucket/Integ/DefaultTest/DeployAssert/CheckBootstrapVersion",
942
+ "constructInfo": {
943
+ "fqn": "aws-cdk-lib.CfnRule",
944
+ "version": "2.118.0"
945
+ }
946
+ }
947
+ },
948
+ "constructInfo": {
949
+ "fqn": "aws-cdk-lib.Stack",
950
+ "version": "2.118.0"
951
+ }
952
+ }
953
+ },
954
+ "constructInfo": {
955
+ "fqn": "@aws-cdk/integ-tests-alpha.IntegTestCase",
956
+ "version": "2.118.0-alpha.0"
957
+ }
958
+ }
959
+ },
960
+ "constructInfo": {
961
+ "fqn": "@aws-cdk/integ-tests-alpha.IntegTest",
962
+ "version": "2.118.0-alpha.0"
963
+ }
964
+ },
965
+ "BootstrapVersion": {
966
+ "id": "BootstrapVersion",
967
+ "path": "fhss3-pre-existing-logging-bucket/BootstrapVersion",
968
+ "constructInfo": {
969
+ "fqn": "aws-cdk-lib.CfnParameter",
970
+ "version": "2.118.0"
971
+ }
972
+ },
973
+ "CheckBootstrapVersion": {
974
+ "id": "CheckBootstrapVersion",
975
+ "path": "fhss3-pre-existing-logging-bucket/CheckBootstrapVersion",
976
+ "constructInfo": {
977
+ "fqn": "aws-cdk-lib.CfnRule",
978
+ "version": "2.118.0"
979
+ }
980
+ }
981
+ },
982
+ "constructInfo": {
983
+ "fqn": "aws-cdk-lib.Stack",
984
+ "version": "2.118.0"
985
+ }
986
+ },
987
+ "Tree": {
988
+ "id": "Tree",
989
+ "path": "Tree",
990
+ "constructInfo": {
991
+ "fqn": "constructs.Construct",
992
+ "version": "10.0.0"
993
+ }
994
+ }
995
+ },
996
+ "constructInfo": {
997
+ "fqn": "aws-cdk-lib.App",
998
+ "version": "2.118.0"
999
+ }
1000
+ }
1001
+ }