@pulumi/cloudflare 6.7.0-alpha.1756491364 → 6.7.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 (135) hide show
  1. package/accessMutualTlsCertificate.d.ts +1 -1
  2. package/accessOrganization.d.ts +2 -2
  3. package/argoSmartRouting.d.ts +19 -3
  4. package/argoSmartRouting.js +4 -0
  5. package/argoSmartRouting.js.map +1 -1
  6. package/botManagement.d.ts +13 -0
  7. package/botManagement.js +3 -0
  8. package/botManagement.js.map +1 -1
  9. package/certificatePack.d.ts +18 -0
  10. package/certificatePack.js +4 -0
  11. package/certificatePack.js.map +1 -1
  12. package/customPages.d.ts +3 -3
  13. package/filter.d.ts +28 -6
  14. package/filter.js +13 -6
  15. package/filter.js.map +1 -1
  16. package/getArgoSmartRouting.d.ts +14 -1
  17. package/getArgoSmartRouting.js.map +1 -1
  18. package/getBotManagement.d.ts +4 -0
  19. package/getBotManagement.js.map +1 -1
  20. package/getCustomPages.d.ts +3 -3
  21. package/getList.d.ts +3 -3
  22. package/getListItem.d.ts +30 -1
  23. package/getListItem.js.map +1 -1
  24. package/getLoadBalancer.d.ts +6 -5
  25. package/getLoadBalancer.js.map +1 -1
  26. package/getLoadBalancerMonitor.d.ts +3 -3
  27. package/getLoadBalancerMonitors.d.ts +3 -3
  28. package/getLoadBalancerPool.d.ts +3 -3
  29. package/getLoadBalancerPools.d.ts +3 -3
  30. package/getLogpushDatasetField.d.ts +3 -3
  31. package/getLogpushDatasetJob.d.ts +9 -9
  32. package/getLogpushJob.d.ts +6 -6
  33. package/getR2CustomDomain.d.ts +4 -0
  34. package/getR2CustomDomain.js.map +1 -1
  35. package/getSnippet.d.ts +80 -0
  36. package/getSnippet.js +50 -0
  37. package/getSnippet.js.map +1 -0
  38. package/getSnippetList.d.ts +51 -0
  39. package/getSnippetList.js +24 -0
  40. package/getSnippetList.js.map +1 -0
  41. package/getSnippets.d.ts +0 -2
  42. package/getSnippets.js +0 -2
  43. package/getSnippets.js.map +1 -1
  44. package/getSnippetsList.d.ts +0 -24
  45. package/getSnippetsList.js +0 -24
  46. package/getSnippetsList.js.map +1 -1
  47. package/getStreams.d.ts +17 -3
  48. package/getStreams.js +4 -0
  49. package/getStreams.js.map +1 -1
  50. package/getUrlNormalizationSettings.d.ts +1 -1
  51. package/getWorkersForPlatformsDispatchNamespace.d.ts +4 -0
  52. package/getWorkersForPlatformsDispatchNamespace.js.map +1 -1
  53. package/getWorkersScripts.d.ts +14 -0
  54. package/getWorkersScripts.js +4 -0
  55. package/getWorkersScripts.js.map +1 -1
  56. package/getZeroTrustGatewayCertificate.d.ts +7 -7
  57. package/getZeroTrustGatewayPolicy.d.ts +0 -3
  58. package/getZeroTrustGatewayPolicy.js.map +1 -1
  59. package/getZeroTrustTunnelCloudflared.d.ts +7 -0
  60. package/getZeroTrustTunnelCloudflared.js.map +1 -1
  61. package/getZeroTrustTunnelCloudflaredRoutes.d.ts +1 -3
  62. package/getZeroTrustTunnelCloudflaredRoutes.js +0 -2
  63. package/getZeroTrustTunnelCloudflaredRoutes.js.map +1 -1
  64. package/getZeroTrustTunnelWarpConnector.d.ts +7 -0
  65. package/getZeroTrustTunnelWarpConnector.js.map +1 -1
  66. package/index.d.ts +9 -0
  67. package/index.js +21 -10
  68. package/index.js.map +1 -1
  69. package/loadBalancer.d.ts +12 -9
  70. package/loadBalancer.js.map +1 -1
  71. package/loadBalancerMonitor.d.ts +10 -10
  72. package/loadBalancerPool.d.ts +3 -3
  73. package/logpushJob.d.ts +16 -16
  74. package/logpushOwnershipChallenge.d.ts +3 -3
  75. package/magicWanGreTunnel.d.ts +38 -0
  76. package/magicWanGreTunnel.js +28 -0
  77. package/magicWanGreTunnel.js.map +1 -1
  78. package/magicWanIpsecTunnel.d.ts +38 -0
  79. package/magicWanIpsecTunnel.js +28 -0
  80. package/magicWanIpsecTunnel.js.map +1 -1
  81. package/package.json +2 -2
  82. package/r2customDomain.d.ts +13 -0
  83. package/r2customDomain.js +3 -0
  84. package/r2customDomain.js.map +1 -1
  85. package/ruleset.d.ts +23 -7
  86. package/ruleset.js +4 -0
  87. package/ruleset.js.map +1 -1
  88. package/snippet.d.ts +105 -0
  89. package/snippet.js +74 -0
  90. package/snippet.js.map +1 -0
  91. package/snippetRules.d.ts +0 -40
  92. package/snippetRules.js +0 -10
  93. package/snippetRules.js.map +1 -1
  94. package/snippets.d.ts +0 -3
  95. package/snippets.js +0 -3
  96. package/snippets.js.map +1 -1
  97. package/spectrumApplication.d.ts +5 -5
  98. package/spectrumApplication.js +3 -3
  99. package/teamsList.d.ts +1 -1
  100. package/teamsRule.d.ts +1 -28
  101. package/teamsRule.js.map +1 -1
  102. package/tunnel.d.ts +4 -0
  103. package/tunnel.js.map +1 -1
  104. package/tunnelRoute.d.ts +1 -1
  105. package/tunnelVirtualNetwork.d.ts +1 -1
  106. package/types/input.d.ts +215 -187
  107. package/types/output.d.ts +372 -266
  108. package/urlNormalizationSettings.d.ts +3 -3
  109. package/workerScript.d.ts +46 -28
  110. package/workerScript.js +1 -1
  111. package/workerScript.js.map +1 -1
  112. package/workersForPlatformsDispatchNamespace.d.ts +8 -0
  113. package/workersForPlatformsDispatchNamespace.js +2 -0
  114. package/workersForPlatformsDispatchNamespace.js.map +1 -1
  115. package/workersForPlatformsNamespace.d.ts +8 -0
  116. package/workersForPlatformsNamespace.js +2 -0
  117. package/workersForPlatformsNamespace.js.map +1 -1
  118. package/workersKv.d.ts +9 -0
  119. package/workersKv.js.map +1 -1
  120. package/workersScript.d.ts +46 -28
  121. package/workersScript.js +1 -1
  122. package/workersScript.js.map +1 -1
  123. package/zeroTrustAccessMtlsCertificate.d.ts +1 -1
  124. package/zeroTrustGatewayCertificate.d.ts +14 -14
  125. package/zeroTrustGatewayPolicy.d.ts +1 -28
  126. package/zeroTrustGatewayPolicy.js.map +1 -1
  127. package/zeroTrustList.d.ts +1 -1
  128. package/zeroTrustOrganization.d.ts +2 -2
  129. package/zeroTrustTunnelCloudflared.d.ts +4 -0
  130. package/zeroTrustTunnelCloudflared.js.map +1 -1
  131. package/zeroTrustTunnelCloudflaredRoute.d.ts +1 -1
  132. package/zeroTrustTunnelCloudflaredVirtualNetwork.d.ts +1 -1
  133. package/zeroTrustTunnelWarpConnector.d.ts +14 -0
  134. package/zeroTrustTunnelWarpConnector.js +2 -0
  135. package/zeroTrustTunnelWarpConnector.js.map +1 -1
package/types/input.d.ts CHANGED
@@ -3164,6 +3164,34 @@ export interface BotManagementStaleZoneConfiguration {
3164
3164
  */
3165
3165
  suppressSessionScore?: pulumi.Input<boolean>;
3166
3166
  }
