terraconstructs 0.0.9 → 0.0.11

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 (136) hide show
  1. package/.jsii +1391 -145
  2. package/lib/aws/arn.js +1 -1
  3. package/lib/aws/aws-construct.js +1 -1
  4. package/lib/aws/aws-stack.js +1 -1
  5. package/lib/aws/cloudwatch/actions/ec2.js +1 -1
  6. package/lib/aws/cloudwatch/actions/lambda.js +1 -1
  7. package/lib/aws/cloudwatch/alarm-base.js +1 -1
  8. package/lib/aws/cloudwatch/alarm-rule.js +1 -1
  9. package/lib/aws/cloudwatch/alarm-status-widget.js +1 -1
  10. package/lib/aws/cloudwatch/alarm.js +1 -1
  11. package/lib/aws/cloudwatch/composite-alarm.js +1 -1
  12. package/lib/aws/cloudwatch/dashboard.js +1 -1
  13. package/lib/aws/cloudwatch/data-protection-policy.js +3 -3
  14. package/lib/aws/cloudwatch/graph.js +8 -8
  15. package/lib/aws/cloudwatch/layout.js +3 -3
  16. package/lib/aws/cloudwatch/log-destinations/kinesis.js +1 -1
  17. package/lib/aws/cloudwatch/log-destinations/lambda.js +1 -1
  18. package/lib/aws/cloudwatch/log-group.js +1 -1
  19. package/lib/aws/cloudwatch/log-query.js +1 -1
  20. package/lib/aws/cloudwatch/log-stream.js +1 -1
  21. package/lib/aws/cloudwatch/metric-filter.js +1 -1
  22. package/lib/aws/cloudwatch/metric.js +2 -2
  23. package/lib/aws/cloudwatch/pattern.js +3 -3
  24. package/lib/aws/cloudwatch/policy.js +1 -1
  25. package/lib/aws/cloudwatch/query-definition.js +2 -2
  26. package/lib/aws/cloudwatch/stats.js +1 -1
  27. package/lib/aws/cloudwatch/subscription-filter.js +1 -1
  28. package/lib/aws/cloudwatch/text.js +1 -1
  29. package/lib/aws/cloudwatch/variable.js +3 -3
  30. package/lib/aws/cloudwatch/widget.js +1 -1
  31. package/lib/aws/compute/activity.js +1 -1
  32. package/lib/aws/compute/architecture.js +1 -1
  33. package/lib/aws/compute/chain.js +1 -1
  34. package/lib/aws/compute/condition.js +1 -1
  35. package/lib/aws/compute/event-invoke-config.js +1 -1
  36. package/lib/aws/compute/event-source-filter.js +2 -2
  37. package/lib/aws/compute/event-source-mapping.js +1 -1
  38. package/lib/aws/compute/event-sources/s3-onfailure-destination.js +1 -1
  39. package/lib/aws/compute/event-sources/s3.js +1 -1
  40. package/lib/aws/compute/event-sources/sqs-dlq.js +1 -1
  41. package/lib/aws/compute/event-sources/sqs.js +1 -1
  42. package/lib/aws/compute/fields.js +4 -4
  43. package/lib/aws/compute/function-alias.js +1 -1
  44. package/lib/aws/compute/function-base.js +2 -2
  45. package/lib/aws/compute/function-destinations/event-bridge.js +1 -1
  46. package/lib/aws/compute/function-destinations/function.js +1 -1
  47. package/lib/aws/compute/function-destinations/sqs.js +1 -1
  48. package/lib/aws/compute/function-nodejs.js +1 -1
  49. package/lib/aws/compute/function-url.js +1 -1
  50. package/lib/aws/compute/function.js +1 -1
  51. package/lib/aws/compute/state-graph.js +1 -1
  52. package/lib/aws/compute/state-machine-fragment.js +1 -1
  53. package/lib/aws/compute/state-machine.js +4 -4
  54. package/lib/aws/compute/states/choice.js +1 -1
  55. package/lib/aws/compute/states/custom-state.js +1 -1
  56. package/lib/aws/compute/states/distributed-map/item-batcher.js +1 -1
  57. package/lib/aws/compute/states/distributed-map/item-reader.js +5 -5
  58. package/lib/aws/compute/states/distributed-map/result-writer.js +1 -1
  59. package/lib/aws/compute/states/distributed-map.js +1 -1
  60. package/lib/aws/compute/states/fail.js +1 -1
  61. package/lib/aws/compute/states/map-base.js +1 -1
  62. package/lib/aws/compute/states/map.js +1 -1
  63. package/lib/aws/compute/states/parallel.js +1 -1
  64. package/lib/aws/compute/states/pass.js +2 -2
  65. package/lib/aws/compute/states/state.js +1 -1
  66. package/lib/aws/compute/states/succeed.js +1 -1
  67. package/lib/aws/compute/states/task-base.js +2 -2
  68. package/lib/aws/compute/states/task.js +1 -1
  69. package/lib/aws/compute/states/wait.js +2 -2
  70. package/lib/aws/compute/task-credentials.js +1 -1
  71. package/lib/aws/compute/task-input.js +1 -1
  72. package/lib/aws/compute/tasks/aws-sdk/call-aws-service.js +1 -1
  73. package/lib/aws/compute/tasks/eventbridge/put-events.js +1 -1
  74. package/lib/aws/compute/tasks/http/invoke.js +1 -1
  75. package/lib/aws/compute/tasks/lambda/invoke.js +1 -1
  76. package/lib/aws/compute/tasks/sqs/send-message.js +1 -1
  77. package/lib/aws/compute/tasks/stepfunctions/invoke-activity.js +1 -1
  78. package/lib/aws/compute/tasks/stepfunctions/start-execution.js +1 -1
  79. package/lib/aws/compute/types.js +1 -1
  80. package/lib/aws/edge/certificate.js +1 -1
  81. package/lib/aws/edge/distribution.d.ts +5 -19
  82. package/lib/aws/edge/distribution.js +16 -26
  83. package/lib/aws/edge/dns-alias-record-targets.js +2 -2
  84. package/lib/aws/edge/dns-record.js +13 -13
  85. package/lib/aws/edge/dns-zone.js +1 -1
  86. package/lib/aws/edge/function.js +2 -2
  87. package/lib/aws/edge/index.d.ts +1 -0
  88. package/lib/aws/edge/index.js +2 -1
  89. package/lib/aws/edge/key-value-store.js +4 -4
  90. package/lib/aws/edge/origin.js +5 -5
  91. package/lib/aws/edge/response-headers-policy.d.ts +374 -0
  92. package/lib/aws/edge/response-headers-policy.js +220 -0
  93. package/lib/aws/encryption/alias.js +1 -1
  94. package/lib/aws/encryption/key.js +1 -1
  95. package/lib/aws/encryption/via-service-principal.js +1 -1
  96. package/lib/aws/iam/grant.js +2 -2
  97. package/lib/aws/iam/managed-policy.js +1 -1
  98. package/lib/aws/iam/oidc-provider.js +1 -1
  99. package/lib/aws/iam/policy-document.js +1 -1
  100. package/lib/aws/iam/policy-statement.js +1 -1
  101. package/lib/aws/iam/policy.js +1 -1
  102. package/lib/aws/iam/principals.js +20 -20
  103. package/lib/aws/iam/role.js +1 -1
  104. package/lib/aws/iam/saml-provider.js +2 -2
  105. package/lib/aws/iam/unknown-principal.js +1 -1
  106. package/lib/aws/network/simple-ipv4-vpc.js +1 -1
  107. package/lib/aws/network/subnet-group.js +3 -3
  108. package/lib/aws/network/subnet.js +4 -4
  109. package/lib/aws/notify/archive.js +1 -1
  110. package/lib/aws/notify/connection.js +3 -3
  111. package/lib/aws/notify/event-bus.js +3 -3
  112. package/lib/aws/notify/event-pattern.js +1 -1
  113. package/lib/aws/notify/input.js +2 -2
  114. package/lib/aws/notify/kinesis-stream.js +1 -1
  115. package/lib/aws/notify/queue-policy.js +1 -1
  116. package/lib/aws/notify/queue.js +1 -1
  117. package/lib/aws/notify/resource-policy.js +1 -1
  118. package/lib/aws/notify/rule.js +1 -1
  119. package/lib/aws/notify/schedule.js +1 -1
  120. package/lib/aws/notify/targets/event-bus.js +1 -1
  121. package/lib/aws/notify/targets/function.js +1 -1
  122. package/lib/aws/notify/targets/log-group.js +2 -2
  123. package/lib/aws/notify/targets/sqs.js +1 -1
  124. package/lib/aws/notify/targets/state-machine.js +1 -1
  125. package/lib/aws/storage/bucket-notifications.js +1 -1
  126. package/lib/aws/storage/bucket-policy.js +1 -1
  127. package/lib/aws/storage/bucket-source.js +1 -1
  128. package/lib/aws/storage/bucket.js +1 -1
  129. package/lib/aws/storage/notification-targets/function.js +1 -1
  130. package/lib/aws/storage/notification-targets/queue.js +1 -1
  131. package/lib/aws/storage/origin-access-identity.js +1 -1
  132. package/lib/construct-base.js +2 -2
  133. package/lib/duration.js +1 -1
  134. package/lib/size.js +1 -1
  135. package/lib/stack-base.js +1 -1
  136. package/package.json +1 -1
package/.jsii CHANGED
@@ -45192,7 +45192,7 @@
45192
45192
  "kind": "interface",
45193
45193
  "locationInModule": {
45194
45194
  "filename": "src/aws/edge/distribution.ts",
45195
- "line": 689
45195
+ "line": 705
45196
45196
  },
45197
45197
  "name": "AddBehaviorOptions",
45198
45198
  "namespace": "aws.edge",
@@ -45207,7 +45207,7 @@
45207
45207
  "immutable": true,
45208
45208
  "locationInModule": {
45209
45209
  "filename": "src/aws/edge/distribution.ts",
45210
- "line": 695
45210
+ "line": 711
45211
45211
  },
45212
45212
  "name": "allowedMethods",
45213
45213
  "optional": true,
@@ -45225,7 +45225,7 @@
45225
45225
  "immutable": true,
45226
45226
  "locationInModule": {
45227
45227
  "filename": "src/aws/edge/distribution.ts",
45228
- "line": 702
45228
+ "line": 718
45229
45229
  },
45230
45230
  "name": "cachedMethods",
45231
45231
  "optional": true,
@@ -45245,7 +45245,7 @@
45245
45245
  "immutable": true,
45246
45246
  "locationInModule": {
45247
45247
  "filename": "src/aws/edge/distribution.ts",
45248
- "line": 711
45248
+ "line": 727
45249
45249
  },
45250
45250
  "name": "cachePolicy",
45251
45251
  "optional": true,
@@ -45264,7 +45264,7 @@
45264
45264
  "immutable": true,
45265
45265
  "locationInModule": {
45266
45266
  "filename": "src/aws/edge/distribution.ts",
45267
- "line": 720
45267
+ "line": 736
45268
45268
  },
45269
45269
  "name": "compress",
45270
45270
  "optional": true,
@@ -45282,7 +45282,7 @@
45282
45282
  "immutable": true,
45283
45283
  "locationInModule": {
45284
45284
  "filename": "src/aws/edge/distribution.ts",
45285
- "line": 756
45285
+ "line": 774
45286
45286
  },
45287
45287
  "name": "functionAssociations",
45288
45288
  "optional": true,
@@ -45306,7 +45306,7 @@
45306
45306
  "immutable": true,
45307
45307
  "locationInModule": {
45308
45308
  "filename": "src/aws/edge/distribution.ts",
45309
- "line": 728
45309
+ "line": 744
45310
45310
  },
