@pulumi/cloudflare 4.9.0 → 4.10.0-alpha.1661535818

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 (112) hide show
  1. package/accessApplication.d.ts +44 -35
  2. package/accessApplication.js +3 -4
  3. package/accessApplication.js.map +1 -1
  4. package/accessBookmark.d.ts +13 -11
  5. package/accessBookmark.js +4 -2
  6. package/accessBookmark.js.map +1 -1
  7. package/accessCaCertificate.d.ts +15 -13
  8. package/accessCaCertificate.js +5 -3
  9. package/accessCaCertificate.js.map +1 -1
  10. package/accessGroup.d.ts +9 -35
  11. package/accessGroup.js +3 -29
  12. package/accessGroup.js.map +1 -1
  13. package/accessIdentityProvider.d.ts +20 -23
  14. package/accessIdentityProvider.js +8 -5
  15. package/accessIdentityProvider.js.map +1 -1
  16. package/accessMutualTlsCertificate.d.ts +12 -8
  17. package/accessMutualTlsCertificate.js +6 -2
  18. package/accessMutualTlsCertificate.js.map +1 -1
  19. package/accessPolicy.d.ts +14 -15
  20. package/accessPolicy.js +5 -3
  21. package/accessPolicy.js.map +1 -1
  22. package/accessRule.d.ts +22 -9
  23. package/accessRule.js +9 -3
  24. package/accessRule.js.map +1 -1
  25. package/accessServiceToken.d.ts +11 -10
  26. package/accessServiceToken.js +3 -2
  27. package/accessServiceToken.js.map +1 -1
  28. package/accountMember.d.ts +15 -6
  29. package/accountMember.js +2 -0
  30. package/accountMember.js.map +1 -1
  31. package/apiToken.d.ts +26 -1
  32. package/apiToken.js +6 -1
  33. package/apiToken.js.map +1 -1
  34. package/argo.d.ts +9 -8
  35. package/argo.js +3 -2
  36. package/argo.js.map +1 -1
  37. package/certificatePack.d.ts +34 -88
  38. package/certificatePack.js +14 -26
  39. package/certificatePack.js.map +1 -1
  40. package/customHostname.d.ts +15 -11
  41. package/customHostname.js +3 -5
  42. package/customHostname.js.map +1 -1
  43. package/filter.d.ts +4 -2
  44. package/filter.js +4 -2
  45. package/filter.js.map +1 -1
  46. package/firewallRule.d.ts +17 -23
  47. package/firewallRule.js +8 -5
  48. package/firewallRule.js.map +1 -1
  49. package/getAccessIdentityProvider.d.ts +18 -0
  50. package/getAccessIdentityProvider.js.map +1 -1
  51. package/getAccountRoles.d.ts +9 -0
  52. package/getAccountRoles.js.map +1 -1
  53. package/getDevices.d.ts +9 -0
  54. package/getDevices.js.map +1 -1
  55. package/getWafGroups.d.ts +9 -0
  56. package/getWafGroups.js.map +1 -1
  57. package/getWafPackages.d.ts +9 -0
  58. package/getWafPackages.js.map +1 -1
  59. package/getWafRules.d.ts +9 -0
  60. package/getWafRules.js.map +1 -1
  61. package/getZone.d.ts +18 -0
  62. package/getZone.js.map +1 -1
  63. package/getZoneDnssec.d.ts +9 -0
  64. package/getZoneDnssec.js.map +1 -1
  65. package/healthcheck.d.ts +50 -103
  66. package/healthcheck.js +2 -5
  67. package/healthcheck.js.map +1 -1
  68. package/ipsecTunnel.d.ts +16 -19
  69. package/ipsecTunnel.js +1 -1
  70. package/ipsecTunnel.js.map +1 -1
  71. package/list.d.ts +3 -2
  72. package/list.js +3 -2
  73. package/list.js.map +1 -1
  74. package/loadBalancer.d.ts +16 -0
  75. package/loadBalancer.js +6 -0
  76. package/loadBalancer.js.map +1 -1
  77. package/loadBalancerPool.d.ts +3 -3
  78. package/logpushJob.d.ts +21 -57
  79. package/logpushJob.js.map +1 -1
  80. package/managedHeaders.d.ts +7 -7
  81. package/managedHeaders.js +1 -1
  82. package/notificationPolicy.d.ts +18 -40
  83. package/notificationPolicy.js +3 -1
  84. package/notificationPolicy.js.map +1 -1
  85. package/package.json +4 -3
  86. package/package.json.bak +2 -1
  87. package/package.json.dev +4 -3
  88. package/ruleset.d.ts +64 -37
  89. package/ruleset.js +52 -10
  90. package/ruleset.js.map +1 -1
  91. package/tunnelRoute.d.ts +9 -10
  92. package/tunnelRoute.js +6 -4
  93. package/tunnelRoute.js.map +1 -1
  94. package/tunnelVirtualNetwork.d.ts +8 -10
  95. package/tunnelVirtualNetwork.js +5 -4
  96. package/tunnelVirtualNetwork.js.map +1 -1
  97. package/types/input.d.ts +360 -32
  98. package/types/output.d.ts +364 -27
  99. package/waitingRoom.d.ts +19 -22
  100. package/waitingRoom.js +1 -1
  101. package/waitingRoom.js.map +1 -1
  102. package/waitingRoomEvent.d.ts +13 -19
  103. package/waitingRoomEvent.js +1 -1
  104. package/waitingRoomEvent.js.map +1 -1
  105. package/workerCronTrigger.d.ts +1 -1
  106. package/workerCronTrigger.js +1 -1
  107. package/workerScript.d.ts +8 -1
  108. package/workerScript.js +7 -1
  109. package/workerScript.js.map +1 -1
  110. package/zone.d.ts +34 -23
  111. package/zone.js +10 -5
  112. package/zone.js.map +1 -1
