@aws-solutions-constructs/aws-cloudfront-oai-s3 2.79.1 → 2.81.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 (39) hide show
  1. package/.jsii +44 -44
  2. package/lib/index.js +1 -1
  3. package/package.json +8 -8
  4. package/test/integ.cftoais3-bucket-encrypted-with-managed-key-provided-as-existingbucket.js.snapshot/cftoais3-bucket-encrypted-with-managed-key-provided-as-existingbucket.assets.json +2 -2
  5. package/test/integ.cftoais3-bucket-encrypted-with-managed-key-provided-as-existingbucket.js.snapshot/cftoais3-bucket-encrypted-with-managed-key-provided-as-existingbucket.template.json +4 -4
  6. package/test/integ.cftoais3-bucket-encrypted-with-managed-key-provided-as-existingbucket.js.snapshot/manifest.json +157 -10
  7. package/test/integ.cftoais3-bucket-encrypted-with-managed-key-provided-as-existingbucket.js.snapshot/tree.json +154 -43
  8. package/test/integ.cftoais3-custom-headers.js.snapshot/cftoais3-custom-headers.assets.json +2 -2
  9. package/test/integ.cftoais3-custom-headers.js.snapshot/cftoais3-custom-headers.template.json +4 -4
  10. package/test/integ.cftoais3-custom-headers.js.snapshot/manifest.json +180 -10
  11. package/test/integ.cftoais3-custom-headers.js.snapshot/tree.json +175 -47
  12. package/test/integ.cftoais3-custom-originPath.js.snapshot/cftoais3-custom-originPath.assets.json +2 -2
  13. package/test/integ.cftoais3-custom-originPath.js.snapshot/cftoais3-custom-originPath.template.json +4 -4
  14. package/test/integ.cftoais3-custom-originPath.js.snapshot/manifest.json +172 -10
  15. package/test/integ.cftoais3-custom-originPath.js.snapshot/tree.json +168 -45
  16. package/test/integ.cftoais3-customLoggingBuckets.js.snapshot/cftoais3-customLoggingBuckets.assets.json +2 -2
  17. package/test/integ.cftoais3-customLoggingBuckets.js.snapshot/cftoais3-customLoggingBuckets.template.json +4 -4
  18. package/test/integ.cftoais3-customLoggingBuckets.js.snapshot/manifest.json +210 -10
  19. package/test/integ.cftoais3-customLoggingBuckets.js.snapshot/tree.json +200 -45
  20. package/test/integ.cftoais3-existing-bucket.js.snapshot/cftoais3-existing-bucket.assets.json +2 -2
  21. package/test/integ.cftoais3-existing-bucket.js.snapshot/cftoais3-existing-bucket.template.json +4 -4
  22. package/test/integ.cftoais3-existing-bucket.js.snapshot/manifest.json +174 -10
  23. package/test/integ.cftoais3-existing-bucket.js.snapshot/tree.json +168 -49
  24. package/test/integ.cftoais3-no-arguments.js.snapshot/cftoais3-no-arguments.assets.json +2 -2
  25. package/test/integ.cftoais3-no-arguments.js.snapshot/cftoais3-no-arguments.template.json +4 -4
  26. package/test/integ.cftoais3-no-arguments.js.snapshot/manifest.json +172 -10
  27. package/test/integ.cftoais3-no-arguments.js.snapshot/tree.json +168 -45
  28. package/test/integ.cftoais3-no-cloudfront-s3-access-logs.js.snapshot/cftoais3-no-cloudfront-s3-access-logs.assets.json +2 -2
  29. package/test/integ.cftoais3-no-cloudfront-s3-access-logs.js.snapshot/cftoais3-no-cloudfront-s3-access-logs.template.json +4 -4
  30. package/test/integ.cftoais3-no-cloudfront-s3-access-logs.js.snapshot/manifest.json +116 -10
  31. package/test/integ.cftoais3-no-cloudfront-s3-access-logs.js.snapshot/tree.json +118 -33
  32. package/test/integ.cftoais3-no-logging.js.snapshot/cftoais3-no-logging.assets.json +2 -2
  33. package/test/integ.cftoais3-no-logging.js.snapshot/cftoais3-no-logging.template.json +4 -4
  34. package/test/integ.cftoais3-no-logging.js.snapshot/manifest.json +88 -10
  35. package/test/integ.cftoais3-no-logging.js.snapshot/tree.json +93 -27
  36. package/test/integ.cftoais3-no-security-headers.js.snapshot/cftoais3-no-security-headers.assets.json +2 -2
  37. package/test/integ.cftoais3-no-security-headers.js.snapshot/cftoais3-no-security-headers.template.json +4 -4
  38. package/test/integ.cftoais3-no-security-headers.js.snapshot/manifest.json +157 -10
  39. package/test/integ.cftoais3-no-security-headers.js.snapshot/tree.json +154 -43
