@aws-solutions-constructs/aws-kinesisfirehose-s3 2.102.0 → 2.103.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.
- package/.jsii +78 -4
- package/lib/index.js +1 -1
- package/package.json +6 -6
- package/test/integ.fhss3-customLoggingBucket.js.snapshot/asset.faa95a81ae7d7373f3e1f242268f904eb748d8d0fdd306e8a6fe515a1905a7d6/index.js +1 -0
- package/test/integ.fhss3-customLoggingBucket.js.snapshot/cdk.out +1 -1
- package/test/integ.fhss3-customLoggingBucket.js.snapshot/fhss3-customLoggingBucket.assets.json +4 -4
- package/test/integ.fhss3-customLoggingBucket.js.snapshot/fhss3-customLoggingBucket.metadata.json +271 -0
- package/test/integ.fhss3-customLoggingBucket.js.snapshot/fhss3-customLoggingBucket.template.json +1 -1
- package/test/integ.fhss3-customLoggingBucket.js.snapshot/fhss3customLoggingBucketIntegDefaultTestDeployAssertA125B70A.assets.json +1 -1
- package/test/integ.fhss3-customLoggingBucket.js.snapshot/fhss3customLoggingBucketIntegDefaultTestDeployAssertA125B70A.metadata.json +14 -0
- package/test/integ.fhss3-customLoggingBucket.js.snapshot/integ.json +2 -2
- package/test/integ.fhss3-customLoggingBucket.js.snapshot/manifest.json +121 -332
- package/test/integ.fhss3-customLoggingBucket.js.snapshot/tree.json +1 -1
- package/test/integ.fhss3-no-arguments.js.snapshot/asset.faa95a81ae7d7373f3e1f242268f904eb748d8d0fdd306e8a6fe515a1905a7d6/index.js +1 -0
- package/test/integ.fhss3-no-arguments.js.snapshot/cdk.out +1 -1
- package/test/integ.fhss3-no-arguments.js.snapshot/fhss3-no-arguments.assets.json +4 -4
- package/test/integ.fhss3-no-arguments.js.snapshot/fhss3-no-arguments.metadata.json +277 -0
- package/test/integ.fhss3-no-arguments.js.snapshot/fhss3-no-arguments.template.json +1 -1
- package/test/integ.fhss3-no-arguments.js.snapshot/fhss3noargumentsIntegDefaultTestDeployAssert4B27D283.assets.json +1 -1
- package/test/integ.fhss3-no-arguments.js.snapshot/fhss3noargumentsIntegDefaultTestDeployAssert4B27D283.metadata.json +14 -0
- package/test/integ.fhss3-no-arguments.js.snapshot/integ.json +2 -2
- package/test/integ.fhss3-no-arguments.js.snapshot/manifest.json +121 -326
- package/test/integ.fhss3-no-arguments.js.snapshot/tree.json +1 -1
- package/test/integ.fhss3-pre-existing-bucket.js.snapshot/asset.faa95a81ae7d7373f3e1f242268f904eb748d8d0fdd306e8a6fe515a1905a7d6/index.js +1 -0
- package/test/integ.fhss3-pre-existing-bucket.js.snapshot/cdk.out +1 -1
- package/test/integ.fhss3-pre-existing-bucket.js.snapshot/fhss3-pre-existing-bucket.assets.json +4 -4
- package/test/integ.fhss3-pre-existing-bucket.js.snapshot/fhss3-pre-existing-bucket.metadata.json +256 -0
- package/test/integ.fhss3-pre-existing-bucket.js.snapshot/fhss3-pre-existing-bucket.template.json +1 -1
- package/test/integ.fhss3-pre-existing-bucket.js.snapshot/fhss3preexistingbucketIntegDefaultTestDeployAssert84EBBD2B.assets.json +1 -1
- package/test/integ.fhss3-pre-existing-bucket.js.snapshot/fhss3preexistingbucketIntegDefaultTestDeployAssert84EBBD2B.metadata.json +14 -0
- package/test/integ.fhss3-pre-existing-bucket.js.snapshot/integ.json +2 -2
- package/test/integ.fhss3-pre-existing-bucket.js.snapshot/manifest.json +121 -299
- package/test/integ.fhss3-pre-existing-bucket.js.snapshot/tree.json +1 -1
- package/test/integ.fhss3-pre-existing-logging-bucket.js.snapshot/asset.faa95a81ae7d7373f3e1f242268f904eb748d8d0fdd306e8a6fe515a1905a7d6/index.js +1 -0
- package/test/integ.fhss3-pre-existing-logging-bucket.js.snapshot/cdk.out +1 -1
- package/test/integ.fhss3-pre-existing-logging-bucket.js.snapshot/fhss3-pre-existing-logging-bucket.assets.json +4 -4
- package/test/integ.fhss3-pre-existing-logging-bucket.js.snapshot/fhss3-pre-existing-logging-bucket.metadata.json +333 -0
- package/test/integ.fhss3-pre-existing-logging-bucket.js.snapshot/fhss3-pre-existing-logging-bucket.template.json +1 -1
- package/test/integ.fhss3-pre-existing-logging-bucket.js.snapshot/fhss3preexistingloggingbucketIntegDefaultTestDeployAssert92015BF9.assets.json +1 -1
- package/test/integ.fhss3-pre-existing-logging-bucket.js.snapshot/fhss3preexistingloggingbucketIntegDefaultTestDeployAssert92015BF9.metadata.json +14 -0
- package/test/integ.fhss3-pre-existing-logging-bucket.js.snapshot/integ.json +2 -2
- package/test/integ.fhss3-pre-existing-logging-bucket.js.snapshot/manifest.json +121 -370
- package/test/integ.fhss3-pre-existing-logging-bucket.js.snapshot/tree.json +1 -1
- package/test/integ.fhss3-two-instances.js.snapshot/asset.faa95a81ae7d7373f3e1f242268f904eb748d8d0fdd306e8a6fe515a1905a7d6/index.js +1 -0
- package/test/integ.fhss3-two-instances.js.snapshot/cdk.out +1 -1
- package/test/integ.fhss3-two-instances.js.snapshot/fhss3-two-instances.assets.json +4 -4
- package/test/integ.fhss3-two-instances.js.snapshot/fhss3-two-instances.metadata.json +522 -0
- package/test/integ.fhss3-two-instances.js.snapshot/fhss3-two-instances.template.json +1 -1
- package/test/integ.fhss3-two-instances.js.snapshot/fhss3twoinstancesIntegDefaultTestDeployAssertFD2CF598.assets.json +1 -1
- package/test/integ.fhss3-two-instances.js.snapshot/fhss3twoinstancesIntegDefaultTestDeployAssertFD2CF598.metadata.json +14 -0
- package/test/integ.fhss3-two-instances.js.snapshot/integ.json +2 -2
- package/test/integ.fhss3-two-instances.js.snapshot/manifest.json +121 -553
- package/test/integ.fhss3-two-instances.js.snapshot/tree.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "
|
|
2
|
+
"version": "54.0.0",
|
|
3
3
|
"artifacts": {
|
|
4
4
|
"fhss3preexistingbucketIntegDefaultTestDeployAssert84EBBD2B.assets": {
|
|
5
5
|
"type": "cdk:asset-manifest",
|
|
@@ -33,20 +33,7 @@
|
|
|
33
33
|
"dependencies": [
|
|
34
34
|
"fhss3preexistingbucketIntegDefaultTestDeployAssert84EBBD2B.assets"
|
|
35
35
|
],
|
|
36
|
-
"
|
|
37
|
-
"/fhss3-pre-existing-bucket/Integ/DefaultTest/DeployAssert/BootstrapVersion": [
|
|
38
|
-
{
|
|
39
|
-
"type": "aws:cdk:logicalId",
|
|
40
|
-
"data": "BootstrapVersion"
|
|
41
|
-
}
|
|
42
|
-
],
|
|
43
|
-
"/fhss3-pre-existing-bucket/Integ/DefaultTest/DeployAssert/CheckBootstrapVersion": [
|
|
44
|
-
{
|
|
45
|
-
"type": "aws:cdk:logicalId",
|
|
46
|
-
"data": "CheckBootstrapVersion"
|
|
47
|
-
}
|
|
48
|
-
]
|
|
49
|
-
},
|
|
36
|
+
"additionalMetadataFile": "fhss3preexistingbucketIntegDefaultTestDeployAssert84EBBD2B.metadata.json",
|
|
50
37
|
"displayName": "fhss3-pre-existing-bucket/Integ/DefaultTest/DeployAssert"
|
|
51
38
|
},
|
|
52
39
|
"fhss3-pre-existing-bucket.assets": {
|
|
@@ -66,7 +53,7 @@
|
|
|
66
53
|
"validateOnSynth": false,
|
|
67
54
|
"assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-deploy-role-${AWS::AccountId}-${AWS::Region}",
|
|
68
55
|
"cloudFormationExecutionRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-cfn-exec-role-${AWS::AccountId}-${AWS::Region}",
|
|
69
|
-
"stackTemplateAssetObjectUrl": "s3://cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}/
|
|
56
|
+
"stackTemplateAssetObjectUrl": "s3://cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}/c005a08e3c3e7f2a535010ec56bfcc39f0227d5815e8ab6fca6b3522a682b3e8.json",
|
|
70
57
|
"requiresBootstrapStackVersion": 6,
|
|
71
58
|
"bootstrapStackVersionSsmParameter": "/cdk-bootstrap/hnb659fds/version",
|
|
72
59
|
"additionalDependencies": [
|
|
@@ -81,238 +68,7 @@
|
|
|
81
68
|
"dependencies": [
|
|
82
69
|
"fhss3-pre-existing-bucket.assets"
|
|
83
70
|
],
|
|
84
|
-
"
|
|
85
|
-
"/fhss3-pre-existing-bucket/scrapBucketLog": [
|
|
86
|
-
{
|
|
87
|
-
"type": "aws:cdk:analytics:construct",
|
|
88
|
-
"data": {
|
|
89
|
-
"versioned": true,
|
|
90
|
-
"removalPolicy": "destroy",
|
|
91
|
-
"autoDeleteObjects": true,
|
|
92
|
-
"encryption": "S3_MANAGED",
|
|
93
|
-
"enforceSSL": true
|
|
94
|
-
}
|
|
95
|
-
}
|
|
96
|
-
],
|
|
97
|
-
"/fhss3-pre-existing-bucket/scrapBucketLog/Resource": [
|
|
98
|
-
{
|
|
99
|
-
"type": "aws:cdk:logicalId",
|
|
100
|
-
"data": "scrapBucketLog7B53B25C"
|
|
101
|
-
}
|
|
102
|
-
],
|
|
103
|
-
"/fhss3-pre-existing-bucket/scrapBucketLog/Policy": [
|
|
104
|
-
{
|
|
105
|
-
"type": "aws:cdk:analytics:construct",
|
|
106
|
-
"data": {
|
|
107
|
-
"bucket": "*"
|
|
108
|
-
}
|
|
109
|
-
}
|
|
110
|
-
],
|
|
111
|
-
"/fhss3-pre-existing-bucket/scrapBucketLog/Policy/Resource": [
|
|
112
|
-
{
|
|
113
|
-
"type": "aws:cdk:logicalId",
|
|
114
|
-
"data": "scrapBucketLogPolicy2972C573"
|
|
115
|
-
}
|
|
116
|
-
],
|
|
117
|
-
"/fhss3-pre-existing-bucket/scrapBucketLog/AutoDeleteObjectsCustomResource": [
|
|
118
|
-
{
|
|
119
|
-
"type": "aws:cdk:analytics:construct",
|
|
120
|
-
"data": "*"
|
|
121
|
-
}
|
|
122
|
-
],
|
|
123
|
-
"/fhss3-pre-existing-bucket/scrapBucketLog/AutoDeleteObjectsCustomResource/Default": [
|
|
124
|
-
{
|
|
125
|
-
"type": "aws:cdk:logicalId",
|
|
126
|
-
"data": "scrapBucketLogAutoDeleteObjectsCustomResource307F3D47"
|
|
127
|
-
}
|
|
128
|
-
],
|
|
129
|
-
"/fhss3-pre-existing-bucket/Custom::S3AutoDeleteObjectsCustomResourceProvider": [
|
|
130
|
-
{
|
|
131
|
-
"type": "aws:cdk:is-custom-resource-handler-customResourceProvider",
|
|
132
|
-
"data": true
|
|
133
|
-
}
|
|
134
|
-
],
|
|
135
|
-
"/fhss3-pre-existing-bucket/Custom::S3AutoDeleteObjectsCustomResourceProvider/Role": [
|
|
136
|
-
{
|
|
137
|
-
"type": "aws:cdk:logicalId",
|
|
138
|
-
"data": "CustomS3AutoDeleteObjectsCustomResourceProviderRole3B1BD092"
|
|
139
|
-
}
|
|
140
|
-
],
|
|
141
|
-
"/fhss3-pre-existing-bucket/Custom::S3AutoDeleteObjectsCustomResourceProvider/Handler": [
|
|
142
|
-
{
|
|
143
|
-
"type": "aws:cdk:logicalId",
|
|
144
|
-
"data": "CustomS3AutoDeleteObjectsCustomResourceProviderHandler9D90184F"
|
|
145
|
-
}
|
|
146
|
-
],
|
|
147
|
-
"/fhss3-pre-existing-bucket/scrapBucket": [
|
|
148
|
-
{
|
|
149
|
-
"type": "aws:cdk:analytics:construct",
|
|
150
|
-
"data": {
|
|
151
|
-
"versioned": true,
|
|
152
|
-
"removalPolicy": "destroy",
|
|
153
|
-
"autoDeleteObjects": true,
|
|
154
|
-
"encryption": "S3_MANAGED",
|
|
155
|
-
"enforceSSL": true,
|
|
156
|
-
"serverAccessLogsBucket": "*"
|
|
157
|
-
}
|
|
158
|
-
}
|
|
159
|
-
],
|
|
160
|
-
"/fhss3-pre-existing-bucket/scrapBucket/Resource": [
|
|
161
|
-
{
|
|
162
|
-
"type": "aws:cdk:logicalId",
|
|
163
|
-
"data": "scrapBucketB11863B7"
|
|
164
|
-
}
|
|
165
|
-
],
|
|
166
|
-
"/fhss3-pre-existing-bucket/scrapBucket/Policy": [
|
|
167
|
-
{
|
|
168
|
-
"type": "aws:cdk:analytics:construct",
|
|
169
|
-
"data": {
|
|
170
|
-
"bucket": "*"
|
|
171
|
-
}
|
|
172
|
-
}
|
|
173
|
-
],
|
|
174
|
-
"/fhss3-pre-existing-bucket/scrapBucket/Policy/Resource": [
|
|
175
|
-
{
|
|
176
|
-
"type": "aws:cdk:logicalId",
|
|
177
|
-
"data": "scrapBucketPolicy189B0607"
|
|
178
|
-
}
|
|
179
|
-
],
|
|
180
|
-
"/fhss3-pre-existing-bucket/scrapBucket/AutoDeleteObjectsCustomResource": [
|
|
181
|
-
{
|
|
182
|
-
"type": "aws:cdk:analytics:construct",
|
|
183
|
-
"data": "*"
|
|
184
|
-
}
|
|
185
|
-
],
|
|
186
|
-
"/fhss3-pre-existing-bucket/scrapBucket/AutoDeleteObjectsCustomResource/Default": [
|
|
187
|
-
{
|
|
188
|
-
"type": "aws:cdk:logicalId",
|
|
189
|
-
"data": "scrapBucketAutoDeleteObjectsCustomResourceFFFC3275"
|
|
190
|
-
}
|
|
191
|
-
],
|
|
192
|
-
"/fhss3-pre-existing-bucket/test-firehose-s3-pre-existing-bucket-stack/firehose-log-group": [
|
|
193
|
-
{
|
|
194
|
-
"type": "aws:cdk:analytics:construct",
|
|
195
|
-
"data": {
|
|
196
|
-
"retention": 9999
|
|
197
|
-
}
|
|
198
|
-
}
|
|
199
|
-
],
|
|
200
|
-
"/fhss3-pre-existing-bucket/test-firehose-s3-pre-existing-bucket-stack/firehose-log-group/Resource": [
|
|
201
|
-
{
|
|
202
|
-
"type": "aws:cdk:logicalId",
|
|
203
|
-
"data": "testfirehoses3preexistingbucketstackfirehoseloggroupC6AF6572"
|
|
204
|
-
}
|
|
205
|
-
],
|
|
206
|
-
"/fhss3-pre-existing-bucket/test-firehose-s3-pre-existing-bucket-stack/firehose-log-group/firehose-log-stream": [
|
|
207
|
-
{
|
|
208
|
-
"type": "aws:cdk:analytics:construct",
|
|
209
|
-
"data": {
|
|
210
|
-
"logGroup": "*"
|
|
211
|
-
}
|
|
212
|
-
}
|
|
213
|
-
],
|
|
214
|
-
"/fhss3-pre-existing-bucket/test-firehose-s3-pre-existing-bucket-stack/firehose-log-group/firehose-log-stream/Resource": [
|
|
215
|
-
{
|
|
216
|
-
"type": "aws:cdk:logicalId",
|
|
217
|
-
"data": "testfirehoses3preexistingbucketstackfirehoseloggroupfirehoselogstreamDCA77A8C"
|
|
218
|
-
}
|
|
219
|
-
],
|
|
220
|
-
"/fhss3-pre-existing-bucket/test-firehose-s3-pre-existing-bucket-stack/KinesisFirehoseRole": [
|
|
221
|
-
{
|
|
222
|
-
"type": "aws:cdk:analytics:construct",
|
|
223
|
-
"data": {
|
|
224
|
-
"assumedBy": {
|
|
225
|
-
"principalAccount": "*",
|
|
226
|
-
"assumeRoleAction": "*"
|
|
227
|
-
}
|
|
228
|
-
}
|
|
229
|
-
},
|
|
230
|
-
{
|
|
231
|
-
"type": "aws:cdk:analytics:method",
|
|
232
|
-
"data": {
|
|
233
|
-
"attachInlinePolicy": [
|
|
234
|
-
"*"
|
|
235
|
-
]
|
|
236
|
-
}
|
|
237
|
-
}
|
|
238
|
-
],
|
|
239
|
-
"/fhss3-pre-existing-bucket/test-firehose-s3-pre-existing-bucket-stack/KinesisFirehoseRole/ImportKinesisFirehoseRole": [
|
|
240
|
-
{
|
|
241
|
-
"type": "aws:cdk:analytics:construct",
|
|
242
|
-
"data": "*"
|
|
243
|
-
}
|
|
244
|
-
],
|
|
245
|
-
"/fhss3-pre-existing-bucket/test-firehose-s3-pre-existing-bucket-stack/KinesisFirehoseRole/Resource": [
|
|
246
|
-
{
|
|
247
|
-
"type": "aws:cdk:logicalId",
|
|
248
|
-
"data": "testfirehoses3preexistingbucketstackKinesisFirehoseRole84325204"
|
|
249
|
-
}
|
|
250
|
-
],
|
|
251
|
-
"/fhss3-pre-existing-bucket/test-firehose-s3-pre-existing-bucket-stack/KinesisFirehosePolicy": [
|
|
252
|
-
{
|
|
253
|
-
"type": "aws:cdk:analytics:construct",
|
|
254
|
-
"data": {
|
|
255
|
-
"statements": "*"
|
|
256
|
-
}
|
|
257
|
-
},
|
|
258
|
-
{
|
|
259
|
-
"type": "aws:cdk:analytics:method",
|
|
260
|
-
"data": {
|
|
261
|
-
"addStatements": [
|
|
262
|
-
{}
|
|
263
|
-
]
|
|
264
|
-
}
|
|
265
|
-
},
|
|
266
|
-
{
|
|
267
|
-
"type": "aws:cdk:analytics:method",
|
|
268
|
-
"data": {
|
|
269
|
-
"addStatements": [
|
|
270
|
-
{}
|
|
271
|
-
]
|
|
272
|
-
}
|
|
273
|
-
},
|
|
274
|
-
{
|
|
275
|
-
"type": "aws:cdk:analytics:method",
|
|
276
|
-
"data": {
|
|
277
|
-
"attachToRole": [
|
|
278
|
-
"*"
|
|
279
|
-
]
|
|
280
|
-
}
|
|
281
|
-
},
|
|
282
|
-
{
|
|
283
|
-
"type": "aws:cdk:analytics:method",
|
|
284
|
-
"data": {
|
|
285
|
-
"attachToRole": [
|
|
286
|
-
"*"
|
|
287
|
-
]
|
|
288
|
-
}
|
|
289
|
-
}
|
|
290
|
-
],
|
|
291
|
-
"/fhss3-pre-existing-bucket/test-firehose-s3-pre-existing-bucket-stack/KinesisFirehosePolicy/Resource": [
|
|
292
|
-
{
|
|
293
|
-
"type": "aws:cdk:logicalId",
|
|
294
|
-
"data": "testfirehoses3preexistingbucketstackKinesisFirehosePolicy1A30B0A8"
|
|
295
|
-
}
|
|
296
|
-
],
|
|
297
|
-
"/fhss3-pre-existing-bucket/test-firehose-s3-pre-existing-bucket-stack/KinesisFirehose": [
|
|
298
|
-
{
|
|
299
|
-
"type": "aws:cdk:logicalId",
|
|
300
|
-
"data": "testfirehoses3preexistingbucketstackKinesisFirehoseCBFE01D6"
|
|
301
|
-
}
|
|
302
|
-
],
|
|
303
|
-
"/fhss3-pre-existing-bucket/BootstrapVersion": [
|
|
304
|
-
{
|
|
305
|
-
"type": "aws:cdk:logicalId",
|
|
306
|
-
"data": "BootstrapVersion"
|
|
307
|
-
}
|
|
308
|
-
],
|
|
309
|
-
"/fhss3-pre-existing-bucket/CheckBootstrapVersion": [
|
|
310
|
-
{
|
|
311
|
-
"type": "aws:cdk:logicalId",
|
|
312
|
-
"data": "CheckBootstrapVersion"
|
|
313
|
-
}
|
|
314
|
-
]
|
|
315
|
-
},
|
|
71
|
+
"additionalMetadataFile": "fhss3-pre-existing-bucket.metadata.json",
|
|
316
72
|
"displayName": "fhss3-pre-existing-bucket"
|
|
317
73
|
},
|
|
318
74
|
"Tree": {
|
|
@@ -326,57 +82,50 @@
|
|
|
326
82
|
"properties": {
|
|
327
83
|
"module": "aws-cdk-lib",
|
|
328
84
|
"flags": {
|
|
329
|
-
"@aws-cdk/
|
|
330
|
-
"
|
|
331
|
-
"explanation": "Allow multiple stacks with the same name"
|
|
332
|
-
},
|
|
333
|
-
"aws-cdk:enableDiffNoFail": {
|
|
85
|
+
"@aws-cdk/aws-signer:signingProfileNamePassedToCfn": {
|
|
86
|
+
"userValue": true,
|
|
334
87
|
"recommendedValue": true,
|
|
335
|
-
"explanation": "
|
|
88
|
+
"explanation": "Pass signingProfileName to CfnSigningProfile"
|
|
336
89
|
},
|
|
337
90
|
"@aws-cdk/core:newStyleStackSynthesis": {
|
|
338
91
|
"recommendedValue": true,
|
|
339
|
-
"explanation": "Switch to new stack synthesis method which enables CI/CD"
|
|
92
|
+
"explanation": "Switch to new stack synthesis method which enables CI/CD",
|
|
93
|
+
"unconfiguredBehavesLike": {
|
|
94
|
+
"v2": true
|
|
95
|
+
}
|
|
340
96
|
},
|
|
341
97
|
"@aws-cdk/core:stackRelativeExports": {
|
|
342
98
|
"recommendedValue": true,
|
|
343
|
-
"explanation": "Name exports based on the construct paths relative to the stack, rather than the global construct path"
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
"explanation": "DockerImageAsset properly supports `.dockerignore` files by default"
|
|
348
|
-
},
|
|
349
|
-
"@aws-cdk/aws-secretsmanager:parseOwnedSecretName": {
|
|
350
|
-
"recommendedValue": true,
|
|
351
|
-
"explanation": "Fix the referencing of SecretsManager names from ARNs"
|
|
352
|
-
},
|
|
353
|
-
"@aws-cdk/aws-kms:defaultKeyPolicies": {
|
|
354
|
-
"recommendedValue": true,
|
|
355
|
-
"explanation": "Tighten default KMS key policies"
|
|
356
|
-
},
|
|
357
|
-
"@aws-cdk/aws-s3:grantWriteWithoutAcl": {
|
|
358
|
-
"recommendedValue": true,
|
|
359
|
-
"explanation": "Remove `PutObjectAcl` from Bucket.grantWrite"
|
|
99
|
+
"explanation": "Name exports based on the construct paths relative to the stack, rather than the global construct path",
|
|
100
|
+
"unconfiguredBehavesLike": {
|
|
101
|
+
"v2": true
|
|
102
|
+
}
|
|
360
103
|
},
|
|
361
|
-
"@aws-cdk/aws-ecs-patterns:
|
|
104
|
+
"@aws-cdk/aws-ecs-patterns:secGroupsDisablesImplicitOpenListener": {
|
|
105
|
+
"userValue": true,
|
|
362
106
|
"recommendedValue": true,
|
|
363
|
-
"explanation": "
|
|
107
|
+
"explanation": "Disable implicit openListener when custom security groups are provided"
|
|
364
108
|
},
|
|
365
109
|
"@aws-cdk/aws-rds:lowercaseDbIdentifier": {
|
|
366
110
|
"recommendedValue": true,
|
|
367
|
-
"explanation": "Force lowercasing of RDS Cluster names in CDK"
|
|
111
|
+
"explanation": "Force lowercasing of RDS Cluster names in CDK",
|
|
112
|
+
"unconfiguredBehavesLike": {
|
|
113
|
+
"v2": true
|
|
114
|
+
}
|
|
368
115
|
},
|
|
369
116
|
"@aws-cdk/aws-apigateway:usagePlanKeyOrderInsensitiveId": {
|
|
370
117
|
"recommendedValue": true,
|
|
371
|
-
"explanation": "Allow adding/removing multiple UsagePlanKeys independently"
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
"explanation": "Enable this feature flag to have elastic file systems encrypted at rest by default."
|
|
118
|
+
"explanation": "Allow adding/removing multiple UsagePlanKeys independently",
|
|
119
|
+
"unconfiguredBehavesLike": {
|
|
120
|
+
"v2": true
|
|
121
|
+
}
|
|
376
122
|
},
|
|
377
123
|
"@aws-cdk/aws-lambda:recognizeVersionProps": {
|
|
378
124
|
"recommendedValue": true,
|
|
379
|
-
"explanation": "Enable this feature flag to opt in to the updated logical id calculation for Lambda Version created using the `fn.currentVersion`."
|
|
125
|
+
"explanation": "Enable this feature flag to opt in to the updated logical id calculation for Lambda Version created using the `fn.currentVersion`.",
|
|
126
|
+
"unconfiguredBehavesLike": {
|
|
127
|
+
"v2": true
|
|
128
|
+
}
|
|
380
129
|
},
|
|
381
130
|
"@aws-cdk/aws-lambda:recognizeLayerVersion": {
|
|
382
131
|
"userValue": true,
|
|
@@ -385,7 +134,10 @@
|
|
|
385
134
|
},
|
|
386
135
|
"@aws-cdk/aws-cloudfront:defaultSecurityPolicyTLSv1.2_2021": {
|
|
387
136
|
"recommendedValue": true,
|
|
388
|
-
"explanation": "Enable this feature flag to have cloudfront distributions use the security policy TLSv1.2_2021 by default."
|
|
137
|
+
"explanation": "Enable this feature flag to have cloudfront distributions use the security policy TLSv1.2_2021 by default.",
|
|
138
|
+
"unconfiguredBehavesLike": {
|
|
139
|
+
"v2": true
|
|
140
|
+
}
|
|
389
141
|
},
|
|
390
142
|
"@aws-cdk/core:checkSecretUsage": {
|
|
391
143
|
"userValue": true,
|
|
@@ -462,7 +214,7 @@
|
|
|
462
214
|
"@aws-cdk/aws-iam:importedRoleStackSafeDefaultPolicyName": {
|
|
463
215
|
"userValue": true,
|
|
464
216
|
"recommendedValue": true,
|
|
465
|
-
"explanation": "Enable this feature to
|
|
217
|
+
"explanation": "Enable this feature to create default policy names for imported roles that depend on the stack the role is in."
|
|
466
218
|
},
|
|
467
219
|
"@aws-cdk/aws-s3:serverAccessLogsUseBucketPolicy": {
|
|
468
220
|
"userValue": true,
|
|
@@ -606,13 +358,21 @@
|
|
|
606
358
|
},
|
|
607
359
|
"@aws-cdk/pipelines:reduceAssetRoleTrustScope": {
|
|
608
360
|
"recommendedValue": true,
|
|
609
|
-
"explanation": "Remove the root account principal from PipelineAssetsFileRole trust policy"
|
|
361
|
+
"explanation": "Remove the root account principal from PipelineAssetsFileRole trust policy",
|
|
362
|
+
"unconfiguredBehavesLike": {
|
|
363
|
+
"v2": true
|
|
364
|
+
}
|
|
610
365
|
},
|
|
611
366
|
"@aws-cdk/aws-eks:nodegroupNameAttribute": {
|
|
612
367
|
"userValue": true,
|
|
613
368
|
"recommendedValue": true,
|
|
614
369
|
"explanation": "When enabled, nodegroupName attribute of the provisioned EKS NodeGroup will not have the cluster name prefix."
|
|
615
370
|
},
|
|
371
|
+
"@aws-cdk/aws-eks:useNativeOidcProvider": {
|
|
372
|
+
"userValue": true,
|
|
373
|
+
"recommendedValue": true,
|
|
374
|
+
"explanation": "When enabled, EKS V2 clusters will use the native OIDC provider resource AWS::IAM::OIDCProvider instead of creating the OIDCProvider with a custom resource (iam.OpenIDConnectProvider)."
|
|
375
|
+
},
|
|
616
376
|
"@aws-cdk/aws-ec2:ebsDefaultGp3Volume": {
|
|
617
377
|
"userValue": true,
|
|
618
378
|
"recommendedValue": true,
|
|
@@ -635,23 +395,16 @@
|
|
|
635
395
|
},
|
|
636
396
|
"@aws-cdk/aws-stepfunctions-tasks:useNewS3UriParametersForBedrockInvokeModelTask": {
|
|
637
397
|
"recommendedValue": true,
|
|
638
|
-
"explanation": "When enabled, use new props for S3 URI field in task definition of state machine for bedrock invoke model."
|
|
398
|
+
"explanation": "When enabled, use new props for S3 URI field in task definition of state machine for bedrock invoke model.",
|
|
399
|
+
"unconfiguredBehavesLike": {
|
|
400
|
+
"v2": true
|
|
401
|
+
}
|
|
639
402
|
},
|
|
640
403
|
"@aws-cdk/core:explicitStackTags": {
|
|
641
404
|
"userValue": true,
|
|
642
405
|
"recommendedValue": true,
|
|
643
406
|
"explanation": "When enabled, stack tags need to be assigned explicitly on a Stack."
|
|
644
407
|
},
|
|
645
|
-
"@aws-cdk/aws-ecs:enableImdsBlockingDeprecatedFeature": {
|
|
646
|
-
"userValue": false,
|
|
647
|
-
"recommendedValue": false,
|
|
648
|
-
"explanation": "When set to true along with canContainersAccessInstanceRole=false in ECS cluster, new updated commands will be added to UserData to block container accessing IMDS. **Applicable to Linux only. IMPORTANT: See [details.](#aws-cdkaws-ecsenableImdsBlockingDeprecatedFeature)**"
|
|
649
|
-
},
|
|
650
|
-
"@aws-cdk/aws-ecs:disableEcsImdsBlocking": {
|
|
651
|
-
"userValue": true,
|
|
652
|
-
"recommendedValue": true,
|
|
653
|
-
"explanation": "When set to true, CDK synth will throw exception if canContainersAccessInstanceRole is false. **IMPORTANT: See [details.](#aws-cdkaws-ecsdisableEcsImdsBlocking)**"
|
|
654
|
-
},
|
|
655
408
|
"@aws-cdk/aws-ecs:reduceEc2FargateCloudWatchPermissions": {
|
|
656
409
|
"userValue": true,
|
|
657
410
|
"recommendedValue": true,
|
|
@@ -699,7 +452,10 @@
|
|
|
699
452
|
},
|
|
700
453
|
"@aws-cdk/core:aspectStabilization": {
|
|
701
454
|
"recommendedValue": true,
|
|
702
|
-
"explanation": "When enabled, a stabilization loop will be run when invoking Aspects during synthesis."
|
|
455
|
+
"explanation": "When enabled, a stabilization loop will be run when invoking Aspects during synthesis.",
|
|
456
|
+
"unconfiguredBehavesLike": {
|
|
457
|
+
"v2": true
|
|
458
|
+
}
|
|
703
459
|
},
|
|
704
460
|
"@aws-cdk/aws-route53-targets:userPoolDomainNameMethodWithoutCustomResource": {
|
|
705
461
|
"userValue": true,
|
|
@@ -733,7 +489,10 @@
|
|
|
733
489
|
},
|
|
734
490
|
"@aws-cdk/pipelines:reduceStageRoleTrustScope": {
|
|
735
491
|
"recommendedValue": true,
|
|
736
|
-
"explanation": "Remove the root account principal from Stage addActions trust policy"
|
|
492
|
+
"explanation": "Remove the root account principal from Stage addActions trust policy",
|
|
493
|
+
"unconfiguredBehavesLike": {
|
|
494
|
+
"v2": true
|
|
495
|
+
}
|
|
737
496
|
},
|
|
738
497
|
"@aws-cdk/aws-events:requireEventBusPolicySid": {
|
|
739
498
|
"userValue": true,
|
|
@@ -756,7 +515,10 @@
|
|
|
756
515
|
},
|
|
757
516
|
"@aws-cdk/pipelines:reduceCrossAccountActionRoleTrustScope": {
|
|
758
517
|
"recommendedValue": true,
|
|
759
|
-
"explanation": "When enabled, scopes down the trust policy for the cross-account action role"
|
|
518
|
+
"explanation": "When enabled, scopes down the trust policy for the cross-account action role",
|
|
519
|
+
"unconfiguredBehavesLike": {
|
|
520
|
+
"v2": true
|
|
521
|
+
}
|
|
760
522
|
},
|
|
761
523
|
"@aws-cdk/aws-stepfunctions:useDistributedMapResultWriterV2": {
|
|
762
524
|
"userValue": true,
|
|
@@ -786,10 +548,70 @@
|
|
|
786
548
|
"userValue": true,
|
|
787
549
|
"recommendedValue": true,
|
|
788
550
|
"explanation": "When enabled, CDK creates and manages loggroup for the lambda function"
|
|
551
|
+
},
|
|
552
|
+
"@aws-cdk/aws-elasticloadbalancingv2:networkLoadBalancerWithSecurityGroupByDefault": {
|
|
553
|
+
"userValue": true,
|
|
554
|
+
"recommendedValue": true,
|
|
555
|
+
"explanation": "When enabled, Network Load Balancer will be created with a security group by default."
|
|
556
|
+
},
|
|
557
|
+
"@aws-cdk/aws-stepfunctions-tasks:httpInvokeDynamicJsonPathEndpoint": {
|
|
558
|
+
"recommendedValue": true,
|
|
559
|
+
"explanation": "When enabled, allows using a dynamic apiEndpoint with JSONPath format in HttpInvoke tasks.",
|
|
560
|
+
"unconfiguredBehavesLike": {
|
|
561
|
+
"v2": true
|
|
562
|
+
}
|
|
563
|
+
},
|
|
564
|
+
"@aws-cdk/aws-ecs-patterns:uniqueTargetGroupId": {
|
|
565
|
+
"userValue": true,
|
|
566
|
+
"recommendedValue": true,
|
|
567
|
+
"explanation": "When enabled, ECS patterns will generate unique target group IDs to prevent conflicts during load balancer replacement"
|
|
568
|
+
},
|
|
569
|
+
"@aws-cdk/aws-route53-patterns:useDistribution": {
|
|
570
|
+
"userValue": true,
|
|
571
|
+
"recommendedValue": true,
|
|
572
|
+
"explanation": "Use the `Distribution` resource instead of `CloudFrontWebDistribution`"
|
|
573
|
+
},
|
|
574
|
+
"@aws-cdk/aws-cloudfront:defaultFunctionRuntimeV2_0": {
|
|
575
|
+
"userValue": true,
|
|
576
|
+
"recommendedValue": true,
|
|
577
|
+
"explanation": "Use cloudfront-js-2.0 as the default runtime for CloudFront Functions"
|
|
578
|
+
},
|
|
579
|
+
"@aws-cdk/aws-elasticloadbalancingv2:usePostQuantumTlsPolicy": {
|
|
580
|
+
"userValue": true,
|
|
581
|
+
"recommendedValue": true,
|
|
582
|
+
"explanation": "When enabled, HTTPS/TLS listeners use post-quantum TLS policy by default"
|
|
583
|
+
},
|
|
584
|
+
"@aws-cdk/core:automaticL1Traits": {
|
|
585
|
+
"recommendedValue": true,
|
|
586
|
+
"explanation": "Automatically use the default L1 traits for L1 constructs`",
|
|
587
|
+
"unconfiguredBehavesLike": {
|
|
588
|
+
"v2": true
|
|
589
|
+
}
|
|
590
|
+
},
|
|
591
|
+
"@aws-cdk/aws-batch:defaultToAL2023": {
|
|
592
|
+
"userValue": true,
|
|
593
|
+
"recommendedValue": true,
|
|
594
|
+
"explanation": "Use AL2023 as the default imageType for EC2 Batch compute environments instead of the deprecated AL2"
|
|
595
|
+
},
|
|
596
|
+
"@aws-cdk/aws-eks:defaultToAL2023": {
|
|
597
|
+
"recommendedValue": true,
|
|
598
|
+
"explanation": "Use AL2023 as the default AMI type for EKS managed node groups using non-GPU instance types instead of the deprecated AL2"
|
|
599
|
+
},
|
|
600
|
+
"@aws-cdk/core:annotationsInValidationReport": {
|
|
601
|
+
"userValue": true,
|
|
602
|
+
"recommendedValue": true,
|
|
603
|
+
"explanation": "Include construct annotations (warnings and errors) in the policy validation report"
|
|
604
|
+
},
|
|
605
|
+
"@aws-cdk/core:defaultCrossStackReferences": {
|
|
606
|
+
"recommendedValue": "weak",
|
|
607
|
+
"explanation": "Controls whether cross-region stack references are strong, weak, or both",
|
|
608
|
+
"unconfiguredBehavesLike": {
|
|
609
|
+
"v2": "strong"
|
|
610
|
+
}
|
|
789
611
|
}
|
|
790
612
|
}
|
|
791
613
|
}
|
|
792
614
|
}
|
|
793
615
|
},
|
|
794
|
-
"minimumCliVersion": "2.
|
|
616
|
+
"minimumCliVersion": "2.1128.1"
|
|
795
617
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":"tree-0.1","tree":{"id":"App","path":"","constructInfo":{"fqn":"aws-cdk-lib.App","version":"2.206.0"},"children":{"fhss3-pre-existing-bucket":{"id":"fhss3-pre-existing-bucket","path":"fhss3-pre-existing-bucket","constructInfo":{"fqn":"aws-cdk-lib.Stack","version":"2.206.0"},"children":{"scrapBucketLog":{"id":"scrapBucketLog","path":"fhss3-pre-existing-bucket/scrapBucketLog","constructInfo":{"fqn":"aws-cdk-lib.aws_s3.Bucket","version":"2.206.0","metadata":[{"versioned":true,"removalPolicy":"destroy","autoDeleteObjects":true,"encryption":"S3_MANAGED","enforceSSL":true}]},"children":{"Resource":{"id":"Resource","path":"fhss3-pre-existing-bucket/scrapBucketLog/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_s3.CfnBucket","version":"2.206.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::S3::Bucket","aws:cdk:cloudformation:props":{"bucketEncryption":{"serverSideEncryptionConfiguration":[{"serverSideEncryptionByDefault":{"sseAlgorithm":"AES256"}}]},"tags":[{"key":"aws-cdk:auto-delete-objects","value":"true"}],"versioningConfiguration":{"status":"Enabled"}}}},"Policy":{"id":"Policy","path":"fhss3-pre-existing-bucket/scrapBucketLog/Policy","constructInfo":{"fqn":"aws-cdk-lib.aws_s3.BucketPolicy","version":"2.206.0","metadata":[{"bucket":"*"}]},"children":{"Resource":{"id":"Resource","path":"fhss3-pre-existing-bucket/scrapBucketLog/Policy/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_s3.CfnBucketPolicy","version":"2.206.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::S3::BucketPolicy","aws:cdk:cloudformation:props":{"bucket":{"Ref":"scrapBucketLog7B53B25C"},"policyDocument":{"Statement":[{"Action":"s3:*","Condition":{"Bool":{"aws:SecureTransport":"false"}},"Effect":"Deny","Principal":{"AWS":"*"},"Resource":[{"Fn::GetAtt":["scrapBucketLog7B53B25C","Arn"]},{"Fn::Join":["",[{"Fn::GetAtt":["scrapBucketLog7B53B25C","Arn"]},"/*"]]}]},{"Action":["s3:DeleteObject*","s3:GetBucket*","s3:List*","s3:PutBucketPolicy"],"Effect":"Allow","Principal":{"AWS":{"Fn::GetAtt":["CustomS3AutoDeleteObjectsCustomResourceProviderRole3B1BD092","Arn"]}},"Resource":[{"Fn::GetAtt":["scrapBucketLog7B53B25C","Arn"]},{"Fn::Join":["",[{"Fn::GetAtt":["scrapBucketLog7B53B25C","Arn"]},"/*"]]}]},{"Action":"s3:PutObject","Condition":{"ArnLike":{"aws:SourceArn":{"Fn::GetAtt":["scrapBucketB11863B7","Arn"]}},"StringEquals":{"aws:SourceAccount":{"Ref":"AWS::AccountId"}}},"Effect":"Allow","Principal":{"Service":"logging.s3.amazonaws.com"},"Resource":{"Fn::Join":["",[{"Fn::GetAtt":["scrapBucketLog7B53B25C","Arn"]},"/*"]]}}],"Version":"2012-10-17"}}}}}},"AutoDeleteObjectsCustomResource":{"id":"AutoDeleteObjectsCustomResource","path":"fhss3-pre-existing-bucket/scrapBucketLog/AutoDeleteObjectsCustomResource","constructInfo":{"fqn":"aws-cdk-lib.CustomResource","version":"2.206.0","metadata":["*"]},"children":{"Default":{"id":"Default","path":"fhss3-pre-existing-bucket/scrapBucketLog/AutoDeleteObjectsCustomResource/Default","constructInfo":{"fqn":"aws-cdk-lib.CfnResource","version":"2.206.0"}}}}}},"Custom::S3AutoDeleteObjectsCustomResourceProvider":{"id":"Custom::S3AutoDeleteObjectsCustomResourceProvider","path":"fhss3-pre-existing-bucket/Custom::S3AutoDeleteObjectsCustomResourceProvider","constructInfo":{"fqn":"aws-cdk-lib.CustomResourceProviderBase","version":"2.206.0"},"children":{"Staging":{"id":"Staging","path":"fhss3-pre-existing-bucket/Custom::S3AutoDeleteObjectsCustomResourceProvider/Staging","constructInfo":{"fqn":"aws-cdk-lib.AssetStaging","version":"2.206.0"}},"Role":{"id":"Role","path":"fhss3-pre-existing-bucket/Custom::S3AutoDeleteObjectsCustomResourceProvider/Role","constructInfo":{"fqn":"aws-cdk-lib.CfnResource","version":"2.206.0"}},"Handler":{"id":"Handler","path":"fhss3-pre-existing-bucket/Custom::S3AutoDeleteObjectsCustomResourceProvider/Handler","constructInfo":{"fqn":"aws-cdk-lib.CfnResource","version":"2.206.0"}}}},"scrapBucket":{"id":"scrapBucket","path":"fhss3-pre-existing-bucket/scrapBucket","constructInfo":{"fqn":"aws-cdk-lib.aws_s3.Bucket","version":"2.206.0","metadata":[{"versioned":true,"removalPolicy":"destroy","autoDeleteObjects":true,"encryption":"S3_MANAGED","enforceSSL":true,"serverAccessLogsBucket":"*"}]},"children":{"Resource":{"id":"Resource","path":"fhss3-pre-existing-bucket/scrapBucket/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_s3.CfnBucket","version":"2.206.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::S3::Bucket","aws:cdk:cloudformation:props":{"bucketEncryption":{"serverSideEncryptionConfiguration":[{"serverSideEncryptionByDefault":{"sseAlgorithm":"AES256"}}]},"loggingConfiguration":{"destinationBucketName":{"Ref":"scrapBucketLog7B53B25C"}},"tags":[{"key":"aws-cdk:auto-delete-objects","value":"true"}],"versioningConfiguration":{"status":"Enabled"}}}},"Policy":{"id":"Policy","path":"fhss3-pre-existing-bucket/scrapBucket/Policy","constructInfo":{"fqn":"aws-cdk-lib.aws_s3.BucketPolicy","version":"2.206.0","metadata":[{"bucket":"*"}]},"children":{"Resource":{"id":"Resource","path":"fhss3-pre-existing-bucket/scrapBucket/Policy/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_s3.CfnBucketPolicy","version":"2.206.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::S3::BucketPolicy","aws:cdk:cloudformation:props":{"bucket":{"Ref":"scrapBucketB11863B7"},"policyDocument":{"Statement":[{"Action":"s3:*","Condition":{"Bool":{"aws:SecureTransport":"false"}},"Effect":"Deny","Principal":{"AWS":"*"},"Resource":[{"Fn::GetAtt":["scrapBucketB11863B7","Arn"]},{"Fn::Join":["",[{"Fn::GetAtt":["scrapBucketB11863B7","Arn"]},"/*"]]}]},{"Action":["s3:DeleteObject*","s3:GetBucket*","s3:List*","s3:PutBucketPolicy"],"Effect":"Allow","Principal":{"AWS":{"Fn::GetAtt":["CustomS3AutoDeleteObjectsCustomResourceProviderRole3B1BD092","Arn"]}},"Resource":[{"Fn::GetAtt":["scrapBucketB11863B7","Arn"]},{"Fn::Join":["",[{"Fn::GetAtt":["scrapBucketB11863B7","Arn"]},"/*"]]}]}],"Version":"2012-10-17"}}}}}},"AutoDeleteObjectsCustomResource":{"id":"AutoDeleteObjectsCustomResource","path":"fhss3-pre-existing-bucket/scrapBucket/AutoDeleteObjectsCustomResource","constructInfo":{"fqn":"aws-cdk-lib.CustomResource","version":"2.206.0","metadata":["*"]},"children":{"Default":{"id":"Default","path":"fhss3-pre-existing-bucket/scrapBucket/AutoDeleteObjectsCustomResource/Default","constructInfo":{"fqn":"aws-cdk-lib.CfnResource","version":"2.206.0"}}}}}},"mybucket":{"id":"mybucket","path":"fhss3-pre-existing-bucket/mybucket","constructInfo":{"fqn":"aws-cdk-lib.aws_s3.BucketBase","version":"2.206.0","metadata":[]}},"test-firehose-s3-pre-existing-bucket-stack":{"id":"test-firehose-s3-pre-existing-bucket-stack","path":"fhss3-pre-existing-bucket/test-firehose-s3-pre-existing-bucket-stack","constructInfo":{"fqn":"@aws-solutions-constructs/aws-kinesisfirehose-s3.KinesisFirehoseToS3","version":"2.86.0"},"children":{"firehose-log-group":{"id":"firehose-log-group","path":"fhss3-pre-existing-bucket/test-firehose-s3-pre-existing-bucket-stack/firehose-log-group","constructInfo":{"fqn":"aws-cdk-lib.aws_logs.LogGroup","version":"2.206.0","metadata":[{"retention":9999}]},"children":{"Resource":{"id":"Resource","path":"fhss3-pre-existing-bucket/test-firehose-s3-pre-existing-bucket-stack/firehose-log-group/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_logs.CfnLogGroup","version":"2.206.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::Logs::LogGroup","aws:cdk:cloudformation:props":{}}},"firehose-log-stream":{"id":"firehose-log-stream","path":"fhss3-pre-existing-bucket/test-firehose-s3-pre-existing-bucket-stack/firehose-log-group/firehose-log-stream","constructInfo":{"fqn":"aws-cdk-lib.aws_logs.LogStream","version":"2.206.0","metadata":[{"logGroup":"*"}]},"children":{"Resource":{"id":"Resource","path":"fhss3-pre-existing-bucket/test-firehose-s3-pre-existing-bucket-stack/firehose-log-group/firehose-log-stream/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_logs.CfnLogStream","version":"2.206.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::Logs::LogStream","aws:cdk:cloudformation:props":{"logGroupName":{"Ref":"testfirehoses3preexistingbucketstackfirehoseloggroupC6AF6572"}}}}}}}},"KinesisFirehoseRole":{"id":"KinesisFirehoseRole","path":"fhss3-pre-existing-bucket/test-firehose-s3-pre-existing-bucket-stack/KinesisFirehoseRole","constructInfo":{"fqn":"aws-cdk-lib.aws_iam.Role","version":"2.206.0","metadata":[{"assumedBy":{"principalAccount":"*","assumeRoleAction":"*"}},{"attachInlinePolicy":["*"]}]},"children":{"ImportKinesisFirehoseRole":{"id":"ImportKinesisFirehoseRole","path":"fhss3-pre-existing-bucket/test-firehose-s3-pre-existing-bucket-stack/KinesisFirehoseRole/ImportKinesisFirehoseRole","constructInfo":{"fqn":"aws-cdk-lib.Resource","version":"2.206.0","metadata":["*"]}},"Resource":{"id":"Resource","path":"fhss3-pre-existing-bucket/test-firehose-s3-pre-existing-bucket-stack/KinesisFirehoseRole/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_iam.CfnRole","version":"2.206.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::IAM::Role","aws:cdk:cloudformation:props":{"assumeRolePolicyDocument":{"Statement":[{"Action":"sts:AssumeRole","Effect":"Allow","Principal":{"Service":"firehose.amazonaws.com"}}],"Version":"2012-10-17"}}}}}},"KinesisFirehosePolicy":{"id":"KinesisFirehosePolicy","path":"fhss3-pre-existing-bucket/test-firehose-s3-pre-existing-bucket-stack/KinesisFirehosePolicy","constructInfo":{"fqn":"aws-cdk-lib.aws_iam.Policy","version":"2.206.0","metadata":[{"statements":"*"},{"addStatements":[{}]},{"addStatements":[{}]},{"attachToRole":["*"]},{"attachToRole":["*"]}]},"children":{"Resource":{"id":"Resource","path":"fhss3-pre-existing-bucket/test-firehose-s3-pre-existing-bucket-stack/KinesisFirehosePolicy/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_iam.CfnPolicy","version":"2.206.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::IAM::Policy","aws:cdk:cloudformation:props":{"policyDocument":{"Statement":[{"Action":["s3:AbortMultipartUpload","s3:GetBucketLocation","s3:GetObject","s3:ListBucket","s3:ListBucketMultipartUploads","s3:PutObject"],"Effect":"Allow","Resource":[{"Fn::Join":["",["arn:",{"Ref":"AWS::Partition"},":s3:::",{"Ref":"scrapBucketB11863B7"},"/*"]]},{"Fn::Join":["",["arn:",{"Ref":"AWS::Partition"},":s3:::",{"Ref":"scrapBucketB11863B7"}]]}]},{"Action":"logs:PutLogEvents","Effect":"Allow","Resource":{"Fn::Join":["",["arn:",{"Ref":"AWS::Partition"},":logs:",{"Ref":"AWS::Region"},":",{"Ref":"AWS::AccountId"},":log-group:",{"Ref":"testfirehoses3preexistingbucketstackfirehoseloggroupC6AF6572"},":log-stream:",{"Ref":"testfirehoses3preexistingbucketstackfirehoseloggroupfirehoselogstreamDCA77A8C"}]]}}],"Version":"2012-10-17"},"policyName":"testfirehoses3preexistingbucketstackKinesisFirehosePolicy1A30B0A8","roles":[{"Ref":"testfirehoses3preexistingbucketstackKinesisFirehoseRole84325204"}]}}}}},"KinesisFirehose":{"id":"KinesisFirehose","path":"fhss3-pre-existing-bucket/test-firehose-s3-pre-existing-bucket-stack/KinesisFirehose","constructInfo":{"fqn":"aws-cdk-lib.aws_kinesisfirehose.CfnDeliveryStream","version":"2.206.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::KinesisFirehose::DeliveryStream","aws:cdk:cloudformation:props":{"deliveryStreamEncryptionConfigurationInput":{"keyType":"AWS_OWNED_CMK"},"deliveryStreamName":"KinesisFirehosefhss3preexistingbs3preexistingbucketstackBC2A3EB1","extendedS3DestinationConfiguration":{"bucketArn":{"Fn::Join":["",["arn:",{"Ref":"AWS::Partition"},":s3:::",{"Ref":"scrapBucketB11863B7"}]]},"bufferingHints":{"intervalInSeconds":300,"sizeInMBs":5},"compressionFormat":"GZIP","roleArn":{"Fn::GetAtt":["testfirehoses3preexistingbucketstackKinesisFirehoseRole84325204","Arn"]},"cloudWatchLoggingOptions":{"enabled":true,"logGroupName":{"Ref":"testfirehoses3preexistingbucketstackfirehoseloggroupC6AF6572"},"logStreamName":{"Ref":"testfirehoses3preexistingbucketstackfirehoseloggroupfirehoselogstreamDCA77A8C"}},"encryptionConfiguration":{"kmsEncryptionConfig":{"awskmsKeyArn":{"Fn::Join":["",["arn:",{"Ref":"AWS::Partition"},":kms:",{"Ref":"AWS::Region"},":",{"Ref":"AWS::AccountId"},":alias/aws/s3"]]}}}}}}}}},"test-firehose-s3-pre-existing-bucket-stackaws-managed-key":{"id":"test-firehose-s3-pre-existing-bucket-stackaws-managed-key","path":"fhss3-pre-existing-bucket/test-firehose-s3-pre-existing-bucket-stackaws-managed-key","constructInfo":{"fqn":"aws-cdk-lib.Resource","version":"2.206.0","metadata":[]}},"Integ":{"id":"Integ","path":"fhss3-pre-existing-bucket/Integ","constructInfo":{"fqn":"@aws-cdk/integ-tests-alpha.IntegTest","version":"2.206.0-alpha.0"},"children":{"DefaultTest":{"id":"DefaultTest","path":"fhss3-pre-existing-bucket/Integ/DefaultTest","constructInfo":{"fqn":"@aws-cdk/integ-tests-alpha.IntegTestCase","version":"2.206.0-alpha.0"},"children":{"Default":{"id":"Default","path":"fhss3-pre-existing-bucket/Integ/DefaultTest/Default","constructInfo":{"fqn":"constructs.Construct","version":"10.4.2"}},"DeployAssert":{"id":"DeployAssert","path":"fhss3-pre-existing-bucket/Integ/DefaultTest/DeployAssert","constructInfo":{"fqn":"aws-cdk-lib.Stack","version":"2.206.0"},"children":{"BootstrapVersion":{"id":"BootstrapVersion","path":"fhss3-pre-existing-bucket/Integ/DefaultTest/DeployAssert/BootstrapVersion","constructInfo":{"fqn":"aws-cdk-lib.CfnParameter","version":"2.206.0"}},"CheckBootstrapVersion":{"id":"CheckBootstrapVersion","path":"fhss3-pre-existing-bucket/Integ/DefaultTest/DeployAssert/CheckBootstrapVersion","constructInfo":{"fqn":"aws-cdk-lib.CfnRule","version":"2.206.0"}}}}}}}},"BootstrapVersion":{"id":"BootstrapVersion","path":"fhss3-pre-existing-bucket/BootstrapVersion","constructInfo":{"fqn":"aws-cdk-lib.CfnParameter","version":"2.206.0"}},"CheckBootstrapVersion":{"id":"CheckBootstrapVersion","path":"fhss3-pre-existing-bucket/CheckBootstrapVersion","constructInfo":{"fqn":"aws-cdk-lib.CfnRule","version":"2.206.0"}}}},"Tree":{"id":"Tree","path":"Tree","constructInfo":{"fqn":"constructs.Construct","version":"10.4.2"}}}}}
|
|
1
|
+
{"version":"tree-0.1","tree":{"id":"App","path":"","constructInfo":{"fqn":"aws-cdk-lib.App","version":"2.259.0"},"children":{"fhss3-pre-existing-bucket":{"id":"fhss3-pre-existing-bucket","path":"fhss3-pre-existing-bucket","constructInfo":{"fqn":"aws-cdk-lib.Stack","version":"2.259.0"},"children":{"scrapBucketLog":{"id":"scrapBucketLog","path":"fhss3-pre-existing-bucket/scrapBucketLog","constructInfo":{"fqn":"aws-cdk-lib.aws_s3.Bucket","version":"2.259.0"},"children":{"Resource":{"id":"Resource","path":"fhss3-pre-existing-bucket/scrapBucketLog/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_s3.CfnBucket","version":"2.259.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::S3::Bucket","aws:cdk:cloudformation:logicalId":"scrapBucketLog7B53B25C","aws:cdk:cloudformation:props":{"bucketEncryption":{"serverSideEncryptionConfiguration":[{"serverSideEncryptionByDefault":{"sseAlgorithm":"AES256"}}]},"tags":[{"key":"aws-cdk:auto-delete-objects","value":"true"}],"versioningConfiguration":{"status":"Enabled"}}}},"Policy":{"id":"Policy","path":"fhss3-pre-existing-bucket/scrapBucketLog/Policy","constructInfo":{"fqn":"aws-cdk-lib.aws_s3.BucketPolicy","version":"2.259.0"},"children":{"Resource":{"id":"Resource","path":"fhss3-pre-existing-bucket/scrapBucketLog/Policy/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_s3.CfnBucketPolicy","version":"2.259.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::S3::BucketPolicy","aws:cdk:cloudformation:logicalId":"scrapBucketLogPolicy2972C573","aws:cdk:cloudformation:props":{"bucket":{"Ref":"scrapBucketLog7B53B25C"},"policyDocument":{"Statement":[{"Action":"s3:*","Condition":{"Bool":{"aws:SecureTransport":"false"}},"Effect":"Deny","Principal":{"AWS":"*"},"Resource":[{"Fn::GetAtt":["scrapBucketLog7B53B25C","Arn"]},{"Fn::Join":["",[{"Fn::GetAtt":["scrapBucketLog7B53B25C","Arn"]},"/*"]]}]},{"Action":["s3:DeleteObject*","s3:GetBucket*","s3:List*","s3:PutBucketPolicy"],"Effect":"Allow","Principal":{"AWS":{"Fn::GetAtt":["CustomS3AutoDeleteObjectsCustomResourceProviderRole3B1BD092","Arn"]}},"Resource":[{"Fn::GetAtt":["scrapBucketLog7B53B25C","Arn"]},{"Fn::Join":["",[{"Fn::GetAtt":["scrapBucketLog7B53B25C","Arn"]},"/*"]]}]},{"Action":"s3:PutObject","Condition":{"ArnLike":{"aws:SourceArn":{"Fn::GetAtt":["scrapBucketB11863B7","Arn"]}},"StringEquals":{"aws:SourceAccount":{"Ref":"AWS::AccountId"}}},"Effect":"Allow","Principal":{"Service":"logging.s3.amazonaws.com"},"Resource":{"Fn::Join":["",[{"Fn::GetAtt":["scrapBucketLog7B53B25C","Arn"]},"/*"]]}}],"Version":"2012-10-17"}}}}}},"AutoDeleteObjectsCustomResource":{"id":"AutoDeleteObjectsCustomResource","path":"fhss3-pre-existing-bucket/scrapBucketLog/AutoDeleteObjectsCustomResource","constructInfo":{"fqn":"aws-cdk-lib.CustomResource","version":"2.259.0"},"children":{"Default":{"id":"Default","path":"fhss3-pre-existing-bucket/scrapBucketLog/AutoDeleteObjectsCustomResource/Default","constructInfo":{"fqn":"aws-cdk-lib.CfnResource","version":"2.259.0"}}}}}},"Custom::S3AutoDeleteObjectsCustomResourceProvider":{"id":"Custom::S3AutoDeleteObjectsCustomResourceProvider","path":"fhss3-pre-existing-bucket/Custom::S3AutoDeleteObjectsCustomResourceProvider","constructInfo":{"fqn":"aws-cdk-lib.CustomResourceProviderBase","version":"2.259.0"},"children":{"Staging":{"id":"Staging","path":"fhss3-pre-existing-bucket/Custom::S3AutoDeleteObjectsCustomResourceProvider/Staging","constructInfo":{"fqn":"aws-cdk-lib.AssetStaging","version":"2.259.0"}},"Role":{"id":"Role","path":"fhss3-pre-existing-bucket/Custom::S3AutoDeleteObjectsCustomResourceProvider/Role","constructInfo":{"fqn":"aws-cdk-lib.CfnResource","version":"2.259.0"}},"Handler":{"id":"Handler","path":"fhss3-pre-existing-bucket/Custom::S3AutoDeleteObjectsCustomResourceProvider/Handler","constructInfo":{"fqn":"aws-cdk-lib.CfnResource","version":"2.259.0"}}}},"scrapBucket":{"id":"scrapBucket","path":"fhss3-pre-existing-bucket/scrapBucket","constructInfo":{"fqn":"aws-cdk-lib.aws_s3.Bucket","version":"2.259.0"},"children":{"Resource":{"id":"Resource","path":"fhss3-pre-existing-bucket/scrapBucket/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_s3.CfnBucket","version":"2.259.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::S3::Bucket","aws:cdk:cloudformation:logicalId":"scrapBucketB11863B7","aws:cdk:cloudformation:props":{"bucketEncryption":{"serverSideEncryptionConfiguration":[{"serverSideEncryptionByDefault":{"sseAlgorithm":"AES256"}}]},"loggingConfiguration":{"destinationBucketName":{"Ref":"scrapBucketLog7B53B25C"}},"tags":[{"key":"aws-cdk:auto-delete-objects","value":"true"}],"versioningConfiguration":{"status":"Enabled"}}}},"Policy":{"id":"Policy","path":"fhss3-pre-existing-bucket/scrapBucket/Policy","constructInfo":{"fqn":"aws-cdk-lib.aws_s3.BucketPolicy","version":"2.259.0"},"children":{"Resource":{"id":"Resource","path":"fhss3-pre-existing-bucket/scrapBucket/Policy/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_s3.CfnBucketPolicy","version":"2.259.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::S3::BucketPolicy","aws:cdk:cloudformation:logicalId":"scrapBucketPolicy189B0607","aws:cdk:cloudformation:props":{"bucket":{"Ref":"scrapBucketB11863B7"},"policyDocument":{"Statement":[{"Action":"s3:*","Condition":{"Bool":{"aws:SecureTransport":"false"}},"Effect":"Deny","Principal":{"AWS":"*"},"Resource":[{"Fn::GetAtt":["scrapBucketB11863B7","Arn"]},{"Fn::Join":["",[{"Fn::GetAtt":["scrapBucketB11863B7","Arn"]},"/*"]]}]},{"Action":["s3:DeleteObject*","s3:GetBucket*","s3:List*","s3:PutBucketPolicy"],"Effect":"Allow","Principal":{"AWS":{"Fn::GetAtt":["CustomS3AutoDeleteObjectsCustomResourceProviderRole3B1BD092","Arn"]}},"Resource":[{"Fn::GetAtt":["scrapBucketB11863B7","Arn"]},{"Fn::Join":["",[{"Fn::GetAtt":["scrapBucketB11863B7","Arn"]},"/*"]]}]}],"Version":"2012-10-17"}}}}}},"AutoDeleteObjectsCustomResource":{"id":"AutoDeleteObjectsCustomResource","path":"fhss3-pre-existing-bucket/scrapBucket/AutoDeleteObjectsCustomResource","constructInfo":{"fqn":"aws-cdk-lib.CustomResource","version":"2.259.0"},"children":{"Default":{"id":"Default","path":"fhss3-pre-existing-bucket/scrapBucket/AutoDeleteObjectsCustomResource/Default","constructInfo":{"fqn":"aws-cdk-lib.CfnResource","version":"2.259.0"}}}}}},"mybucket":{"id":"mybucket","path":"fhss3-pre-existing-bucket/mybucket","constructInfo":{"fqn":"aws-cdk-lib.aws_s3.BucketBase","version":"2.259.0"}},"test-firehose-s3-pre-existing-bucket-stack":{"id":"test-firehose-s3-pre-existing-bucket-stack","path":"fhss3-pre-existing-bucket/test-firehose-s3-pre-existing-bucket-stack","constructInfo":{"fqn":"@aws-solutions-constructs/aws-kinesisfirehose-s3.KinesisFirehoseToS3","version":"2.102.0"},"children":{"firehose-log-group":{"id":"firehose-log-group","path":"fhss3-pre-existing-bucket/test-firehose-s3-pre-existing-bucket-stack/firehose-log-group","constructInfo":{"fqn":"aws-cdk-lib.aws_logs.LogGroup","version":"2.259.0"},"children":{"Resource":{"id":"Resource","path":"fhss3-pre-existing-bucket/test-firehose-s3-pre-existing-bucket-stack/firehose-log-group/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_logs.CfnLogGroup","version":"2.259.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::Logs::LogGroup","aws:cdk:cloudformation:logicalId":"testfirehoses3preexistingbucketstackfirehoseloggroupC6AF6572","aws:cdk:cloudformation:props":{}}},"firehose-log-stream":{"id":"firehose-log-stream","path":"fhss3-pre-existing-bucket/test-firehose-s3-pre-existing-bucket-stack/firehose-log-group/firehose-log-stream","constructInfo":{"fqn":"aws-cdk-lib.aws_logs.LogStream","version":"2.259.0"},"children":{"Resource":{"id":"Resource","path":"fhss3-pre-existing-bucket/test-firehose-s3-pre-existing-bucket-stack/firehose-log-group/firehose-log-stream/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_logs.CfnLogStream","version":"2.259.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::Logs::LogStream","aws:cdk:cloudformation:logicalId":"testfirehoses3preexistingbucketstackfirehoseloggroupfirehoselogstreamDCA77A8C","aws:cdk:cloudformation:props":{"logGroupName":{"Ref":"testfirehoses3preexistingbucketstackfirehoseloggroupC6AF6572"}}}}}}}},"KinesisFirehoseRole":{"id":"KinesisFirehoseRole","path":"fhss3-pre-existing-bucket/test-firehose-s3-pre-existing-bucket-stack/KinesisFirehoseRole","constructInfo":{"fqn":"aws-cdk-lib.aws_iam.Role","version":"2.259.0"},"children":{"Resource":{"id":"Resource","path":"fhss3-pre-existing-bucket/test-firehose-s3-pre-existing-bucket-stack/KinesisFirehoseRole/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_iam.CfnRole","version":"2.259.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::IAM::Role","aws:cdk:cloudformation:logicalId":"testfirehoses3preexistingbucketstackKinesisFirehoseRole84325204","aws:cdk:cloudformation:props":{"assumeRolePolicyDocument":{"Statement":[{"Action":"sts:AssumeRole","Effect":"Allow","Principal":{"Service":"firehose.amazonaws.com"}}],"Version":"2012-10-17"}}}}}},"KinesisFirehosePolicy":{"id":"KinesisFirehosePolicy","path":"fhss3-pre-existing-bucket/test-firehose-s3-pre-existing-bucket-stack/KinesisFirehosePolicy","constructInfo":{"fqn":"aws-cdk-lib.aws_iam.Policy","version":"2.259.0"},"children":{"Resource":{"id":"Resource","path":"fhss3-pre-existing-bucket/test-firehose-s3-pre-existing-bucket-stack/KinesisFirehosePolicy/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_iam.CfnPolicy","version":"2.259.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::IAM::Policy","aws:cdk:cloudformation:logicalId":"testfirehoses3preexistingbucketstackKinesisFirehosePolicy1A30B0A8","aws:cdk:cloudformation:props":{"policyDocument":{"Statement":[{"Action":["s3:AbortMultipartUpload","s3:GetBucketLocation","s3:GetObject","s3:ListBucket","s3:ListBucketMultipartUploads","s3:PutObject"],"Effect":"Allow","Resource":[{"Fn::Join":["",["arn:",{"Ref":"AWS::Partition"},":s3:::",{"Ref":"scrapBucketB11863B7"},"/*"]]},{"Fn::Join":["",["arn:",{"Ref":"AWS::Partition"},":s3:::",{"Ref":"scrapBucketB11863B7"}]]}]},{"Action":"logs:PutLogEvents","Effect":"Allow","Resource":{"Fn::Join":["",["arn:",{"Ref":"AWS::Partition"},":logs:",{"Ref":"AWS::Region"},":",{"Ref":"AWS::AccountId"},":log-group:",{"Ref":"testfirehoses3preexistingbucketstackfirehoseloggroupC6AF6572"},":log-stream:",{"Ref":"testfirehoses3preexistingbucketstackfirehoseloggroupfirehoselogstreamDCA77A8C"}]]}}],"Version":"2012-10-17"},"policyName":"testfirehoses3preexistingbucketstackKinesisFirehosePolicy1A30B0A8","roles":[{"Ref":"testfirehoses3preexistingbucketstackKinesisFirehoseRole84325204"}]}}}}},"KinesisFirehose":{"id":"KinesisFirehose","path":"fhss3-pre-existing-bucket/test-firehose-s3-pre-existing-bucket-stack/KinesisFirehose","constructInfo":{"fqn":"aws-cdk-lib.aws_kinesisfirehose.CfnDeliveryStream","version":"2.259.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::KinesisFirehose::DeliveryStream","aws:cdk:cloudformation:logicalId":"testfirehoses3preexistingbucketstackKinesisFirehoseCBFE01D6","aws:cdk:cloudformation:props":{"deliveryStreamEncryptionConfigurationInput":{"keyType":"AWS_OWNED_CMK"},"deliveryStreamName":"KinesisFirehosefhss3preexistingbs3preexistingbucketstackBC2A3EB1","extendedS3DestinationConfiguration":{"bucketArn":{"Fn::Join":["",["arn:",{"Ref":"AWS::Partition"},":s3:::",{"Ref":"scrapBucketB11863B7"}]]},"bufferingHints":{"intervalInSeconds":300,"sizeInMBs":5},"compressionFormat":"GZIP","roleArn":{"Fn::GetAtt":["testfirehoses3preexistingbucketstackKinesisFirehoseRole84325204","Arn"]},"cloudWatchLoggingOptions":{"enabled":true,"logGroupName":{"Ref":"testfirehoses3preexistingbucketstackfirehoseloggroupC6AF6572"},"logStreamName":{"Ref":"testfirehoses3preexistingbucketstackfirehoseloggroupfirehoselogstreamDCA77A8C"}},"encryptionConfiguration":{"kmsEncryptionConfig":{"awskmsKeyArn":{"Fn::Join":["",["arn:",{"Ref":"AWS::Partition"},":kms:",{"Ref":"AWS::Region"},":",{"Ref":"AWS::AccountId"},":alias/aws/s3"]]}}}}}}}}},"test-firehose-s3-pre-existing-bucket-stackaws-managed-key":{"id":"test-firehose-s3-pre-existing-bucket-stackaws-managed-key","path":"fhss3-pre-existing-bucket/test-firehose-s3-pre-existing-bucket-stackaws-managed-key","constructInfo":{"fqn":"aws-cdk-lib.Resource","version":"2.259.0"}},"Integ":{"id":"Integ","path":"fhss3-pre-existing-bucket/Integ","constructInfo":{"fqn":"@aws-cdk/integ-tests-alpha.IntegTest","version":"2.259.0-alpha.0"},"children":{"DefaultTest":{"id":"DefaultTest","path":"fhss3-pre-existing-bucket/Integ/DefaultTest","constructInfo":{"fqn":"@aws-cdk/integ-tests-alpha.IntegTestCase","version":"2.259.0-alpha.0"},"children":{"Default":{"id":"Default","path":"fhss3-pre-existing-bucket/Integ/DefaultTest/Default","constructInfo":{"fqn":"constructs.Construct","version":"10.5.1"}},"DeployAssert":{"id":"DeployAssert","path":"fhss3-pre-existing-bucket/Integ/DefaultTest/DeployAssert","constructInfo":{"fqn":"aws-cdk-lib.Stack","version":"2.259.0"},"children":{"BootstrapVersion":{"id":"BootstrapVersion","path":"fhss3-pre-existing-bucket/Integ/DefaultTest/DeployAssert/BootstrapVersion","constructInfo":{"fqn":"aws-cdk-lib.CfnParameter","version":"2.259.0"}},"CheckBootstrapVersion":{"id":"CheckBootstrapVersion","path":"fhss3-pre-existing-bucket/Integ/DefaultTest/DeployAssert/CheckBootstrapVersion","constructInfo":{"fqn":"aws-cdk-lib.CfnRule","version":"2.259.0"}}}}}}}},"BootstrapVersion":{"id":"BootstrapVersion","path":"fhss3-pre-existing-bucket/BootstrapVersion","constructInfo":{"fqn":"aws-cdk-lib.CfnParameter","version":"2.259.0"}},"CheckBootstrapVersion":{"id":"CheckBootstrapVersion","path":"fhss3-pre-existing-bucket/CheckBootstrapVersion","constructInfo":{"fqn":"aws-cdk-lib.CfnRule","version":"2.259.0"}}}},"Tree":{"id":"Tree","path":"Tree","constructInfo":{"fqn":"constructs.Construct","version":"10.5.1"}}}}}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var f=Object.create,i=Object.defineProperty,I=Object.getOwnPropertyDescriptor,C=Object.getOwnPropertyNames,w=Object.getPrototypeOf,P=Object.prototype.hasOwnProperty,A=(t,e)=>{for(var o in e)i(t,o,{get:e[o],enumerable:!0})},d=(t,e,o,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(let s of C(e))!P.call(t,s)&&s!==o&&i(t,s,{get:()=>e[s],enumerable:!(r=I(e,s))||r.enumerable});return t},l=(t,e,o)=>(o=t!=null?f(w(t)):{},d(e||!t||!t.__esModule?i(o,"default",{value:t,enumerable:!0}):o,t)),B=t=>d(i({},"__esModule",{value:!0}),t),q={};A(q,{autoDeleteHandler:()=>S,handler:()=>H}),module.exports=B(q);var h=require("@aws-sdk/client-s3"),y=l(require("https")),m=l(require("url")),a={sendHttpRequest:D,log:T,includeStackTraces:!0,userHandlerIndex:"./index"},p="AWSCDK::CustomResourceProviderFramework::CREATE_FAILED",L="AWSCDK::CustomResourceProviderFramework::MISSING_PHYSICAL_ID";function R(t){return async(e,o)=>{let r={...e,ResponseURL:"..."};if(a.log(JSON.stringify(r,void 0,2)),e.RequestType==="Delete"&&e.PhysicalResourceId===p){a.log("ignoring DELETE event caused by a failed CREATE event"),await u("SUCCESS",e);return}try{let s=await t(r,o),n=k(e,s);await u("SUCCESS",n)}catch(s){let n={...e,Reason:a.includeStackTraces?s.stack:s.message};n.PhysicalResourceId||(e.RequestType==="Create"?(a.log("CREATE failed, responding with a marker physical resource id so that the subsequent DELETE will be ignored"),n.PhysicalResourceId=p):a.log(`ERROR: Malformed event. "PhysicalResourceId" is required: ${JSON.stringify(e)}`)),await u("FAILED",n)}}}function k(t,e={}){let o=e.PhysicalResourceId??t.PhysicalResourceId??t.RequestId;if(t.RequestType==="Delete"&&o!==t.PhysicalResourceId)throw new Error(`DELETE: cannot change the physical resource ID from "${t.PhysicalResourceId}" to "${e.PhysicalResourceId}" during deletion`);return{...t,...e,PhysicalResourceId:o}}async function u(t,e){let o={Status:t,Reason:e.Reason??t,StackId:e.StackId,RequestId:e.RequestId,PhysicalResourceId:e.PhysicalResourceId||L,LogicalResourceId:e.LogicalResourceId,NoEcho:e.NoEcho,Data:e.Data},r=m.parse(e.ResponseURL),s=`${r.protocol}//${r.hostname}/${r.pathname}?***`;a.log("submit response to cloudformation",s,o);let n=JSON.stringify(o),E={hostname:r.hostname,path:r.path,method:"PUT",headers:{"content-type":"","content-length":Buffer.byteLength(n,"utf8")}};await O({attempts:5,sleep:1e3},a.sendHttpRequest)(E,n)}async function D(t,e){return new Promise((o,r)=>{try{let s=y.request(t,n=>{n.resume(),!n.statusCode||n.statusCode>=400?r(new Error(`Unsuccessful HTTP response: ${n.statusCode}`)):o()});s.on("error",r),s.write(e),s.end()}catch(s){r(s)}})}function T(t,...e){console.log(t,...e)}function O(t,e){return async(...o)=>{let r=t.attempts,s=t.sleep;for(;;)try{return await e(...o)}catch(n){if(r--<=0)throw n;await b(Math.floor(Math.random()*s)),s*=2}}}async function b(t){return new Promise(e=>setTimeout(e,t))}var g="aws-cdk:auto-delete-objects",x=JSON.stringify({Version:"2012-10-17",Statement:[]}),c=new h.S3({}),H=R(S);async function S(t){switch(t.RequestType){case"Create":return;case"Update":return{PhysicalResourceId:(await F(t)).PhysicalResourceId};case"Delete":return N(t.ResourceProperties?.BucketName)}}async function F(t){let e=t,o=e.OldResourceProperties?.BucketName;return{PhysicalResourceId:e.ResourceProperties?.BucketName??o}}async function _(t){try{let e=(await c.getBucketPolicy({Bucket:t}))?.Policy??x,o=JSON.parse(e);o.Statement.push({Principal:"*",Effect:"Deny",Action:["s3:PutObject"],Resource:[`arn:aws:s3:::${t}/*`]}),await c.putBucketPolicy({Bucket:t,Policy:JSON.stringify(o)})}catch(e){if(e.name==="NoSuchBucket")throw e;console.log(`Could not set new object deny policy on bucket '${t}' prior to deletion.`)}}async function U(t){let e;do{e=await c.listObjectVersions({Bucket:t});let o=[...e.Versions??[],...e.DeleteMarkers??[]];if(o.length===0)return;let r=o.map(s=>({Key:s.Key,VersionId:s.VersionId}));await c.deleteObjects({Bucket:t,Delete:{Objects:r}})}while(e?.IsTruncated)}async function N(t){if(!t)throw new Error("No BucketName was provided.");try{if(!await W(t)){console.log(`Bucket does not have '${g}' tag, skipping cleaning.`);return}await _(t),await U(t)}catch(e){if(e.name==="NoSuchBucket"){console.log(`Bucket '${t}' does not exist.`);return}throw e}}async function W(t){return(await c.getBucketTagging({Bucket:t})).TagSet?.some(o=>o.Key===g&&o.Value==="true")}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":"
|
|
1
|
+
{"version":"54.0.0"}
|