package/types/output.d.ts CHANGED
@@ -1,14 +1,52 @@
1
1
  import { output as outputs } from "../types";
2
2
  export interface AccessApplicationCorsHeader {
3
+ /**
4
+ * Value to determine whether all HTTP headers are exposed.
5
+ */
3
6
  allowAllHeaders?: boolean;
7
+ /**
8
+ * Value to determine whether all methods are exposed.
9
+ */
4
10
  allowAllMethods?: boolean;
11
+ /**
12
+ * Value to determine whether all origins are permitted to make CORS requests.
13
+ */
5
14
  allowAllOrigins?: boolean;
15
+ /**
16
+ * Value to determine if credentials (cookies, authorization headers, or TLS client certificates) are included with requests.
17
+ */
6
18
  allowCredentials?: boolean;
19
+ /**
20
+ * List of HTTP headers to expose via CORS.
21
+ */
7
22
  allowedHeaders?: string[];
23
+ /**
24
+ * List of methods to expose via CORS.
25
+ */
8
26
  allowedMethods?: string[];
27
+ /**
28
+ * List of origins permitted to make CORS requests.
29
+ */
9
30
  allowedOrigins?: string[];
31
+ /**
32
+ * The maximum time a preflight request will be cached.
33
+ */
10
34
  maxAge?: number;
11
35
  }
