@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/input.d.ts CHANGED
@@ -1,15 +1,53 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
2
  import { input as inputs } from "../types";
3
3
  export interface AccessApplicationCorsHeader {
4
+ /**
5
+ * Value to determine whether all HTTP headers are exposed.
6
+ */
4
7
  allowAllHeaders?: pulumi.Input<boolean>;
8
+ /**
9
+ * Value to determine whether all methods are exposed.
10
+ */
5
11
  allowAllMethods?: pulumi.Input<boolean>;
12
+ /**
13
+ * Value to determine whether all origins are permitted to make CORS requests.
14
+ */
6
15
  allowAllOrigins?: pulumi.Input<boolean>;
16
+ /**
17
+ * Value to determine if credentials (cookies, authorization headers, or TLS client certificates) are included with requests.
18
+ */
7
19
  allowCredentials?: pulumi.Input<boolean>;
20
+ /**
21
+ * List of HTTP headers to expose via CORS.
22
+ */
8
23
  allowedHeaders?: pulumi.Input<pulumi.Input<string>[]>;
24
+ /**
25
+ * List of methods to expose via CORS.
26
+ */
9
27
  allowedMethods?: pulumi.Input<pulumi.Input<string>[]>;
28
+ /**
29
+ * List of origins permitted to make CORS requests.
30
+ */
10
31
  allowedOrigins?: pulumi.Input<pulumi.Input<string>[]>;
32
+ /**
33
+ * The maximum time a preflight request will be cached.
34
+ */
11
35
  maxAge?: pulumi.Input<number>;
12
36
  }
