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