@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
@@ -1,320 +0,0 @@
1
- {
2
- "Resources": {
3
- "testkinesisfirehoses3S3BucketA8942735": {
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
- "NoncurrentVersionTransitions": [
19
- {
20
- "StorageClass": "GLACIER",
21
- "TransitionInDays": 90
22
- }
23
- ],
24
- "Status": "Enabled"
25
- }
26
- ]
27
- },
28
- "PublicAccessBlockConfiguration": {
29
- "BlockPublicAcls": true,
30
- "BlockPublicPolicy": true,
31
- "IgnorePublicAcls": true,
32
- "RestrictPublicBuckets": true
33
- },
34
- "VersioningConfiguration": {
35
- "Status": "Enabled"
36
- }
37
- },
38
- "UpdateReplacePolicy": "Delete",
39
- "DeletionPolicy": "Delete",
40
- "Metadata": {
41
- "cfn_nag": {
42
- "rules_to_suppress": [
43
- {
44
- "id": "W35",
45
- "reason": "This S3 bucket is created for unit/ integration testing purposes only."
46
- }
47
- ]
48
- }
49
- }
50
- },
51
- "testkinesisfirehoses3S3BucketPolicy506CD3DD": {
52
- "Type": "AWS::S3::BucketPolicy",
53
- "Properties": {
54
- "Bucket": {
55
- "Ref": "testkinesisfirehoses3S3BucketA8942735"
56
- },
57
- "PolicyDocument": {
58
- "Statement": [
59
- {
60
- "Action": "s3:*",
61
- "Condition": {
62
- "Bool": {
63
- "aws:SecureTransport": "false"
64
- }
65
- },
66
- "Effect": "Deny",
67
- "Principal": {
68
- "AWS": "*"
69
- },
70
- "Resource": [
71
- {
72
- "Fn::GetAtt": [
73
- "testkinesisfirehoses3S3BucketA8942735",
74
- "Arn"
75
- ]
76
- },
77
- {
78
- "Fn::Join": [
79
- "",
80
- [
81
- {
82
- "Fn::GetAtt": [
83
- "testkinesisfirehoses3S3BucketA8942735",
84
- "Arn"
85
- ]
86
- },
87
- "/*"
88
- ]
89
- ]
90
- }
91
- ]
92
- }
93
- ],
94
- "Version": "2012-10-17"
95
- }
96
- }
97
- },
98
- "testkinesisfirehoses3firehoseloggroup3D11FB0D": {
99
- "Type": "AWS::Logs::LogGroup",
100
- "UpdateReplacePolicy": "Retain",
101
- "DeletionPolicy": "Retain",
102
- "Metadata": {
103
- "cfn_nag": {
104
- "rules_to_suppress": [
105
- {
106
- "id": "W86",
107
- "reason": "Retention period for CloudWatchLogs LogGroups are set to 'Never Expire' to preserve customer data indefinitely"
108
- },
109
- {
110
- "id": "W84",
111
- "reason": "By default CloudWatchLogs LogGroups data is encrypted using the CloudWatch server-side encryption keys (AWS Managed Keys)"
112
- }
113
- ]
114
- }
115
- }
116
- },
117
- "testkinesisfirehoses3firehoseloggroupfirehoselogstream3C52AF00": {
118
- "Type": "AWS::Logs::LogStream",
119
- "Properties": {
120
- "LogGroupName": {
121
- "Ref": "testkinesisfirehoses3firehoseloggroup3D11FB0D"
122
- }
123
- },
124
- "UpdateReplacePolicy": "Retain",
125
- "DeletionPolicy": "Retain"
126
- },
127
- "testkinesisfirehoses3KinesisFirehoseRoleB23C3E93": {
128
- "Type": "AWS::IAM::Role",
129
- "Properties": {
130
- "AssumeRolePolicyDocument": {
131
- "Statement": [
132
- {
133
- "Action": "sts:AssumeRole",
134
- "Effect": "Allow",
135
- "Principal": {
136
- "Service": "firehose.amazonaws.com"
137
- }
138
- }
139
- ],
140
- "Version": "2012-10-17"
141
- }
142
- }
143
- },
144
- "testkinesisfirehoses3KinesisFirehosePolicy148BE6A6": {
145
- "Type": "AWS::IAM::Policy",
146
- "Properties": {
147
- "PolicyDocument": {
148
- "Statement": [
149
- {
150
- "Action": [
151
- "s3:AbortMultipartUpload",
152
- "s3:GetBucketLocation",
153
- "s3:GetObject",
154
- "s3:ListBucket",
155
- "s3:ListBucketMultipartUploads",
156
- "s3:PutObject"
157
- ],
158
- "Effect": "Allow",
159
- "Resource": [
160
- {
161
- "Fn::GetAtt": [
162
- "testkinesisfirehoses3S3BucketA8942735",
163
- "Arn"
164
- ]
165
- },
166
- {
167
- "Fn::Join": [
168
- "",
169
- [
170
- {
171
- "Fn::GetAtt": [
172
- "testkinesisfirehoses3S3BucketA8942735",
173
- "Arn"
174
- ]
175
- },
176
- "/*"
177
- ]
178
- ]
179
- }
180
- ]
181
- },
182
- {
183
- "Action": "logs:PutLogEvents",
184
- "Effect": "Allow",
185
- "Resource": {
186
- "Fn::Join": [
187
- "",
188
- [
189
- "arn:",
190
- {
191
- "Ref": "AWS::Partition"
192
- },
193
- ":logs:",
194
- {
195
- "Ref": "AWS::Region"
196
- },
197
- ":",
198
- {
199
- "Ref": "AWS::AccountId"
200
- },
201
- ":log-group:",
202
- {
203
- "Ref": "testkinesisfirehoses3firehoseloggroup3D11FB0D"
204
- },
205
- ":log-stream:",
206
- {
207
- "Ref": "testkinesisfirehoses3firehoseloggroupfirehoselogstream3C52AF00"
208
- }
209
- ]
210
- ]
211
- }
212
- }
213
- ],
214
- "Version": "2012-10-17"
215
- },
216
- "PolicyName": "testkinesisfirehoses3KinesisFirehosePolicy148BE6A6",
217
- "Roles": [
218
- {
219
- "Ref": "testkinesisfirehoses3KinesisFirehoseRoleB23C3E93"
220
- }
221
- ]
222
- }
223
- },
224
- "testkinesisfirehoses3KinesisFirehose92F73280": {
225
- "Type": "AWS::KinesisFirehose::DeliveryStream",
226
- "Properties": {
227
- "DeliveryStreamEncryptionConfigurationInput": {
228
- "KeyType": "AWS_OWNED_CMK"
229
- },
230
- "DeliveryStreamName": "KinesisFirehosefhss3noLoggingBuckettestkinesisfirehoses33B5B3D4F",
231
- "ExtendedS3DestinationConfiguration": {
232
- "BucketARN": {
233
- "Fn::GetAtt": [
234
- "testkinesisfirehoses3S3BucketA8942735",
235
- "Arn"
236
- ]
237
- },
238
- "BufferingHints": {
239
- "IntervalInSeconds": 300,
240
- "SizeInMBs": 5
241
- },
242
- "CloudWatchLoggingOptions": {
243
- "Enabled": true,
244
- "LogGroupName": {
245
- "Ref": "testkinesisfirehoses3firehoseloggroup3D11FB0D"
246
- },
247
- "LogStreamName": {
248
- "Ref": "testkinesisfirehoses3firehoseloggroupfirehoselogstream3C52AF00"
249
- }
250
- },
251
- "CompressionFormat": "GZIP",
252
- "EncryptionConfiguration": {
253
- "KMSEncryptionConfig": {
254
- "AWSKMSKeyARN": {
255
- "Fn::Join": [
256
- "",
257
- [
258
- "arn:",
259
- {
260
- "Ref": "AWS::Partition"
261
- },
262
- ":kms:",
263
- {
264
- "Ref": "AWS::Region"
265
- },
266
- ":",
267
- {
268
- "Ref": "AWS::AccountId"
269
- },
270
- ":alias/aws/s3"
271
- ]
272
- ]
273
- }
274
- }
275
- },
276
- "RoleARN": {
277
- "Fn::GetAtt": [
278
- "testkinesisfirehoses3KinesisFirehoseRoleB23C3E93",
279
- "Arn"
280
- ]
281
- }
282
- }
283
- }
284
- }
285
- },
286
- "Parameters": {
287
- "BootstrapVersion": {
288
- "Type": "AWS::SSM::Parameter::Value<String>",
289
- "Default": "/cdk-bootstrap/hnb659fds/version",
290
- "Description": "Version of the CDK Bootstrap resources in this environment, automatically retrieved from SSM Parameter Store. [cdk:skip]"
291
- }
292
- },
293
- "Rules": {
294
- "CheckBootstrapVersion": {
295
- "Assertions": [
296
- {
297
- "Assert": {
298
- "Fn::Not": [
299
- {
300
- "Fn::Contains": [
301
- [
302
- "1",
303
- "2",
304
- "3",
305
- "4",
306
- "5"
307
- ],
308
- {
309
- "Ref": "BootstrapVersion"
310
- }
311
- ]
312
- }
313
- ]
314
- },
315
- "AssertDescription": "CDK bootstrap stack version 6 required. Please run 'cdk bootstrap' with a recent version of the CDK CLI."
316
- }
317
- ]
318
- }
319
- }
320
- }