45311
45311
  "name": "originRequestPolicy",
45312
45312
  "optional": true,
@@ -45325,12 +45325,21 @@
45325
45325
  "immutable": true,
45326
45326
  "locationInModule": {
45327
45327
  "filename": "src/aws/edge/distribution.ts",
45328
- "line": 735
45328
+ "line": 751
45329
45329
  },
45330
45330
  "name": "responseHeadersPolicy",
45331
45331
  "optional": true,
45332
45332
  "type": {
45333
- "fqn": "terraconstructs.aws.edge.ManagedResponseHeadersPolicy"
45333
+ "union": {
45334
+ "types": [
45335
+ {
45336
+ "fqn": "terraconstructs.aws.edge.IResponseHeadersPolicy"
45337
+ },
45338
+ {
45339
+ "fqn": "terraconstructs.aws.edge.ManagedResponseHeadersPolicy"
45340
+ }
45341
+ ]
45342
+ }
45334
45343
  }
45335
45344
  },
45336
45345
  {
@@ -45343,7 +45352,7 @@
45343
45352
  "immutable": true,
45344
45353
  "locationInModule": {
45345
45354
  "filename": "src/aws/edge/distribution.ts",
45346
- "line": 742
45355
+ "line": 760
45347
45356
  },
45348
45357
  "name": "smoothStreaming",
45349
45358
  "optional": true,
@@ -45361,7 +45370,7 @@
45361
45370
  "immutable": true,
45362
45371
  "locationInModule": {
45363
45372
  "filename": "src/aws/edge/distribution.ts",
45364
- "line": 749
45373
+ "line": 767
45365
45374
  },
45366
45375
  "name": "viewerProtocolPolicy",
45367
45376
  "optional": true,
@@ -45382,7 +45391,7 @@
45382
45391
  "kind": "class",
45383
45392
  "locationInModule": {
45384
45393
  "filename": "src/aws/edge/distribution.ts",
45385
- "line": 762
45394
+ "line": 780
45386
45395
  },
45387
45396
  "name": "AllowedMethods",
45388
45397
  "namespace": "aws.edge",
@@ -45396,7 +45405,7 @@
45396
45405
  "immutable": true,
45397
45406
  "locationInModule": {
45398
45407
  "filename": "src/aws/edge/distribution.ts",
45399
- "line": 772
45408
+ "line": 790
45400
45409
  },
45401
45410
  "name": "ALLOW_ALL",
45402
45411
  "static": true,
@@ -45413,7 +45422,7 @@
45413
45422
  "immutable": true,
45414
45423
  "locationInModule": {
45415
45424
  "filename": "src/aws/edge/distribution.ts",
45416
- "line": 764
45425
+ "line": 782
45417
45426
  },
45418
45427
  "name": "ALLOW_GET_HEAD",
45419
45428
  "static": true,
@@ -45430,7 +45439,7 @@
45430
45439
  "immutable": true,
45431
45440
  "locationInModule": {
45432
45441
  "filename": "src/aws/edge/distribution.ts",
45433
- "line": 766
45442
+ "line": 784
45434
45443
  },
45435
45444
  "name": "ALLOW_GET_HEAD_OPTIONS",
45436
45445
  "static": true,
@@ -45446,7 +45455,7 @@
45446
45455
  "immutable": true,
45447
45456
  "locationInModule": {
45448
45457
  "filename": "src/aws/edge/distribution.ts",
45449
- "line": 783
45458
+ "line": 801
45450
45459
  },
45451
45460
  "name": "methods",
45452
45461
  "type": {
@@ -45475,7 +45484,7 @@
45475
45484
  "kind": "interface",
45476
45485
  "locationInModule": {
45477
45486
  "filename": "src/aws/edge/distribution.ts",
45478
- "line": 679
45487
+ "line": 695
45479
45488
  },
45480
45489
  "name": "BehaviorOptions",
45481
45490
  "namespace": "aws.edge",
@@ -45489,7 +45498,7 @@
45489
45498
  "immutable": true,
45490
45499
  "locationInModule": {
45491
45500
  "filename": "src/aws/edge/distribution.ts",
45492
- "line": 683
45501
+ "line": 699
45493
45502
  },
45494
45503
  "name": "origin",
45495
45504
  "type": {
@@ -45847,7 +45856,7 @@
45847
45856
  "kind": "class",
45848
45857
  "locationInModule": {
45849
45858
  "filename": "src/aws/edge/distribution.ts",
45850
- "line": 793
45859
+ "line": 811
45851
45860
  },
45852
45861
  "name": "CachedMethods",
45853
45862
  "namespace": "aws.edge",
@@ -45861,7 +45870,7 @@
45861
45870
  "immutable": true,
45862
45871
  "locationInModule": {
45863
45872
  "filename": "src/aws/edge/distribution.ts",
45864
- "line": 795
45873
+ "line": 813
45865
45874
  },
45866
45875
  "name": "CACHE_GET_HEAD",
45867
45876
  "static": true,
@@ -45878,7 +45887,7 @@
45878
45887
  "immutable": true,
45879
45888
  "locationInModule": {
45880
45889
  "filename": "src/aws/edge/distribution.ts",
45881
- "line": 797
45890
+ "line": 815
45882
45891
  },
45883
45892
  "name": "CACHE_GET_HEAD_OPTIONS",
45884
45893
  "static": true,
@@ -45894,7 +45903,7 @@
45894
45903
  "immutable": true,
45895
45904
  "locationInModule": {
45896
45905
  "filename": "src/aws/edge/distribution.ts",
45897
- "line": 804
45906
+ "line": 822
45898
45907
  },
45899
45908
  "name": "methods",
45900
45909
  "type": {
@@ -46280,7 +46289,7 @@
46280
46289
  },
46281
46290
  "locationInModule": {
46282
46291
  "filename": "src/aws/edge/distribution.ts",
46283
- "line": 239
46292
+ "line": 247
46284
46293
  },
46285
46294
  "parameters": [
46286
46295
  {
@@ -46309,7 +46318,7 @@
46309
46318
  "kind": "class",
46310
46319
  "locationInModule": {
46311
46320
  "filename": "src/aws/edge/distribution.ts",
46312
- "line": 215
46321
+ "line": 223
46313
46322
  },
46314
46323
  "methods": [
46315
46324
  {
@@ -46319,7 +46328,7 @@
46319
46328
  },
46320
46329
  "locationInModule": {
46321
46330
  "filename": "src/aws/edge/distribution.ts",
46322
- "line": 405
46331
+ "line": 413
46323
46332
  },
46324
46333
  "name": "addBehavior",
46325
46334
  "parameters": [
@@ -46360,7 +46369,7 @@
46360
46369
  },
46361
46370
  "locationInModule": {
46362
46371
  "filename": "src/aws/edge/distribution.ts",
46363
- "line": 345
46372
+ "line": 353
46364
46373
  },
46365
46374
  "name": "addOrigin",
46366
46375
  "parameters": [
@@ -46402,7 +46411,7 @@
46402
46411
  "immutable": true,
46403
46412
  "locationInModule": {
46404
46413
  "filename": "src/aws/edge/distribution.ts",
46405
- "line": 220
46414
+ "line": 228
46406
46415
  },
46407
46416
  "name": "distributionOutputs",
46408
46417
  "overrides": "terraconstructs.aws.edge.IDistribution",
@@ -46418,7 +46427,7 @@
46418
46427
  "immutable": true,
46419
46428
  "locationInModule": {
46420
46429
  "filename": "src/aws/edge/distribution.ts",
46421
- "line": 227
46430
+ "line": 235
46422
46431
  },
46423
46432
  "name": "domainName",
46424
46433
  "overrides": "terraconstructs.aws.edge.IDistribution",
@@ -46435,7 +46444,7 @@
46435
46444
  "immutable": true,
46436
46445
  "locationInModule": {
46437
46446
  "filename": "src/aws/edge/distribution.ts",
46438
- "line": 230
46447
+ "line": 238
46439
46448
  },
46440
46449
  "name": "hostedZoneId",
46441
46450
  "overrides": "terraconstructs.aws.edge.IDistribution",
@@ -46451,7 +46460,7 @@
46451
46460
  "immutable": true,
46452
46461
  "locationInModule": {
46453
46462
  "filename": "src/aws/edge/distribution.ts",
46454
- "line": 223
46463
+ "line": 231
46455
46464
  },
46456
46465
  "name": "outputs",
46457
46466
  "overrides": "terraconstructs.TerraConstructBase",
@@ -46478,7 +46487,7 @@
46478
46487
  "kind": "interface",
46479
46488
  "locationInModule": {
46480
46489
  "filename": "src/aws/edge/distribution.ts",
46481
- "line": 29
46490
+ "line": 34
46482
46491
  },
46483
46492
  "name": "DistributionOutputs",
46484
46493
  "namespace": "aws.edge",
@@ -46492,7 +46501,7 @@
46492
46501
  "immutable": true,
46493
46502
  "locationInModule": {
46494
46503
  "filename": "src/aws/edge/distribution.ts",
46495
- "line": 54
46504
+ "line": 59
46496
46505
  },
46497
46506
  "name": "arn",
46498
46507
  "type": {
@@ -46509,7 +46518,7 @@
46509
46518
  "immutable": true,
46510
46519
  "locationInModule": {
46511
46520
  "filename": "src/aws/edge/distribution.ts",
46512
- "line": 61
46521
+ "line": 66
46513
46522
  },
46514
46523
  "name": "domainName",
46515
46524
  "type": {
@@ -46526,7 +46535,7 @@
46526
46535
  "immutable": true,
46527
46536
  "locationInModule": {
46528
46537
  "filename": "src/aws/edge/distribution.ts",
46529
- "line": 41
46538
+ "line": 46
46530
46539
  },
46531
46540
  "name": "hostedZoneId",
46532
46541
  "type": {
@@ -46543,7 +46552,7 @@
46543
46552
  "immutable": true,
46544
46553
  "locationInModule": {
46545
46554
  "filename": "src/aws/edge/distribution.ts",
46546
- "line": 33
46555
+ "line": 38
46547
46556
  },
46548
46557
  "name": "id",
46549
46558
  "type": {
@@ -46560,7 +46569,7 @@
46560
46569
  "immutable": true,
46561
46570
  "locationInModule": {
46562
46571
  "filename": "src/aws/edge/distribution.ts",
46563
- "line": 49
46572
+ "line": 54
46564
46573
  },
46565
46574
  "name": "status",
46566
46575
  "type": {
@@ -46574,7 +46583,8 @@
46574
46583
  "assembly": "terraconstructs",
46575
46584
  "datatype": true,
46576
46585
  "docs": {
46577
- "stability": "stable"
46586
+ "stability": "stable",
46587
+ "summary": "Properties for a Distribution."
46578
46588
  },
46579
46589
  "fqn": "terraconstructs.aws.edge.DistributionProps",
46580
46590
  "interfaces": [
@@ -46583,7 +46593,7 @@
46583
46593
  "kind": "interface",
46584
46594
  "locationInModule": {
46585
46595
  "filename": "src/aws/edge/distribution.ts",
46586
- "line": 91
46596
+ "line": 99
46587
46597
  },
46588
46598
  "name": "DistributionProps",
46589
46599
  "namespace": "aws.edge",
@@ -46597,7 +46607,7 @@
46597
46607
  "immutable": true,
46598
46608
  "locationInModule": {
46599
46609
  "filename": "src/aws/edge/distribution.ts",
46600
- "line": 117
46610
+ "line": 125
46601
46611
  },
46602
46612
  "name": "defaultBehavior",
46603
46613
  "type": {
@@ -46614,7 +46624,7 @@
46614
46624
  "immutable": true,
46615
46625
  "locationInModule": {
46616
46626
  "filename": "src/aws/edge/distribution.ts",
46617
- "line": 124
46627
+ "line": 132
46618
46628
  },
46619
46629
  "name": "additionalBehaviors",
46620
46630
  "optional": true,
@@ -46636,7 +46646,7 @@
46636
46646
  "immutable": true,
46637
46647
  "locationInModule": {
46638
46648
  "filename": "src/aws/edge/distribution.ts",
46639
- "line": 95
46649
+ "line": 103
46640
46650
  },
46641
46651
  "name": "aliases",
46642
46652
  "optional": true,
@@ -46660,7 +46670,7 @@
46660
46670
  "immutable": true,
46661
46671
  "locationInModule": {
46662
46672
  "filename": "src/aws/edge/distribution.ts",
46663
- "line": 131
46673
+ "line": 139
46664
46674
  },
46665
46675
  "name": "certificate",
46666
46676
  "optional": true,
@@ -46678,7 +46688,7 @@
46678
46688
  "immutable": true,
46679
46689
  "locationInModule": {
46680
46690
  "filename": "src/aws/edge/distribution.ts",
46681
- "line": 138
46691
+ "line": 146
46682
46692
  },
46683
46693
  "name": "comment",
46684
46694
  "optional": true,
@@ -46696,7 +46706,7 @@
46696
46706
  "immutable": true,
46697
46707
  "locationInModule": {
46698
46708
  "filename": "src/aws/edge/distribution.ts",
46699
- "line": 147
46709
+ "line": 155
46700
46710
  },
46701
46711
  "name": "defaultRootObject",
46702
46712
  "optional": true,
@@ -46714,7 +46724,7 @@
46714
46724
  "immutable": true,
46715
46725
  "locationInModule": {
46716
46726
  "filename": "src/aws/edge/distribution.ts",
46717
- "line": 102
46727
+ "line": 110
46718
46728
  },
46719
46729
  "name": "enabled",
46720
46730
  "optional": true,
@@ -46741,7 +46751,7 @@
46741
46751
  "immutable": true,
46742
46752
  "locationInModule": {
46743
46753
  "filename": "src/aws/edge/distribution.ts",
46744
- "line": 180
46754
+ "line": 188
46745
46755
  },
46746
46756
  "name": "errorResponses",
46747
46757
  "optional": true,
@@ -46764,7 +46774,7 @@
46764
46774
  "immutable": true,
46765
46775
  "locationInModule": {
46766
46776
  "filename": "src/aws/edge/distribution.ts",
46767
- "line": 154
46777
+ "line": 162
46768
46778
  },
46769
46779
  "name": "geoRestriction",
46770
46780
  "optional": true,
@@ -46783,7 +46793,7 @@
46783
46793
  "immutable": true,
46784
46794
  "locationInModule": {
46785
46795
  "filename": "src/aws/edge/distribution.ts",
46786
- "line": 163
46796
+ "line": 171
46787
46797
  },
46788
46798
  "name": "httpVersion",
46789
46799
  "optional": true,
@@ -46802,7 +46812,7 @@
46802
46812
  "immutable": true,
46803
46813
  "locationInModule": {
46804
46814
  "filename": "src/aws/edge/distribution.ts",
46805
- "line": 190
46815
+ "line": 198
46806
46816
  },
46807
46817
  "name": "minimumProtocolVersion",
46808
46818
  "optional": true,
@@ -46821,7 +46831,7 @@
46821
46831
  "immutable": true,
46822
46832
  "locationInModule": {
46823
46833
  "filename": "src/aws/edge/distribution.ts",
46824
- "line": 173
46834
+ "line": 181
46825
46835
  },
46826
46836
  "name": "priceClass",
46827
46837
  "optional": true,
@@ -46840,7 +46850,7 @@
46840
46850
  "immutable": true,
46841
46851
  "locationInModule": {
46842
46852
  "filename": "src/aws/edge/distribution.ts",
46843
- "line": 209
46853
+ "line": 217
46844
46854
  },
46845
46855
  "name": "sslSupportMethod",
46846
46856
  "optional": true,
@@ -46859,7 +46869,7 @@
46859
46869
  "immutable": true,
46860
46870
  "locationInModule": {
46861
46871
  "filename": "src/aws/edge/distribution.ts",
46862
- "line": 112
46872
+ "line": 120
46863
46873
  },
46864
46874
  "name": "waitForDeployment",
46865
46875
  "optional": true,
@@ -47481,7 +47491,7 @@
47481
47491
  "kind": "interface",
47482
47492
  "locationInModule": {
47483
47493
  "filename": "src/aws/edge/distribution.ts",
47484
- "line": 626
47494
+ "line": 642
47485
47495
  },
47486
47496
  "name": "ErrorResponse",
47487
47497
  "namespace": "aws.edge",
@@ -47495,7 +47505,7 @@
47495
47505
  "immutable": true,
47496
47506
  "locationInModule": {
47497
47507
  "filename": "src/aws/edge/distribution.ts",
47498
- "line": 636
47508
+ "line": 652
47499
47509
  },
47500
47510
  "name": "httpStatus",
47501
47511
  "type": {
@@ -47513,7 +47523,7 @@
47513
47523
  "immutable": true,
47514
47524
  "locationInModule": {
47515
47525
  "filename": "src/aws/edge/distribution.ts",
47516
- "line": 644
47526
+ "line": 660
47517
47527
  },
47518
47528
  "name": "responseHttpStatus",
47519
47529
  "optional": true,
@@ -47531,7 +47541,7 @@
47531
47541
  "immutable": true,
47532
47542
  "locationInModule": {
47533
47543
  "filename": "src/aws/edge/distribution.ts",
47534
- "line": 651
47544
+ "line": 667
47535
47545
  },
47536
47546
  "name": "responsePagePath",
47537
47547
  "optional": true,
@@ -47549,7 +47559,7 @@
47549
47559
  "immutable": true,
47550
47560
  "locationInModule": {
47551
47561
  "filename": "src/aws/edge/distribution.ts",
47552
- "line": 632
47562
+ "line": 648
47553
47563
  },
47554
47564
  "name": "ttl",
47555
47565
  "optional": true,
@@ -48232,7 +48242,7 @@
48232
48242
  "kind": "interface",
48233
48243
  "locationInModule": {
48234
48244
  "filename": "src/aws/edge/distribution.ts",
48235
- "line": 550
48245
+ "line": 566
48236
48246
  },
48237
48247
  "name": "GeoRestriction",
48238
48248
  "namespace": "aws.edge",
@@ -48245,7 +48255,7 @@
48245
48255
  "immutable": true,
48246
48256
  "locationInModule": {
48247
48257
  "filename": "src/aws/edge/distribution.ts",
48248
- "line": 551
48258
+ "line": 567
48249
48259
  },
48250
48260
  "name": "locations",
48251
48261
  "type": {
@@ -48265,7 +48275,7 @@
48265
48275
  "immutable": true,
48266
48276
  "locationInModule": {
48267
48277
  "filename": "src/aws/edge/distribution.ts",
48268
- "line": 552
48278
+ "line": 568
48269
48279
  },
48270
48280
  "name": "restrictionType",
48271
48281
  "type": {
@@ -48284,7 +48294,7 @@
48284
48294
  "kind": "enum",
48285
48295
  "locationInModule": {
48286
48296
  "filename": "src/aws/edge/distribution.ts",
48287
- "line": 555
48297
+ "line": 571
48288
48298
  },
48289
48299
  "members": [
48290
48300
  {
@@ -48310,6 +48320,112 @@
48310
48320
  "namespace": "aws.edge",
48311
48321
  "symbolId": "src/aws/edge/distribution:GeoRestrictionType"
48312
48322
  },
48323
+ "terraconstructs.aws.edge.HeadersFrameOption": {
48324
+ "assembly": "terraconstructs",
48325
+ "docs": {
48326
+ "stability": "stable",
48327
+ "summary": "Enum representing possible values of the X-Frame-Options HTTP response header."
48328
+ },
48329
+ "fqn": "terraconstructs.aws.edge.HeadersFrameOption",
48330
+ "kind": "enum",
48331
+ "locationInModule": {
48332
+ "filename": "src/aws/edge/response-headers-policy.ts",
48333
+ "line": 524
48334
+ },
48335
+ "members": [
48336
+ {
48337
+ "docs": {
48338
+ "stability": "stable",
48339
+ "summary": "The page can only be displayed in a frame on the same origin as the page itself."
48340
+ },
48341
+ "name": "DENY"
48342
+ },
48343
+ {
48344
+ "docs": {
48345
+ "stability": "stable",
48346
+ "summary": "The page can only be displayed in a frame on the specified origin."
48347
+ },
48348
+ "name": "SAMEORIGIN"
48349
+ }
48350
+ ],
48351
+ "name": "HeadersFrameOption",
48352
+ "namespace": "aws.edge",
48353
+ "symbolId": "src/aws/edge/response-headers-policy:HeadersFrameOption"
48354
+ },
48355
+ "terraconstructs.aws.edge.HeadersReferrerPolicy": {
48356
+ "assembly": "terraconstructs",
48357
+ "docs": {
48358
+ "stability": "stable",
48359
+ "summary": "Enum representing possible values of the Referrer-Policy HTTP response header."
48360
+ },
48361
+ "fqn": "terraconstructs.aws.edge.HeadersReferrerPolicy",
48362
+ "kind": "enum",
48363
+ "locationInModule": {
48364
+ "filename": "src/aws/edge/response-headers-policy.ts",
48365
+ "line": 539
48366
+ },
48367
+ "members": [
48368
+ {
48369
+ "docs": {
48370
+ "stability": "stable",
48371
+ "summary": "The referrer policy is not set."
48372
+ },
48373
+ "name": "NO_REFERRER"
48374
+ },
48375
+ {
48376
+ "docs": {
48377
+ "stability": "stable",
48378
+ "summary": "The referrer policy is no-referrer-when-downgrade."
48379
+ },
48380
+ "name": "NO_REFERRER_WHEN_DOWNGRADE"
48381
+ },
48382
+ {
48383
+ "docs": {
48384
+ "stability": "stable",
48385
+ "summary": "The referrer policy is origin."
48386
+ },
48387
+ "name": "ORIGIN"
48388
+ },
48389
+ {
48390
+ "docs": {
48391
+ "stability": "stable",
48392
+ "summary": "The referrer policy is origin-when-cross-origin."
48393
+ },
48394
+ "name": "ORIGIN_WHEN_CROSS_ORIGIN"
48395
+ },
48396
+ {
48397
+ "docs": {
48398
+ "stability": "stable",
48399
+ "summary": "The referrer policy is same-origin."
48400
+ },
48401
+ "name": "SAME_ORIGIN"
48402
+ },
48403
+ {
48404
+ "docs": {
48405
+ "stability": "stable",
48406
+ "summary": "The referrer policy is strict-origin."
48407
+ },
48408
+ "name": "STRICT_ORIGIN"
48409
+ },
48410
+ {
48411
+ "docs": {
48412
+ "stability": "stable",
48413
+ "summary": "The referrer policy is strict-origin-when-cross-origin."
48414
+ },
48415
+ "name": "STRICT_ORIGIN_WHEN_CROSS_ORIGIN"
48416
+ },
48417
+ {
48418
+ "docs": {
48419
+ "stability": "stable",
48420
+ "summary": "The referrer policy is unsafe-url."
48421
+ },
48422
+ "name": "UNSAFE_URL"
48423
+ }
48424
+ ],
48425
+ "name": "HeadersReferrerPolicy",
48426
+ "namespace": "aws.edge",
48427
+ "symbolId": "src/aws/edge/response-headers-policy:HeadersReferrerPolicy"
48428
+ },
48313
48429
  "terraconstructs.aws.edge.HttpOrigin": {
48314
48430
  "assembly": "terraconstructs",
48315
48431
  "base": "terraconstructs.aws.edge.OriginBase",
@@ -48518,7 +48634,7 @@
48518
48634
  "kind": "enum",
48519
48635
  "locationInModule": {
48520
48636
  "filename": "src/aws/edge/distribution.ts",
48521
- "line": 564
48637
+ "line": 580
48522
48638
  },
48523
48639
  "members": [
48524
48640
  {
@@ -48685,7 +48801,7 @@
48685
48801
  "kind": "interface",
48686
48802
  "locationInModule": {
48687
48803
  "filename": "src/aws/edge/distribution.ts",
48688
- "line": 67
48804
+ "line": 72
48689
48805
  },
48690
48806
  "name": "IDistribution",
48691
48807
  "namespace": "aws.edge",
@@ -48702,7 +48818,7 @@
48702
48818
  "immutable": true,
48703
48819
  "locationInModule": {
48704
48820
  "filename": "src/aws/edge/distribution.ts",
48705
- "line": 72
48821
+ "line": 77
48706
48822
  },
48707
48823
  "name": "distributionOutputs",
48708
48824
  "type": {
@@ -48721,7 +48837,7 @@
48721
48837
  "immutable": true,
48722
48838
  "locationInModule": {
48723
48839
  "filename": "src/aws/edge/distribution.ts",
48724
- "line": 80
48840
+ "line": 85
48725
48841
  },
48726
48842
  "name": "domainName",
48727
48843
  "type": {
@@ -48738,7 +48854,7 @@
48738
48854
  "immutable": true,
48739
48855
  "locationInModule": {
48740
48856
  "filename": "src/aws/edge/distribution.ts",
48741
- "line": 88
48857
+ "line": 93
48742
48858
  },
48743
48859
  "name": "hostedZoneId",
48744
48860
  "type": {
@@ -49172,6 +49288,43 @@
49172
49288
  ],
49173
49289
  "symbolId": "src/aws/edge/dns-record:IRecordSet"
49174
49290
  },
49291
+ "terraconstructs.aws.edge.IResponseHeadersPolicy": {
49292
+ "assembly": "terraconstructs",
49293
+ "docs": {
49294
+ "stability": "stable",
49295
+ "summary": "Represents a response headers policy."
49296
+ },
49297
+ "fqn": "terraconstructs.aws.edge.IResponseHeadersPolicy",
49298
+ "kind": "interface",
49299
+ "locationInModule": {
49300
+ "filename": "src/aws/edge/response-headers-policy.ts",
49301
+ "line": 14
49302
+ },
49303
+ "name": "IResponseHeadersPolicy",
49304
+ "namespace": "aws.edge",
49305
+ "properties": [
49306
+ {
49307
+ "abstract": true,
49308
+ "docs": {
49309
+ "custom": {
49310
+ "attribute": "true"
49311
+ },
49312
+ "stability": "stable",
49313
+ "summary": "The ID of the response headers policy."
49314
+ },
49315
+ "immutable": true,
49316
+ "locationInModule": {
49317
+ "filename": "src/aws/edge/response-headers-policy.ts",
49318
+ "line": 19
49319
+ },
49320
+ "name": "responseHeadersPolicyId",
49321
+ "type": {
49322
+ "primitive": "string"
49323
+ }
49324
+ }
49325
+ ],
49326
+ "symbolId": "src/aws/edge/response-headers-policy:IResponseHeadersPolicy"
49327
+ },
49175
49328
  "terraconstructs.aws.edge.IStoreData": {
49176
49329
  "assembly": "terraconstructs",
49177
49330
  "docs": {
@@ -49713,7 +49866,7 @@
49713
49866
  "kind": "enum",
49714
49867
  "locationInModule": {
49715
49868
  "filename": "src/aws/edge/distribution.ts",
49716
- "line": 830
49869
+ "line": 848
49717
49870
  },
49718
49871
  "members": [
49719
49872
  {
@@ -49786,7 +49939,7 @@
49786
49939
  "kind": "enum",
49787
49940
  "locationInModule": {
49788
49941
  "filename": "src/aws/edge/distribution.ts",
49789
- "line": 866
49942
+ "line": 884
49790
49943
  },
49791
49944
  "members": [
49792
49945
  {
@@ -49856,8 +50009,8 @@
49856
50009
  "fqn": "terraconstructs.aws.edge.ManagedResponseHeadersPolicy",
49857
50010
  "kind": "enum",
49858
50011
  "locationInModule": {
49859
- "filename": "src/aws/edge/distribution.ts",
49860
- "line": 889
50012
+ "filename": "src/aws/edge/response-headers-policy.ts",
50013
+ "line": 592
49861
50014
  },
49862
50015
  "members": [
49863
50016
  {
@@ -49898,7 +50051,7 @@
49898
50051
  ],
49899
50052
  "name": "ManagedResponseHeadersPolicy",
49900
50053
  "namespace": "aws.edge",
49901
- "symbolId": "src/aws/edge/distribution:ManagedResponseHeadersPolicy"
50054
+ "symbolId": "src/aws/edge/response-headers-policy:ManagedResponseHeadersPolicy"
49902
50055
  },
49903
50056
  "terraconstructs.aws.edge.MxRecord": {
49904
50057
  "assembly": "terraconstructs",
@@ -50453,7 +50606,7 @@
50453
50606
  "kind": "enum",
50454
50607
  "locationInModule": {
50455
50608
  "filename": "src/aws/edge/distribution.ts",
50456
- "line": 579
50609
+ "line": 595
50457
50610
  },
50458
50611
  "members": [
50459
50612
  {
@@ -51394,120 +51547,1213 @@
51394
51547
  "namespace": "aws.edge",
51395
51548
  "symbolId": "src/aws/edge/dns-record:RecordType"
51396
51549
  },
51397
- "terraconstructs.aws.edge.S3Origin": {
51550
+ "terraconstructs.aws.edge.ResponseCustomHeader": {
51398
51551
  "assembly": "terraconstructs",
51552
+ "datatype": true,
51399
51553
  "docs": {
51400
- "remarks": "If the bucket is configured for website hosting, this origin will be configured to use the bucket as an\nHTTP server origin and will use the bucket's configured website redirects and error handling. Otherwise,\nthe origin is created as a bucket origin and will use CloudFront's redirect and error handling.",
51554
+ "remarks": "CloudFront includes this header in HTTP responses that it sends for requests that match a cache behavior that’s associated with this response headers policy.",
51401
51555
  "stability": "stable",
51402
- "summary": "An Origin that is backed by an S3 bucket."
51556
+ "summary": "An HTTP response header name and its value."
51403
51557
  },
51404
- "fqn": "terraconstructs.aws.edge.S3Origin",
51405
- "initializer": {
51406
- "docs": {
51407
- "stability": "stable"
51558
+ "fqn": "terraconstructs.aws.edge.ResponseCustomHeader",
51559
+ "kind": "interface",
51560
+ "locationInModule": {
51561
+ "filename": "src/aws/edge/response-headers-policy.ts",
51562
+ "line": 332
51563
+ },
51564
+ "name": "ResponseCustomHeader",
51565
+ "namespace": "aws.edge",
51566
+ "properties": [
51567
+ {
51568
+ "abstract": true,
51569
+ "docs": {
51570
+ "stability": "stable",
51571
+ "summary": "The HTTP response header name."
51572
+ },
51573
+ "immutable": true,
51574
+ "locationInModule": {
51575
+ "filename": "src/aws/edge/response-headers-policy.ts",
51576
+ "line": 336
51577
+ },
51578
+ "name": "header",
51579
+ "type": {
51580
+ "primitive": "string"
51581
+ }
51408
51582
  },
51409
- "locationInModule": {
51410
- "filename": "src/aws/edge/origin.ts",
51411
- "line": 282
51583
+ {
51584
+ "abstract": true,
51585
+ "docs": {
51586
+ "stability": "stable",
51587
+ "summary": "A Boolean that determines whether CloudFront overrides a response header with the same name received from the origin with the header specified here."
51588
+ },
51589
+ "immutable": true,
51590
+ "locationInModule": {
51591
+ "filename": "src/aws/edge/response-headers-policy.ts",
51592
+ "line": 342
51593
+ },
51594
+ "name": "override",
51595
+ "type": {
51596
+ "primitive": "boolean"
51597
+ }
51412
51598
  },
51413
- "parameters": [
51414
- {
51415
- "name": "bucket",
51416
- "type": {
51417
- "fqn": "terraconstructs.aws.storage.IBucket"
51418
- }
51599
+ {
51600
+ "abstract": true,
51601
+ "docs": {
51602
+ "stability": "stable",
51603
+ "summary": "The value for the HTTP response header."
51419
51604
  },
51420
- {
51421
- "name": "props",
51422
- "optional": true,
51423
- "type": {
51424
- "fqn": "terraconstructs.aws.edge.OriginProps"
51425
- }
51605
+ "immutable": true,
51606
+ "locationInModule": {
51607
+ "filename": "src/aws/edge/response-headers-policy.ts",
51608
+ "line": 347
51609
+ },
51610
+ "name": "value",
51611
+ "type": {
51612
+ "primitive": "string"
51426
51613
  }
51427
- ]
51428
- },
51429
- "interfaces": [
51430
- "terraconstructs.aws.edge.IOrigin"
51614
+ }
51431
51615
  ],
51432
- "kind": "class",
51616
+ "symbolId": "src/aws/edge/response-headers-policy:ResponseCustomHeader"
51617
+ },
51618
+ "terraconstructs.aws.edge.ResponseCustomHeadersBehavior": {
51619
+ "assembly": "terraconstructs",
51620
+ "datatype": true,
51621
+ "docs": {
51622
+ "stability": "stable",
51623
+ "summary": "Configuration for a set of HTTP response headers that are sent for requests that match a cache behavior that’s associated with this response headers policy."
51624
+ },
51625
+ "fqn": "terraconstructs.aws.edge.ResponseCustomHeadersBehavior",
51626
+ "kind": "interface",
51433
51627
  "locationInModule": {
51434
- "filename": "src/aws/edge/origin.ts",
51435
- "line": 279
51628
+ "filename": "src/aws/edge/response-headers-policy.ts",
51629
+ "line": 321
51436
51630
  },
51437
- "methods": [
51631
+ "name": "ResponseCustomHeadersBehavior",
51632
+ "namespace": "aws.edge",
51633
+ "properties": [
51438
51634
  {
51635
+ "abstract": true,
51439
51636
  "docs": {
51440
51637
  "stability": "stable",
51441
- "summary": "The method called when a given Origin is added (for the first time) to a Distribution."
51638
+ "summary": "The list of HTTP response headers and their values."
51442
51639
  },
51640
+ "immutable": true,
51443
51641
  "locationInModule": {
51444
- "filename": "src/aws/edge/origin.ts",
51445
- "line": 291
51642
+ "filename": "src/aws/edge/response-headers-policy.ts",
51643
+ "line": 325
51446
51644
  },
51447
- "name": "render",
51448
- "overrides": "terraconstructs.aws.edge.IOrigin",
51449
- "parameters": [
51450
- {
51451
- "name": "originId",
51452
- "type": {
51453
- "primitive": "string"
51454
- }
51455
- }
51456
- ],
51457
- "returns": {
51458
- "type": {
51459
- "fqn": "@cdktf/provider-aws.cloudfrontDistribution.CloudfrontDistributionOrigin"
51645
+ "name": "customHeaders",
51646
+ "type": {
51647
+ "collection": {
51648
+ "elementtype": {
51649
+ "fqn": "terraconstructs.aws.edge.ResponseCustomHeader"
51650
+ },
51651
+ "kind": "array"
51460
51652
  }
51461
51653
  }
51462
51654
  }
51463
51655
  ],
51464
- "name": "S3Origin",
51465
- "namespace": "aws.edge",
51466
- "symbolId": "src/aws/edge/origin:S3Origin"
51656
+ "symbolId": "src/aws/edge/response-headers-policy:ResponseCustomHeadersBehavior"
51467
51657
  },
51468
- "terraconstructs.aws.edge.SSLMethod": {
51658
+ "terraconstructs.aws.edge.ResponseHeadersContentSecurityPolicy": {
51469
51659
  "assembly": "terraconstructs",
51660
+ "datatype": true,
51470
51661
  "docs": {
51471
- "remarks": "Server Name Indication (SNI) - is an extension to the TLS computer networking protocol by which a client indicates\n which hostname it is attempting to connect to at the start of the handshaking process. This allows a server to present\n multiple certificates on the same IP address and TCP port number and hence allows multiple secure (HTTPS) websites\n(or any other service over TLS) to be served by the same IP address without requiring all those sites to use the same certificate.\n\nCloudFront can use SNI to host multiple distributions on the same IP - which a large majority of clients will support.\n\nIf your clients cannot support SNI however - CloudFront can use dedicated IPs for your distribution - but there is a prorated monthly charge for\nusing this feature. By default, we use SNI - but you can optionally enable dedicated IPs (VIP).\n\nSee the CloudFront SSL for more details about pricing : https://aws.amazon.com/cloudfront/custom-ssl-domains/",
51472
51662
  "stability": "stable",
51473
- "summary": "The SSL method CloudFront will use for your distribution."
51663
+ "summary": "The policy directives and their values that CloudFront includes as values for the Content-Security-Policy HTTP response header."
51474
51664
  },
51475
- "fqn": "terraconstructs.aws.edge.SSLMethod",
51476
- "kind": "enum",
51665
+ "fqn": "terraconstructs.aws.edge.ResponseHeadersContentSecurityPolicy",
51666
+ "kind": "interface",
51477
51667
  "locationInModule": {
51478
- "filename": "src/aws/edge/distribution.ts",
51479
- "line": 604
51668
+ "filename": "src/aws/edge/response-headers-policy.ts",
51669
+ "line": 402
51480
51670
  },
51481
- "members": [
51671
+ "name": "ResponseHeadersContentSecurityPolicy",
51672
+ "namespace": "aws.edge",
51673
+ "properties": [
51482
51674
  {
51675
+ "abstract": true,
51483
51676
  "docs": {
51484
- "stability": "stable"
51677
+ "stability": "stable",
51678
+ "summary": "The policy directives and their values that CloudFront includes as values for the Content-Security-Policy HTTP response header."
51485
51679
  },
51486
- "name": "SNI"
51680
+ "immutable": true,
51681
+ "locationInModule": {
51682
+ "filename": "src/aws/edge/response-headers-policy.ts",
51683
+ "line": 406
51684
+ },
51685
+ "name": "contentSecurityPolicy",
51686
+ "type": {
51687
+ "primitive": "string"
51688
+ }
51487
51689
  },
51488
51690
  {
51691
+ "abstract": true,
51489
51692
  "docs": {
51490
- "stability": "stable"
51693
+ "stability": "stable",
51694
+ "summary": "A Boolean that determines whether CloudFront overrides the Content-Security-Policy HTTP response header received from the origin with the one specified in this response headers policy."
51491
51695
  },
51492
- "name": "VIP"
51696
+ "immutable": true,
51697
+ "locationInModule": {
51698
+ "filename": "src/aws/edge/response-headers-policy.ts",
51699
+ "line": 412
51700
+ },
51701
+ "name": "override",
51702
+ "type": {
51703
+ "primitive": "boolean"
51704
+ }
51493
51705
  }
51494
51706
  ],
51495
- "name": "SSLMethod",
51707
+ "symbolId": "src/aws/edge/response-headers-policy:ResponseHeadersContentSecurityPolicy"
51708
+ },
51709
+ "terraconstructs.aws.edge.ResponseHeadersContentTypeOptions": {
51710
+ "assembly": "terraconstructs",
51711
+ "datatype": true,
51712
+ "docs": {
51713
+ "stability": "stable",
51714
+ "summary": "Determines whether CloudFront includes the X-Content-Type-Options HTTP response header with its value set to nosniff."
51715
+ },
51716
+ "fqn": "terraconstructs.aws.edge.ResponseHeadersContentTypeOptions",
51717
+ "kind": "interface",
51718
+ "locationInModule": {
51719
+ "filename": "src/aws/edge/response-headers-policy.ts",
51720
+ "line": 418
51721
+ },
51722
+ "name": "ResponseHeadersContentTypeOptions",
51496
51723
  "namespace": "aws.edge",
51497
- "symbolId": "src/aws/edge/distribution:SSLMethod"
51724
+ "properties": [
51725
+ {
51726
+ "abstract": true,
51727
+ "docs": {
51728
+ "stability": "stable",
51729
+ "summary": "A Boolean that determines whether CloudFront overrides the X-Content-Type-Options HTTP response header received from the origin with the one specified in this response headers policy."
51730
+ },
51731
+ "immutable": true,
51732
+ "locationInModule": {
51733
+ "filename": "src/aws/edge/response-headers-policy.ts",
51734
+ "line": 423
51735
+ },
51736
+ "name": "override",
51737
+ "type": {
51738
+ "primitive": "boolean"
51739
+ }
51740
+ }
51741
+ ],
51742
+ "symbolId": "src/aws/edge/response-headers-policy:ResponseHeadersContentTypeOptions"
51498
51743
  },
51499
- "terraconstructs.aws.edge.SecurityPolicyProtocol": {
51744
+ "terraconstructs.aws.edge.ResponseHeadersCorsBehavior": {
51500
51745
  "assembly": "terraconstructs",
51746
+ "datatype": true,
51501
51747
  "docs": {
51502
- "remarks": "CloudFront serves your objects only to browsers or devices that support at least the SSL version that you specify.",
51748
+ "remarks": "CloudFront adds these headers to HTTP responses that it sends for CORS requests that match a cache behavior\nassociated with this response headers policy.",
51503
51749
  "stability": "stable",
51504
- "summary": "The minimum version of the SSL protocol that you want CloudFront to use for HTTPS connections."
51750
+ "summary": "Configuration for a set of HTTP response headers that are used for cross-origin resource sharing (CORS)."
51505
51751
  },
51506
- "fqn": "terraconstructs.aws.edge.SecurityPolicyProtocol",
51507
- "kind": "enum",
51752
+ "fqn": "terraconstructs.aws.edge.ResponseHeadersCorsBehavior",
51753
+ "kind": "interface",
51508
51754
  "locationInModule": {
51509
- "filename": "src/aws/edge/distribution.ts",
51510
- "line": 613
51755
+ "filename": "src/aws/edge/response-headers-policy.ts",
51756
+ "line": 273
51757
+ },
51758
+ "name": "ResponseHeadersCorsBehavior",
51759
+ "namespace": "aws.edge",
51760
+ "properties": [
51761
+ {
51762
+ "abstract": true,
51763
+ "docs": {
51764
+ "stability": "stable",
51765
+ "summary": "A Boolean that CloudFront uses as the value for the Access-Control-Allow-Credentials HTTP response header."
51766
+ },
51767
+ "immutable": true,
51768
+ "locationInModule": {
51769
+ "filename": "src/aws/edge/response-headers-policy.ts",
51770
+ "line": 277
51771
+ },
51772
+ "name": "accessControlAllowCredentials",
51773
+ "type": {
51774
+ "primitive": "boolean"
51775
+ }
51776
+ },
51777
+ {
51778
+ "abstract": true,
51779
+ "docs": {
51780
+ "remarks": "You can specify `['*']` to allow all headers.",
51781
+ "stability": "stable",
51782
+ "summary": "A list of HTTP header names that CloudFront includes as values for the Access-Control-Allow-Headers HTTP response header."
51783
+ },
51784
+ "immutable": true,
51785
+ "locationInModule": {
51786
+ "filename": "src/aws/edge/response-headers-policy.ts",
51787
+ "line": 283
51788
+ },
51789
+ "name": "accessControlAllowHeaders",
51790
+ "type": {
51791
+ "collection": {
51792
+ "elementtype": {
51793
+ "primitive": "string"
51794
+ },
51795
+ "kind": "array"
51796
+ }
51797
+ }
51798
+ },
51799
+ {
51800
+ "abstract": true,
51801
+ "docs": {
51802
+ "stability": "stable",
51803
+ "summary": "A list of HTTP methods that CloudFront includes as values for the Access-Control-Allow-Methods HTTP response header."
51804
+ },
51805
+ "immutable": true,
51806
+ "locationInModule": {
51807
+ "filename": "src/aws/edge/response-headers-policy.ts",
51808
+ "line": 288
51809
+ },
51810
+ "name": "accessControlAllowMethods",
51811
+ "type": {
51812
+ "collection": {
51813
+ "elementtype": {
51814
+ "primitive": "string"
51815
+ },
51816
+ "kind": "array"
51817
+ }
51818
+ }
51819
+ },
51820
+ {
51821
+ "abstract": true,
51822
+ "docs": {
51823
+ "remarks": "You can specify `['*']` to allow all origins.",
51824
+ "stability": "stable",
51825
+ "summary": "A list of origins (domain names) that CloudFront can use as the value for the Access-Control-Allow-Origin HTTP response header."
51826
+ },
51827
+ "immutable": true,
51828
+ "locationInModule": {
51829
+ "filename": "src/aws/edge/response-headers-policy.ts",
51830
+ "line": 294
51831
+ },
51832
+ "name": "accessControlAllowOrigins",
51833
+ "type": {
51834
+ "collection": {
51835
+ "elementtype": {
51836
+ "primitive": "string"
51837
+ },
51838
+ "kind": "array"
51839
+ }
51840
+ }
51841
+ },
51842
+ {
51843
+ "abstract": true,
51844
+ "docs": {
51845
+ "stability": "stable",
51846
+ "summary": "A Boolean that determines whether CloudFront overrides HTTP response headers received from the origin with the ones specified in this response headers policy."
51847
+ },
51848
+ "immutable": true,
51849
+ "locationInModule": {
51850
+ "filename": "src/aws/edge/response-headers-policy.ts",
51851
+ "line": 314
51852
+ },
51853
+ "name": "originOverride",
51854
+ "type": {
51855
+ "primitive": "boolean"
51856
+ }
51857
+ },
51858
+ {
51859
+ "abstract": true,
51860
+ "docs": {
51861
+ "default": "- no headers exposed",
51862
+ "remarks": "You can specify `['*']` to expose all headers.",
51863
+ "stability": "stable",
51864
+ "summary": "A list of HTTP headers that CloudFront includes as values for the Access-Control-Expose-Headers HTTP response header."
51865
+ },
51866
+ "immutable": true,
51867
+ "locationInModule": {
51868
+ "filename": "src/aws/edge/response-headers-policy.ts",
51869
+ "line": 302
51870
+ },
51871
+ "name": "accessControlExposeHeaders",
51872
+ "optional": true,
51873
+ "type": {
51874
+ "collection": {
51875
+ "elementtype": {
51876
+ "primitive": "string"
51877
+ },
51878
+ "kind": "array"
51879
+ }
51880
+ }
51881
+ },
51882
+ {
51883
+ "abstract": true,
51884
+ "docs": {
51885
+ "default": "- no max age",
51886
+ "stability": "stable",
51887
+ "summary": "A number that CloudFront uses as the value for the Access-Control-Max-Age HTTP response header."
51888
+ },
51889
+ "immutable": true,
51890
+ "locationInModule": {
51891
+ "filename": "src/aws/edge/response-headers-policy.ts",
51892
+ "line": 309
51893
+ },
51894
+ "name": "accessControlMaxAge",
51895
+ "optional": true,
51896
+ "type": {
51897
+ "fqn": "terraconstructs.Duration"
51898
+ }
51899
+ }
51900
+ ],
51901
+ "symbolId": "src/aws/edge/response-headers-policy:ResponseHeadersCorsBehavior"
51902
+ },
51903
+ "terraconstructs.aws.edge.ResponseHeadersFrameOptions": {
51904
+ "assembly": "terraconstructs",
51905
+ "datatype": true,
51906
+ "docs": {
51907
+ "stability": "stable",
51908
+ "summary": "Determines whether CloudFront includes the X-Frame-Options HTTP response header and the header’s value."
51909
+ },
51910
+ "fqn": "terraconstructs.aws.edge.ResponseHeadersFrameOptions",
51911
+ "kind": "interface",
51912
+ "locationInModule": {
51913
+ "filename": "src/aws/edge/response-headers-policy.ts",
51914
+ "line": 429
51915
+ },
51916
+ "name": "ResponseHeadersFrameOptions",
51917
+ "namespace": "aws.edge",
51918
+ "properties": [
51919
+ {
51920
+ "abstract": true,
51921
+ "docs": {
51922
+ "stability": "stable",
51923
+ "summary": "The value of the X-Frame-Options HTTP response header."
51924
+ },
51925
+ "immutable": true,
51926
+ "locationInModule": {
51927
+ "filename": "src/aws/edge/response-headers-policy.ts",
51928
+ "line": 433
51929
+ },
51930
+ "name": "frameOption",
51931
+ "type": {
51932
+ "fqn": "terraconstructs.aws.edge.HeadersFrameOption"
51933
+ }
51934
+ },
51935
+ {
51936
+ "abstract": true,
51937
+ "docs": {
51938
+ "stability": "stable",
51939
+ "summary": "A Boolean that determines whether CloudFront overrides the X-Frame-Options HTTP response header received from the origin with the one specified in this response headers policy."
51940
+ },
51941
+ "immutable": true,
51942
+ "locationInModule": {
51943
+ "filename": "src/aws/edge/response-headers-policy.ts",
51944
+ "line": 439
51945
+ },
51946
+ "name": "override",
51947
+ "type": {
51948
+ "primitive": "boolean"
51949
+ }
51950
+ }
51951
+ ],
51952
+ "symbolId": "src/aws/edge/response-headers-policy:ResponseHeadersFrameOptions"
51953
+ },
51954
+ "terraconstructs.aws.edge.ResponseHeadersPolicy": {
51955
+ "assembly": "terraconstructs",
51956
+ "base": "terraconstructs.aws.AwsConstructBase",
51957
+ "docs": {
51958
+ "custom": {
51959
+ "link": "https://registry.terraform.io/providers/hashicorp/aws/5.60.0/docs/resources/cloudfront_response_headers_policy"
51960
+ },
51961
+ "stability": "stable",
51962
+ "summary": "A Response Headers Policy configuration."
51963
+ },
51964
+ "fqn": "terraconstructs.aws.edge.ResponseHeadersPolicy",
51965
+ "initializer": {
51966
+ "docs": {
51967
+ "stability": "stable"
51968
+ },
51969
+ "locationInModule": {
51970
+ "filename": "src/aws/edge/response-headers-policy.ts",
51971
+ "line": 132
51972
+ },
51973
+ "parameters": [
51974
+ {
51975
+ "name": "scope",
51976
+ "type": {
51977
+ "fqn": "constructs.Construct"
51978
+ }
51979
+ },
51980
+ {
51981
+ "name": "id",
51982
+ "type": {
51983
+ "primitive": "string"
51984
+ }
51985
+ },
51986
+ {
51987
+ "name": "props",
51988
+ "optional": true,
51989
+ "type": {
51990
+ "fqn": "terraconstructs.aws.edge.ResponseHeadersPolicyProps"
51991
+ }
51992
+ }
51993
+ ]
51994
+ },
51995
+ "interfaces": [
51996
+ "terraconstructs.aws.edge.IResponseHeadersPolicy"
51997
+ ],
51998
+ "kind": "class",
51999
+ "locationInModule": {
52000
+ "filename": "src/aws/edge/response-headers-policy.ts",
52001
+ "line": 84
52002
+ },
52003
+ "methods": [
52004
+ {
52005
+ "docs": {
52006
+ "stability": "stable"
52007
+ },
52008
+ "locationInModule": {
52009
+ "filename": "src/aws/edge/response-headers-policy.ts",
52010
+ "line": 103
52011
+ },
52012
+ "name": "fromManagedPolicyName",
52013
+ "parameters": [
52014
+ {
52015
+ "name": "scope",
52016
+ "type": {
52017
+ "fqn": "constructs.Construct"
52018
+ }
52019
+ },
52020
+ {
52021
+ "name": "id",
52022
+ "type": {
52023
+ "primitive": "string"
52024
+ }
52025
+ },
52026
+ {
52027
+ "name": "managedResponseHeadersPolicyName",
52028
+ "type": {
52029
+ "fqn": "terraconstructs.aws.edge.ManagedResponseHeadersPolicy"
52030
+ }
52031
+ }
52032
+ ],
52033
+ "returns": {
52034
+ "type": {
52035
+ "fqn": "terraconstructs.aws.edge.IResponseHeadersPolicy"
52036
+ }
52037
+ },
52038
+ "static": true
52039
+ },
52040
+ {
52041
+ "docs": {
52042
+ "stability": "stable",
52043
+ "summary": "Import an existing Response Headers Policy from its ID."
52044
+ },
52045
+ "locationInModule": {
52046
+ "filename": "src/aws/edge/response-headers-policy.ts",
52047
+ "line": 91
52048
+ },
52049
+ "name": "fromResponseHeadersPolicyId",
52050
+ "parameters": [
52051
+ {
52052
+ "name": "scope",
52053
+ "type": {
52054
+ "fqn": "constructs.Construct"
52055
+ }
52056
+ },
52057
+ {
52058
+ "name": "id",
52059
+ "type": {
52060
+ "primitive": "string"
52061
+ }
52062
+ },
52063
+ {
52064
+ "name": "responseHeadersPolicyId",
52065
+ "type": {
52066
+ "primitive": "string"
52067
+ }
52068
+ }
52069
+ ],
52070
+ "returns": {
52071
+ "type": {
52072
+ "fqn": "terraconstructs.aws.edge.IResponseHeadersPolicy"
52073
+ }
52074
+ },
52075
+ "static": true
52076
+ }
52077
+ ],
52078
+ "name": "ResponseHeadersPolicy",
52079
+ "namespace": "aws.edge",
52080
+ "properties": [
52081
+ {
52082
+ "docs": {
52083
+ "stability": "stable",
52084
+ "summary": "Outputs to register with the parent Scope or undefined if there are no outputs."
52085
+ },
52086
+ "immutable": true,
52087
+ "locationInModule": {
52088
+ "filename": "src/aws/edge/response-headers-policy.ts",
52089
+ "line": 130
52090
+ },
52091
+ "name": "outputs",
52092
+ "overrides": "terraconstructs.TerraConstructBase",
52093
+ "type": {
52094
+ "collection": {
52095
+ "elementtype": {
52096
+ "primitive": "any"
52097
+ },
52098
+ "kind": "map"
52099
+ }
52100
+ }
52101
+ },
52102
+ {
52103
+ "docs": {
52104
+ "stability": "stable"
52105
+ },
52106
+ "immutable": true,
52107
+ "locationInModule": {
52108
+ "filename": "src/aws/edge/response-headers-policy.ts",
52109
+ "line": 128
52110
+ },
52111
+ "name": "resource",
52112
+ "type": {
52113
+ "fqn": "@cdktf/provider-aws.cloudfrontResponseHeadersPolicy.CloudfrontResponseHeadersPolicy"
52114
+ }
52115
+ },
52116
+ {
52117
+ "docs": {
52118
+ "stability": "stable",
52119
+ "summary": "The ID of the response headers policy."
52120
+ },
52121
+ "immutable": true,
52122
+ "locationInModule": {
52123
+ "filename": "src/aws/edge/response-headers-policy.ts",
52124
+ "line": 129
52125
+ },
52126
+ "name": "responseHeadersPolicyId",
52127
+ "overrides": "terraconstructs.aws.edge.IResponseHeadersPolicy",
52128
+ "type": {
52129
+ "primitive": "string"
52130
+ }
52131
+ }
52132
+ ],
52133
+ "symbolId": "src/aws/edge/response-headers-policy:ResponseHeadersPolicy"
52134
+ },
52135
+ "terraconstructs.aws.edge.ResponseHeadersPolicyProps": {
52136
+ "assembly": "terraconstructs",
52137
+ "datatype": true,
52138
+ "docs": {
52139
+ "stability": "stable",
52140
+ "summary": "Properties for creating a Response Headers Policy."
52141
+ },
52142
+ "fqn": "terraconstructs.aws.edge.ResponseHeadersPolicyProps",
52143
+ "interfaces": [
52144
+ "terraconstructs.aws.AwsConstructProps"
52145
+ ],
52146
+ "kind": "interface",
52147
+ "locationInModule": {
52148
+ "filename": "src/aws/edge/response-headers-policy.ts",
52149
+ "line": 25
52150
+ },
52151
+ "name": "ResponseHeadersPolicyProps",
52152
+ "namespace": "aws.edge",
52153
+ "properties": [
52154
+ {
52155
+ "abstract": true,
52156
+ "docs": {
52157
+ "default": "- no comment",
52158
+ "stability": "stable",
52159
+ "summary": "A comment to describe the response headers policy."
52160
+ },
52161
+ "immutable": true,
52162
+ "locationInModule": {
52163
+ "filename": "src/aws/edge/response-headers-policy.ts",
52164
+ "line": 38
52165
+ },
52166
+ "name": "comment",
52167
+ "optional": true,
52168
+ "type": {
52169
+ "primitive": "string"
52170
+ }
52171
+ },
52172
+ {
52173
+ "abstract": true,
52174
+ "docs": {
52175
+ "default": "- no cors behavior",
52176
+ "stability": "stable",
52177
+ "summary": "A configuration for a set of HTTP response headers that are used for cross-origin resource sharing (CORS)."
52178
+ },
52179
+ "immutable": true,
52180
+ "locationInModule": {
52181
+ "filename": "src/aws/edge/response-headers-policy.ts",
52182
+ "line": 45
52183
+ },
52184
+ "name": "corsBehavior",
52185
+ "optional": true,
52186
+ "type": {
52187
+ "fqn": "terraconstructs.aws.edge.ResponseHeadersCorsBehavior"
52188
+ }
52189
+ },
52190
+ {
52191
+ "abstract": true,
52192
+ "docs": {
52193
+ "default": "- no custom headers behavior",
52194
+ "stability": "stable",
52195
+ "summary": "A configuration for a set of custom HTTP response headers."
52196
+ },
52197
+ "immutable": true,
52198
+ "locationInModule": {
52199
+ "filename": "src/aws/edge/response-headers-policy.ts",
52200
+ "line": 52
52201
+ },
52202
+ "name": "customHeadersBehavior",
52203
+ "optional": true,
52204
+ "type": {
52205
+ "fqn": "terraconstructs.aws.edge.ResponseCustomHeadersBehavior"
52206
+ }
52207
+ },
52208
+ {
52209
+ "abstract": true,
52210
+ "docs": {
52211
+ "default": "- no headers are removed",
52212
+ "stability": "stable",
52213
+ "summary": "A list of HTTP response headers that CloudFront removes from HTTP responses that it sends to viewers."
52214
+ },
52215
+ "immutable": true,
52216
+ "locationInModule": {
52217
+ "filename": "src/aws/edge/response-headers-policy.ts",
52218
+ "line": 67
52219
+ },
52220
+ "name": "removeHeaders",
52221
+ "optional": true,
52222
+ "type": {
52223
+ "collection": {
52224
+ "elementtype": {
52225
+ "primitive": "string"
52226
+ },
52227
+ "kind": "array"
52228
+ }
52229
+ }
52230
+ },
52231
+ {
52232
+ "abstract": true,
52233
+ "docs": {
52234
+ "default": "- generated from the `id`",
52235
+ "stability": "stable",
52236
+ "summary": "A unique name to identify the response headers policy."
52237
+ },
52238
+ "immutable": true,
52239
+ "locationInModule": {
52240
+ "filename": "src/aws/edge/response-headers-policy.ts",
52241
+ "line": 31
52242
+ },
52243
+ "name": "responseHeadersPolicyName",
52244
+ "optional": true,
52245
+ "type": {
52246
+ "primitive": "string"
52247
+ }
52248
+ },
52249
+ {
52250
+ "abstract": true,
52251
+ "docs": {
52252
+ "default": "- no security headers behavior",
52253
+ "stability": "stable",
52254
+ "summary": "A configuration for a set of security-related HTTP response headers."
52255
+ },
52256
+ "immutable": true,
52257
+ "locationInModule": {
52258
+ "filename": "src/aws/edge/response-headers-policy.ts",
52259
+ "line": 59
52260
+ },
52261
+ "name": "securityHeadersBehavior",
52262
+ "optional": true,
52263
+ "type": {
52264
+ "fqn": "terraconstructs.aws.edge.ResponseSecurityHeadersBehavior"
52265
+ }
52266
+ },
52267
+ {
52268
+ "abstract": true,
52269
+ "docs": {
52270
+ "default": "- no Server-Timing header is added to HTTP responses",
52271
+ "stability": "stable",
52272
+ "summary": "The percentage of responses that you want CloudFront to add the Server-Timing header to."
52273
+ },
52274
+ "immutable": true,
52275
+ "locationInModule": {
52276
+ "filename": "src/aws/edge/response-headers-policy.ts",
52277
+ "line": 75
52278
+ },
52279
+ "name": "serverTimingSamplingRate",
52280
+ "optional": true,
52281
+ "type": {
52282
+ "primitive": "number"
52283
+ }
52284
+ }
52285
+ ],
52286
+ "symbolId": "src/aws/edge/response-headers-policy:ResponseHeadersPolicyProps"
52287
+ },
52288
+ "terraconstructs.aws.edge.ResponseHeadersReferrerPolicy": {
52289
+ "assembly": "terraconstructs",
52290
+ "datatype": true,
52291
+ "docs": {
52292
+ "stability": "stable",
52293
+ "summary": "Determines whether CloudFront includes the Referrer-Policy HTTP response header and the header’s value."
52294
+ },
52295
+ "fqn": "terraconstructs.aws.edge.ResponseHeadersReferrerPolicy",
52296
+ "kind": "interface",
52297
+ "locationInModule": {
52298
+ "filename": "src/aws/edge/response-headers-policy.ts",
52299
+ "line": 445
52300
+ },
52301
+ "name": "ResponseHeadersReferrerPolicy",
52302
+ "namespace": "aws.edge",
52303
+ "properties": [
52304
+ {
52305
+ "abstract": true,
52306
+ "docs": {
52307
+ "stability": "stable",
52308
+ "summary": "A Boolean that determines whether CloudFront overrides the Referrer-Policy HTTP response header received from the origin with the one specified in this response headers policy."
52309
+ },
52310
+ "immutable": true,
52311
+ "locationInModule": {
52312
+ "filename": "src/aws/edge/response-headers-policy.ts",
52313
+ "line": 455
52314
+ },
52315
+ "name": "override",
52316
+ "type": {
52317
+ "primitive": "boolean"
52318
+ }
52319
+ },
52320
+ {
52321
+ "abstract": true,
52322
+ "docs": {
52323
+ "stability": "stable",
52324
+ "summary": "The value of the Referrer-Policy HTTP response header."
52325
+ },
52326
+ "immutable": true,
52327
+ "locationInModule": {
52328
+ "filename": "src/aws/edge/response-headers-policy.ts",
52329
+ "line": 449
52330
+ },
52331
+ "name": "referrerPolicy",
52332
+ "type": {
52333
+ "fqn": "terraconstructs.aws.edge.HeadersReferrerPolicy"
52334
+ }
52335
+ }
52336
+ ],
52337
+ "symbolId": "src/aws/edge/response-headers-policy:ResponseHeadersReferrerPolicy"
52338
+ },
52339
+ "terraconstructs.aws.edge.ResponseHeadersStrictTransportSecurity": {
52340
+ "assembly": "terraconstructs",
52341
+ "datatype": true,
52342
+ "docs": {
52343
+ "stability": "stable",
52344
+ "summary": "Determines whether CloudFront includes the Strict-Transport-Security HTTP response header and the header’s value."
52345
+ },
52346
+ "fqn": "terraconstructs.aws.edge.ResponseHeadersStrictTransportSecurity",
52347
+ "kind": "interface",
52348
+ "locationInModule": {
52349
+ "filename": "src/aws/edge/response-headers-policy.ts",
52350
+ "line": 461
52351
+ },
52352
+ "name": "ResponseHeadersStrictTransportSecurity",
52353
+ "namespace": "aws.edge",
52354
+ "properties": [
52355
+ {
52356
+ "abstract": true,
52357
+ "docs": {
52358
+ "stability": "stable",
52359
+ "summary": "A number that CloudFront uses as the value for the max-age directive in the Strict-Transport-Security HTTP response header."
52360
+ },
52361
+ "immutable": true,
52362
+ "locationInModule": {
52363
+ "filename": "src/aws/edge/response-headers-policy.ts",
52364
+ "line": 465
52365
+ },
52366
+ "name": "accessControlMaxAge",
52367
+ "type": {
52368
+ "fqn": "terraconstructs.Duration"
52369
+ }
52370
+ },
52371
+ {
52372
+ "abstract": true,
52373
+ "docs": {
52374
+ "stability": "stable",
52375
+ "summary": "A Boolean that determines whether CloudFront overrides the Strict-Transport-Security HTTP response header received from the origin with the one specified in this response headers policy."
52376
+ },
52377
+ "immutable": true,
52378
+ "locationInModule": {
52379
+ "filename": "src/aws/edge/response-headers-policy.ts",
52380
+ "line": 478
52381
+ },
52382
+ "name": "override",
52383
+ "type": {
52384
+ "primitive": "boolean"
52385
+ }
52386
+ },
52387
+ {
52388
+ "abstract": true,
52389
+ "docs": {
52390
+ "default": "false",
52391
+ "stability": "stable",
52392
+ "summary": "A Boolean that determines whether CloudFront includes the includeSubDomains directive in the Strict-Transport-Security HTTP response header."
52393
+ },
52394
+ "immutable": true,
52395
+ "locationInModule": {
52396
+ "filename": "src/aws/edge/response-headers-policy.ts",
52397
+ "line": 472
52398
+ },
52399
+ "name": "includeSubdomains",
52400
+ "optional": true,
52401
+ "type": {
52402
+ "primitive": "boolean"
52403
+ }
52404
+ },
52405
+ {
52406
+ "abstract": true,
52407
+ "docs": {
52408
+ "default": "false",
52409
+ "stability": "stable",
52410
+ "summary": "A Boolean that determines whether CloudFront includes the preload directive in the Strict-Transport-Security HTTP response header."
52411
+ },
52412
+ "immutable": true,
52413
+ "locationInModule": {
52414
+ "filename": "src/aws/edge/response-headers-policy.ts",
52415
+ "line": 485
52416
+ },
52417
+ "name": "preload",
52418
+ "optional": true,
52419
+ "type": {
52420
+ "primitive": "boolean"
52421
+ }
52422
+ }
52423
+ ],
52424
+ "symbolId": "src/aws/edge/response-headers-policy:ResponseHeadersStrictTransportSecurity"
52425
+ },
52426
+ "terraconstructs.aws.edge.ResponseHeadersXSSProtection": {
52427
+ "assembly": "terraconstructs",
52428
+ "datatype": true,
52429
+ "docs": {
52430
+ "stability": "stable",
52431
+ "summary": "Determines whether CloudFront includes the X-XSS-Protection HTTP response header and the header’s value."
52432
+ },
52433
+ "fqn": "terraconstructs.aws.edge.ResponseHeadersXSSProtection",
52434
+ "kind": "interface",
52435
+ "locationInModule": {
52436
+ "filename": "src/aws/edge/response-headers-policy.ts",
52437
+ "line": 491
52438
+ },
52439
+ "name": "ResponseHeadersXSSProtection",
52440
+ "namespace": "aws.edge",
52441
+ "properties": [
52442
+ {
52443
+ "abstract": true,
52444
+ "docs": {
52445
+ "stability": "stable",
52446
+ "summary": "A Boolean that determines whether CloudFront overrides the X-XSS-Protection HTTP response header received from the origin with the one specified in this response headers policy."
52447
+ },
52448
+ "immutable": true,
52449
+ "locationInModule": {
52450
+ "filename": "src/aws/edge/response-headers-policy.ts",
52451
+ "line": 503
52452
+ },
52453
+ "name": "override",
52454
+ "type": {
52455
+ "primitive": "boolean"
52456
+ }
52457
+ },
52458
+ {
52459
+ "abstract": true,
52460
+ "docs": {
52461
+ "remarks": "When this setting is true, the value of the X-XSS-Protection header is 1.\nWhen this setting is false, the value of the X-XSS-Protection header is 0.",
52462
+ "stability": "stable",
52463
+ "summary": "A Boolean that determines the value of the X-XSS-Protection HTTP response header."
52464
+ },
52465
+ "immutable": true,
52466
+ "locationInModule": {
52467
+ "filename": "src/aws/edge/response-headers-policy.ts",
52468
+ "line": 510
52469
+ },
52470
+ "name": "protection",
52471
+ "type": {
52472
+ "primitive": "boolean"
52473
+ }
52474
+ },
52475
+ {
52476
+ "abstract": true,
52477
+ "docs": {
52478
+ "default": "false",
52479
+ "stability": "stable",
52480
+ "summary": "A Boolean that determines whether CloudFront includes the mode=block directive in the X-XSS-Protection header."
52481
+ },
52482
+ "immutable": true,
52483
+ "locationInModule": {
52484
+ "filename": "src/aws/edge/response-headers-policy.ts",
52485
+ "line": 497
52486
+ },
52487
+ "name": "modeBlock",
52488
+ "optional": true,
52489
+ "type": {
52490
+ "primitive": "boolean"
52491
+ }
52492
+ },
52493
+ {
52494
+ "abstract": true,
52495
+ "docs": {
52496
+ "default": "- no report uri",
52497
+ "remarks": "You cannot specify a ReportUri when ModeBlock is true.",
52498
+ "stability": "stable",
52499
+ "summary": "A reporting URI, which CloudFront uses as the value of the report directive in the X-XSS-Protection header."
52500
+ },
52501
+ "immutable": true,
52502
+ "locationInModule": {
52503
+ "filename": "src/aws/edge/response-headers-policy.ts",
52504
+ "line": 518
52505
+ },
52506
+ "name": "reportUri",
52507
+ "optional": true,
52508
+ "type": {
52509
+ "primitive": "string"
52510
+ }
52511
+ }
52512
+ ],
52513
+ "symbolId": "src/aws/edge/response-headers-policy:ResponseHeadersXSSProtection"
52514
+ },
52515
+ "terraconstructs.aws.edge.ResponseSecurityHeadersBehavior": {
52516
+ "assembly": "terraconstructs",
52517
+ "datatype": true,
52518
+ "docs": {
52519
+ "remarks": "CloudFront adds these headers to HTTP responses that it sends for requests that match a cache behavior\nassociated with this response headers policy.",
52520
+ "stability": "stable",
52521
+ "summary": "Configuration for a set of security-related HTTP response headers."
52522
+ },
52523
+ "fqn": "terraconstructs.aws.edge.ResponseSecurityHeadersBehavior",
52524
+ "kind": "interface",
52525
+ "locationInModule": {
52526
+ "filename": "src/aws/edge/response-headers-policy.ts",
52527
+ "line": 355
52528
+ },
52529
+ "name": "ResponseSecurityHeadersBehavior",
52530
+ "namespace": "aws.edge",
52531
+ "properties": [
52532
+ {
52533
+ "abstract": true,
52534
+ "docs": {
52535
+ "default": "- no content security policy",
52536
+ "stability": "stable",
52537
+ "summary": "The policy directives and their values that CloudFront includes as values for the Content-Security-Policy HTTP response header."
52538
+ },
52539
+ "immutable": true,
52540
+ "locationInModule": {
52541
+ "filename": "src/aws/edge/response-headers-policy.ts",
52542
+ "line": 361
52543
+ },
52544
+ "name": "contentSecurityPolicy",
52545
+ "optional": true,
52546
+ "type": {
52547
+ "fqn": "terraconstructs.aws.edge.ResponseHeadersContentSecurityPolicy"
52548
+ }
52549
+ },
52550
+ {
52551
+ "abstract": true,
52552
+ "docs": {
52553
+ "default": "- no content type options",
52554
+ "stability": "stable",
52555
+ "summary": "Determines whether CloudFront includes the X-Content-Type-Options HTTP response header with its value set to nosniff."
52556
+ },
52557
+ "immutable": true,
52558
+ "locationInModule": {
52559
+ "filename": "src/aws/edge/response-headers-policy.ts",
52560
+ "line": 368
52561
+ },
52562
+ "name": "contentTypeOptions",
52563
+ "optional": true,
52564
+ "type": {
52565
+ "fqn": "terraconstructs.aws.edge.ResponseHeadersContentTypeOptions"
52566
+ }
52567
+ },
52568
+ {
52569
+ "abstract": true,
52570
+ "docs": {
52571
+ "default": "- no frame options",
52572
+ "stability": "stable",
52573
+ "summary": "Determines whether CloudFront includes the X-Frame-Options HTTP response header and the header’s value."
52574
+ },
52575
+ "immutable": true,
52576
+ "locationInModule": {
52577
+ "filename": "src/aws/edge/response-headers-policy.ts",
52578
+ "line": 375
52579
+ },
52580
+ "name": "frameOptions",
52581
+ "optional": true,
52582
+ "type": {
52583
+ "fqn": "terraconstructs.aws.edge.ResponseHeadersFrameOptions"
52584
+ }
52585
+ },
52586
+ {
52587
+ "abstract": true,
52588
+ "docs": {
52589
+ "default": "- no referrer policy",
52590
+ "stability": "stable",
52591
+ "summary": "Determines whether CloudFront includes the Referrer-Policy HTTP response header and the header’s value."
52592
+ },
52593
+ "immutable": true,
52594
+ "locationInModule": {
52595
+ "filename": "src/aws/edge/response-headers-policy.ts",
52596
+ "line": 382
52597
+ },
52598
+ "name": "referrerPolicy",
52599
+ "optional": true,
52600
+ "type": {
52601
+ "fqn": "terraconstructs.aws.edge.ResponseHeadersReferrerPolicy"
52602
+ }
52603
+ },
52604
+ {
52605
+ "abstract": true,
52606
+ "docs": {
52607
+ "default": "- no strict transport security",
52608
+ "stability": "stable",
52609
+ "summary": "Determines whether CloudFront includes the Strict-Transport-Security HTTP response header and the header’s value."
52610
+ },
52611
+ "immutable": true,
52612
+ "locationInModule": {
52613
+ "filename": "src/aws/edge/response-headers-policy.ts",
52614
+ "line": 389
52615
+ },
52616
+ "name": "strictTransportSecurity",
52617
+ "optional": true,
52618
+ "type": {
52619
+ "fqn": "terraconstructs.aws.edge.ResponseHeadersStrictTransportSecurity"
52620
+ }
52621
+ },
52622
+ {
52623
+ "abstract": true,
52624
+ "docs": {
52625
+ "default": "- no xss protection",
52626
+ "stability": "stable",
52627
+ "summary": "Determines whether CloudFront includes the X-XSS-Protection HTTP response header and the header’s value."
52628
+ },
52629
+ "immutable": true,
52630
+ "locationInModule": {
52631
+ "filename": "src/aws/edge/response-headers-policy.ts",
52632
+ "line": 396
52633
+ },
52634
+ "name": "xssProtection",
52635
+ "optional": true,
52636
+ "type": {
52637
+ "fqn": "terraconstructs.aws.edge.ResponseHeadersXSSProtection"
52638
+ }
52639
+ }
52640
+ ],
52641
+ "symbolId": "src/aws/edge/response-headers-policy:ResponseSecurityHeadersBehavior"
52642
+ },
52643
+ "terraconstructs.aws.edge.S3Origin": {
52644
+ "assembly": "terraconstructs",
52645
+ "docs": {
52646
+ "remarks": "If the bucket is configured for website hosting, this origin will be configured to use the bucket as an\nHTTP server origin and will use the bucket's configured website redirects and error handling. Otherwise,\nthe origin is created as a bucket origin and will use CloudFront's redirect and error handling.",
52647
+ "stability": "stable",
52648
+ "summary": "An Origin that is backed by an S3 bucket."
52649
+ },
52650
+ "fqn": "terraconstructs.aws.edge.S3Origin",
52651
+ "initializer": {
52652
+ "docs": {
52653
+ "stability": "stable"
52654
+ },
52655
+ "locationInModule": {
52656
+ "filename": "src/aws/edge/origin.ts",
52657
+ "line": 282
52658
+ },
52659
+ "parameters": [
52660
+ {
52661
+ "name": "bucket",
52662
+ "type": {
52663
+ "fqn": "terraconstructs.aws.storage.IBucket"
52664
+ }
52665
+ },
52666
+ {
52667
+ "name": "props",
52668
+ "optional": true,
52669
+ "type": {
52670
+ "fqn": "terraconstructs.aws.edge.OriginProps"
52671
+ }
52672
+ }
52673
+ ]
52674
+ },
52675
+ "interfaces": [
52676
+ "terraconstructs.aws.edge.IOrigin"
52677
+ ],
52678
+ "kind": "class",
52679
+ "locationInModule": {
52680
+ "filename": "src/aws/edge/origin.ts",
52681
+ "line": 279
52682
+ },
52683
+ "methods": [
52684
+ {
52685
+ "docs": {
52686
+ "stability": "stable",
52687
+ "summary": "The method called when a given Origin is added (for the first time) to a Distribution."
52688
+ },
52689
+ "locationInModule": {
52690
+ "filename": "src/aws/edge/origin.ts",
52691
+ "line": 291
52692
+ },
52693
+ "name": "render",
52694
+ "overrides": "terraconstructs.aws.edge.IOrigin",
52695
+ "parameters": [
52696
+ {
52697
+ "name": "originId",
52698
+ "type": {
52699
+ "primitive": "string"
52700
+ }
52701
+ }
52702
+ ],
52703
+ "returns": {
52704
+ "type": {
52705
+ "fqn": "@cdktf/provider-aws.cloudfrontDistribution.CloudfrontDistributionOrigin"
52706
+ }
52707
+ }
52708
+ }
52709
+ ],
52710
+ "name": "S3Origin",
52711
+ "namespace": "aws.edge",
52712
+ "symbolId": "src/aws/edge/origin:S3Origin"
52713
+ },
52714
+ "terraconstructs.aws.edge.SSLMethod": {
52715
+ "assembly": "terraconstructs",
52716
+ "docs": {
52717
+ "remarks": "Server Name Indication (SNI) - is an extension to the TLS computer networking protocol by which a client indicates\n which hostname it is attempting to connect to at the start of the handshaking process. This allows a server to present\n multiple certificates on the same IP address and TCP port number and hence allows multiple secure (HTTPS) websites\n(or any other service over TLS) to be served by the same IP address without requiring all those sites to use the same certificate.\n\nCloudFront can use SNI to host multiple distributions on the same IP - which a large majority of clients will support.\n\nIf your clients cannot support SNI however - CloudFront can use dedicated IPs for your distribution - but there is a prorated monthly charge for\nusing this feature. By default, we use SNI - but you can optionally enable dedicated IPs (VIP).\n\nSee the CloudFront SSL for more details about pricing : https://aws.amazon.com/cloudfront/custom-ssl-domains/",
52718
+ "stability": "stable",
52719
+ "summary": "The SSL method CloudFront will use for your distribution."
52720
+ },
52721
+ "fqn": "terraconstructs.aws.edge.SSLMethod",
52722
+ "kind": "enum",
52723
+ "locationInModule": {
52724
+ "filename": "src/aws/edge/distribution.ts",
52725
+ "line": 620
52726
+ },
52727
+ "members": [
52728
+ {
52729
+ "docs": {
52730
+ "stability": "stable"
52731
+ },
52732
+ "name": "SNI"
52733
+ },
52734
+ {
52735
+ "docs": {
52736
+ "stability": "stable"
52737
+ },
52738
+ "name": "VIP"
52739
+ }
52740
+ ],
52741
+ "name": "SSLMethod",
52742
+ "namespace": "aws.edge",
52743
+ "symbolId": "src/aws/edge/distribution:SSLMethod"
52744
+ },
52745
+ "terraconstructs.aws.edge.SecurityPolicyProtocol": {
52746
+ "assembly": "terraconstructs",
52747
+ "docs": {
52748
+ "remarks": "CloudFront serves your objects only to browsers or devices that support at least the SSL version that you specify.",
52749
+ "stability": "stable",
52750
+ "summary": "The minimum version of the SSL protocol that you want CloudFront to use for HTTPS connections."
52751
+ },
52752
+ "fqn": "terraconstructs.aws.edge.SecurityPolicyProtocol",
52753
+ "kind": "enum",
52754
+ "locationInModule": {
52755
+ "filename": "src/aws/edge/distribution.ts",
52756
+ "line": 629
51511
52757
  },
51512
52758
  "members": [
51513
52759
  {
@@ -51870,7 +53116,7 @@
51870
53116
  "kind": "enum",
51871
53117
  "locationInModule": {
51872
53118
  "filename": "src/aws/edge/distribution.ts",
51873
- "line": 814
53119
+ "line": 832
51874
53120
  },
51875
53121
  "members": [
51876
53122
  {
@@ -79775,6 +81021,6 @@
79775
81021
  "symbolId": "src/aws/storage/notification-targets/queue:QueueDestination"
79776
81022
  }
79777
81023
  },
79778
- "version": "0.0.9",
79779
- "fingerprint": "CLoyjWvlzrHqo3gUPAWBEPCwZ8RT8bZsYWzQG6TxtWo="
81024
+ "version": "0.0.11",
81025
+ "fingerprint": "45Yqqe3aK16MNk/8RCZ4nRiahoj57I4GBRCGXgKCI7w="
79780
81026
  }