36
+ export interface AccessApplicationSaasApp {
37
+ /**
38
+ * The service provider's endpoint that is responsible for receiving and parsing a SAML assertion.
39
+ */
40
+ consumerServiceUrl: string;
41
+ /**
42
+ * The format of the name identifier sent to the SaaS application. Defaults to `email`.
43
+ */
44
+ nameIdFormat?: string;
45
+ /**
46
+ * A globally unique name for an identity or service provider.
47
+ */
48
+ spEntityId: string;
49
+ }
12
50
  export interface AccessGroupExclude {
13
51
  anyValidServiceToken?: boolean;
14
52
  authMethod?: string;
@@ -32,6 +70,9 @@ export interface AccessGroupExclude {
32
70
  }
33
71
  export interface AccessGroupExcludeAzure {
34
72
  identityProviderId?: string;
73
+ /**
74
+ * The ID of this resource.
75
+ */
35
76
  ids?: string[];
36
77
  }
37
78
  export interface AccessGroupExcludeExternalEvaluation {
@@ -79,6 +120,9 @@ export interface AccessGroupInclude {
79
120
  }
80
121
  export interface AccessGroupIncludeAzure {
81
122
  identityProviderId?: string;
123
+ /**
124
+ * The ID of this resource.
125
+ */
82
126
  ids?: string[];
83
127
  }
84
128
  export interface AccessGroupIncludeExternalEvaluation {
@@ -126,6 +170,9 @@ export interface AccessGroupRequire {
126
170
  }
127
171
  export interface AccessGroupRequireAzure {
128
172
  identityProviderId?: string;
173
+ /**
174
+ * The ID of this resource.
175
+ */
129
176
  ids?: string[];
130
177
  }
131
178
  export interface AccessGroupRequireExternalEvaluation {
@@ -174,7 +221,13 @@ export interface AccessIdentityProviderConfig {
174
221
  tokenUrl?: string;
175
222
  }
176
223
  export interface AccessPolicyApprovalGroup {
224
+ /**
225
+ * Number of approvals needed.
226
+ */
177
227
  approvalsNeeded: number;
228
+ /**
229
+ * List of emails to request approval from.
230
+ */
178
231
  emailAddresses?: string[];
179
232
  emailListUuid?: string;
180
233
  }
@@ -201,6 +254,9 @@ export interface AccessPolicyExclude {
201
254
  }
202
255
  export interface AccessPolicyExcludeAzure {
203
256
  identityProviderId?: string;
257
+ /**
258
+ * The ID of this resource.
259
+ */
204
260
  ids?: string[];
205
261
  }
206
262
  export interface AccessPolicyExcludeExternalEvaluation {
@@ -209,6 +265,9 @@ export interface AccessPolicyExcludeExternalEvaluation {
209
265
  }
210
266
  export interface AccessPolicyExcludeGithub {
211
267
  identityProviderId?: string;
268
+ /**
269
+ * Friendly name of the Access Policy.
270
+ */
212
271
  name?: string;
213
272
  teams?: string[];
214
273
  }
@@ -218,6 +277,9 @@ export interface AccessPolicyExcludeGsuite {
218
277
  }
219
278
  export interface AccessPolicyExcludeOkta {
220
279
  identityProviderId?: string;
280
+ /**
281
+ * Friendly name of the Access Policy.
282
+ */
221
283
  names?: string[];
222
284
  }
223
285
  export interface AccessPolicyExcludeSaml {
@@ -248,6 +310,9 @@ export interface AccessPolicyInclude {
248
310
  }
249
311
  export interface AccessPolicyIncludeAzure {
250
312
  identityProviderId?: string;
313
+ /**
314
+ * The ID of this resource.
315
+ */
251
316
  ids?: string[];
252
317
  }
253
318
  export interface AccessPolicyIncludeExternalEvaluation {
@@ -256,6 +321,9 @@ export interface AccessPolicyIncludeExternalEvaluation {
256
321
  }
257
322
  export interface AccessPolicyIncludeGithub {
258
323
  identityProviderId?: string;
324
+ /**
325
+ * Friendly name of the Access Policy.
326
+ */
259
327
  name?: string;
260
328
  teams?: string[];
261
329
  }
@@ -265,6 +333,9 @@ export interface AccessPolicyIncludeGsuite {
265
333
  }
266
334
  export interface AccessPolicyIncludeOkta {
267
335
  identityProviderId?: string;
336
+ /**
337
+ * Friendly name of the Access Policy.
338
+ */
268
339
  names?: string[];
269
340
  }
270
341
  export interface AccessPolicyIncludeSaml {
@@ -295,6 +366,9 @@ export interface AccessPolicyRequire {
295
366
  }
296
367
  export interface AccessPolicyRequireAzure {
297
368
  identityProviderId?: string;
369
+ /**
370
+ * The ID of this resource.
371
+ */
298
372
  ids?: string[];
299
373
  }
300
374
  export interface AccessPolicyRequireExternalEvaluation {
@@ -303,6 +377,9 @@ export interface AccessPolicyRequireExternalEvaluation {
303
377
  }
304
378
  export interface AccessPolicyRequireGithub {
305
379
  identityProviderId?: string;
380
+ /**
381
+ * Friendly name of the Access Policy.
382
+ */
306
383
  name?: string;
307
384
  teams?: string[];
308
385
  }
@@ -312,6 +389,9 @@ export interface AccessPolicyRequireGsuite {
312
389
  }
313
390
  export interface AccessPolicyRequireOkta {
314
391
  identityProviderId?: string;
392
+ /**
393
+ * Friendly name of the Access Policy.
394
+ */
315
395
  names?: string[];
316
396
  }
317
397
  export interface AccessPolicyRequireSaml {
@@ -320,10 +400,19 @@ export interface AccessPolicyRequireSaml {
320
400
  identityProviderId?: string;
321
401
  }
322
402
  export interface AccessRuleConfiguration {
403
+ /**
404
+ * The request property to target. Available values: `ip`, `ip6`, `ipRange`, `asn`, `country`.
405
+ */
323
406
  target: string;
407
+ /**
408
+ * The value to target. Depends on target's type.
409
+ */
324
410
  value: string;
325
411
  }
326
412
  export interface ApiTokenCondition {
413
+ /**
414
+ * Request IP related conditions.
415
+ */
327
416
  requestIp?: outputs.ApiTokenConditionRequestIp;
328
417
  }
329
418
  export interface ApiTokenConditionRequestIp {
@@ -331,8 +420,17 @@ export interface ApiTokenConditionRequestIp {
331
420
  notIns?: string[];
332
421
  }
333
422
  export interface ApiTokenPolicy {
423
+ /**
424
+ * Effect of the policy. Available values: `allow`, `deny`. Defaults to `allow`.
425
+ */
334
426
  effect?: string;
427
+ /**
428
+ * List of permissions groups IDs. See [documentation](https://developers.cloudflare.com/api/tokens/create/permissions) for more information.
429
+ */
335
430
  permissionGroups: string[];
431
+ /**
432
+ * Describes what operations against which resources are allowed or denied.
433
+ */
336
434
  resources: {
337
435
  [key: string]: string;
338
436
  };
@@ -360,17 +458,19 @@ export interface CustomHostnameSsl {
360
458
  */
361
459
  customKey?: string;
362
460
  /**
363
- * Domain control validation (DCV) method used for this
364
- * hostname. Valid values are `"txt"`, `"http"` and `"email"`.
461
+ * Domain control validation (DCV) method used for this hostname. Available values: `http`, `txt`, `email`.
365
462
  */
366
463
  method?: string;
367
464
  /**
368
- * SSL/TLS settings for the certificate. See further notes below.
465
+ * SSL/TLS settings for the certificate.
369
466
  */
370
467
  settings: outputs.CustomHostnameSslSetting[];
468
+ /**
469
+ * Status of the certificate.
470
+ */
371
471
  status: string;
372
472
  /**
373
- * Level of validation to be used for this hostname. Domain validation ("dv") must be used.
473
+ * Level of validation to be used for this hostname. Available values: `dv`. Defaults to `dv`.
374
474
  */
375
475
  type?: string;
376
476
  validationErrors: outputs.CustomHostnameSslValidationError[];
@@ -381,26 +481,10 @@ export interface CustomHostnameSsl {
381
481
  wildcard?: boolean;
382
482
  }
383
483
  export interface CustomHostnameSslSetting {
384
- /**
385
- * List of SSL/TLS ciphers to associate with this certificate.
386
- */
387
484
  ciphers?: string[];
388
- /**
389
- * Whether or not early hints should be supported. Valid values are `"on"` or `"off"`.
390
- */
391
485
  earlyHints?: string;
392
- /**
393
- * Whether or not HTTP2 should be supported. Valid values are `"on"` or `"off"`.
394
- */
395
486
  http2?: string;
396
- /**
397
- * Lowest version of TLS this certificate should
398
- * support. Valid values are `"1.0"`, `"1.1"`, `"1.2"` and `"1.3"`.
399
- */
400
487
  minTlsVersion?: string;
401
- /**
402
- * Whether or not TLSv1.3 should be supported. Valid values are `"on"` or `"off"`.
403
- */
404
488
  tls13?: string;
405
489
  }
406
490
  export interface CustomHostnameSslValidationError {
@@ -537,12 +621,18 @@ export interface FallbackDomainDomain {
537
621
  }
538
622
  export interface GetAccountRolesRole {
539
623
  description?: string;
624
+ /**
625
+ * The ID of this resource.
626
+ */
540
627
  id?: string;
541
628
  name?: string;
542
629
  }
543
630
  export interface GetDevicesDevice {
544
631
  created?: string;
545
632
  deviceType?: string;
633
+ /**
634
+ * The ID of this resource.
635
+ */
546
636
  id?: string;
547
637
  ip?: string;
548
638
  key?: string;
@@ -562,6 +652,9 @@ export interface GetWafGroupsFilter {
562
652
  }
563
653
  export interface GetWafGroupsGroup {
564
654
  description?: string;
655
+ /**
656
+ * The ID of this resource.
657
+ */
565
658
  id?: string;
566
659
  mode?: string;
567
660
  modifiedRulesCount?: number;
@@ -579,6 +672,9 @@ export interface GetWafPackagesPackage {
579
672
  actionMode?: string;
580
673
  description?: string;
581
674
  detectionMode?: string;
675
+ /**
676
+ * The ID of this resource.
677
+ */
582
678
  id?: string;
583
679
  name?: string;
584
680
  sensitivity?: string;
@@ -594,25 +690,46 @@ export interface GetWafRulesRule {
594
690
  description?: string;
595
691
  groupId?: string;
596
692
  groupName?: string;
693
+ /**
694
+ * The ID of this resource.
695
+ */
597
696
  id?: string;
598
697
  mode?: string;
599
698
  packageId?: string;
600
699
  priority?: string;
601
700
  }
602
701
  export interface GetZonesFilter {
702
+ /**
703
+ * The account identifier to target for the resource.
704
+ */
603
705
  accountId?: string;
706
+ /**
707
+ * Defaults to `exact`.
708
+ */
604
709
  lookupType?: string;
605
710
  match?: string;
606
711
  name?: string;
712
+ /**
713
+ * Defaults to `false`.
714
+ */
607
715
  paused?: boolean;
608
716
  status?: string;
609
717
  }
610
718
  export interface GetZonesZone {
719
+ /**
720
+ * The ID of this resource.
721
+ */
611
722
  id?: string;
612
723
  name?: string;
613
724
  }
614
725
  export interface HealthcheckHeader {
726
+ /**
727
+ * The header name.
728
+ */
615
729
  header: string;
730
+ /**
731
+ * A list of string values for the header.
732
+ */
616
733
  values: string[];
617
734
  }
618
735
  export interface IpListItem {
@@ -626,6 +743,9 @@ export interface IpListItem {
626
743
  value: string;
627
744
  }
628
745
  export interface ListItem {
746
+ /**
747
+ * An optional comment for the item.
748
+ */
629
749
  comment?: string;
630
750
  value: outputs.ListItemValue;
631
751
  }
@@ -642,6 +762,16 @@ export interface ListItemValueRedirect {
642
762
  subpathMatching?: string;
643
763
  targetUrl: string;
644
764
  }
765
+ export interface LoadBalancerCountryPool {
766
+ /**
767
+ * A country code which can be determined with the Load Balancing Regions API described [here](https://developers.cloudflare.com/load-balancing/reference/region-mapping-api/). Multiple entries should not be specified with the same country.
768
+ */
769
+ country: string;
770
+ /**
771
+ * A list of pool IDs in failover priority to use for traffic reaching the given PoP.
772
+ */
773
+ poolIds: string[];
774
+ }
645
775
  export interface LoadBalancerMonitorHeader {
646
776
  /**
647
777
  * The header name.
@@ -724,7 +854,7 @@ export interface LoadBalancerRegionPool {
724
854
  */
725
855
  poolIds: string[];
726
856
  /**
727
- * A region code which must be in the list defined [here](https://support.cloudflare.com/hc/en-us/articles/115000540888-Load-Balancing-Geographic-Regions). Multiple entries should not be specified with the same region.
857
+ * A region code which must be in the list defined [here](https://developers.cloudflare.com/load-balancing/reference/region-mapping-api/#list-of-load-balancer-regions). Multiple entries should not be specified with the same region.
728
858
  */
729
859
  region: string;
730
860
  }
@@ -777,6 +907,10 @@ export interface LoadBalancerRuleFixedResponse {
777
907
  statusCode?: number;
778
908
  }
779
909
  export interface LoadBalancerRuleOverride {
910
+ /**
911
+ * See countryPools above.
912
+ */
913
+ countryPools?: outputs.LoadBalancerRuleOverrideCountryPool[];
780
914
  /**
781
915
  * See defaultPoolIds above.
782
916
  */
@@ -816,6 +950,16 @@ export interface LoadBalancerRuleOverride {
816
950
  */
817
951
  ttl?: number;
818
952
  }
953
+ export interface LoadBalancerRuleOverrideCountryPool {
954
+ /**
955
+ * A country code which can be determined with the Load Balancing Regions API described [here](https://developers.cloudflare.com/load-balancing/reference/region-mapping-api/). Multiple entries should not be specified with the same country.
956
+ */
957
+ country: string;
958
+ /**
959
+ * A list of pool IDs in failover priority to use for traffic reaching the given PoP.
960
+ */
961
+ poolIds: string[];
962
+ }
819
963
  export interface LoadBalancerRuleOverridePopPool {
820
964
  /**
821
965
  * A list of pool IDs in failover priority to use for traffic reaching the given PoP.
@@ -832,46 +976,135 @@ export interface LoadBalancerRuleOverrideRegionPool {
832
976
  */
833
977
  poolIds: string[];
834
978
  /**
835
- * A region code which must be in the list defined [here](https://support.cloudflare.com/hc/en-us/articles/115000540888-Load-Balancing-Geographic-Regions). Multiple entries should not be specified with the same region.
979
+ * A region code which must be in the list defined [here](https://developers.cloudflare.com/load-balancing/reference/region-mapping-api/#list-of-load-balancer-regions). Multiple entries should not be specified with the same region.
836
980
  */
837
981
  region: string;
838
982
  }
839
983
  export interface ManagedHeadersManagedRequestHeader {
984
+ /**
985
+ * Whether the headers rule is active.
986
+ */
840
987
  enabled: boolean;
988
+ /**
989
+ * Unique headers rule identifier.
990
+ */
841
991
  id: string;
842
992
  }
843
993
  export interface ManagedHeadersManagedResponseHeader {
994
+ /**
995
+ * Whether the headers rule is active.
996
+ */
844
997
  enabled: boolean;
998
+ /**
999
+ * Unique headers rule identifier.
1000
+ */
845
1001
  id: string;
846
1002
  }
847
1003
  export interface NotificationPolicyEmailIntegration {
1004
+ /**
1005
+ * The ID of this resource.
1006
+ */
848
1007
  id: string;
1008
+ /**
1009
+ * The name of the notification policy.
1010
+ */
849
1011
  name?: string;
850
1012
  }
851
1013
  export interface NotificationPolicyFilters {
1014
+ /**
1015
+ * State of the pool to alert on.
1016
+ */
852
1017
  enableds?: string[];
1018
+ /**
1019
+ * Source configuration to alert on for pool or origin.
1020
+ */
1021
+ eventSources?: string[];
1022
+ /**
1023
+ * Stream event type to alert on.
1024
+ */
1025
+ eventTypes?: string[];
1026
+ /**
1027
+ * Identifier health check.
1028
+ */
853
1029
  healthCheckIds?: string[];
1030
+ /**
1031
+ * Stream input id to alert on.
1032
+ */
1033
+ inputIds?: string[];
1034
+ /**
1035
+ * A numerical limit. Example: `100`.
1036
+ */
854
1037
  limits?: string[];
1038
+ /**
1039
+ * Health status to alert on for pool or origin.
1040
+ */
1041
+ newHealths?: string[];
1042
+ /**
1043
+ * Packets per second threshold for dos alert.
1044
+ */
1045
+ packetsPerSeconds?: string[];
1046
+ /**
1047
+ * Load balancer pool identifier.
1048
+ */
855
1049
  poolIds?: string[];
1050
+ /**
1051
+ * Product name. Available values: `workerRequests`, `workerDurableObjectsRequests`, `workerDurableObjectsDuration`, `workerDurableObjectsDataTransfer`, `workerDurableObjectsStoredData`, `workerDurableObjectsStorageDeletes`, `workerDurableObjectsStorageWrites`, `workerDurableObjectsStorageReads`.
1052
+ */
856
1053
  products?: string[];
1054
+ /**
1055
+ * Protocol to alert on for dos.
1056
+ */
1057
+ protocols?: string[];
1058
+ /**
1059
+ * Requests per second threshold for dos alert.
1060
+ */
1061
+ requestsPerSeconds?: string[];
1062
+ /**
1063
+ * A list of clickhouse services to alert on.
1064
+ */
857
1065
  services?: string[];
1066
+ /**
1067
+ * A numerical limit. Example: `99.9`.
1068
+ */
858
1069
  slos?: string[];
1070
+ /**
1071
+ * Status to alert on.
1072
+ */
859
1073
  statuses?: string[];
1074
+ /**
1075
+ * Target host to alert on for dos.
1076
+ */
1077
+ targetHosts?: string[];
1078
+ /**
1079
+ * Target domain to alert on.
1080
+ */
1081
+ targetZoneNames?: string[];
1082
+ /**
1083
+ * A list of zone identifiers.
1084
+ */
860
1085
  zones?: string[];
861
1086
  }
862
1087
  export interface NotificationPolicyPagerdutyIntegration {
1088
+ /**
1089
+ * The ID of this resource.
1090
+ */
863
1091
  id: string;
1092
+ /**
1093
+ * The name of the notification policy.
1094
+ */
864
1095
  name?: string;
865
1096
  }
866
1097
  export interface NotificationPolicyWebhooksIntegration {
1098
+ /**
1099
+ * The ID of this resource.
1100
+ */
867
1101
  id: string;
1102
+ /**
1103
+ * The name of the notification policy.
1104
+ */
868
1105
  name?: string;
869
1106
  }
870
1107
  export interface PageRuleActions {
871
- /**
872
- * Whether this action is `"on"` or `"off"`.
873
- */
874
- alwaysOnline?: string;
875
1108
  /**
876
1109
  * Boolean of whether this action is enabled. Default: false.
877
1110
  */
@@ -1260,48 +1493,113 @@ export interface RecordData {
1260
1493
  weight?: number;
1261
1494
  }
1262
1495
  export interface RulesetRule {
1496
+ /**
1497
+ * Action to perform in the ruleset rule. Available values: `block`, `challenge`, `ddosDynamic`, `execute`, `forceConnectionClose`, `jsChallenge`, `log`, `logCustomField`, `managedChallenge`, `redirect`, `rewrite`, `route`, `score`, `setCacheSettings`, `serveError`, `skip`.
1498
+ */
1263
1499
  action?: string;
1500
+ /**
1501
+ * List of parameters that configure the behavior of the ruleset rule action.
1502
+ */
1264
1503
  actionParameters?: outputs.RulesetRuleActionParameters;
1504
+ /**
1505
+ * Brief summary of the ruleset rule and its intended use.
1506
+ */
1265
1507
  description?: string;
1508
+ /**
1509
+ * Whether the rule is active.
1510
+ */
1266
1511
  enabled?: boolean;
1512
+ /**
1513
+ * List of parameters that configure exposed credential checks.
1514
+ */
1267
1515
  exposedCredentialCheck?: outputs.RulesetRuleExposedCredentialCheck;
1516
+ /**
1517
+ * Criteria for an HTTP request to trigger the ruleset rule action. Uses the Firewall Rules expression language based on Wireshark display filters. Refer to the [Firewall Rules language](https://developers.cloudflare.com/firewall/cf-firewall-language) documentation for all available fields, operators, and functions.
1518
+ */
1268
1519
  expression: string;
1520
+ /**
1521
+ * Unique rule identifier.
1522
+ */
1269
1523
  id: string;
1524
+ /**
1525
+ * List parameters to configure how the rule generates logs.
1526
+ */
1270
1527
  logging?: outputs.RulesetRuleLogging;
1528
+ /**
1529
+ * List of parameters that configure HTTP rate limiting behaviour.
1530
+ */
1271
1531
  ratelimit?: outputs.RulesetRuleRatelimit;
1532
+ /**
1533
+ * Rule reference.
1534
+ */
1272
1535
  ref: string;
1536
+ /**
1537
+ * Version of the ruleset to deploy.
1538
+ */
1273
1539
  version: string;
1274
1540
  }
1275
1541
  export interface RulesetRuleActionParameters {
1542
+ automaticHttpsRewrites?: boolean;
1543
+ autominifies?: outputs.RulesetRuleActionParametersAutominify[];
1544
+ bic?: boolean;
1276
1545
  browserTtl?: outputs.RulesetRuleActionParametersBrowserTtl;
1277
- bypassCache?: boolean;
1546
+ cache?: boolean;
1278
1547
  cacheKey?: outputs.RulesetRuleActionParametersCacheKey;
1548
+ content?: string;
1549
+ contentType?: string;
1279
1550
  cookieFields?: string[];
1551
+ disableApps?: boolean;
1552
+ disableRailgun?: boolean;
1553
+ disableZaraz?: boolean;
1280
1554
  edgeTtl?: outputs.RulesetRuleActionParametersEdgeTtl;
1555
+ emailObfuscation?: boolean;
1281
1556
  fromList?: outputs.RulesetRuleActionParametersFromList;
1557
+ fromValue?: outputs.RulesetRuleActionParametersFromValue;
1282
1558
  headers?: outputs.RulesetRuleActionParametersHeader[];
1283
1559
  hostHeader?: string;
1560
+ hotlinkProtection?: boolean;
1561
+ /**
1562
+ * The ID of this resource.
1563
+ */
1284
1564
  id?: string;
1285
1565
  increment?: number;
1286
1566
  matchedData?: outputs.RulesetRuleActionParametersMatchedData;
1567
+ mirage?: boolean;
1568
+ opportunisticEncryption?: boolean;
1287
1569
  origin?: outputs.RulesetRuleActionParametersOrigin;
1288
1570
  originErrorPagePassthru?: boolean;
1289
1571
  overrides?: outputs.RulesetRuleActionParametersOverrides;
1290
1572
  phases?: string[];
1573
+ polish?: string;
1291
1574
  products?: string[];
1292
1575
  requestFields?: string[];
1293
1576
  respectStrongEtags?: boolean;
1294
1577
  responseFields?: string[];
1295
1578
  responses?: outputs.RulesetRuleActionParametersResponse[];
1579
+ rocketLoader?: boolean;
1580
+ /**
1581
+ * List of rules to apply to the ruleset.
1582
+ */
1296
1583
  rules?: {
1297
1584
  [key: string]: string;
1298
1585
  };
1299
1586
  ruleset?: string;
1300
1587
  rulesets?: string[];
1588
+ securityLevel?: string;
1301
1589
  serveStale?: outputs.RulesetRuleActionParametersServeStale;
1590
+ serverSideExcludes?: boolean;
1591
+ sni?: outputs.RulesetRuleActionParametersSni;
1592
+ ssl?: string;
1593
+ statusCode?: number;
1594
+ sxg?: boolean;
1302
1595
  uri?: outputs.RulesetRuleActionParametersUri;
1303
1596
  version: string;
1304
1597
  }
1598
+ export interface RulesetRuleActionParametersAutominify {
1599
+ css?: boolean;
1600
+ html?: boolean;
1601
+ js?: boolean;
1602
+ }
1305
1603
  export interface RulesetRuleActionParametersBrowserTtl {
1306
1604
  default?: number;
1307
1605
  mode: string;
@@ -1356,10 +1654,25 @@ export interface RulesetRuleActionParametersEdgeTtlStatusCodeTtlStatusCodeRange
1356
1654
  }
1357
1655
  export interface RulesetRuleActionParametersFromList {
1358
1656
  key: string;
1657
+ /**
1658
+ * Name of the ruleset.
1659
+ */
1359
1660
  name: string;
1360
1661
  }
1662
+ export interface RulesetRuleActionParametersFromValue {
1663
+ preserveQueryString?: boolean;
1664
+ statusCode?: number;
1665
+ targetUrl?: outputs.RulesetRuleActionParametersFromValueTargetUrl;
1666
+ }
1667
+ export interface RulesetRuleActionParametersFromValueTargetUrl {
1668
+ expression?: string;
1669
+ value?: string;
1670
+ }
1361
1671
  export interface RulesetRuleActionParametersHeader {
1362
1672
  expression?: string;
1673
+ /**
1674
+ * Name of the ruleset.
1675
+ */
1363
1676
  name?: string;
1364
1677
  operation?: string;
1365
1678
  value?: string;
@@ -1378,6 +1691,9 @@ export interface RulesetRuleActionParametersOverrides {
1378
1691
  * @deprecated Use `status` instead. Continuing to use `enabled` will result in an inconsistent state for your Ruleset configuration.
1379
1692
  */
1380
1693
  enabled?: boolean;
1694
+ /**
1695
+ * List of rules to apply to the ruleset.
1696
+ */
1381
1697
  rules?: outputs.RulesetRuleActionParametersOverridesRule[];
1382
1698
  status?: string;
1383
1699
  }
@@ -1391,11 +1707,19 @@ export interface RulesetRuleActionParametersOverridesCategory {
1391
1707
  status?: string;
1392
1708
  }
1393
1709
  export interface RulesetRuleActionParametersOverridesRule {
1710
+ /**
1711
+ * Action to perform in the ruleset rule. Available values: `block`, `challenge`, `ddosDynamic`, `execute`, `forceConnectionClose`, `jsChallenge`, `log`, `logCustomField`, `managedChallenge`, `redirect`, `rewrite`, `route`, `score`, `setCacheSettings`, `serveError`, `skip`.
1712
+ */
1394
1713
  action?: string;
1395
1714
  /**
1715
+ * Whether the rule is active.
1716
+ *
1396
1717
  * @deprecated Use `status` instead. Continuing to use `enabled` will result in an inconsistent state for your Ruleset configuration.
1397
1718
  */
1398
1719
  enabled?: boolean;
1720
+ /**
1721
+ * Unique rule identifier.
1722
+ */
1399
1723
  id?: string;
1400
1724
  scoreThreshold?: number;
1401
1725
  sensitivityLevel?: string;
@@ -1409,6 +1733,9 @@ export interface RulesetRuleActionParametersResponse {
1409
1733
  export interface RulesetRuleActionParametersServeStale {
1410
1734
  disableStaleWhileUpdating?: boolean;
1411
1735
  }
1736
+ export interface RulesetRuleActionParametersSni {
1737
+ value?: string;
1738
+ }
1412
1739
  export interface RulesetRuleActionParametersUri {
1413
1740
  origin?: boolean;
1414
1741
  path?: outputs.RulesetRuleActionParametersUriPath;
@@ -1672,6 +1999,16 @@ export interface WorkerScriptPlainTextBinding {
1672
1999
  */
1673
2000
  text: string;
1674
2001
  }
2002
+ export interface WorkerScriptR2BucketBinding {
2003
+ /**
2004
+ * The name of the Bucket to bind to.
2005
+ */
2006
+ bucketName: string;
2007
+ /**
2008
+ * The global variable for the binding in your Worker code.
2009
+ */
2010
+ name: string;
2011
+ }
1675
2012
  export interface WorkerScriptSecretTextBinding {
1676
2013
  /**
1677
2014
  * The global variable for the binding in your Worker code.