@aws-solutions-constructs/aws-kinesisfirehose-s3 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 (70) 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.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,753 @@
1
+ {
2
+ "version": "tree-0.1",
3
+ "tree": {
4
+ "id": "App",
5
+ "path": "",
6
+ "children": {
7
+ "fhss3-customLoggingBucket": {
8
+ "id": "fhss3-customLoggingBucket",
9
+ "path": "fhss3-customLoggingBucket",
10
+ "children": {
11
+ "test-kinesisfirehose-s3": {
12
+ "id": "test-kinesisfirehose-s3",
13
+ "path": "fhss3-customLoggingBucket/test-kinesisfirehose-s3",
14
+ "children": {
15
+ "S3LoggingBucket": {
16
+ "id": "S3LoggingBucket",
17
+ "path": "fhss3-customLoggingBucket/test-kinesisfirehose-s3/S3LoggingBucket",
18
+ "children": {
19
+ "Resource": {
20
+ "id": "Resource",
21
+ "path": "fhss3-customLoggingBucket/test-kinesisfirehose-s3/S3LoggingBucket/Resource",
22
+ "attributes": {
23
+ "aws:cdk:cloudformation:type": "AWS::S3::Bucket",
24
+ "aws:cdk:cloudformation:props": {
25
+ "bucketEncryption": {
26
+ "serverSideEncryptionConfiguration": [
27
+ {
28
+ "serverSideEncryptionByDefault": {
29
+ "sseAlgorithm": "AES256"
30
+ }
31
+ }
32
+ ]
33
+ },
34
+ "lifecycleConfiguration": {
35
+ "rules": [
36
+ {
37
+ "status": "Enabled",
38
+ "transitions": [
39
+ {
40
+ "storageClass": "GLACIER",
41
+ "transitionInDays": 7
42
+ }
43
+ ]
44
+ }
45
+ ]
46
+ },
47
+ "publicAccessBlockConfiguration": {
48
+ "blockPublicAcls": true,
49
+ "blockPublicPolicy": true,
50
+ "ignorePublicAcls": true,
51
+ "restrictPublicBuckets": true
52
+ },
53
+ "tags": [
54
+ {
55
+ "key": "aws-cdk:auto-delete-objects",
56
+ "value": "true"
57
+ }
58
+ ],
59
+ "versioningConfiguration": {
60
+ "status": "Enabled"
61
+ }
62
+ }
63
+ },
64
+ "constructInfo": {
65
+ "fqn": "aws-cdk-lib.aws_s3.CfnBucket",
66
+ "version": "2.118.0"
67
+ }
68
+ },
69
+ "Policy": {
70
+ "id": "Policy",
71
+ "path": "fhss3-customLoggingBucket/test-kinesisfirehose-s3/S3LoggingBucket/Policy",
72
+ "children": {
73
+ "Resource": {
74
+ "id": "Resource",
75
+ "path": "fhss3-customLoggingBucket/test-kinesisfirehose-s3/S3LoggingBucket/Policy/Resource",
76
+ "attributes": {
77
+ "aws:cdk:cloudformation:type": "AWS::S3::BucketPolicy",
78
+ "aws:cdk:cloudformation:props": {
79
+ "bucket": {
80
+ "Ref": "testkinesisfirehoses3S3LoggingBucketDD0F9F56"
81
+ },
82
+ "policyDocument": {
83
+ "Statement": [
84
+ {
85
+ "Action": "s3:*",
86
+ "Condition": {
87
+ "Bool": {
88
+ "aws:SecureTransport": "false"
89
+ }
90
+ },
91
+ "Effect": "Deny",
92
+ "Principal": {
93
+ "AWS": "*"
94
+ },
95
+ "Resource": [
96
+ {
97
+ "Fn::GetAtt": [
98
+ "testkinesisfirehoses3S3LoggingBucketDD0F9F56",
99
+ "Arn"
100
+ ]
101
+ },
102
+ {
103
+ "Fn::Join": [
104
+ "",
105
+ [
106
+ {
107
+ "Fn::GetAtt": [
108
+ "testkinesisfirehoses3S3LoggingBucketDD0F9F56",
109
+ "Arn"
110
+ ]
111
+ },
112
+ "/*"
113
+ ]
114
+ ]
115
+ }
116
+ ]
117
+ },
118
+ {
119
+ "Action": [
120
+ "s3:DeleteObject*",
121
+ "s3:GetBucket*",
122
+ "s3:List*",
123
+ "s3:PutBucketPolicy"
124
+ ],
125
+ "Effect": "Allow",
126
+ "Principal": {
127
+ "AWS": {
128
+ "Fn::GetAtt": [
129
+ "CustomS3AutoDeleteObjectsCustomResourceProviderRole3B1BD092",
130
+ "Arn"
131
+ ]
132
+ }
133
+ },
134
+ "Resource": [
135
+ {
136
+ "Fn::GetAtt": [
137
+ "testkinesisfirehoses3S3LoggingBucketDD0F9F56",
138
+ "Arn"
139
+ ]
140
+ },
141
+ {
142
+ "Fn::Join": [
143
+ "",
144
+ [
145
+ {
146
+ "Fn::GetAtt": [
147
+ "testkinesisfirehoses3S3LoggingBucketDD0F9F56",
148
+ "Arn"
149
+ ]
150
+ },
151
+ "/*"
152
+ ]
153
+ ]
154
+ }
155
+ ]
156
+ },
157
+ {
158
+ "Action": "s3:PutObject",
159
+ "Condition": {
160
+ "ArnLike": {
161
+ "aws:SourceArn": {
162
+ "Fn::GetAtt": [
163
+ "testkinesisfirehoses3S3BucketA8942735",
164
+ "Arn"
165
+ ]
166
+ }
167
+ },
168
+ "StringEquals": {
169
+ "aws:SourceAccount": {
170
+ "Ref": "AWS::AccountId"
171
+ }
172
+ }
173
+ },
174
+ "Effect": "Allow",
175
+ "Principal": {
176
+ "Service": "logging.s3.amazonaws.com"
177
+ },
178
+ "Resource": {
179
+ "Fn::Join": [
180
+ "",
181
+ [
182
+ {
183
+ "Fn::GetAtt": [
184
+ "testkinesisfirehoses3S3LoggingBucketDD0F9F56",
185
+ "Arn"
186
+ ]
187
+ },
188
+ "/*"
189
+ ]
190
+ ]
191
+ }
192
+ }
193
+ ],
194
+ "Version": "2012-10-17"
195
+ }
196
+ }
197
+ },
198
+ "constructInfo": {
199
+ "fqn": "aws-cdk-lib.aws_s3.CfnBucketPolicy",
200
+ "version": "2.118.0"
201
+ }
202
+ }
203
+ },
204
+ "constructInfo": {
205
+ "fqn": "aws-cdk-lib.aws_s3.BucketPolicy",
206
+ "version": "2.118.0"
207
+ }
208
+ },
209
+ "AutoDeleteObjectsCustomResource": {
210
+ "id": "AutoDeleteObjectsCustomResource",
211
+ "path": "fhss3-customLoggingBucket/test-kinesisfirehose-s3/S3LoggingBucket/AutoDeleteObjectsCustomResource",
212
+ "children": {
213
+ "Default": {
214
+ "id": "Default",
215
+ "path": "fhss3-customLoggingBucket/test-kinesisfirehose-s3/S3LoggingBucket/AutoDeleteObjectsCustomResource/Default",
216
+ "constructInfo": {
217
+ "fqn": "aws-cdk-lib.CfnResource",
218
+ "version": "2.118.0"
219
+ }
220
+ }
221
+ },
222
+ "constructInfo": {
223
+ "fqn": "aws-cdk-lib.CustomResource",
224
+ "version": "2.118.0"
225
+ }
226
+ }
227
+ },
228
+ "constructInfo": {
229
+ "fqn": "aws-cdk-lib.aws_s3.Bucket",
230
+ "version": "2.118.0"
231
+ }
232
+ },
233
+ "S3Bucket": {
234
+ "id": "S3Bucket",
235
+ "path": "fhss3-customLoggingBucket/test-kinesisfirehose-s3/S3Bucket",
236
+ "children": {
237
+ "Resource": {
238
+ "id": "Resource",
239
+ "path": "fhss3-customLoggingBucket/test-kinesisfirehose-s3/S3Bucket/Resource",
240
+ "attributes": {
241
+ "aws:cdk:cloudformation:type": "AWS::S3::Bucket",
242
+ "aws:cdk:cloudformation:props": {
243
+ "bucketEncryption": {
244
+ "serverSideEncryptionConfiguration": [
245
+ {
246
+ "serverSideEncryptionByDefault": {
247
+ "sseAlgorithm": "AES256"
248
+ }
249
+ }
250
+ ]
251
+ },
252
+ "lifecycleConfiguration": {
253
+ "rules": [
254
+ {
255
+ "noncurrentVersionTransitions": [
256
+ {
257
+ "storageClass": "GLACIER",
258
+ "transitionInDays": 90
259
+ }
260
+ ],
261
+ "status": "Enabled"
262
+ }
263
+ ]
264
+ },
265
+ "loggingConfiguration": {
266
+ "destinationBucketName": {
267
+ "Ref": "testkinesisfirehoses3S3LoggingBucketDD0F9F56"
268
+ }
269
+ },
270
+ "publicAccessBlockConfiguration": {
271
+ "blockPublicAcls": true,
272
+ "blockPublicPolicy": true,
273
+ "ignorePublicAcls": true,
274
+ "restrictPublicBuckets": true
275
+ },
276
+ "versioningConfiguration": {
277
+ "status": "Enabled"
278
+ }
279
+ }
280
+ },
281
+ "constructInfo": {
282
+ "fqn": "aws-cdk-lib.aws_s3.CfnBucket",
283
+ "version": "2.118.0"
284
+ }
285
+ },
286
+ "Policy": {
287
+ "id": "Policy",
288
+ "path": "fhss3-customLoggingBucket/test-kinesisfirehose-s3/S3Bucket/Policy",
289
+ "children": {
290
+ "Resource": {
291
+ "id": "Resource",
292
+ "path": "fhss3-customLoggingBucket/test-kinesisfirehose-s3/S3Bucket/Policy/Resource",
293
+ "attributes": {
294
+ "aws:cdk:cloudformation:type": "AWS::S3::BucketPolicy",
295
+ "aws:cdk:cloudformation:props": {
296
+ "bucket": {
297
+ "Ref": "testkinesisfirehoses3S3BucketA8942735"
298
+ },
299
+ "policyDocument": {
300
+ "Statement": [
301
+ {
302
+ "Action": "s3:*",
303
+ "Condition": {
304
+ "Bool": {
305
+ "aws:SecureTransport": "false"
306
+ }
307
+ },
308
+ "Effect": "Deny",
309
+ "Principal": {
310
+ "AWS": "*"
311
+ },
312
+ "Resource": [
313
+ {
314
+ "Fn::GetAtt": [
315
+ "testkinesisfirehoses3S3BucketA8942735",
316
+ "Arn"
317
+ ]
318
+ },
319
+ {
320
+ "Fn::Join": [
321
+ "",
322
+ [
323
+ {
324
+ "Fn::GetAtt": [
325
+ "testkinesisfirehoses3S3BucketA8942735",
326
+ "Arn"
327
+ ]
328
+ },
329
+ "/*"
330
+ ]
331
+ ]
332
+ }
333
+ ]
334
+ }
335
+ ],
336
+ "Version": "2012-10-17"
337
+ }
338
+ }
339
+ },
340
+ "constructInfo": {
341
+ "fqn": "aws-cdk-lib.aws_s3.CfnBucketPolicy",
342
+ "version": "2.118.0"
343
+ }
344
+ }
345
+ },
346
+ "constructInfo": {
347
+ "fqn": "aws-cdk-lib.aws_s3.BucketPolicy",
348
+ "version": "2.118.0"
349
+ }
350
+ }
351
+ },
352
+ "constructInfo": {
353
+ "fqn": "aws-cdk-lib.aws_s3.Bucket",
354
+ "version": "2.118.0"
355
+ }
356
+ },
357
+ "firehose-log-group": {
358
+ "id": "firehose-log-group",
359
+ "path": "fhss3-customLoggingBucket/test-kinesisfirehose-s3/firehose-log-group",
360
+ "children": {
361
+ "Resource": {
362
+ "id": "Resource",
363
+ "path": "fhss3-customLoggingBucket/test-kinesisfirehose-s3/firehose-log-group/Resource",
364
+ "attributes": {
365
+ "aws:cdk:cloudformation:type": "AWS::Logs::LogGroup",
366
+ "aws:cdk:cloudformation:props": {}
367
+ },
368
+ "constructInfo": {
369
+ "fqn": "aws-cdk-lib.aws_logs.CfnLogGroup",
370
+ "version": "2.118.0"
371
+ }
372
+ },
373
+ "firehose-log-stream": {
374
+ "id": "firehose-log-stream",
375
+ "path": "fhss3-customLoggingBucket/test-kinesisfirehose-s3/firehose-log-group/firehose-log-stream",
376
+ "children": {
377
+ "Resource": {
378
+ "id": "Resource",
379
+ "path": "fhss3-customLoggingBucket/test-kinesisfirehose-s3/firehose-log-group/firehose-log-stream/Resource",
380
+ "attributes": {
381
+ "aws:cdk:cloudformation:type": "AWS::Logs::LogStream",
382
+ "aws:cdk:cloudformation:props": {
383
+ "logGroupName": {
384
+ "Ref": "testkinesisfirehoses3firehoseloggroup3D11FB0D"
385
+ }
386
+ }
387
+ },
388
+ "constructInfo": {
389
+ "fqn": "aws-cdk-lib.aws_logs.CfnLogStream",
390
+ "version": "2.118.0"
391
+ }
392
+ }
393
+ },
394
+ "constructInfo": {
395
+ "fqn": "aws-cdk-lib.aws_logs.LogStream",
396
+ "version": "2.118.0"
397
+ }
398
+ }
399
+ },
400
+ "constructInfo": {
401
+ "fqn": "aws-cdk-lib.aws_logs.LogGroup",
402
+ "version": "2.118.0"
403
+ }
404
+ },
405
+ "KinesisFirehoseRole": {
406
+ "id": "KinesisFirehoseRole",
407
+ "path": "fhss3-customLoggingBucket/test-kinesisfirehose-s3/KinesisFirehoseRole",
408
+ "children": {
409
+ "ImportKinesisFirehoseRole": {
410
+ "id": "ImportKinesisFirehoseRole",
411
+ "path": "fhss3-customLoggingBucket/test-kinesisfirehose-s3/KinesisFirehoseRole/ImportKinesisFirehoseRole",
412
+ "constructInfo": {
413
+ "fqn": "aws-cdk-lib.Resource",
414
+ "version": "2.118.0"
415
+ }
416
+ },
417
+ "Resource": {
418
+ "id": "Resource",
419
+ "path": "fhss3-customLoggingBucket/test-kinesisfirehose-s3/KinesisFirehoseRole/Resource",
420
+ "attributes": {
421
+ "aws:cdk:cloudformation:type": "AWS::IAM::Role",
422
+ "aws:cdk:cloudformation:props": {
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
+ "constructInfo": {
438
+ "fqn": "aws-cdk-lib.aws_iam.CfnRole",
439
+ "version": "2.118.0"
440
+ }
441
+ }
442
+ },
443
+ "constructInfo": {
444
+ "fqn": "aws-cdk-lib.aws_iam.Role",
445
+ "version": "2.118.0"
446
+ }
447
+ },
448
+ "KinesisFirehosePolicy": {
449
+ "id": "KinesisFirehosePolicy",
450
+ "path": "fhss3-customLoggingBucket/test-kinesisfirehose-s3/KinesisFirehosePolicy",
451
+ "children": {
452
+ "Resource": {
453
+ "id": "Resource",
454
+ "path": "fhss3-customLoggingBucket/test-kinesisfirehose-s3/KinesisFirehosePolicy/Resource",
455
+ "attributes": {
456
+ "aws:cdk:cloudformation:type": "AWS::IAM::Policy",
457
+ "aws:cdk:cloudformation:props": {
458
+ "policyDocument": {
459
+ "Statement": [
460
+ {
461
+ "Action": [
462
+ "s3:AbortMultipartUpload",
463
+ "s3:GetBucketLocation",
464
+ "s3:GetObject",
465
+ "s3:ListBucket",
466
+ "s3:ListBucketMultipartUploads",
467
+ "s3:PutObject"
468
+ ],
469
+ "Effect": "Allow",
470
+ "Resource": [
471
+ {
472
+ "Fn::GetAtt": [
473
+ "testkinesisfirehoses3S3BucketA8942735",
474
+ "Arn"
475
+ ]
476
+ },
477
+ {
478
+ "Fn::Join": [
479
+ "",
480
+ [
481
+ {
482
+ "Fn::GetAtt": [
483
+ "testkinesisfirehoses3S3BucketA8942735",
484
+ "Arn"
485
+ ]
486
+ },
487
+ "/*"
488
+ ]
489
+ ]
490
+ }
491
+ ]
492
+ },
493
+ {
494
+ "Action": "logs:PutLogEvents",
495
+ "Effect": "Allow",
496
+ "Resource": {
497
+ "Fn::Join": [
498
+ "",
499
+ [
500
+ "arn:",
501
+ {
502
+ "Ref": "AWS::Partition"
503
+ },
504
+ ":logs:",
505
+ {
506
+ "Ref": "AWS::Region"
507
+ },
508
+ ":",
509
+ {
510
+ "Ref": "AWS::AccountId"
511
+ },
512
+ ":log-group:",
513
+ {
514
+ "Ref": "testkinesisfirehoses3firehoseloggroup3D11FB0D"
515
+ },
516
+ ":log-stream:",
517
+ {
518
+ "Ref": "testkinesisfirehoses3firehoseloggroupfirehoselogstream3C52AF00"
519
+ }
520
+ ]
521
+ ]
522
+ }
523
+ }
524
+ ],
525
+ "Version": "2012-10-17"
526
+ },
527
+ "policyName": "testkinesisfirehoses3KinesisFirehosePolicy148BE6A6",
528
+ "roles": [
529
+ {
530
+ "Ref": "testkinesisfirehoses3KinesisFirehoseRoleB23C3E93"
531
+ }
532
+ ]
533
+ }
534
+ },
535
+ "constructInfo": {
536
+ "fqn": "aws-cdk-lib.aws_iam.CfnPolicy",
537
+ "version": "2.118.0"
538
+ }
539
+ }
540
+ },
541
+ "constructInfo": {
542
+ "fqn": "aws-cdk-lib.aws_iam.Policy",
543
+ "version": "2.118.0"
544
+ }
545
+ },
546
+ "KinesisFirehose": {
547
+ "id": "KinesisFirehose",
548
+ "path": "fhss3-customLoggingBucket/test-kinesisfirehose-s3/KinesisFirehose",
549
+ "attributes": {
550
+ "aws:cdk:cloudformation:type": "AWS::KinesisFirehose::DeliveryStream",
551
+ "aws:cdk:cloudformation:props": {
552
+ "deliveryStreamEncryptionConfigurationInput": {
553
+ "keyType": "AWS_OWNED_CMK"
554
+ },
555
+ "deliveryStreamName": "KinesisFirehosefhss3customLogginkettestkinesisfirehoses3C47A3354",
556
+ "extendedS3DestinationConfiguration": {
557
+ "bucketArn": {
558
+ "Fn::GetAtt": [
559
+ "testkinesisfirehoses3S3BucketA8942735",
560
+ "Arn"
561
+ ]
562
+ },
563
+ "bufferingHints": {
564
+ "intervalInSeconds": 300,
565
+ "sizeInMBs": 5
566
+ },
567
+ "compressionFormat": "GZIP",
568
+ "roleArn": {
569
+ "Fn::GetAtt": [
570
+ "testkinesisfirehoses3KinesisFirehoseRoleB23C3E93",
571
+ "Arn"
572
+ ]
573
+ },
574
+ "cloudWatchLoggingOptions": {
575
+ "enabled": true,
576
+ "logGroupName": {
577
+ "Ref": "testkinesisfirehoses3firehoseloggroup3D11FB0D"
578
+ },
579
+ "logStreamName": {
580
+ "Ref": "testkinesisfirehoses3firehoseloggroupfirehoselogstream3C52AF00"
581
+ }
582
+ },
583
+ "encryptionConfiguration": {
584
+ "kmsEncryptionConfig": {
585
+ "awskmsKeyArn": {
586
+ "Fn::Join": [
587
+ "",
588
+ [
589
+ "arn:",
590
+ {
591
+ "Ref": "AWS::Partition"
592
+ },
593
+ ":kms:",
594
+ {
595
+ "Ref": "AWS::Region"
596
+ },
597
+ ":",
598
+ {
599
+ "Ref": "AWS::AccountId"
600
+ },
601
+ ":alias/aws/s3"
602
+ ]
603
+ ]
604
+ }
605
+ }
606
+ }
607
+ }
608
+ }
609
+ },
610
+ "constructInfo": {
611
+ "fqn": "aws-cdk-lib.aws_kinesisfirehose.CfnDeliveryStream",
612
+ "version": "2.118.0"
613
+ }
614
+ }
615
+ },
616
+ "constructInfo": {
617
+ "fqn": "@aws-solutions-constructs/aws-kinesisfirehose-s3.KinesisFirehoseToS3",
618
+ "version": "2.50.0"
619
+ }
620
+ },
621
+ "Custom::S3AutoDeleteObjectsCustomResourceProvider": {
622
+ "id": "Custom::S3AutoDeleteObjectsCustomResourceProvider",
623
+ "path": "fhss3-customLoggingBucket/Custom::S3AutoDeleteObjectsCustomResourceProvider",
624
+ "children": {
625
+ "Staging": {
626
+ "id": "Staging",
627
+ "path": "fhss3-customLoggingBucket/Custom::S3AutoDeleteObjectsCustomResourceProvider/Staging",
628
+ "constructInfo": {
629
+ "fqn": "aws-cdk-lib.AssetStaging",
630
+ "version": "2.118.0"
631
+ }
632
+ },
633
+ "Role": {
634
+ "id": "Role",
635
+ "path": "fhss3-customLoggingBucket/Custom::S3AutoDeleteObjectsCustomResourceProvider/Role",
636
+ "constructInfo": {
637
+ "fqn": "aws-cdk-lib.CfnResource",
638
+ "version": "2.118.0"
639
+ }
640
+ },
641
+ "Handler": {
642
+ "id": "Handler",
643
+ "path": "fhss3-customLoggingBucket/Custom::S3AutoDeleteObjectsCustomResourceProvider/Handler",
644
+ "constructInfo": {
645
+ "fqn": "aws-cdk-lib.CfnResource",
646
+ "version": "2.118.0"
647
+ }
648
+ }
649
+ },
650
+ "constructInfo": {
651
+ "fqn": "aws-cdk-lib.CustomResourceProviderBase",
652
+ "version": "2.118.0"
653
+ }
654
+ },
655
+ "test-kinesisfirehose-s3aws-managed-key": {
656
+ "id": "test-kinesisfirehose-s3aws-managed-key",
657
+ "path": "fhss3-customLoggingBucket/test-kinesisfirehose-s3aws-managed-key",
658
+ "constructInfo": {
659
+ "fqn": "aws-cdk-lib.Resource",
660
+ "version": "2.118.0"
661
+ }
662
+ },
663
+ "Integ": {
664
+ "id": "Integ",
665
+ "path": "fhss3-customLoggingBucket/Integ",
666
+ "children": {
667
+ "DefaultTest": {
668
+ "id": "DefaultTest",
669
+ "path": "fhss3-customLoggingBucket/Integ/DefaultTest",
670
+ "children": {
671
+ "Default": {
672
+ "id": "Default",
673
+ "path": "fhss3-customLoggingBucket/Integ/DefaultTest/Default",
674
+ "constructInfo": {
675
+ "fqn": "constructs.Construct",
676
+ "version": "10.0.0"
677
+ }
678
+ },
679
+ "DeployAssert": {
680
+ "id": "DeployAssert",
681
+ "path": "fhss3-customLoggingBucket/Integ/DefaultTest/DeployAssert",
682
+ "children": {
683
+ "BootstrapVersion": {
684
+ "id": "BootstrapVersion",
685
+ "path": "fhss3-customLoggingBucket/Integ/DefaultTest/DeployAssert/BootstrapVersion",
686
+ "constructInfo": {
687
+ "fqn": "aws-cdk-lib.CfnParameter",
688
+ "version": "2.118.0"
689
+ }
690
+ },
691
+ "CheckBootstrapVersion": {
692
+ "id": "CheckBootstrapVersion",
693
+ "path": "fhss3-customLoggingBucket/Integ/DefaultTest/DeployAssert/CheckBootstrapVersion",
694
+ "constructInfo": {
695
+ "fqn": "aws-cdk-lib.CfnRule",
696
+ "version": "2.118.0"
697
+ }
698
+ }
699
+ },
700
+ "constructInfo": {
701
+ "fqn": "aws-cdk-lib.Stack",
702
+ "version": "2.118.0"
703
+ }
704
+ }
705
+ },
706
+ "constructInfo": {
707
+ "fqn": "@aws-cdk/integ-tests-alpha.IntegTestCase",
708
+ "version": "2.118.0-alpha.0"
709
+ }
710
+ }
711
+ },
712
+ "constructInfo": {
713
+ "fqn": "@aws-cdk/integ-tests-alpha.IntegTest",
714
+ "version": "2.118.0-alpha.0"
715
+ }
716
+ },
717
+ "BootstrapVersion": {
718
+ "id": "BootstrapVersion",
719
+ "path": "fhss3-customLoggingBucket/BootstrapVersion",
720
+ "constructInfo": {
721
+ "fqn": "aws-cdk-lib.CfnParameter",
722
+ "version": "2.118.0"
723
+ }
724
+ },
725
+ "CheckBootstrapVersion": {
726
+ "id": "CheckBootstrapVersion",
727
+ "path": "fhss3-customLoggingBucket/CheckBootstrapVersion",
728
+ "constructInfo": {
729
+ "fqn": "aws-cdk-lib.CfnRule",
730
+ "version": "2.118.0"
731
+ }
732
+ }
733
+ },
734
+ "constructInfo": {
735
+ "fqn": "aws-cdk-lib.Stack",
736
+ "version": "2.118.0"
737
+ }
738
+ },
739
+ "Tree": {
740
+ "id": "Tree",
741
+ "path": "Tree",
742
+ "constructInfo": {
743
+ "fqn": "constructs.Construct",
744
+ "version": "10.0.0"
745
+ }
746
+ }
747
+ },
748
+ "constructInfo": {
749
+ "fqn": "aws-cdk-lib.App",
750
+ "version": "2.118.0"
751
+ }
752
+ }
753
+ }