@@ -66,7 +66,7 @@
66
66
  "validateOnSynth": false,
67
67
  "assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-deploy-role-${AWS::AccountId}-${AWS::Region}",
68
68
  "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}/6261d23fc963ec2841f829412721889013c162d9384a1d5ebb0e9ebb2392df91.json",
69
+ "stackTemplateAssetObjectUrl": "s3://cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}/1453e1223ea902ff00181061cb27e297df0bfa36cd59671f9a24fa9df70610ef.json",
70
70
  "requiresBootstrapStackVersion": 6,
71
71
  "bootstrapStackVersionSsmParameter": "/cdk-bootstrap/hnb659fds/version",
72
72
  "additionalDependencies": [
@@ -82,84 +82,240 @@
82
82
  "cftoais3-no-security-headers.assets"
83
83
  ],
84
84
  "metadata": {
85
+ "/cftoais3-no-security-headers/test-cloudfront-oai-s3-no-security-headers/S3LoggingBucket": [
86
+ {
87
+ "type": "aws:cdk:analytics:construct",
88
+ "data": {
89
+ "encryption": "S3_MANAGED",
90
+ "versioned": true,
91
+ "blockPublicAccess": "*",
92
+ "removalPolicy": "destroy",
93
+ "enforceSSL": true,
94
+ "autoDeleteObjects": true
95
+ }
96
+ }
97
+ ],
85
98
  "/cftoais3-no-security-headers/test-cloudfront-oai-s3-no-security-headers/S3LoggingBucket/Resource": [
86
99
  {
87
100
  "type": "aws:cdk:logicalId",
88
101
  "data": "testcloudfrontoais3nosecurityheadersS3LoggingBucketAFBEC93A"
89
102
  }
90
103
  ],
104
+ "/cftoais3-no-security-headers/test-cloudfront-oai-s3-no-security-headers/S3LoggingBucket/Policy": [
105
+ {
106
+ "type": "aws:cdk:analytics:construct",
107
+ "data": {
108
+ "bucket": "*"
109
+ }
110
+ }
111
+ ],
91
112
  "/cftoais3-no-security-headers/test-cloudfront-oai-s3-no-security-headers/S3LoggingBucket/Policy/Resource": [
92
113
  {
93
114
  "type": "aws:cdk:logicalId",
94
115
  "data": "testcloudfrontoais3nosecurityheadersS3LoggingBucketPolicy51E4C355"
95
116
  }
96
117
  ],
118
+ "/cftoais3-no-security-headers/test-cloudfront-oai-s3-no-security-headers/S3LoggingBucket/AutoDeleteObjectsCustomResource": [
119
+ {
120
+ "type": "aws:cdk:analytics:construct",
121
+ "data": "*"
122
+ }
123
+ ],
97
124
  "/cftoais3-no-security-headers/test-cloudfront-oai-s3-no-security-headers/S3LoggingBucket/AutoDeleteObjectsCustomResource/Default": [
98
125
  {
99
126
  "type": "aws:cdk:logicalId",
100
127
  "data": "testcloudfrontoais3nosecurityheadersS3LoggingBucketAutoDeleteObjectsCustomResource44CC423E"
101
128
  }
102
129
  ],
130
+ "/cftoais3-no-security-headers/test-cloudfront-oai-s3-no-security-headers/S3Bucket": [
131
+ {
132
+ "type": "aws:cdk:analytics:construct",
133
+ "data": {
134
+ "encryption": "S3_MANAGED",
135
+ "versioned": true,
136
+ "blockPublicAccess": "*",
137
+ "removalPolicy": "destroy",
138
+ "enforceSSL": true,
139
+ "lifecycleRules": [
140
+ {
141
+ "noncurrentVersionTransitions": [
142
+ {
143
+ "storageClass": "*"
144
+ }
145
+ ]
146
+ }
147
+ ],
148
+ "serverAccessLogsBucket": "*",
149
+ "autoDeleteObjects": true
150
+ }
151
+ },
152
+ {
153
+ "type": "aws:cdk:analytics:method",
154
+ "data": {
155
+ "addLifecycleRule": [
156
+ {
157
+ "noncurrentVersionTransitions": [
158
+ {
159
+ "storageClass": "*"
160
+ }
161
+ ]
162
+ },
163
+ "*",
164
+ "*"
165
+ ]
166
+ }
167
+ }
168
+ ],
103
169
  "/cftoais3-no-security-headers/test-cloudfront-oai-s3-no-security-headers/S3Bucket/Resource": [
104
170
  {
105
171
  "type": "aws:cdk:logicalId",
106
172
  "data": "testcloudfrontoais3nosecurityheadersS3Bucket824FFD04"
107
173
  }
108
174
  ],
175
+ "/cftoais3-no-security-headers/test-cloudfront-oai-s3-no-security-headers/S3Bucket/Policy": [
176
+ {
177
+ "type": "aws:cdk:analytics:construct",
178
+ "data": {
179
+ "bucket": "*"
180
+ }
181
+ }
182
+ ],
109
183
  "/cftoais3-no-security-headers/test-cloudfront-oai-s3-no-security-headers/S3Bucket/Policy/Resource": [
110
184
  {
111
185
  "type": "aws:cdk:logicalId",
112
186
  "data": "testcloudfrontoais3nosecurityheadersS3BucketPolicyCF0521EF"
113
187
  }
114
188
  ],
189
+ "/cftoais3-no-security-headers/test-cloudfront-oai-s3-no-security-headers/S3Bucket/AutoDeleteObjectsCustomResource": [
190
+ {
191
+ "type": "aws:cdk:analytics:construct",
192
+ "data": "*"
193
+ }
194
+ ],
115
195
  "/cftoais3-no-security-headers/test-cloudfront-oai-s3-no-security-headers/S3Bucket/AutoDeleteObjectsCustomResource/Default": [
116
196
  {
117
197
  "type": "aws:cdk:logicalId",
118
198
  "data": "testcloudfrontoais3nosecurityheadersS3BucketAutoDeleteObjectsCustomResourceAE2013E4"
119
199
  }
120
200
  ],
201
+ "/cftoais3-no-security-headers/test-cloudfront-oai-s3-no-security-headers/CloudfrontLoggingBucketAccessLog": [
202
+ {
203
+ "type": "aws:cdk:analytics:construct",
204
+ "data": {
205
+ "encryption": "S3_MANAGED",
206
+ "versioned": true,
207
+ "blockPublicAccess": "*",
208
+ "removalPolicy": "destroy",
209
+ "enforceSSL": true,
210
+ "autoDeleteObjects": true
211
+ }
212
+ }
213
+ ],
121
214
  "/cftoais3-no-security-headers/test-cloudfront-oai-s3-no-security-headers/CloudfrontLoggingBucketAccessLog/Resource": [
122
215
  {
123
216
  "type": "aws:cdk:logicalId",
124
217
  "data": "testcloudfrontoais3nosecurityheadersCloudfrontLoggingBucketAccessLogCC3AB11C"
125
218
  }
126
219
  ],
220
+ "/cftoais3-no-security-headers/test-cloudfront-oai-s3-no-security-headers/CloudfrontLoggingBucketAccessLog/Policy": [
221
+ {
222
+ "type": "aws:cdk:analytics:construct",
223
+ "data": {
224
+ "bucket": "*"
225
+ }
226
+ }
227
+ ],
127
228
  "/cftoais3-no-security-headers/test-cloudfront-oai-s3-no-security-headers/CloudfrontLoggingBucketAccessLog/Policy/Resource": [
128
229
  {
129
230
  "type": "aws:cdk:logicalId",
130
231
  "data": "testcloudfrontoais3nosecurityheadersCloudfrontLoggingBucketAccessLogPolicyDBD57155"
131
232
  }
132
233
  ],
234
+ "/cftoais3-no-security-headers/test-cloudfront-oai-s3-no-security-headers/CloudfrontLoggingBucketAccessLog/AutoDeleteObjectsCustomResource": [
235
+ {
236
+ "type": "aws:cdk:analytics:construct",
237
+ "data": "*"
238
+ }
239
+ ],
133
240
  "/cftoais3-no-security-headers/test-cloudfront-oai-s3-no-security-headers/CloudfrontLoggingBucketAccessLog/AutoDeleteObjectsCustomResource/Default": [
134
241
  {
135
242
  "type": "aws:cdk:logicalId",
136
243
  "data": "testcloudfrontoais3nosecurityheadersCloudfrontLoggingBucketAccessLogAutoDeleteObjectsCustomResourceE05B0E7C"
137
244
  }
138
245
  ],
246
+ "/cftoais3-no-security-headers/test-cloudfront-oai-s3-no-security-headers/CloudfrontLoggingBucket": [
247
+ {
248
+ "type": "aws:cdk:analytics:construct",
249
+ "data": {
250
+ "encryption": "S3_MANAGED",
251
+ "versioned": true,
252
+ "blockPublicAccess": "*",
253
+ "removalPolicy": "destroy",
254
+ "enforceSSL": true,
255
+ "autoDeleteObjects": true,
256
+ "objectOwnership": "ObjectWriter",
257
+ "serverAccessLogsBucket": "*"
258
+ }
259
+ }
260
+ ],
139
261
  "/cftoais3-no-security-headers/test-cloudfront-oai-s3-no-security-headers/CloudfrontLoggingBucket/Resource": [
140
262
  {
141
263
  "type": "aws:cdk:logicalId",
142
264
  "data": "testcloudfrontoais3nosecurityheadersCloudfrontLoggingBucket7C4DB70A"
143
265
  }
144
266
  ],
267
+ "/cftoais3-no-security-headers/test-cloudfront-oai-s3-no-security-headers/CloudfrontLoggingBucket/Policy": [
268
+ {
269
+ "type": "aws:cdk:analytics:construct",
270
+ "data": {
271
+ "bucket": "*"
272
+ }
273
+ }
274
+ ],
145
275
  "/cftoais3-no-security-headers/test-cloudfront-oai-s3-no-security-headers/CloudfrontLoggingBucket/Policy/Resource": [
146
276
  {
147
277
  "type": "aws:cdk:logicalId",
148
278
  "data": "testcloudfrontoais3nosecurityheadersCloudfrontLoggingBucketPolicy0BF7E435"
149
279
  }
150
280
  ],
281
+ "/cftoais3-no-security-headers/test-cloudfront-oai-s3-no-security-headers/CloudfrontLoggingBucket/AutoDeleteObjectsCustomResource": [
282
+ {
283
+ "type": "aws:cdk:analytics:construct",
284
+ "data": "*"
285
+ }
286
+ ],
151
287
  "/cftoais3-no-security-headers/test-cloudfront-oai-s3-no-security-headers/CloudfrontLoggingBucket/AutoDeleteObjectsCustomResource/Default": [
152
288
  {
153
289
  "type": "aws:cdk:logicalId",
154
290
  "data": "testcloudfrontoais3nosecurityheadersCloudfrontLoggingBucketAutoDeleteObjectsCustomResource0C7072C4"
155
291
  }
156
292
  ],
293
+ "/cftoais3-no-security-headers/test-cloudfront-oai-s3-no-security-headers/constructsGeneratedOai": [
294
+ {
295
+ "type": "aws:cdk:analytics:construct",
296
+ "data": "*"
297
+ }
298
+ ],
157
299
  "/cftoais3-no-security-headers/test-cloudfront-oai-s3-no-security-headers/constructsGeneratedOai/Resource": [
158
300
  {
159
301
  "type": "aws:cdk:logicalId",
160
302
  "data": "testcloudfrontoais3nosecurityheadersconstructsGeneratedOai5E216A52"
161
303
  }
162
304
  ],
305
+ "/cftoais3-no-security-headers/test-cloudfront-oai-s3-no-security-headers/CloudFrontDistribution": [
306
+ {
307
+ "type": "aws:cdk:analytics:construct",
308
+ "data": {
309
+ "defaultBehavior": {
310
+ "origin": "*",
311
+ "viewerProtocolPolicy": "redirect-to-https"
312
+ },
313
+ "enableLogging": true,
314
+ "logBucket": "*",
315
+ "defaultRootObject": "*"
316
+ }
317
+ }
318
+ ],
163
319
  "/cftoais3-no-security-headers/test-cloudfront-oai-s3-no-security-headers/CloudFrontDistribution/Resource": [
164
320
  {
165
321
  "type": "aws:cdk:logicalId",
@@ -201,15 +357,6 @@
201
357
  "type": "aws:cdk:logicalId",
202
358
  "data": "CheckBootstrapVersion"
203
359
  }
204
- ],
205
- "testcloudfrontoais3nosecurityheadersCloudFrontDistributionOrigin1S3OriginED98FCA5": [
206
- {
207
- "type": "aws:cdk:logicalId",
208
- "data": "testcloudfrontoais3nosecurityheadersCloudFrontDistributionOrigin1S3OriginED98FCA5",
209
- "trace": [
210
- "!!DESTRUCTIVE_CHANGES: WILL_DESTROY"
211
- ]
212
- }
213
360
  ]
214
361
  },
215
362
  "displayName": "cftoais3-no-security-headers"