You are here

fastly.schema.yml in Fastly 8.3

config/schema/fastly.schema.yml

File

config/schema/fastly.schema.yml
View source
  1. fastly.settings:
  2. type: config_object
  3. label: 'Fastly Settings'
  4. mapping:
  5. api_key:
  6. type: string
  7. label: 'Fastly API key'
  8. cache_tag_hash_length:
  9. type: integer
  10. label: 'Cache tag hash length'
  11. image_optimization:
  12. type: boolean
  13. label: 'Enable image optimization'
  14. jpeg_quality:
  15. type: integer
  16. label: 'Default JPEG quality'
  17. jpeg_type:
  18. type: string
  19. label: 'Default JPEG format'
  20. optimize:
  21. type: string
  22. label: 'Optimal quality compression'
  23. site_id:
  24. type: string
  25. label: 'Fastly Site ID'
  26. service_id:
  27. type: string
  28. label: 'Fastly Service ID'
  29. purge_logging:
  30. type: boolean
  31. label: 'Fastly purge logging'
  32. purge_method:
  33. type: string
  34. label: 'Fastly Purge Method'
  35. resize_filter:
  36. type: string
  37. label: 'Resize filter'
  38. stale_while_revalidate:
  39. type: boolean
  40. label: 'Fastly stale while revalidate'
  41. stale_while_revalidate_value:
  42. type: integer
  43. label: 'Fastly stale while revalidation value'
  44. stale_if_error:
  45. type: boolean
  46. label: 'Fastly stale if error'
  47. stale_if_error_value:
  48. type: integer
  49. label: 'Fastly stale if error value'
  50. upscale:
  51. type: boolean
  52. label: 'Allow upscaling'
  53. webhook_notifications:
  54. type: array
  55. label: 'Webhook notifications'
  56. webhook_enabled:
  57. type: boolean
  58. label: 'Webhook enabled'
  59. webhook_url:
  60. type: string
  61. label: 'Webhook URL'
  62. webp:
  63. type: boolean
  64. label: 'Auto WebP'
  65. webp_quality:
  66. type: integer
  67. label: 'Default WebP (lossy) quality'
  68. fastly.edge_modules.blackfire_integration:
  69. type: config_object
  70. label: 'Blackfire integration'
  71. mapping:
  72. acl:
  73. type: string
  74. label: 'ACL'
  75. fastly.edge_modules.cors_headers:
  76. type: config_object
  77. label: 'Fastly Core Headers'
  78. mapping:
  79. origin:
  80. type: string
  81. label: 'Origins allowed'
  82. cors_allowed_methods:
  83. type: string
  84. label: 'Allowed HTTP methods'
  85. cors_allowed_origins_regex:
  86. type: string
  87. label: 'Regex matching origins'
  88. fastly.edge_modules.countryblock:
  89. type: config_object
  90. label: 'Fastly Country Block'
  91. mapping:
  92. countries:
  93. type: string
  94. label: 'Countries to block'
  95. fastly.edge_modules.datadome_integration:
  96. type: config_object
  97. label: 'Fastly Datadome Integration'
  98. mapping:
  99. datadome_api_key:
  100. type: string
  101. label: 'API Key'
  102. datadome_exclusion_ext:
  103. type: string
  104. label: 'Exclusion regex'
  105. datadome_connect_timeout:
  106. type: integer
  107. label: 'Connection timeout'
  108. datadome_first_byte_timeout:
  109. type: integer
  110. label: 'First byte timeout'
  111. datadome_between_bytes_timeout:
  112. type: integer
  113. label: 'Between bytes timeout'
  114. logging_endpoint:
  115. type: string
  116. label: 'Logging Endpoint for Debugging'
  117. fastly.edge_modules.disable_cache:
  118. type: config_object
  119. label: 'Disable caching'
  120. mapping:
  121. rules:
  122. type: sequence
  123. label: 'Disable caching for'
  124. sequence:
  125. type: mapping
  126. mapping:
  127. pattern:
  128. type: string
  129. label: 'Path pattern'
  130. mode:
  131. type: string
  132. label: 'Where to disable caching'
  133. fastly.edge_modules.force_cache_miss_on_hard_reload_for_admins:
  134. type: config_object
  135. label: 'Hard Reload cache bypass for set of admin IPs'
  136. mapping:
  137. acl:
  138. type: string
  139. label: 'ACL'
  140. fastly.edge_modules.increase_timeouts_long_jobs:
  141. type: config_object
  142. label: 'Increase timeouts for long running jobs'
  143. mapping:
  144. rules:
  145. type: sequence
  146. label: 'Timeout override rules'
  147. sequence:
  148. type: mapping
  149. mapping:
  150. pattern:
  151. type: string
  152. label: 'Path pattern'
  153. timeout:
  154. type: integer
  155. label: 'Timeout in seconds'
  156. fastly.edge_modules.netacea_integration:
  157. type: config_object
  158. label: 'Fastly Netacea Integration'
  159. mapping:
  160. api_key:
  161. type: string
  162. label: 'Netacea API Key'
  163. secret:
  164. type: string
  165. label: 'Netacea Secret'
  166. fastly.edge_modules.other_cms_integration:
  167. type: config_object
  168. label: 'Other CMS/backend integration'
  169. mapping:
  170. urls_dict:
  171. type: string
  172. label: 'URL prefixes Dictionary'
  173. override_backend_hostname:
  174. type: string
  175. label: 'Override Backend Hostname'
  176. fastly.edge_modules.redirect_hosts:
  177. type: config_object
  178. label: 'Redirect one domain to another'
  179. mapping:
  180. rules:
  181. type: sequence
  182. label: 'Rules'
  183. sequence:
  184. type: mapping
  185. mapping:
  186. source:
  187. type: string
  188. label: 'Incoming Domain/Host'
  189. destination:
  190. type: string
  191. label: 'Destination domain/host'
  192. ignore_path:
  193. type: boolean
  194. label: 'Ignore path'
  195. fastly.edge_modules.url_rewrites:
  196. type: config_object
  197. label: 'URL rewrites'
  198. mapping:
  199. rules:
  200. type: sequence
  201. label: 'Rules'
  202. sequence:
  203. type: mapping
  204. mapping:
  205. source:
  206. type: string
  207. label: 'Source path'
  208. destination:
  209. type: string
  210. label: 'Destination path'