3167
+ export interface CertificatePackValidationError {
3168
+ /**
3169
+ * A domain validation error.
3170
+ */
3171
+ message?: pulumi.Input<string>;
3172
+ }
3173
+ export interface CertificatePackValidationRecord {
3174
+ /**
3175
+ * The set of email addresses that the certificate authority (CA) will use to complete domain validation.
3176
+ */
3177
+ emails?: pulumi.Input<pulumi.Input<string>[]>;
3178
+ /**
3179
+ * The content that the certificate authority (CA) will expect to find at the httpUrl during the domain validation.
3180
+ */
3181
+ httpBody?: pulumi.Input<string>;
3182
+ /**
3183
+ * The url that will be checked during domain validation.
3184
+ */
3185
+ httpUrl?: pulumi.Input<string>;
3186
+ /**
3187
+ * The hostname that the certificate authority (CA) will check for a TXT record during domain validation .
3188
+ */
3189
+ txtName?: pulumi.Input<string>;
3190
+ /**
3191
+ * The TXT record that the certificate authority (CA) will check during domain validation.
3192
+ */
3193
+ txtValue?: pulumi.Input<string>;
3194
+ }
3167
3195
  export interface CloudConnectorRulesRule {
3168
3196
  description?: pulumi.Input<string>;
3169
3197
  enabled?: pulumi.Input<boolean>;
@@ -3688,13 +3716,13 @@ export interface DnsRecordData {
3688
3716
  */
3689
3717
  digestType?: pulumi.Input<number>;
3690
3718
  /**
3691
- * fingerprint.
3719
+ * Fingerprint.
3692
3720
  */
3693
3721
  fingerprint?: pulumi.Input<string>;
3694
3722
  /**
3695
3723
  * Flags for the CAA record.
3696
3724
  */
3697
- flags?: pulumi.Input<number>;
3725
+ flags?: any;
3698
3726
  /**
3699
3727
  * Key Tag.
3700
3728
  */
@@ -3758,7 +3786,7 @@ export interface DnsRecordData {
3758
3786
  */
3759
3787
  preference?: pulumi.Input<number>;
3760
3788
  /**
3761
- * priority.
3789
+ * Priority.
3762
3790
  */
3763
3791
  priority?: pulumi.Input<number>;
3764
3792
  /**
@@ -3794,7 +3822,7 @@ export interface DnsRecordData {
3794
3822
  */
3795
3823
  tag?: pulumi.Input<string>;
3796
3824
  /**
3797
- * target.
3825
+ * Target.
3798
3826
  */
3799
3827
  target?: pulumi.Input<string>;
3800
3828
  /**
@@ -3997,6 +4025,28 @@ export interface EmailSecurityTrustedDomainsBody {
3997
4025
  isSimilarity: pulumi.Input<boolean>;
3998
4026
  pattern: pulumi.Input<string>;
3999
4027
  }
4028
+ export interface FilterBody {
4029
+ /**
4030
+ * An informative summary of the filter.
4031
+ */
4032
+ description?: pulumi.Input<string>;
4033
+ /**
4034
+ * The filter expression. For more information, refer to [Expressions](https://developers.cloudflare.com/ruleset-engine/rules-language/expressions/).
4035
+ */
4036
+ expression?: pulumi.Input<string>;
4037
+ /**
4038
+ * The unique identifier of the filter.
4039
+ */
4040
+ id?: pulumi.Input<string>;
4041
+ /**
4042
+ * When true, indicates that the filter is currently paused.
4043
+ */
4044
+ paused?: pulumi.Input<boolean>;
4045
+ /**
4046
+ * A short reference tag. Allows you to select related filters.
4047
+ */
4048
+ ref?: pulumi.Input<string>;
4049
+ }
4000
4050
  export interface FirewallRuleAction {
4001
4051
  /**
4002
4052
  * The action to perform.
@@ -6543,7 +6593,7 @@ export interface LoadBalancerRuleOverrides {
6543
6593
  */
6544
6594
  locationStrategy?: pulumi.Input<inputs.LoadBalancerRuleOverridesLocationStrategy>;
6545
6595
  /**
6546
- * (Enterprise only): A mapping of Cloudflare PoP identifiers to a list of pool IDs (ordered by their failover priority) for the PoP (datacenter). Any PoPs not explicitly defined will fall back to using the corresponding country*pool, then region*pool mapping if it exists else to default_pools.
6596
+ * Enterprise only: A mapping of Cloudflare PoP identifiers to a list of pool IDs (ordered by their failover priority) for the PoP (datacenter). Any PoPs not explicitly defined will fall back to using the corresponding country*pool, then region*pool mapping if it exists else to default_pools.
6547
6597
  */
6548
6598
  popPools?: pulumi.Input<{
6549
6599
  [key: string]: pulumi.Input<pulumi.Input<string>[]>;
@@ -6559,7 +6609,8 @@ export interface LoadBalancerRuleOverrides {
6559
6609
  [key: string]: pulumi.Input<pulumi.Input<string>[]>;
6560
6610
  }>;
6561
6611
  /**
6562
- * Specifies the type of session affinity the load balancer should use unless specified as `"none"`. The supported types are:
6612
+ * Specifies the type of session affinity the load balancer should use unless specified as `"none"`. The supported types are: - `"cookie"`: On the first request to a proxied load balancer, a cookie is generated, encoding information of which origin the request will be forwarded to. Subsequent requests, by the same client to the same load balancer, will be sent to the origin server the cookie encodes, for the duration of the cookie and as long as the origin server remains healthy. If the cookie has expired or the origin server is unhealthy, then a new origin server is calculated and used. - `"ipCookie"`: Behaves the same as `"cookie"` except the initial origin selection is stable and based on the client's ip address. - `"header"`: On the first request to a proxied load balancer, a session key based on the configured HTTP headers (see `session_affinity_attributes.headers`) is generated, encoding the request headers used for storing in the load balancer session state which origin the request will be forwarded to. Subsequent requests to the load balancer with the same headers will be sent to the same origin server, for the duration of the session and as long as the origin server remains healthy. If the session has been idle for the duration of `sessionAffinityTtl` seconds or the origin server is unhealthy, then a new origin server is calculated and used. See `headers` in `sessionAffinityAttributes` for additional required configuration.
6613
+ * Available values: "none", "cookie", "ipCookie", "header".
6563
6614
  */
6564
6615
  sessionAffinity?: pulumi.Input<string>;
6565
6616
  /**
@@ -6567,7 +6618,7 @@ export interface LoadBalancerRuleOverrides {
6567
6618
  */
6568
6619
  sessionAffinityAttributes?: pulumi.Input<inputs.LoadBalancerRuleOverridesSessionAffinityAttributes>;
6569
6620
  /**
6570
- * Time, in seconds, until a client's session expires after being created. Once the expiry time has been reached, subsequent requests may get sent to a different origin server. The accepted ranges per `sessionAffinity` policy are:
6621
+ * Time, in seconds, until a client's session expires after being created. Once the expiry time has been reached, subsequent requests may get sent to a different origin server. The accepted ranges per `sessionAffinity` policy are: - `"cookie"` / `"ipCookie"`: The current default of 23 hours will be used unless explicitly set. The accepted range of values is between [1800, 604800]. - `"header"`: The current default of 1800 seconds will be used unless explicitly set. The accepted range of values is between [30, 3600]. Note: With session affinity by header, sessions only expire after they haven't been used for the number of seconds specified.
6571
6622
  */
6572
6623
  sessionAffinityTtl?: pulumi.Input<number>;
6573
6624
  /**
@@ -6617,7 +6668,7 @@ export interface LoadBalancerRuleOverridesSessionAffinityAttributes {
6617
6668
  */
6618
6669
  headers?: pulumi.Input<pulumi.Input<string>[]>;
6619
6670
  /**
6620
- * When header `sessionAffinity` is enabled, this option can be used to specify how HTTP headers on load balancing requests will be used. The supported values are:
6671
+ * When header `sessionAffinity` is enabled, this option can be used to specify how HTTP headers on load balancing requests will be used. The supported values are: - `"true"`: Load balancing requests must contain *all* of the HTTP headers specified by the `headers` session affinity attribute, otherwise sessions aren't created. - `"false"`: Load balancing requests must contain *at least one* of the HTTP headers specified by the `headers` session affinity attribute, otherwise sessions aren't created.
6621
6672
  */
6622
6673
  requireAllHeaders?: pulumi.Input<boolean>;
6623
6674
  /**
@@ -6631,7 +6682,8 @@ export interface LoadBalancerRuleOverridesSessionAffinityAttributes {
6631
6682
  */
6632
6683
  secure?: pulumi.Input<string>;
6633
6684
  /**
6634
- * Configures the zero-downtime failover between origins within a pool when session affinity is enabled. This feature is currently incompatible with Argo, Tiered Cache, and Bandwidth Alliance. The supported values are:
6685
+ * Configures the zero-downtime failover between origins within a pool when session affinity is enabled. This feature is currently incompatible with Argo, Tiered Cache, and Bandwidth Alliance. The supported values are: - `"none"`: No failover takes place for sessions pinned to the origin (default). - `"temporary"`: Traffic will be sent to another other healthy origin until the originally pinned origin is available; note that this can potentially result in heavy origin flapping. - `"sticky"`: The session affinity cookie is updated and subsequent requests are sent to the new origin. Note: Zero-downtime failover with sticky sessions is currently not supported for session affinity by header.
6686
+ * Available values: "none", "temporary", "sticky".
6635
6687
  */
6636
6688
  zeroDowntimeFailover?: pulumi.Input<string>;
6637
6689
  }
@@ -6645,7 +6697,7 @@ export interface LoadBalancerSessionAffinityAttributes {
6645
6697
  */
6646
6698
  headers?: pulumi.Input<pulumi.Input<string>[]>;
6647
6699
  /**
6648
- * When header `sessionAffinity` is enabled, this option can be used to specify how HTTP headers on load balancing requests will be used. The supported values are:
6700
+ * When header `sessionAffinity` is enabled, this option can be used to specify how HTTP headers on load balancing requests will be used. The supported values are: - `"true"`: Load balancing requests must contain *all* of the HTTP headers specified by the `headers` session affinity attribute, otherwise sessions aren't created. - `"false"`: Load balancing requests must contain *at least one* of the HTTP headers specified by the `headers` session affinity attribute, otherwise sessions aren't created.
6649
6701
  */
6650
6702
  requireAllHeaders?: pulumi.Input<boolean>;
6651
6703
  /**
@@ -6659,7 +6711,8 @@ export interface LoadBalancerSessionAffinityAttributes {
6659
6711
  */
6660
6712
  secure?: pulumi.Input<string>;
6661
6713
  /**
6662
- * Configures the zero-downtime failover between origins within a pool when session affinity is enabled. This feature is currently incompatible with Argo, Tiered Cache, and Bandwidth Alliance. The supported values are:
6714
+ * Configures the zero-downtime failover between origins within a pool when session affinity is enabled. This feature is currently incompatible with Argo, Tiered Cache, and Bandwidth Alliance. The supported values are: - `"none"`: No failover takes place for sessions pinned to the origin (default). - `"temporary"`: Traffic will be sent to another other healthy origin until the originally pinned origin is available; note that this can potentially result in heavy origin flapping. - `"sticky"`: The session affinity cookie is updated and subsequent requests are sent to the new origin. Note: Zero-downtime failover with sticky sessions is currently not supported for session affinity by header.
6715
+ * Available values: "none", "temporary", "sticky".
6663
6716
  */
6664
6717
  zeroDowntimeFailover?: pulumi.Input<string>;
6665
6718
  }
@@ -6954,72 +7007,40 @@ export interface MagicWanStaticRouteScope {
6954
7007
  coloRegions?: pulumi.Input<pulumi.Input<string>[]>;
6955
7008
  }
6956
7009
  export interface ManagedHeadersManagedRequestHeader {
6957
- /**
6958
- * The Managed Transforms that this Managed Transform conflicts with.
6959
- */
6960
- conflictsWiths?: pulumi.Input<pulumi.Input<string>[]>;
6961
7010
  /**
6962
7011
  * Whether the Managed Transform is enabled.
6963
7012
  */
6964
7013
  enabled: pulumi.Input<boolean>;
6965
- /**
6966
- * Whether the Managed Transform conflicts with the currently-enabled Managed Transforms.
6967
- */
6968
- hasConflict?: pulumi.Input<boolean>;
6969
7014
  /**
6970
7015
  * The human-readable identifier of the Managed Transform.
6971
7016
  */
6972
7017
  id: pulumi.Input<string>;
6973
7018
  }
6974
7019
  export interface ManagedHeadersManagedResponseHeader {
6975
- /**
6976
- * The Managed Transforms that this Managed Transform conflicts with.
6977
- */
6978
- conflictsWiths?: pulumi.Input<pulumi.Input<string>[]>;
6979
7020
  /**
6980
7021
  * Whether the Managed Transform is enabled.
6981
7022
  */
6982
7023
  enabled: pulumi.Input<boolean>;
6983
- /**
6984
- * Whether the Managed Transform conflicts with the currently-enabled Managed Transforms.
6985
- */
6986
- hasConflict?: pulumi.Input<boolean>;
6987
7024
  /**
6988
7025
  * The human-readable identifier of the Managed Transform.
6989
7026
  */
6990
7027
  id: pulumi.Input<string>;
6991
7028
  }
6992
7029
  export interface ManagedTransformsManagedRequestHeader {
6993
- /**
6994
- * The Managed Transforms that this Managed Transform conflicts with.
6995
- */
6996
- conflictsWiths?: pulumi.Input<pulumi.Input<string>[]>;
6997
7030
  /**
6998
7031
  * Whether the Managed Transform is enabled.
6999
7032
  */
7000
7033
  enabled: pulumi.Input<boolean>;
7001
- /**
7002
- * Whether the Managed Transform conflicts with the currently-enabled Managed Transforms.
7003
- */
7004
- hasConflict?: pulumi.Input<boolean>;
7005
7034
  /**
7006
7035
  * The human-readable identifier of the Managed Transform.
7007
7036
  */
7008
7037
  id: pulumi.Input<string>;
7009
7038
  }
7010
7039
  export interface ManagedTransformsManagedResponseHeader {
7011
- /**
7012
- * The Managed Transforms that this Managed Transform conflicts with.
7013
- */
7014
- conflictsWiths?: pulumi.Input<pulumi.Input<string>[]>;
7015
7040
  /**
7016
7041
  * Whether the Managed Transform is enabled.
7017
7042
  */
7018
7043
  enabled: pulumi.Input<boolean>;
7019
- /**
7020
- * Whether the Managed Transform conflicts with the currently-enabled Managed Transforms.
7021
- */
7022
- hasConflict?: pulumi.Input<boolean>;
7023
7044
  /**
7024
7045
  * The human-readable identifier of the Managed Transform.
7025
7046
  */
@@ -8658,13 +8679,13 @@ export interface RecordData {
8658
8679
  */
8659
8680
  digestType?: pulumi.Input<number>;
8660
8681
  /**
8661
- * fingerprint.
8682
+ * Fingerprint.
8662
8683
  */
8663
8684
  fingerprint?: pulumi.Input<string>;
8664
8685
  /**
8665
8686
  * Flags for the CAA record.
8666
8687
  */
8667
- flags?: pulumi.Input<number>;
8688
+ flags?: any;
8668
8689
  /**
8669
8690
  * Key Tag.
8670
8691
  */
@@ -8728,7 +8749,7 @@ export interface RecordData {
8728
8749
  */
8729
8750
  preference?: pulumi.Input<number>;
8730
8751
  /**
8731
- * priority.
8752
+ * Priority.
8732
8753
  */
8733
8754
  priority?: pulumi.Input<number>;
8734
8755
  /**
@@ -8764,7 +8785,7 @@ export interface RecordData {
8764
8785
  */
8765
8786
  tag?: pulumi.Input<string>;
8766
8787
  /**
8767
- * target.
8788
+ * Target.
8768
8789
  */
8769
8790
  target?: pulumi.Input<string>;
8770
8791
  /**
@@ -8808,17 +8829,13 @@ export interface RiskBehaviorBehaviors {
8808
8829
  export interface RulesetRule {
8809
8830
  /**
8810
8831
  * The action to perform when the rule matches.
8811
- * Available values: "block", "challenge", "compress*response", "execute", "js*challenge", "log", "managed*challenge", "redirect", "rewrite", "route", "score", "serve*error", "set*config", "skip", "set*cache*settings", "log*custom*field", "ddos*dynamic", "force*connection*close".
8832
+ * Available values: "block", "challenge", "compress*response", "ddos*dynamic", "execute", "force*connection*close", "js*challenge", "log", "log*custom*field", "managed*challenge", "redirect", "rewrite", "route", "score", "serve*error", "set*cache*settings", "set*config", "skip".
8812
8833
  */
8813
- action?: pulumi.Input<string>;
8834
+ action: pulumi.Input<string>;
8814
8835
  /**
8815
8836
  * The parameters configuring the rule's action.
8816
8837
  */
8817
8838
  actionParameters?: pulumi.Input<inputs.RulesetRuleActionParameters>;
8818
- /**
8819
- * The categories of the rule.
8820
- */
8821
- categories?: pulumi.Input<pulumi.Input<string>[]>;
8822
8839
  /**
8823
8840
  * An informative description of the rule.
8824
8841
  */
@@ -8828,13 +8845,13 @@ export interface RulesetRule {
8828
8845
  */
8829
8846
  enabled?: pulumi.Input<boolean>;
8830
8847
  /**
8831
- * Configure checks for exposed credentials.
8848
+ * Configuration for exposed credential checking.
8832
8849
  */
8833
8850
  exposedCredentialCheck?: pulumi.Input<inputs.RulesetRuleExposedCredentialCheck>;
8834
8851
  /**
8835
8852
  * The expression defining which traffic will match the rule.
8836
8853
  */
8837
- expression?: pulumi.Input<string>;
8854
+ expression: pulumi.Input<string>;
8838
8855
  /**
8839
8856
  * The unique ID of the rule.
8840
8857
  */
@@ -8844,17 +8861,17 @@ export interface RulesetRule {
8844
8861
  */
8845
8862
  logging?: pulumi.Input<inputs.RulesetRuleLogging>;
8846
8863
  /**
8847
- * An object configuring the rule's ratelimit behavior.
8864
+ * An object configuring the rule's rate limit behavior.
8848
8865
  */
8849
8866
  ratelimit?: pulumi.Input<inputs.RulesetRuleRatelimit>;
8850
8867
  /**
8851
- * The reference of the rule (the rule ID by default).
8868
+ * The reference of the rule (the rule's ID by default).
8852
8869
  */
8853
8870
  ref?: pulumi.Input<string>;
8854
8871
  }
8855
8872
  export interface RulesetRuleActionParameters {
8856
8873
  /**
8857
- * List of additional ports that caching can be enabled on.
8874
+ * A list of additional ports that caching should be enabled on.
8858
8875
  */
8859
8876
  additionalCacheablePorts?: pulumi.Input<pulumi.Input<number>[]>;
8860
8877
  /**
@@ -8862,40 +8879,44 @@ export interface RulesetRuleActionParameters {
8862
8879
  */
8863
8880
  algorithms?: pulumi.Input<pulumi.Input<inputs.RulesetRuleActionParametersAlgorithm>[]>;
8864
8881
  /**
8865
- * Turn on or off Automatic HTTPS Rewrites.
8882
+ * The name of a custom asset to serve as the response.
8883
+ */
8884
+ assetName?: pulumi.Input<string>;
8885
+ /**
8886
+ * Whether to enable Automatic HTTPS Rewrites.
8866
8887
  */
8867
8888
  automaticHttpsRewrites?: pulumi.Input<boolean>;
8868
8889
  /**
8869
- * Select which file extensions to minify automatically.
8890
+ * Which file extensions to minify automatically.
8870
8891
  */
8871
8892
  autominify?: pulumi.Input<inputs.RulesetRuleActionParametersAutominify>;
8872
8893
  /**
8873
- * Turn on or off Browser Integrity Check.
8894
+ * Whether to enable Browser Integrity Check (BIC).
8874
8895
  */
8875
8896
  bic?: pulumi.Input<boolean>;
8876
8897
  /**
8877
- * Specify how long client browsers should cache the response. Cloudflare cache purge will not purge content cached on client browsers, so high browser TTLs may lead to stale content.
8898
+ * How long client browsers should cache the response. Cloudflare cache purge will not purge content cached on client browsers, so high browser TTLs may lead to stale content.
8878
8899
  */
8879
8900
  browserTtl?: pulumi.Input<inputs.RulesetRuleActionParametersBrowserTtl>;
8880
8901
  /**
8881
- * Mark whether the requests response from origin is eligible for caching. Caching itself will still depend on the cache-control header and your other caching configurations.
8902
+ * Whether the request's response from the origin is eligible for caching. Caching itself will still depend on the cache control header and your other caching configurations.
8882
8903
  */
8883
8904
  cache?: pulumi.Input<boolean>;
8884
8905
  /**
8885
- * Define which components of the request are included or excluded from the cache key Cloudflare uses to store the response in cache.
8906
+ * Which components of the request are included in or excluded from the cache key Cloudflare uses to store the response in cache.
8886
8907
  */
8887
8908
  cacheKey?: pulumi.Input<inputs.RulesetRuleActionParametersCacheKey>;
8888
8909
  /**
8889
- * Mark whether the request's response from origin is eligible for Cache Reserve (requires a Cache Reserve add-on plan).
8910
+ * Settings to determine whether the request's response from origin is eligible for Cache Reserve (requires a Cache Reserve add-on plan).
8890
8911
  */
8891
8912
  cacheReserve?: pulumi.Input<inputs.RulesetRuleActionParametersCacheReserve>;
8892
8913
  /**
8893
- * Error response content.
8914
+ * The response content.
8894
8915
  */
8895
8916
  content?: pulumi.Input<string>;
8896
8917
  /**
8897
- * Content-type header to set with the response.
8898
- * Available values: "application/json", "text/xml", "text/plain", "text/html".
8918
+ * The content type header to set with the error response.
8919
+ * Available values: "application/json", "text/html", "text/plain", "text/xml".
8899
8920
  */
8900
8921
  contentType?: pulumi.Input<string>;
8901
8922
  /**
@@ -8903,49 +8924,49 @@ export interface RulesetRuleActionParameters {
8903
8924
  */
8904
8925
  cookieFields?: pulumi.Input<pulumi.Input<inputs.RulesetRuleActionParametersCookieField>[]>;
8905
8926
  /**
8906
- * Turn off all active Cloudflare Apps.
8927
+ * Whether to disable Cloudflare Apps.
8907
8928
  */
8908
8929
  disableApps?: pulumi.Input<boolean>;
8909
8930
  /**
8910
- * Turn off Real User Monitoring (RUM).
8931
+ * Whether to disable Real User Monitoring (RUM).
8911
8932
  */
8912
8933
  disableRum?: pulumi.Input<boolean>;
8913
8934
  /**
8914
- * Turn off Zaraz.
8935
+ * Whether to disable Zaraz.
8915
8936
  */
8916
8937
  disableZaraz?: pulumi.Input<boolean>;
8917
8938
  /**
8918
- * TTL (Time to Live) specifies the maximum time to cache a resource in the Cloudflare edge network.
8939
+ * How long the Cloudflare edge network should cache the response.
8919
8940
  */
8920
8941
  edgeTtl?: pulumi.Input<inputs.RulesetRuleActionParametersEdgeTtl>;
8921
8942
  /**
8922
- * Turn on or off Email Obfuscation.
8943
+ * Whether to enable Email Obfuscation.
8923
8944
  */
8924
8945
  emailObfuscation?: pulumi.Input<boolean>;
8925
8946
  /**
8926
- * Turn on or off Cloudflare Fonts.
8947
+ * Whether to enable Cloudflare Fonts.
8927
8948
  */
8928
8949
  fonts?: pulumi.Input<boolean>;
8929
8950
  /**
8930
- * Serve a redirect based on a bulk list lookup.
8951
+ * A redirect based on a bulk list lookup.
8931
8952
  */
8932
8953
  fromList?: pulumi.Input<inputs.RulesetRuleActionParametersFromList>;
8933
8954
  /**
8934
- * Serve a redirect based on the request properties.
8955
+ * A redirect based on the request properties.
8935
8956
  */
8936
8957
  fromValue?: pulumi.Input<inputs.RulesetRuleActionParametersFromValue>;
8937
8958
  /**
8938
- * Map of request headers to modify.
8959
+ * A map of headers to rewrite.
8939
8960
  */
8940
8961
  headers?: pulumi.Input<{
8941
8962
  [key: string]: pulumi.Input<inputs.RulesetRuleActionParametersHeaders>;
8942
8963
  }>;
8943
8964
  /**
8944
- * Rewrite the HTTP Host header.
8965
+ * A value to rewrite the HTTP host header to.
8945
8966
  */
8946
8967
  hostHeader?: pulumi.Input<string>;
8947
8968
  /**
8948
- * Turn on or off the Hotlink Protection.
8969
+ * Whether to enable Hotlink Protection.
8949
8970
  */
8950
8971
  hotlinkProtection?: pulumi.Input<boolean>;
8951
8972
  /**
@@ -8953,7 +8974,7 @@ export interface RulesetRuleActionParameters {
8953
8974
  */
8954
8975
  id?: pulumi.Input<string>;
8955
8976
  /**
8956
- * Increment contains the delta to change the score and can be either positive or negative.
8977
+ * A delta to change the score by, which can be either positive or negative.
8957
8978
  */
8958
8979
  increment?: pulumi.Input<number>;
8959
8980
  /**
@@ -8961,45 +8982,42 @@ export interface RulesetRuleActionParameters {
8961
8982
  */
8962
8983
  matchedData?: pulumi.Input<inputs.RulesetRuleActionParametersMatchedData>;
8963
8984
  /**
8964
- * Turn on or off Mirage.
8985
+ * Whether to enable Mirage.
8965
8986
  */
8966
8987
  mirage?: pulumi.Input<boolean>;
8967
8988
  /**
8968
- * Turn on or off Opportunistic Encryption.
8989
+ * Whether to enable Opportunistic Encryption.
8969
8990
  */
8970
8991
  opportunisticEncryption?: pulumi.Input<boolean>;
8971
8992
  /**
8972
- * Override the IP/TCP destination.
8993
+ * An origin to route to.
8973
8994
  */
8974
8995
  origin?: pulumi.Input<inputs.RulesetRuleActionParametersOrigin>;
8975
8996
  /**
8976
- * When enabled, Cloudflare will aim to strictly adhere to RFC 7234.
8997
+ * Whether Cloudflare will aim to strictly adhere to RFC 7234.
8977
8998
  */
8978
8999
  originCacheControl?: pulumi.Input<boolean>;
8979
9000
  /**
8980
- * Generate Cloudflare error pages from issues sent from the origin server. When on, error pages will trigger for issues from the origin.
9001
+ * Whether to generate Cloudflare error pages for issues from the origin server.
8981
9002
  */
8982
9003
  originErrorPagePassthru?: pulumi.Input<boolean>;
8983
9004
  /**
8984
9005
  * A set of overrides to apply to the target ruleset.
8985
9006
  */
8986
9007
  overrides?: pulumi.Input<inputs.RulesetRuleActionParametersOverrides>;
8987
- /**
8988
- * A phase to skip the execution of. This property is only compatible with products.
8989
- * Available values: "current".
8990
- */
8991
- phase?: pulumi.Input<string>;
8992
9008
  /**
8993
9009
  * A list of phases to skip the execution of. This option is incompatible with the rulesets option.
9010
+ * Available values: "ddos*l4", "ddos*l7", "http*config*settings", "http*custom*errors", "http*log*custom*fields", "http*ratelimit", "http*request*cache*settings", "http*request*dynamic*redirect", "http*request*firewall*custom", "http*request*firewall*managed", "http*request*late*transform", "http*request*origin", "http*request*redirect", "http*request*sanitize", "http*request*sbfm", "http*request*transform", "http*response*compression", "http*response*firewall*managed", "http*response*headers*transform", "magic*transit", "magic*transit*ids*managed", "magic*transit*managed", "magic*transit_ratelimit".
8994
9011
  */
8995
9012
  phases?: pulumi.Input<pulumi.Input<string>[]>;
8996
9013
  /**
8997
- * Configure the Polish level.
9014
+ * The Polish level to configure.
8998
9015
  * Available values: "off", "lossless", "lossy", "webp".
8999
9016
  */
9000
9017
  polish?: pulumi.Input<string>;
9001
9018
  /**
9002
9019
  * A list of legacy security products to skip the execution of.
9020
+ * Available values: "bic", "hot", "rateLimit", "securityLevel", "uaBlock", "waf", "zoneLockdown".
9003
9021
  */
9004
9022
  products?: pulumi.Input<pulumi.Input<string>[]>;
9005
9023
  /**
@@ -9007,7 +9025,7 @@ export interface RulesetRuleActionParameters {
9007
9025
  */
9008
9026
  rawResponseFields?: pulumi.Input<pulumi.Input<inputs.RulesetRuleActionParametersRawResponseField>[]>;
9009
9027
  /**
9010
- * Define a timeout value between two successive read operations to your origin server. Historically, the timeout value between two read options from Cloudflare to an origin server is 100 seconds. If you are attempting to reduce HTTP 524 errors because of timeouts from an origin server, try increasing this timeout value.
9028
+ * A timeout value between two successive read operations to use for your origin server. Historically, the timeout value between two read options from Cloudflare to an origin server is 100 seconds. If you are attempting to reduce HTTP 524 errors because of timeouts from an origin server, try increasing this timeout value.
9011
9029
  */
9012
9030
  readTimeout?: pulumi.Input<number>;
9013
9031
  /**
@@ -9015,7 +9033,7 @@ export interface RulesetRuleActionParameters {
9015
9033
  */
9016
9034
  requestFields?: pulumi.Input<pulumi.Input<inputs.RulesetRuleActionParametersRequestField>[]>;
9017
9035
  /**
9018
- * Specify whether or not Cloudflare should respect strong ETag (entity tag) headers. When off, Cloudflare converts strong ETag headers to weak ETag headers.
9036
+ * Whether Cloudflare should respect strong ETag (entity tag) headers. If false, Cloudflare converts strong ETag headers to weak ETag headers.
9019
9037
  */
9020
9038
  respectStrongEtags?: pulumi.Input<boolean>;
9021
9039
  /**
@@ -9027,7 +9045,7 @@ export interface RulesetRuleActionParameters {
9027
9045
  */
9028
9046
  responseFields?: pulumi.Input<pulumi.Input<inputs.RulesetRuleActionParametersResponseField>[]>;
9029
9047
  /**
9030
- * Turn on or off Rocket Loader.
9048
+ * Whether to enable Rocket Loader.
9031
9049
  */
9032
9050
  rocketLoader?: pulumi.Input<boolean>;
9033
9051
  /**
@@ -9046,24 +9064,24 @@ export interface RulesetRuleActionParameters {
9046
9064
  */
9047
9065
  rulesets?: pulumi.Input<pulumi.Input<string>[]>;
9048
9066
  /**
9049
- * Configure the Security Level.
9067
+ * The Security Level to configure.
9050
9068
  * Available values: "off", "essentially*off", "low", "medium", "high", "under*attack".
9051
9069
  */
9052
9070
  securityLevel?: pulumi.Input<string>;
9053
9071
  /**
9054
- * Define if Cloudflare should serve stale content while getting the latest content from the origin. If on, Cloudflare will not serve stale content while getting the latest content from the origin.
9072
+ * When to serve stale content from cache.
9055
9073
  */
9056
9074
  serveStale?: pulumi.Input<inputs.RulesetRuleActionParametersServeStale>;
9057
9075
  /**
9058
- * Turn on or off Server Side Excludes.
9076
+ * Whether to enable Server-Side Excludes.
9059
9077
  */
9060
9078
  serverSideExcludes?: pulumi.Input<boolean>;
9061
9079
  /**
9062
- * Override the Server Name Indication (SNI).
9080
+ * A Server Name Indication (SNI) override.
9063
9081
  */
9064
9082
  sni?: pulumi.Input<inputs.RulesetRuleActionParametersSni>;
9065
9083
  /**
9066
- * Configure the SSL level.
9084
+ * The SSL level to configure.
9067
9085
  * Available values: "off", "flexible", "full", "strict", "originPull".
9068
9086
  */
9069
9087
  ssl?: pulumi.Input<string>;
@@ -9072,7 +9090,7 @@ export interface RulesetRuleActionParameters {
9072
9090
  */
9073
9091
  statusCode?: pulumi.Input<number>;
9074
9092
  /**
9075
- * Turn on or off Signed Exchanges (SXG).
9093
+ * Whether to enable Signed Exchanges (SXG).
9076
9094
  */
9077
9095
  sxg?: pulumi.Input<boolean>;
9078
9096
  /**
@@ -9080,257 +9098,263 @@ export interface RulesetRuleActionParameters {
9080
9098
  */
9081
9099
  transformedRequestFields?: pulumi.Input<pulumi.Input<inputs.RulesetRuleActionParametersTransformedRequestField>[]>;
9082
9100
  /**
9083
- * URI to rewrite the request to.
9101
+ * A URI rewrite.
9084
9102
  */
9085
9103
  uri?: pulumi.Input<inputs.RulesetRuleActionParametersUri>;
9086
9104
  }
9087
9105
  export interface RulesetRuleActionParametersAlgorithm {
9088
9106
  /**
9089
- * Name of compression algorithm to enable.
9107
+ * Name of the compression algorithm to enable.
9090
9108
  * Available values: "none", "auto", "default", "gzip", "brotli", "zstd".
9091
9109
  */
9092
9110
  name?: pulumi.Input<string>;
9093
9111
  }
9094
9112
  export interface RulesetRuleActionParametersAutominify {
9095
9113
  /**
9096
- * Minify CSS files.
9114
+ * Whether to minify CSS files.
9097
9115
  */
9098
9116
  css?: pulumi.Input<boolean>;
9099
9117
  /**
9100
- * Minify HTML files.
9118
+ * Whether to minify HTML files.
9101
9119
  */
9102
9120
  html?: pulumi.Input<boolean>;
9103
9121
  /**
9104
- * Minify JS files.
9122
+ * Whether to minify JavaScript files.
9105
9123
  */
9106
9124
  js?: pulumi.Input<boolean>;
9107
9125
  }
9108
9126
  export interface RulesetRuleActionParametersBrowserTtl {
9109
9127
  /**
9110
- * The TTL (in seconds) if you choose overrideOrigin mode.
9128
+ * The browser TTL (in seconds) if you choose the "overrideOrigin" mode.
9111
9129
  */
9112
9130
  default?: pulumi.Input<number>;
9113
9131
  /**
9114
- * Determines which browser ttl mode to use.
9132
+ * The browser TTL mode.
9115
9133
  * Available values: "respect*origin", "bypass*by*default", "override*origin", "bypass".
9116
9134
  */
9117
9135
  mode: pulumi.Input<string>;
9118
9136
  }
9119
9137
  export interface RulesetRuleActionParametersCacheKey {
9120
9138
  /**
9121
- * Separate cached content based on the visitors device type.
9139
+ * Whether to separate cached content based on the visitor's device type.
9122
9140
  */
9123
9141
  cacheByDeviceType?: pulumi.Input<boolean>;
9124
9142
  /**
9125
- * Protect from web cache deception attacks while allowing static assets to be cached.
9143
+ * Whether to protect from web cache deception attacks, while allowing static assets to be cached.
9126
9144
  */
9127
9145
  cacheDeceptionArmor?: pulumi.Input<boolean>;
9128
9146
  /**
9129
- * Customize which components of the request are included or excluded from the cache key.
9147
+ * Which components of the request are included or excluded from the cache key.
9130
9148
  */
9131
9149
  customKey?: pulumi.Input<inputs.RulesetRuleActionParametersCacheKeyCustomKey>;
9132
9150
  /**
9133
- * Treat requests with the same query parameters the same, regardless of the order those query parameters are in. A value of true ignores the query strings' order.
9151
+ * Whether to treat requests with the same query parameters the same, regardless of the order those query parameters are in.
9134
9152
  */
9135
9153
  ignoreQueryStringsOrder?: pulumi.Input<boolean>;
9136
9154
  }
9137
9155
  export interface RulesetRuleActionParametersCacheKeyCustomKey {
9138
9156
  /**
9139
- * The cookies to include in building the cache key.
9157
+ * Which cookies to include in the cache key.
9140
9158
  */
9141
9159
  cookie?: pulumi.Input<inputs.RulesetRuleActionParametersCacheKeyCustomKeyCookie>;
9142
9160
  /**
9143
- * The header names and values to include in building the cache key.
9161
+ * Which headers to include in the cache key.
9144
9162
  */
9145
9163
  header?: pulumi.Input<inputs.RulesetRuleActionParametersCacheKeyCustomKeyHeader>;
9146
9164
  /**
9147
- * Whether to use the original host or the resolved host in the cache key.
9165
+ * How to use the host in the cache key.
9148
9166
  */
9149
9167
  host?: pulumi.Input<inputs.RulesetRuleActionParametersCacheKeyCustomKeyHost>;
9150
9168
  /**
9151
- * Use the presence of parameters in the query string to build the cache key.
9169
+ * Which query string parameters to include in or exclude from the cache key.
9152
9170
  */
9153
9171
  queryString?: pulumi.Input<inputs.RulesetRuleActionParametersCacheKeyCustomKeyQueryString>;
9154
9172
  /**
9155
- * Characteristics of the request user agent used in building the cache key.
9173
+ * How to use characteristics of the request user agent in the cache key.
9156
9174
  */
9157
9175
  user?: pulumi.Input<inputs.RulesetRuleActionParametersCacheKeyCustomKeyUser>;
9158
9176
  }
9159
9177
  export interface RulesetRuleActionParametersCacheKeyCustomKeyCookie {
9160
9178
  /**
9161
- * Checks for the presence of these cookie names. The presence of these cookies is used in building the cache key.
9179
+ * A list of cookies to check for the presence of. The presence of these cookies is included in the cache key.
9162
9180
  */
9163
9181
  checkPresences?: pulumi.Input<pulumi.Input<string>[]>;
9164
9182
  /**
9165
- * Include these cookies' names and their values.
9183
+ * A list of cookies to include in the cache key.
9166
9184
  */
9167
9185
  includes?: pulumi.Input<pulumi.Input<string>[]>;
9168
9186
  }
9169
9187
  export interface RulesetRuleActionParametersCacheKeyCustomKeyHeader {
9170
9188
  /**
9171
- * Checks for the presence of these header names. The presence of these headers is used in building the cache key.
9189
+ * A list of headers to check for the presence of. The presence of these headers is included in the cache key.
9172
9190
  */
9173
9191
  checkPresences?: pulumi.Input<pulumi.Input<string>[]>;
9174
9192
  /**
9175
- * For each header name and list of values combination, check if the request header contains any of the values provided. The presence of the request header and whether any of the values provided are contained in the request header value is used in building the cache key.
9193
+ * A mapping of header names to a list of values. If a header is present in the request and contains any of the values provided, its value is included in the cache key.
9176
9194
  */
9177
9195
  contains?: pulumi.Input<{
9178
9196
  [key: string]: pulumi.Input<pulumi.Input<string>[]>;
9179
9197
  }>;
9180
9198
  /**
9181
- * Whether or not to include the origin header. A value of true will exclude the origin header in the cache key.
9199
+ * Whether to exclude the origin header in the cache key.
9182
9200
  */
9183
9201
  excludeOrigin?: pulumi.Input<boolean>;
9184
9202
  /**
9185
- * Include these headers' names and their values.
9203
+ * A list of headers to include in the cache key.
9186
9204
  */
9187
9205
  includes?: pulumi.Input<pulumi.Input<string>[]>;
9188
9206
  }
9189
9207
  export interface RulesetRuleActionParametersCacheKeyCustomKeyHost {
9190
9208
  /**
9191
- * Use the resolved host in the cache key. A value of true will use the resolved host, while a value or false will use the original host.
9209
+ * Whether to use the resolved host in the cache key.
9192
9210
  */
9193
9211
  resolved?: pulumi.Input<boolean>;
9194
9212
  }
9195
9213
  export interface RulesetRuleActionParametersCacheKeyCustomKeyQueryString {
9196
9214
  /**
9197
- * A list of query string parameters NOT used to build the cache key. All parameters present in the request but missing in this list will be used to build the cache key.
9215
+ * Which query string parameters to exclude from the cache key.
9198
9216
  */
9199
9217
  exclude?: pulumi.Input<inputs.RulesetRuleActionParametersCacheKeyCustomKeyQueryStringExclude>;
9200
9218
  /**
9201
- * A list of query string parameters used to build the cache key.
9219
+ * Which query string parameters to include in the cache key.
9202
9220
  */
9203
9221
  include?: pulumi.Input<inputs.RulesetRuleActionParametersCacheKeyCustomKeyQueryStringInclude>;
9204
9222
  }
9205
9223
  export interface RulesetRuleActionParametersCacheKeyCustomKeyQueryStringExclude {
9206
9224
  /**
9207
- * Determines whether to exclude all query string parameters from the cache key.
9225
+ * Whether to exclude all query string parameters from the cache key.
9208
9226
  */
9209
9227
  all?: pulumi.Input<boolean>;
9228
+ /**
9229
+ * A list of query string parameters to exclude from the cache key.
9230
+ */
9210
9231
  lists?: pulumi.Input<pulumi.Input<string>[]>;
9211
9232
  }
9212
9233
  export interface RulesetRuleActionParametersCacheKeyCustomKeyQueryStringInclude {
9213
9234
  /**
9214
- * Determines whether to include all query string parameters in the cache key.
9235
+ * Whether to include all query string parameters in the cache key.
9215
9236
  */
9216
9237
  all?: pulumi.Input<boolean>;
9238
+ /**
9239
+ * A list of query string parameters to include in the cache key.
9240
+ */
9217
9241
  lists?: pulumi.Input<pulumi.Input<string>[]>;
9218
9242
  }
9219
9243
  export interface RulesetRuleActionParametersCacheKeyCustomKeyUser {
9220
9244
  /**
9221
- * Use the user agent's device type in the cache key.
9245
+ * Whether to use the user agent's device type in the cache key.
9222
9246
  */
9223
9247
  deviceType?: pulumi.Input<boolean>;
9224
9248
  /**
9225
- * Use the user agents's country in the cache key.
9249
+ * Whether to use the user agents's country in the cache key.
9226
9250
  */
9227
9251
  geo?: pulumi.Input<boolean>;
9228
9252
  /**
9229
- * Use the user agent's language in the cache key.
9253
+ * Whether to use the user agent's language in the cache key.
9230
9254
  */
9231
9255
  lang?: pulumi.Input<boolean>;
9232
9256
  }
9233
9257
  export interface RulesetRuleActionParametersCacheReserve {
9234
9258
  /**
9235
- * Determines whether cache reserve is enabled. If this is true and a request meets eligibility criteria, Cloudflare will write the resource to cache reserve.
9259
+ * Whether Cache Reserve is enabled. If this is true and a request meets eligibility criteria, Cloudflare will write the resource to Cache Reserve.
9236
9260
  */
9237
9261
  eligible: pulumi.Input<boolean>;
9238
9262
  /**
9239
- * The minimum file size eligible for store in cache reserve.
9263
+ * The minimum file size eligible for storage in Cache Reserve.
9240
9264
  */
9241
- minimumFileSize: pulumi.Input<number>;
9265
+ minimumFileSize?: pulumi.Input<number>;
9242
9266
  }
9243
9267
  export interface RulesetRuleActionParametersCookieField {
9244
9268
  /**
9245
- * The name of the field.
9269
+ * The name of the cookie.
9246
9270
  */
9247
9271
  name: pulumi.Input<string>;
9248
9272
  }
9249
9273
  export interface RulesetRuleActionParametersEdgeTtl {
9250
9274
  /**
9251
- * The TTL (in seconds) if you choose overrideOrigin mode.
9275
+ * The edge TTL (in seconds) if you choose the "overrideOrigin" mode.
9252
9276
  */
9253
9277
  default?: pulumi.Input<number>;
9254
9278
  /**
9255
- * Edge TTL options.
9279
+ * The edge TTL mode.
9256
9280
  * Available values: "respect*origin", "bypass*by*default", "override*origin".
9257
9281
  */
9258
9282
  mode: pulumi.Input<string>;
9259
9283
  /**
9260
- * List of single status codes, or status code ranges to apply the selected mode.
9284
+ * A list of TTLs to apply to specific status codes or status code ranges.
9261
9285
  */
9262
9286
  statusCodeTtls?: pulumi.Input<pulumi.Input<inputs.RulesetRuleActionParametersEdgeTtlStatusCodeTtl>[]>;
9263
9287
  }
9264
9288
  export interface RulesetRuleActionParametersEdgeTtlStatusCodeTtl {
9265
9289
  /**
9266
- * Set the TTL for responses with this specific status code.
9290
+ * A single status code to apply the TTL to.
9267
9291
  */
9268
9292
  statusCode?: pulumi.Input<number>;
9269
9293
  /**
9270
- * The range of status codes used to apply the selected mode.
9294
+ * A range of status codes to apply the TTL to.
9271
9295
  */
9272
9296
  statusCodeRange?: pulumi.Input<inputs.RulesetRuleActionParametersEdgeTtlStatusCodeTtlStatusCodeRange>;
9273
9297
  /**
9274
- * Time to cache a response (in seconds). A value of 0 is equivalent to setting the Cache-Control header with the value "no-cache". A value of -1 is equivalent to setting Cache-Control header with the value of "no-store".
9298
+ * The time to cache the response for (in seconds). A value of 0 is equivalent to setting the cache control header with the value "no-cache". A value of -1 is equivalent to setting the cache control header with the value of "no-store".
9275
9299
  */
9276
9300
  value: pulumi.Input<number>;
9277
9301
  }
9278
9302
  export interface RulesetRuleActionParametersEdgeTtlStatusCodeTtlStatusCodeRange {
9279
9303
  /**
9280
- * Response status code lower bound.
9304
+ * The lower bound of the range.
9281
9305
  */
9282
9306
  from?: pulumi.Input<number>;
9283
9307
  /**
9284
- * Response status code upper bound.
9308
+ * The upper bound of the range.
9285
9309
  */
9286
9310
  to?: pulumi.Input<number>;
9287
9311
  }
9288
9312
  export interface RulesetRuleActionParametersFromList {
9289
9313
  /**
9290
- * Expression that evaluates to the list lookup key.
9314
+ * An expression that evaluates to the list lookup key.
9291
9315
  */
9292
- key?: pulumi.Input<string>;
9316
+ key: pulumi.Input<string>;
9293
9317
  /**
9294
9318
  * The name of the list to match against.
9295
9319
  */
9296
- name?: pulumi.Input<string>;
9320
+ name: pulumi.Input<string>;
9297
9321
  }
9298
9322
  export interface RulesetRuleActionParametersFromValue {
9299
9323
  /**
9300
- * Keep the query string of the original request.
9324
+ * Whether to keep the query string of the original request.
9301
9325
  */
9302
9326
  preserveQueryString?: pulumi.Input<boolean>;
9303
9327
  /**
9304
- * The status code to be used for the redirect.
9305
- * Available values: 301, 302, 303, 307, 308.
9328
+ * The status code to use for the redirect.
9306
9329
  */
9307
9330
  statusCode?: pulumi.Input<number>;
9308
9331
  /**
9309
- * The URL to redirect the request to.
9332
+ * A URL to redirect the request to.
9310
9333
  */
9311
- targetUrl?: pulumi.Input<inputs.RulesetRuleActionParametersFromValueTargetUrl>;
9334
+ targetUrl: pulumi.Input<inputs.RulesetRuleActionParametersFromValueTargetUrl>;
9312
9335
  }
9313
9336
  export interface RulesetRuleActionParametersFromValueTargetUrl {
9314
9337
  /**
9315
- * An expression to evaluate to get the URL to redirect the request to.
9338
+ * An expression that evaluates to a URL to redirect the request to.
9316
9339
  */
9317
9340
  expression?: pulumi.Input<string>;
9318
9341
  /**
9319
- * The URL to redirect the request to.
9342
+ * A URL to redirect the request to.
9320
9343
  */
9321
9344
  value?: pulumi.Input<string>;
9322
9345
  }
9323
9346
  export interface RulesetRuleActionParametersHeaders {
9324
9347
  /**
9325
- * Expression for the header value.
9348
+ * An expression that evaluates to a value for the header.
9326
9349
  */
9327
9350
  expression?: pulumi.Input<string>;
9328
9351
  /**
9329
- * Available values: "remove", "add", "set".
9352
+ * The operation to perform on the header.
9353
+ * Available values: "add", "set", "remove".
9330
9354
  */
9331
9355
  operation: pulumi.Input<string>;
9332
9356
  /**
9333
- * Static value for the header.
9357
+ * A static value for the header.
9334
9358
  */
9335
9359
  value?: pulumi.Input<string>;
9336
9360
  }
@@ -9342,11 +9366,11 @@ export interface RulesetRuleActionParametersMatchedData {
9342
9366
  }
9343
9367
  export interface RulesetRuleActionParametersOrigin {
9344
9368
  /**
9345
- * Override the resolved hostname.
9369
+ * A resolved host to route to.
9346
9370
  */
9347
9371
  host?: pulumi.Input<string>;
9348
9372
  /**
9349
- * Override the destination port.
9373
+ * A destination port to route to.
9350
9374
  */
9351
9375
  port?: pulumi.Input<number>;
9352
9376
  }
@@ -9387,7 +9411,7 @@ export interface RulesetRuleActionParametersOverridesCategory {
9387
9411
  */
9388
9412
  enabled?: pulumi.Input<boolean>;
9389
9413
  /**
9390
- * The sensitivity level to use for rules in the category.
9414
+ * The sensitivity level to use for rules in the category. This option is only applicable for DDoS phases.
9391
9415
  * Available values: "default", "medium", "low", "eoff".
9392
9416
  */
9393
9417
  sensitivityLevel?: pulumi.Input<string>;
@@ -9410,14 +9434,14 @@ export interface RulesetRuleActionParametersOverridesRule {
9410
9434
  */
9411
9435
  scoreThreshold?: pulumi.Input<number>;
9412
9436
  /**
9413
- * The sensitivity level to use for the rule.
9437
+ * The sensitivity level to use for the rule. This option is only applicable for DDoS phases.
9414
9438
  * Available values: "default", "medium", "low", "eoff".
9415
9439
  */
9416
9440
  sensitivityLevel?: pulumi.Input<string>;
9417
9441
  }
9418
9442
  export interface RulesetRuleActionParametersRawResponseField {
9419
9443
  /**
9420
- * The name of the field.
9444
+ * The name of the response header.
9421
9445
  */
9422
9446
  name: pulumi.Input<string>;
9423
9447
  /**
@@ -9427,7 +9451,7 @@ export interface RulesetRuleActionParametersRawResponseField {
9427
9451
  }
9428
9452
  export interface RulesetRuleActionParametersRequestField {
9429
9453
  /**
9430
- * The name of the field.
9454
+ * The name of the header.
9431
9455
  */
9432
9456
  name: pulumi.Input<string>;
9433
9457
  }
@@ -9447,7 +9471,7 @@ export interface RulesetRuleActionParametersResponse {
9447
9471
  }
9448
9472
  export interface RulesetRuleActionParametersResponseField {
9449
9473
  /**
9450
- * The name of the field.
9474
+ * The name of the response header.
9451
9475
  */
9452
9476
  name: pulumi.Input<string>;
9453
9477
  /**
@@ -9457,59 +9481,59 @@ export interface RulesetRuleActionParametersResponseField {
9457
9481
  }
9458
9482
  export interface RulesetRuleActionParametersServeStale {
9459
9483
  /**
9460
- * Defines whether Cloudflare should serve stale content while updating. If true, Cloudflare will not serve stale content while getting the latest content from the origin.
9484
+ * Whether Cloudflare should disable serving stale content while getting the latest content from the origin.
9461
9485
  */
9462
- disableStaleWhileUpdating: pulumi.Input<boolean>;
9486
+ disableStaleWhileUpdating?: pulumi.Input<boolean>;
9463
9487
  }
9464
9488
  export interface RulesetRuleActionParametersSni {
9465
9489
  /**
9466
- * The SNI override.
9490
+ * A value to override the SNI to.
9467
9491
  */
9468
9492
  value: pulumi.Input<string>;
9469
9493
  }
9470
9494
  export interface RulesetRuleActionParametersTransformedRequestField {
9471
9495
  /**
9472
- * The name of the field.
9496
+ * The name of the header.
9473
9497
  */
9474
9498
  name: pulumi.Input<string>;
9475
9499
  }
9476
9500
  export interface RulesetRuleActionParametersUri {
9477
9501
  /**
9478
- * Path portion rewrite.
9502
+ * A URI path rewrite.
9479
9503
  */
9480
9504
  path?: pulumi.Input<inputs.RulesetRuleActionParametersUriPath>;
9481
9505
  /**
9482
- * Query portion rewrite.
9506
+ * A URI query rewrite.
9483
9507
  */
9484
9508
  query?: pulumi.Input<inputs.RulesetRuleActionParametersUriQuery>;
9485
9509
  }
9486
9510
  export interface RulesetRuleActionParametersUriPath {
9487
9511
  /**
9488
- * Expression to evaluate for the replacement value.
9512
+ * An expression that evaluates to a value to rewrite the URI path to.
9489
9513
  */
9490
9514
  expression?: pulumi.Input<string>;
9491
9515
  /**
9492
- * Predefined replacement value.
9516
+ * A value to rewrite the URI path to.
9493
9517
  */
9494
9518
  value?: pulumi.Input<string>;
9495
9519
  }
9496
9520
  export interface RulesetRuleActionParametersUriQuery {
9497
9521
  /**
9498
- * Expression to evaluate for the replacement value.
9522
+ * An expression that evaluates to a value to rewrite the URI query to.
9499
9523
  */
9500
9524
  expression?: pulumi.Input<string>;
9501
9525
  /**
9502
- * Predefined replacement value.
9526
+ * A value to rewrite the URI query to.
9503
9527
  */
9504
9528
  value?: pulumi.Input<string>;
9505
9529
  }
9506
9530
  export interface RulesetRuleExposedCredentialCheck {
9507
9531
  /**
9508
- * Expression that selects the password used in the credentials check.
9532
+ * An expression that selects the password used in the credentials check.
9509
9533
  */
9510
9534
  passwordExpression: pulumi.Input<string>;
9511
9535
  /**
9512
- * Expression that selects the user ID used in the credentials check.
9536
+ * An expression that selects the user ID used in the credentials check.
9513
9537
  */
9514
9538
  usernameExpression: pulumi.Input<string>;
9515
9539
  }
@@ -9517,15 +9541,15 @@ export interface RulesetRuleLogging {
9517
9541
  /**
9518
9542
  * Whether to generate a log when the rule matches.
9519
9543
  */
9520
- enabled: pulumi.Input<boolean>;
9544
+ enabled?: pulumi.Input<boolean>;
9521
9545
  }
9522
9546
  export interface RulesetRuleRatelimit {
9523
9547
  /**
9524
- * Characteristics of the request on which the ratelimiter counter will be incremented.
9548
+ * Characteristics of the request on which the rate limit counter will be incremented.
9525
9549
  */
9526
9550
  characteristics: pulumi.Input<pulumi.Input<string>[]>;
9527
9551
  /**
9528
- * Defines when the ratelimit counter should be incremented. It is optional and defaults to the same as the rule's expression.
9552
+ * An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule's expression.
9529
9553
  */
9530
9554
  countingExpression?: pulumi.Input<string>;
9531
9555
  /**
@@ -9541,7 +9565,7 @@ export interface RulesetRuleRatelimit {
9541
9565
  */
9542
9566
  requestsPerPeriod?: pulumi.Input<number>;
9543
9567
  /**
9544
- * Defines if ratelimit counting is only done when an origin is reached.
9568
+ * Whether counting is only performed when an origin is reached.
9545
9569
  */
9546
9570
  requestsToOrigin?: pulumi.Input<boolean>;
9547
9571
  /**
@@ -9549,10 +9573,20 @@ export interface RulesetRuleRatelimit {
9549
9573
  */
9550
9574
  scorePerPeriod?: pulumi.Input<number>;
9551
9575
  /**
9552
- * The response header name provided by the origin which should contain the score to increment ratelimit counter on.
9576
+ * A response header name provided by the origin, which contains the score to increment rate limit counter with.
9553
9577
  */
9554
9578
  scoreResponseHeaderName?: pulumi.Input<string>;
9555
9579
  }
9580
+ export interface SnippetFile {
9581
+ content: pulumi.Input<string>;
9582
+ name: pulumi.Input<string>;
9583
+ }
9584
+ export interface SnippetMetadata {
9585
+ /**
9586
+ * Name of the file that contains the main module of the snippet.
9587
+ */
9588
+ mainModule: pulumi.Input<string>;
9589
+ }
9556
9590
  export interface SnippetRulesRule {
9557
9591
  /**
9558
9592
  * An informative description of the rule.
@@ -9942,7 +9976,7 @@ export interface TeamsAccountSettingsBlockPage {
9942
9976
  mailtoSubject?: pulumi.Input<string>;
9943
9977
  /**
9944
9978
  * Controls whether the user is redirected to a Cloudflare-hosted block page or to a customer-provided URI.
9945
- * Available values: "customizedBlockPage", "redirectUri".
9979
+ * Available values: "", "customizedBlockPage", "redirectUri".
9946
9980
  */
9947
9981
  mode?: pulumi.Input<string>;
9948
9982
  /**
@@ -10343,9 +10377,6 @@ export interface TeamsRuleRuleSettingsBlockPage {
10343
10377
  targetUri: pulumi.Input<string>;
10344
10378
  }
10345
10379
  export interface TeamsRuleRuleSettingsCheckSession {
10346
- /**
10347
- * Configure how fresh the session needs to be to be considered valid.
10348
- */
10349
10380
  duration?: pulumi.Input<string>;
10350
10381
  /**
10351
10382
  * Set to true to enable session enforcement.
@@ -14730,9 +14761,6 @@ export interface ZeroTrustGatewayPolicyRuleSettingsBlockPage {
14730
14761
  targetUri: pulumi.Input<string>;
14731
14762
  }
14732
14763
  export interface ZeroTrustGatewayPolicyRuleSettingsCheckSession {
14733
- /**
14734
- * Configure how fresh the session needs to be to be considered valid.
14735
- */
14736
14764
  duration?: pulumi.Input<string>;
14737
14765
  /**
14738
14766
  * Set to true to enable session enforcement.
@@ -15036,7 +15064,7 @@ export interface ZeroTrustGatewaySettingsSettingsBlockPage {
15036
15064
  mailtoSubject?: pulumi.Input<string>;
15037
15065
  /**
15038
15066
  * Controls whether the user is redirected to a Cloudflare-hosted block page or to a customer-provided URI.
15039
- * Available values: "customizedBlockPage", "redirectUri".
15067
+ * Available values: "", "customizedBlockPage", "redirectUri".
15040
15068
  */
15041
15069
  mode?: pulumi.Input<string>;
15042
15070
  /**