37
+ export interface AccessApplicationSaasApp {
38
+ /**
39
+ * The service provider's endpoint that is responsible for receiving and parsing a SAML assertion.
40
+ */
41
+ consumerServiceUrl: pulumi.Input<string>;
42
+ /**
43
+ * The format of the name identifier sent to the SaaS application. Defaults to `email`.
44
+ */
45
+ nameIdFormat?: pulumi.Input<string>;
46
+ /**
47
+ * A globally unique name for an identity or service provider.
48
+ */
49
+ spEntityId: pulumi.Input<string>;
50
+ }
13
51
  export interface AccessGroupExclude {
14
52
  anyValidServiceToken?: pulumi.Input<boolean>;
15
53
  authMethod?: pulumi.Input<string>;
@@ -33,6 +71,9 @@ export interface AccessGroupExclude {
33
71
  }
34
72
  export interface AccessGroupExcludeAzure {
35
73
  identityProviderId?: pulumi.Input<string>;
74
+ /**
75
+ * The ID of this resource.
76
+ */
36
77
  ids?: pulumi.Input<pulumi.Input<string>[]>;
37
78
  }
38
79
  export interface AccessGroupExcludeExternalEvaluation {
@@ -80,6 +121,9 @@ export interface AccessGroupInclude {
80
121
  }
81
122
  export interface AccessGroupIncludeAzure {
82
123
  identityProviderId?: pulumi.Input<string>;
124
+ /**
125
+ * The ID of this resource.
126
+ */
83
127
  ids?: pulumi.Input<pulumi.Input<string>[]>;
84
128
  }
85
129
  export interface AccessGroupIncludeExternalEvaluation {
@@ -127,6 +171,9 @@ export interface AccessGroupRequire {
127
171
  }
128
172
  export interface AccessGroupRequireAzure {
129
173
  identityProviderId?: pulumi.Input<string>;
174
+ /**
175
+ * The ID of this resource.
176
+ */
130
177
  ids?: pulumi.Input<pulumi.Input<string>[]>;
131
178
  }
132
179
  export interface AccessGroupRequireExternalEvaluation {
@@ -175,7 +222,13 @@ export interface AccessIdentityProviderConfig {
175
222
  tokenUrl?: pulumi.Input<string>;
176
223
  }
177
224
  export interface AccessPolicyApprovalGroup {
225
+ /**
226
+ * Number of approvals needed.
227
+ */
178
228
  approvalsNeeded: pulumi.Input<number>;
229
+ /**
230
+ * List of emails to request approval from.
231
+ */
179
232
  emailAddresses?: pulumi.Input<pulumi.Input<string>[]>;
180
233
  emailListUuid?: pulumi.Input<string>;
181
234
  }
@@ -202,6 +255,9 @@ export interface AccessPolicyExclude {
202
255
  }
203
256
  export interface AccessPolicyExcludeAzure {
204
257
  identityProviderId?: pulumi.Input<string>;
258
+ /**
259
+ * The ID of this resource.
260
+ */
205
261
  ids?: pulumi.Input<pulumi.Input<string>[]>;
206
262
  }
207
263
  export interface AccessPolicyExcludeExternalEvaluation {
@@ -210,6 +266,9 @@ export interface AccessPolicyExcludeExternalEvaluation {
210
266
  }
211
267
  export interface AccessPolicyExcludeGithub {
212
268
  identityProviderId?: pulumi.Input<string>;
269
+ /**
270
+ * Friendly name of the Access Policy.
271
+ */
213
272
  name?: pulumi.Input<string>;
214
273
  teams?: pulumi.Input<pulumi.Input<string>[]>;
215
274
  }
@@ -219,6 +278,9 @@ export interface AccessPolicyExcludeGsuite {
219
278
  }
220
279
  export interface AccessPolicyExcludeOkta {
221
280
  identityProviderId?: pulumi.Input<string>;
281
+ /**
282
+ * Friendly name of the Access Policy.
283
+ */
222
284
  names?: pulumi.Input<pulumi.Input<string>[]>;
223
285
  }
224
286
  export interface AccessPolicyExcludeSaml {
@@ -249,6 +311,9 @@ export interface AccessPolicyInclude {
249
311
  }
250
312
  export interface AccessPolicyIncludeAzure {
251
313
  identityProviderId?: pulumi.Input<string>;
314
+ /**
315
+ * The ID of this resource.
316
+ */
252
317
  ids?: pulumi.Input<pulumi.Input<string>[]>;
253
318
  }
254
319
  export interface AccessPolicyIncludeExternalEvaluation {
@@ -257,6 +322,9 @@ export interface AccessPolicyIncludeExternalEvaluation {
257
322
  }
258
323
  export interface AccessPolicyIncludeGithub {
259
324
  identityProviderId?: pulumi.Input<string>;
325
+ /**
326
+ * Friendly name of the Access Policy.
327
+ */
260
328
  name?: pulumi.Input<string>;
261
329
  teams?: pulumi.Input<pulumi.Input<string>[]>;
262
330
  }
@@ -266,6 +334,9 @@ export interface AccessPolicyIncludeGsuite {
266
334
  }
267
335
  export interface AccessPolicyIncludeOkta {
268
336
  identityProviderId?: pulumi.Input<string>;
337
+ /**
338
+ * Friendly name of the Access Policy.
339
+ */
269
340
  names?: pulumi.Input<pulumi.Input<string>[]>;
270
341
  }
271
342
  export interface AccessPolicyIncludeSaml {
@@ -296,6 +367,9 @@ export interface AccessPolicyRequire {
296
367
  }
297
368
  export interface AccessPolicyRequireAzure {
298
369
  identityProviderId?: pulumi.Input<string>;
370
+ /**
371
+ * The ID of this resource.
372
+ */
299
373
  ids?: pulumi.Input<pulumi.Input<string>[]>;
300
374
  }
301
375
  export interface AccessPolicyRequireExternalEvaluation {
@@ -304,6 +378,9 @@ export interface AccessPolicyRequireExternalEvaluation {
304
378
  }
305
379
  export interface AccessPolicyRequireGithub {
306
380
  identityProviderId?: pulumi.Input<string>;
381
+ /**
382
+ * Friendly name of the Access Policy.
383
+ */
307
384
  name?: pulumi.Input<string>;
308
385
  teams?: pulumi.Input<pulumi.Input<string>[]>;
309
386
  }
@@ -313,6 +390,9 @@ export interface AccessPolicyRequireGsuite {
313
390
  }
314
391
  export interface AccessPolicyRequireOkta {
315
392
  identityProviderId?: pulumi.Input<string>;
393
+ /**
394
+ * Friendly name of the Access Policy.
395
+ */
316
396
  names?: pulumi.Input<pulumi.Input<string>[]>;
317
397
  }
318
398
  export interface AccessPolicyRequireSaml {
@@ -321,10 +401,19 @@ export interface AccessPolicyRequireSaml {
321
401
  identityProviderId?: pulumi.Input<string>;
322
402
  }
323
403
  export interface AccessRuleConfiguration {
404
+ /**
405
+ * The request property to target. Available values: `ip`, `ip6`, `ipRange`, `asn`, `country`.
406
+ */
324
407
  target: pulumi.Input<string>;
408
+ /**
409
+ * The value to target. Depends on target's type.
410
+ */
325
411
  value: pulumi.Input<string>;
326
412
  }
327
413
  export interface ApiTokenCondition {
414
+ /**
415
+ * Request IP related conditions.
416
+ */
328
417
  requestIp?: pulumi.Input<inputs.ApiTokenConditionRequestIp>;
329
418
  }
330
419
  export interface ApiTokenConditionRequestIp {
@@ -332,8 +421,17 @@ export interface ApiTokenConditionRequestIp {
332
421
  notIns?: pulumi.Input<pulumi.Input<string>[]>;
333
422
  }
334
423
  export interface ApiTokenPolicy {
424
+ /**
425
+ * Effect of the policy. Available values: `allow`, `deny`. Defaults to `allow`.
426
+ */
335
427
  effect?: pulumi.Input<string>;
428
+ /**
429
+ * List of permissions groups IDs. See [documentation](https://developers.cloudflare.com/api/tokens/create/permissions) for more information.
430
+ */
336
431
  permissionGroups: pulumi.Input<pulumi.Input<string>[]>;
432
+ /**
433
+ * Describes what operations against which resources are allowed or denied.
434
+ */
337
435
  resources: pulumi.Input<{
338
436
  [key: string]: pulumi.Input<string>;
339
437
  }>;
@@ -361,17 +459,19 @@ export interface CustomHostnameSsl {
361
459
  */
362
460
  customKey?: pulumi.Input<string>;
363
461
  /**
364
- * Domain control validation (DCV) method used for this
365
- * hostname. Valid values are `"txt"`, `"http"` and `"email"`.
462
+ * Domain control validation (DCV) method used for this hostname. Available values: `http`, `txt`, `email`.
366
463
  */
367
464
  method?: pulumi.Input<string>;
368
465
  /**
369
- * SSL/TLS settings for the certificate. See further notes below.
466
+ * SSL/TLS settings for the certificate.
370
467
  */
371
468
  settings?: pulumi.Input<pulumi.Input<inputs.CustomHostnameSslSetting>[]>;
469
+ /**
470
+ * Status of the certificate.
471
+ */
372
472
  status?: pulumi.Input<string>;
373
473
  /**
374
- * Level of validation to be used for this hostname. Domain validation ("dv") must be used.
474
+ * Level of validation to be used for this hostname. Available values: `dv`. Defaults to `dv`.
375
475
  */
376
476
  type?: pulumi.Input<string>;
377
477
  validationErrors?: pulumi.Input<pulumi.Input<inputs.CustomHostnameSslValidationError>[]>;
@@ -382,26 +482,10 @@ export interface CustomHostnameSsl {
382
482
  wildcard?: pulumi.Input<boolean>;
383
483
  }
384
484
  export interface CustomHostnameSslSetting {
385
- /**
386
- * List of SSL/TLS ciphers to associate with this certificate.
387
- */
388
485
  ciphers?: pulumi.Input<pulumi.Input<string>[]>;
389
- /**
390
- * Whether or not early hints should be supported. Valid values are `"on"` or `"off"`.
391
- */
392
486
  earlyHints?: pulumi.Input<string>;
393
- /**
394
- * Whether or not HTTP2 should be supported. Valid values are `"on"` or `"off"`.
395
- */
396
487
  http2?: pulumi.Input<string>;
397
- /**
398
- * Lowest version of TLS this certificate should
399
- * support. Valid values are `"1.0"`, `"1.1"`, `"1.2"` and `"1.3"`.
400
- */
401
488
  minTlsVersion?: pulumi.Input<string>;
402
- /**
403
- * Whether or not TLSv1.3 should be supported. Valid values are `"on"` or `"off"`.
404
- */
405
489
  tls13?: pulumi.Input<string>;
406
490
  }
407
491
  export interface CustomHostnameSslValidationError {
@@ -556,34 +640,58 @@ export interface GetWafPackagesFilterArgs {
556
640
  name?: pulumi.Input<string>;
557
641
  sensitivity?: pulumi.Input<string>;
558
642
  }
559
- export interface GetWafRulesFilterArgs {
560
- description?: pulumi.Input<string>;
561
- groupId?: pulumi.Input<string>;
562
- mode?: pulumi.Input<string>;
563
- }
564
643
  export interface GetWafRulesFilter {
565
644
  description?: string;
566
645
  groupId?: string;
567
646
  mode?: string;
568
647
  }
648
+ export interface GetWafRulesFilterArgs {
649
+ description?: pulumi.Input<string>;
650
+ groupId?: pulumi.Input<string>;
651
+ mode?: pulumi.Input<string>;
652
+ }
569
653
  export interface GetZonesFilterArgs {
654
+ /**
655
+ * The account identifier to target for the resource.
656
+ */
570
657
  accountId?: pulumi.Input<string>;
658
+ /**
659
+ * Defaults to `exact`.
660
+ */
571
661
  lookupType?: pulumi.Input<string>;
572
662
  match?: pulumi.Input<string>;
573
663
  name?: pulumi.Input<string>;
664
+ /**
665
+ * Defaults to `false`.
666
+ */
574
667
  paused?: pulumi.Input<boolean>;
575
668
  status?: pulumi.Input<string>;
576
669
  }
577
670
  export interface GetZonesFilter {
671
+ /**
672
+ * The account identifier to target for the resource.
673
+ */
578
674
  accountId?: string;
675
+ /**
676
+ * Defaults to `exact`.
677
+ */
579
678
  lookupType?: string;
580
679
  match?: string;
581
680
  name?: string;
681
+ /**
682
+ * Defaults to `false`.
683
+ */
582
684
  paused?: boolean;
583
685
  status?: string;
584
686
  }
585
687
  export interface HealthcheckHeader {
688
+ /**
689
+ * The header name.
690
+ */
586
691
  header: pulumi.Input<string>;
692
+ /**
693
+ * A list of string values for the header.
694
+ */
587
695
  values: pulumi.Input<pulumi.Input<string>[]>;
588
696
  }
589
697
  export interface IpListItem {
@@ -597,6 +705,9 @@ export interface IpListItem {
597
705
  value: pulumi.Input<string>;
598
706
  }
599
707
  export interface ListItem {
708
+ /**
709
+ * An optional comment for the item.
710
+ */
600
711
  comment?: pulumi.Input<string>;
601
712
  value: pulumi.Input<inputs.ListItemValue>;
602
713
  }
@@ -613,6 +724,16 @@ export interface ListItemValueRedirect {
613
724
  subpathMatching?: pulumi.Input<string>;
614
725
  targetUrl: pulumi.Input<string>;
615
726
  }
727
+ export interface LoadBalancerCountryPool {
728
+ /**
729
+ * 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.
730
+ */
731
+ country: pulumi.Input<string>;
732
+ /**
733
+ * A list of pool IDs in failover priority to use for traffic reaching the given PoP.
734
+ */
735
+ poolIds: pulumi.Input<pulumi.Input<string>[]>;
736
+ }
616
737
  export interface LoadBalancerMonitorHeader {
617
738
  /**
618
739
  * The header name.
@@ -695,7 +816,7 @@ export interface LoadBalancerRegionPool {
695
816
  */
696
817
  poolIds: pulumi.Input<pulumi.Input<string>[]>;
697
818
  /**
698
- * 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.
819
+ * 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.
699
820
  */
700
821
  region: pulumi.Input<string>;
701
822
  }
@@ -748,6 +869,10 @@ export interface LoadBalancerRuleFixedResponse {
748
869
  statusCode?: pulumi.Input<number>;
749
870
  }
750
871
  export interface LoadBalancerRuleOverride {
872
+ /**
873
+ * See countryPools above.
874
+ */
875
+ countryPools?: pulumi.Input<pulumi.Input<inputs.LoadBalancerRuleOverrideCountryPool>[]>;
751
876
  /**
752
877
  * See defaultPoolIds above.
753
878
  */
@@ -787,6 +912,16 @@ export interface LoadBalancerRuleOverride {
787
912
  */
788
913
  ttl?: pulumi.Input<number>;
789
914
  }
915
+ export interface LoadBalancerRuleOverrideCountryPool {
916
+ /**
917
+ * 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.
918
+ */
919
+ country: pulumi.Input<string>;
920
+ /**
921
+ * A list of pool IDs in failover priority to use for traffic reaching the given PoP.
922
+ */
923
+ poolIds: pulumi.Input<pulumi.Input<string>[]>;
924
+ }
790
925
  export interface LoadBalancerRuleOverridePopPool {
791
926
  /**
792
927
  * A list of pool IDs in failover priority to use for traffic reaching the given PoP.
@@ -803,46 +938,135 @@ export interface LoadBalancerRuleOverrideRegionPool {
803
938
  */
804
939
  poolIds: pulumi.Input<pulumi.Input<string>[]>;
805
940
  /**
806
- * 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.
941
+ * 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.
807
942
  */
808
943
  region: pulumi.Input<string>;
809
944
  }
810
945
  export interface ManagedHeadersManagedRequestHeader {
946
+ /**
947
+ * Whether the headers rule is active.
948
+ */
811
949
  enabled: pulumi.Input<boolean>;
950
+ /**
951
+ * Unique headers rule identifier.
952
+ */
812
953
  id: pulumi.Input<string>;
813
954
  }
814
955
  export interface ManagedHeadersManagedResponseHeader {
956
+ /**
957
+ * Whether the headers rule is active.
958
+ */
815
959
  enabled: pulumi.Input<boolean>;
960
+ /**
961
+ * Unique headers rule identifier.
962
+ */
816
963
  id: pulumi.Input<string>;
817
964
  }
818
965
  export interface NotificationPolicyEmailIntegration {
966
+ /**
967
+ * The ID of this resource.
968
+ */
819
969
  id: pulumi.Input<string>;
970
+ /**
971
+ * The name of the notification policy.
972
+ */
820
973
  name?: pulumi.Input<string>;
821
974
  }
822
975
  export interface NotificationPolicyFilters {
976
+ /**
977
+ * State of the pool to alert on.
978
+ */
823
979
  enableds?: pulumi.Input<pulumi.Input<string>[]>;
980
+ /**
981
+ * Source configuration to alert on for pool or origin.
982
+ */
983
+ eventSources?: pulumi.Input<pulumi.Input<string>[]>;
984
+ /**
985
+ * Stream event type to alert on.
986
+ */
987
+ eventTypes?: pulumi.Input<pulumi.Input<string>[]>;
988
+ /**
989
+ * Identifier health check.
990
+ */
824
991
  healthCheckIds?: pulumi.Input<pulumi.Input<string>[]>;
992
+ /**
993
+ * Stream input id to alert on.
994
+ */
995
+ inputIds?: pulumi.Input<pulumi.Input<string>[]>;
996
+ /**
997
+ * A numerical limit. Example: `100`.
998
+ */
825
999
  limits?: pulumi.Input<pulumi.Input<string>[]>;
1000
+ /**
1001
+ * Health status to alert on for pool or origin.
1002
+ */
1003
+ newHealths?: pulumi.Input<pulumi.Input<string>[]>;
1004
+ /**
1005
+ * Packets per second threshold for dos alert.
1006
+ */
1007
+ packetsPerSeconds?: pulumi.Input<pulumi.Input<string>[]>;
1008
+ /**
1009
+ * Load balancer pool identifier.
1010
+ */
826
1011
  poolIds?: pulumi.Input<pulumi.Input<string>[]>;
1012
+ /**
1013
+ * Product name. Available values: `workerRequests`, `workerDurableObjectsRequests`, `workerDurableObjectsDuration`, `workerDurableObjectsDataTransfer`, `workerDurableObjectsStoredData`, `workerDurableObjectsStorageDeletes`, `workerDurableObjectsStorageWrites`, `workerDurableObjectsStorageReads`.
1014
+ */
827
1015
  products?: pulumi.Input<pulumi.Input<string>[]>;
1016
+ /**
1017
+ * Protocol to alert on for dos.
1018
+ */
1019
+ protocols?: pulumi.Input<pulumi.Input<string>[]>;
1020
+ /**
1021
+ * Requests per second threshold for dos alert.
1022
+ */
1023
+ requestsPerSeconds?: pulumi.Input<pulumi.Input<string>[]>;
1024
+ /**
1025
+ * A list of clickhouse services to alert on.
1026
+ */
828
1027
  services?: pulumi.Input<pulumi.Input<string>[]>;
1028
+ /**
1029
+ * A numerical limit. Example: `99.9`.
1030
+ */
829
1031
  slos?: pulumi.Input<pulumi.Input<string>[]>;
1032
+ /**
1033
+ * Status to alert on.
1034
+ */
830
1035
  statuses?: pulumi.Input<pulumi.Input<string>[]>;
1036
+ /**
1037
+ * Target host to alert on for dos.
1038
+ */
1039
+ targetHosts?: pulumi.Input<pulumi.Input<string>[]>;
1040
+ /**
1041
+ * Target domain to alert on.
1042
+ */
1043
+ targetZoneNames?: pulumi.Input<pulumi.Input<string>[]>;
1044
+ /**
1045
+ * A list of zone identifiers.
1046
+ */
831
1047
  zones?: pulumi.Input<pulumi.Input<string>[]>;
832
1048
  }
833
1049
  export interface NotificationPolicyPagerdutyIntegration {
1050
+ /**
1051
+ * The ID of this resource.
1052
+ */
834
1053
  id: pulumi.Input<string>;
1054
+ /**
1055
+ * The name of the notification policy.
1056
+ */
835
1057
  name?: pulumi.Input<string>;
836
1058
  }
837
1059
  export interface NotificationPolicyWebhooksIntegration {
1060
+ /**
1061
+ * The ID of this resource.
1062
+ */
838
1063
  id: pulumi.Input<string>;
1064
+ /**
1065
+ * The name of the notification policy.
1066
+ */
839
1067
  name?: pulumi.Input<string>;
840
1068
  }
841
1069
  export interface PageRuleActions {
842
- /**
843
- * Whether this action is `"on"` or `"off"`.
844
- */
845
- alwaysOnline?: pulumi.Input<string>;
846
1070
  /**
847
1071
  * Boolean of whether this action is enabled. Default: false.
848
1072
  */
@@ -1231,48 +1455,113 @@ export interface RecordData {
1231
1455
  weight?: pulumi.Input<number>;
1232
1456
  }
1233
1457
  export interface RulesetRule {
1458
+ /**
1459
+ * 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`.
1460
+ */
1234
1461
  action?: pulumi.Input<string>;
1462
+ /**
1463
+ * List of parameters that configure the behavior of the ruleset rule action.
1464
+ */
1235
1465
  actionParameters?: pulumi.Input<inputs.RulesetRuleActionParameters>;
1466
+ /**
1467
+ * Brief summary of the ruleset rule and its intended use.
1468
+ */
1236
1469
  description?: pulumi.Input<string>;
1470
+ /**
1471
+ * Whether the rule is active.
1472
+ */
1237
1473
  enabled?: pulumi.Input<boolean>;
1474
+ /**
1475
+ * List of parameters that configure exposed credential checks.
1476
+ */
1238
1477
  exposedCredentialCheck?: pulumi.Input<inputs.RulesetRuleExposedCredentialCheck>;
1478
+ /**
1479
+ * 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.
1480
+ */
1239
1481
  expression: pulumi.Input<string>;
1482
+ /**
1483
+ * Unique rule identifier.
1484
+ */
1240
1485
  id?: pulumi.Input<string>;
1486
+ /**
1487
+ * List parameters to configure how the rule generates logs.
1488
+ */
1241
1489
  logging?: pulumi.Input<inputs.RulesetRuleLogging>;
1490
+ /**
1491
+ * List of parameters that configure HTTP rate limiting behaviour.
1492
+ */
1242
1493
  ratelimit?: pulumi.Input<inputs.RulesetRuleRatelimit>;
1494
+ /**
1495
+ * Rule reference.
1496
+ */
1243
1497
  ref?: pulumi.Input<string>;
1498
+ /**
1499
+ * Version of the ruleset to deploy.
1500
+ */
1244
1501
  version?: pulumi.Input<string>;
1245
1502
  }
1246
1503
  export interface RulesetRuleActionParameters {
1504
+ automaticHttpsRewrites?: pulumi.Input<boolean>;
1505
+ autominifies?: pulumi.Input<pulumi.Input<inputs.RulesetRuleActionParametersAutominify>[]>;
1506
+ bic?: pulumi.Input<boolean>;
1247
1507
  browserTtl?: pulumi.Input<inputs.RulesetRuleActionParametersBrowserTtl>;
1248
- bypassCache?: pulumi.Input<boolean>;
1508
+ cache?: pulumi.Input<boolean>;
1249
1509
  cacheKey?: pulumi.Input<inputs.RulesetRuleActionParametersCacheKey>;
1510
+ content?: pulumi.Input<string>;
1511
+ contentType?: pulumi.Input<string>;
1250
1512
  cookieFields?: pulumi.Input<pulumi.Input<string>[]>;
1513
+ disableApps?: pulumi.Input<boolean>;
1514
+ disableRailgun?: pulumi.Input<boolean>;
1515
+ disableZaraz?: pulumi.Input<boolean>;
1251
1516
  edgeTtl?: pulumi.Input<inputs.RulesetRuleActionParametersEdgeTtl>;
1517
+ emailObfuscation?: pulumi.Input<boolean>;
1252
1518
  fromList?: pulumi.Input<inputs.RulesetRuleActionParametersFromList>;
1519
+ fromValue?: pulumi.Input<inputs.RulesetRuleActionParametersFromValue>;
1253
1520
  headers?: pulumi.Input<pulumi.Input<inputs.RulesetRuleActionParametersHeader>[]>;
1254
1521
  hostHeader?: pulumi.Input<string>;
1522
+ hotlinkProtection?: pulumi.Input<boolean>;
1523
+ /**
1524
+ * The ID of this resource.
1525
+ */
1255
1526
  id?: pulumi.Input<string>;
1256
1527
  increment?: pulumi.Input<number>;
1257
1528
  matchedData?: pulumi.Input<inputs.RulesetRuleActionParametersMatchedData>;
1529
+ mirage?: pulumi.Input<boolean>;
1530
+ opportunisticEncryption?: pulumi.Input<boolean>;
1258
1531
  origin?: pulumi.Input<inputs.RulesetRuleActionParametersOrigin>;
1259
1532
  originErrorPagePassthru?: pulumi.Input<boolean>;
1260
1533
  overrides?: pulumi.Input<inputs.RulesetRuleActionParametersOverrides>;
1261
1534
  phases?: pulumi.Input<pulumi.Input<string>[]>;
1535
+ polish?: pulumi.Input<string>;
1262
1536
  products?: pulumi.Input<pulumi.Input<string>[]>;
1263
1537
  requestFields?: pulumi.Input<pulumi.Input<string>[]>;
1264
1538
  respectStrongEtags?: pulumi.Input<boolean>;
1265
1539
  responseFields?: pulumi.Input<pulumi.Input<string>[]>;
1266
1540
  responses?: pulumi.Input<pulumi.Input<inputs.RulesetRuleActionParametersResponse>[]>;
1541
+ rocketLoader?: pulumi.Input<boolean>;
1542
+ /**
1543
+ * List of rules to apply to the ruleset.
1544
+ */
1267
1545
  rules?: pulumi.Input<{
1268
1546
  [key: string]: pulumi.Input<string>;
1269
1547
  }>;
1270
1548
  ruleset?: pulumi.Input<string>;
1271
1549
  rulesets?: pulumi.Input<pulumi.Input<string>[]>;
1550
+ securityLevel?: pulumi.Input<string>;
1272
1551
  serveStale?: pulumi.Input<inputs.RulesetRuleActionParametersServeStale>;
1552
+ serverSideExcludes?: pulumi.Input<boolean>;
1553
+ sni?: pulumi.Input<inputs.RulesetRuleActionParametersSni>;
1554
+ ssl?: pulumi.Input<string>;
1555
+ statusCode?: pulumi.Input<number>;
1556
+ sxg?: pulumi.Input<boolean>;
1273
1557
  uri?: pulumi.Input<inputs.RulesetRuleActionParametersUri>;
1274
1558
  version?: pulumi.Input<string>;
1275
1559
  }
1560
+ export interface RulesetRuleActionParametersAutominify {
1561
+ css?: pulumi.Input<boolean>;
1562
+ html?: pulumi.Input<boolean>;
1563
+ js?: pulumi.Input<boolean>;
1564
+ }
1276
1565
  export interface RulesetRuleActionParametersBrowserTtl {
1277
1566
  default?: pulumi.Input<number>;
1278
1567
  mode: pulumi.Input<string>;
@@ -1327,10 +1616,25 @@ export interface RulesetRuleActionParametersEdgeTtlStatusCodeTtlStatusCodeRange
1327
1616
  }
1328
1617
  export interface RulesetRuleActionParametersFromList {
1329
1618
  key: pulumi.Input<string>;
1619
+ /**
1620
+ * Name of the ruleset.
1621
+ */
1330
1622
  name: pulumi.Input<string>;
1331
1623
  }
1624
+ export interface RulesetRuleActionParametersFromValue {
1625
+ preserveQueryString?: pulumi.Input<boolean>;
1626
+ statusCode?: pulumi.Input<number>;
1627
+ targetUrl?: pulumi.Input<inputs.RulesetRuleActionParametersFromValueTargetUrl>;
1628
+ }
1629
+ export interface RulesetRuleActionParametersFromValueTargetUrl {
1630
+ expression?: pulumi.Input<string>;
1631
+ value?: pulumi.Input<string>;
1632
+ }
1332
1633
  export interface RulesetRuleActionParametersHeader {
1333
1634
  expression?: pulumi.Input<string>;
1635
+ /**
1636
+ * Name of the ruleset.
1637
+ */
1334
1638
  name?: pulumi.Input<string>;
1335
1639
  operation?: pulumi.Input<string>;
1336
1640
  value?: pulumi.Input<string>;
@@ -1349,6 +1653,9 @@ export interface RulesetRuleActionParametersOverrides {
1349
1653
  * @deprecated Use `status` instead. Continuing to use `enabled` will result in an inconsistent state for your Ruleset configuration.
1350
1654
  */
1351
1655
  enabled?: pulumi.Input<boolean>;
1656
+ /**
1657
+ * List of rules to apply to the ruleset.
1658
+ */
1352
1659
  rules?: pulumi.Input<pulumi.Input<inputs.RulesetRuleActionParametersOverridesRule>[]>;
1353
1660
  status?: pulumi.Input<string>;
1354
1661
  }
@@ -1362,11 +1669,19 @@ export interface RulesetRuleActionParametersOverridesCategory {
1362
1669
  status?: pulumi.Input<string>;
1363
1670
  }
1364
1671
  export interface RulesetRuleActionParametersOverridesRule {
1672
+ /**
1673
+ * 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`.
1674
+ */
1365
1675
  action?: pulumi.Input<string>;
1366
1676
  /**
1677
+ * Whether the rule is active.
1678
+ *
1367
1679
  * @deprecated Use `status` instead. Continuing to use `enabled` will result in an inconsistent state for your Ruleset configuration.
1368
1680
  */
1369
1681
  enabled?: pulumi.Input<boolean>;
1682
+ /**
1683
+ * Unique rule identifier.
1684
+ */
1370
1685
  id?: pulumi.Input<string>;
1371
1686
  scoreThreshold?: pulumi.Input<number>;
1372
1687
  sensitivityLevel?: pulumi.Input<string>;
@@ -1380,6 +1695,9 @@ export interface RulesetRuleActionParametersResponse {
1380
1695
  export interface RulesetRuleActionParametersServeStale {
1381
1696
  disableStaleWhileUpdating?: pulumi.Input<boolean>;
1382
1697
  }
1698
+ export interface RulesetRuleActionParametersSni {
1699
+ value?: pulumi.Input<string>;
1700
+ }
1383
1701
  export interface RulesetRuleActionParametersUri {
1384
1702
  origin?: pulumi.Input<boolean>;
1385
1703
  path?: pulumi.Input<inputs.RulesetRuleActionParametersUriPath>;
@@ -1643,6 +1961,16 @@ export interface WorkerScriptPlainTextBinding {
1643
1961
  */
1644
1962
  text: pulumi.Input<string>;
1645
1963
  }
1964
+ export interface WorkerScriptR2BucketBinding {
1965
+ /**
1966
+ * The name of the Bucket to bind to.
1967
+ */
1968
+ bucketName: pulumi.Input<string>;
1969
+ /**
1970
+ * The global variable for the binding in your Worker code.
1971
+ */
1972
+ name: pulumi.Input<string>;
1973
+ }
1646
1974
  export interface WorkerScriptSecretTextBinding {
1647
1975
  /**
1648
1976
  * The global variable for the binding in your Worker code.