@pulumi/cloudflare 4.6.0 → 4.7.0-alpha.1653338920
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.
- package/accessApplication.d.ts +61 -1
- package/accessApplication.js +2 -0
- package/accessApplication.js.map +1 -1
- package/accessBookmark.d.ts +139 -0
- package/accessBookmark.js +93 -0
- package/accessBookmark.js.map +1 -0
- package/accessPolicy.d.ts +2 -2
- package/accessPolicy.js +2 -2
- package/byoIpPrefix.d.ts +3 -0
- package/byoIpPrefix.js +5 -0
- package/byoIpPrefix.js.map +1 -1
- package/certificatePack.d.ts +22 -6
- package/certificatePack.js +3 -0
- package/certificatePack.js.map +1 -1
- package/customPages.d.ts +3 -3
- package/devicePostureRule.d.ts +16 -0
- package/devicePostureRule.js +3 -0
- package/devicePostureRule.js.map +1 -1
- package/healthcheck.d.ts +20 -8
- package/healthcheck.js +2 -2
- package/healthcheck.js.map +1 -1
- package/index.d.ts +2 -0
- package/index.js +10 -0
- package/index.js.map +1 -1
- package/logpushJob.d.ts +3 -3
- package/notificationPolicy.d.ts +40 -27
- package/notificationPolicy.js +28 -2
- package/notificationPolicy.js.map +1 -1
- package/package.json +2 -2
- package/package.json.dev +2 -2
- package/ruleset.d.ts +24 -3
- package/ruleset.js +21 -0
- package/ruleset.js.map +1 -1
- package/teamsList.d.ts +3 -3
- package/tunnelRoute.d.ts +127 -0
- package/tunnelRoute.js +107 -0
- package/tunnelRoute.js.map +1 -0
- package/types/input.d.ts +67 -1
- package/types/output.d.ts +67 -1
- package/workerCronTrigger.d.ts +3 -0
- package/workerCronTrigger.js +5 -0
- package/workerCronTrigger.js.map +1 -1
- package/workersKv.d.ts +1 -1
- package/workersKv.js +1 -1
package/accessApplication.d.ts
CHANGED
|
@@ -99,19 +99,39 @@ export declare class AccessApplication extends pulumi.CustomResource {
|
|
|
99
99
|
* Option to provide increased security against compromised authorization tokens and CSRF attacks by requiring an additional "binding" cookie on requests. Defaults to `false`.
|
|
100
100
|
*/
|
|
101
101
|
readonly enableBindingCookie: pulumi.Output<boolean | undefined>;
|
|
102
|
-
|
|
102
|
+
/**
|
|
103
|
+
* Option to add the `HttpOnly` cookie flag to access tokens.
|
|
104
|
+
*/
|
|
105
|
+
readonly httpOnlyCookieAttribute: pulumi.Output<boolean>;
|
|
106
|
+
/**
|
|
107
|
+
* Image URL for the logo shown in the app launcher
|
|
108
|
+
* dashboard.
|
|
109
|
+
*/
|
|
103
110
|
readonly logoUrl: pulumi.Output<string | undefined>;
|
|
104
111
|
/**
|
|
105
112
|
* Friendly name of the Access Application.
|
|
106
113
|
*/
|
|
107
114
|
readonly name: pulumi.Output<string>;
|
|
115
|
+
/**
|
|
116
|
+
* Defines the same-site cookie setting
|
|
117
|
+
* for access tokens. Valid values are `none`, `lax`, and `strict`.
|
|
118
|
+
*/
|
|
108
119
|
readonly sameSiteCookieAttribute: pulumi.Output<string | undefined>;
|
|
120
|
+
/**
|
|
121
|
+
* Option to return a 401 status code in
|
|
122
|
+
* service authentication rules on failed requests.
|
|
123
|
+
*/
|
|
124
|
+
readonly serviceAuth401Redirect: pulumi.Output<boolean | undefined>;
|
|
109
125
|
/**
|
|
110
126
|
* How often a user will be forced to
|
|
111
127
|
* re-authorise. Must be in the format `"48h"` or `"2h45m"`.
|
|
112
128
|
* Valid time units are `ns`, `us` (or `µs`), `ms`, `s`, `m`, `h`. Defaults to `24h`.
|
|
113
129
|
*/
|
|
114
130
|
readonly sessionDuration: pulumi.Output<string | undefined>;
|
|
131
|
+
/**
|
|
132
|
+
* Option to skip the authorization interstitial
|
|
133
|
+
* when using the CLI.
|
|
134
|
+
*/
|
|
115
135
|
readonly skipInterstitial: pulumi.Output<boolean | undefined>;
|
|
116
136
|
/**
|
|
117
137
|
* The application type. Defaults to `selfHosted`. Valid
|
|
@@ -179,19 +199,39 @@ export interface AccessApplicationState {
|
|
|
179
199
|
* Option to provide increased security against compromised authorization tokens and CSRF attacks by requiring an additional "binding" cookie on requests. Defaults to `false`.
|
|
180
200
|
*/
|
|
181
201
|
enableBindingCookie?: pulumi.Input<boolean>;
|
|
202
|
+
/**
|
|
203
|
+
* Option to add the `HttpOnly` cookie flag to access tokens.
|
|
204
|
+
*/
|
|
182
205
|
httpOnlyCookieAttribute?: pulumi.Input<boolean>;
|
|
206
|
+
/**
|
|
207
|
+
* Image URL for the logo shown in the app launcher
|
|
208
|
+
* dashboard.
|
|
209
|
+
*/
|
|
183
210
|
logoUrl?: pulumi.Input<string>;
|
|
184
211
|
/**
|
|
185
212
|
* Friendly name of the Access Application.
|
|
186
213
|
*/
|
|
187
214
|
name?: pulumi.Input<string>;
|
|
215
|
+
/**
|
|
216
|
+
* Defines the same-site cookie setting
|
|
217
|
+
* for access tokens. Valid values are `none`, `lax`, and `strict`.
|
|
218
|
+
*/
|
|
188
219
|
sameSiteCookieAttribute?: pulumi.Input<string>;
|
|
220
|
+
/**
|
|
221
|
+
* Option to return a 401 status code in
|
|
222
|
+
* service authentication rules on failed requests.
|
|
223
|
+
*/
|
|
224
|
+
serviceAuth401Redirect?: pulumi.Input<boolean>;
|
|
189
225
|
/**
|
|
190
226
|
* How often a user will be forced to
|
|
191
227
|
* re-authorise. Must be in the format `"48h"` or `"2h45m"`.
|
|
192
228
|
* Valid time units are `ns`, `us` (or `µs`), `ms`, `s`, `m`, `h`. Defaults to `24h`.
|
|
193
229
|
*/
|
|
194
230
|
sessionDuration?: pulumi.Input<string>;
|
|
231
|
+
/**
|
|
232
|
+
* Option to skip the authorization interstitial
|
|
233
|
+
* when using the CLI.
|
|
234
|
+
*/
|
|
195
235
|
skipInterstitial?: pulumi.Input<boolean>;
|
|
196
236
|
/**
|
|
197
237
|
* The application type. Defaults to `selfHosted`. Valid
|
|
@@ -247,19 +287,39 @@ export interface AccessApplicationArgs {
|
|
|
247
287
|
* Option to provide increased security against compromised authorization tokens and CSRF attacks by requiring an additional "binding" cookie on requests. Defaults to `false`.
|
|
248
288
|
*/
|
|
249
289
|
enableBindingCookie?: pulumi.Input<boolean>;
|
|
290
|
+
/**
|
|
291
|
+
* Option to add the `HttpOnly` cookie flag to access tokens.
|
|
292
|
+
*/
|
|
250
293
|
httpOnlyCookieAttribute?: pulumi.Input<boolean>;
|
|
294
|
+
/**
|
|
295
|
+
* Image URL for the logo shown in the app launcher
|
|
296
|
+
* dashboard.
|
|
297
|
+
*/
|
|
251
298
|
logoUrl?: pulumi.Input<string>;
|
|
252
299
|
/**
|
|
253
300
|
* Friendly name of the Access Application.
|
|
254
301
|
*/
|
|
255
302
|
name: pulumi.Input<string>;
|
|
303
|
+
/**
|
|
304
|
+
* Defines the same-site cookie setting
|
|
305
|
+
* for access tokens. Valid values are `none`, `lax`, and `strict`.
|
|
306
|
+
*/
|
|
256
307
|
sameSiteCookieAttribute?: pulumi.Input<string>;
|
|
308
|
+
/**
|
|
309
|
+
* Option to return a 401 status code in
|
|
310
|
+
* service authentication rules on failed requests.
|
|
311
|
+
*/
|
|
312
|
+
serviceAuth401Redirect?: pulumi.Input<boolean>;
|
|
257
313
|
/**
|
|
258
314
|
* How often a user will be forced to
|
|
259
315
|
* re-authorise. Must be in the format `"48h"` or `"2h45m"`.
|
|
260
316
|
* Valid time units are `ns`, `us` (or `µs`), `ms`, `s`, `m`, `h`. Defaults to `24h`.
|
|
261
317
|
*/
|
|
262
318
|
sessionDuration?: pulumi.Input<string>;
|
|
319
|
+
/**
|
|
320
|
+
* Option to skip the authorization interstitial
|
|
321
|
+
* when using the CLI.
|
|
322
|
+
*/
|
|
263
323
|
skipInterstitial?: pulumi.Input<boolean>;
|
|
264
324
|
/**
|
|
265
325
|
* The application type. Defaults to `selfHosted`. Valid
|
package/accessApplication.js
CHANGED
|
@@ -64,6 +64,7 @@ class AccessApplication extends pulumi.CustomResource {
|
|
|
64
64
|
resourceInputs["logoUrl"] = state ? state.logoUrl : undefined;
|
|
65
65
|
resourceInputs["name"] = state ? state.name : undefined;
|
|
66
66
|
resourceInputs["sameSiteCookieAttribute"] = state ? state.sameSiteCookieAttribute : undefined;
|
|
67
|
+
resourceInputs["serviceAuth401Redirect"] = state ? state.serviceAuth401Redirect : undefined;
|
|
67
68
|
resourceInputs["sessionDuration"] = state ? state.sessionDuration : undefined;
|
|
68
69
|
resourceInputs["skipInterstitial"] = state ? state.skipInterstitial : undefined;
|
|
69
70
|
resourceInputs["type"] = state ? state.type : undefined;
|
|
@@ -90,6 +91,7 @@ class AccessApplication extends pulumi.CustomResource {
|
|
|
90
91
|
resourceInputs["logoUrl"] = args ? args.logoUrl : undefined;
|
|
91
92
|
resourceInputs["name"] = args ? args.name : undefined;
|
|
92
93
|
resourceInputs["sameSiteCookieAttribute"] = args ? args.sameSiteCookieAttribute : undefined;
|
|
94
|
+
resourceInputs["serviceAuth401Redirect"] = args ? args.serviceAuth401Redirect : undefined;
|
|
93
95
|
resourceInputs["sessionDuration"] = args ? args.sessionDuration : undefined;
|
|
94
96
|
resourceInputs["skipInterstitial"] = args ? args.skipInterstitial : undefined;
|
|
95
97
|
resourceInputs["type"] = args ? args.type : undefined;
|
package/accessApplication.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"accessApplication.js","sourceRoot":"","sources":["../accessApplication.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AACH,MAAa,iBAAkB,SAAQ,MAAM,CAAC,cAAc;
|
|
1
|
+
{"version":3,"file":"accessApplication.js","sourceRoot":"","sources":["../accessApplication.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AACH,MAAa,iBAAkB,SAAQ,MAAM,CAAC,cAAc;IA4HxD,YAAY,IAAY,EAAE,WAA4D,EAAE,IAAmC;QACvH,IAAI,cAA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AG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA8B,EAAE,IAAmC;QAC5H,OAAO,IAAI,iBAAiB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACxE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,iBAAiB,CAAC,YAAY,CAAC;IAClE,CAAC;;AA1BL,8CAmLC;AArKG,gBAAgB;AACO,8BAAY,GAAG,sDAAsD,CAAC"}
|
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Provides a Cloudflare Access Bookmark resource. Access Bookmark
|
|
4
|
+
* applications are not protected behind Access but are displayed in the App
|
|
5
|
+
* Launcher.
|
|
6
|
+
*
|
|
7
|
+
* ## Example Usage
|
|
8
|
+
*
|
|
9
|
+
* ```typescript
|
|
10
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
+
* import * as cloudflare from "@pulumi/cloudflare";
|
|
12
|
+
*
|
|
13
|
+
* const myBookmarkApp = new cloudflare.AccessBookmark("my_bookmark_app", {
|
|
14
|
+
* accountId: "1d5fdc9e88c8a8c4518b068cd94331fe",
|
|
15
|
+
* appLauncherVisible: true,
|
|
16
|
+
* domain: "example.com",
|
|
17
|
+
* logoUrl: "https://path-to-logo.com/example.png",
|
|
18
|
+
* name: "My Bookmark App",
|
|
19
|
+
* });
|
|
20
|
+
* ```
|
|
21
|
+
*
|
|
22
|
+
* ## Import
|
|
23
|
+
*
|
|
24
|
+
* Access Bookmarks can be imported using a composite ID formed of account ID and bookmark ID.
|
|
25
|
+
*
|
|
26
|
+
* ```sh
|
|
27
|
+
* $ pulumi import cloudflare:index/accessBookmark:AccessBookmark my_bookmark cb029e245cfdd66dc8d2e570d5dd3322/d41d8cd98f00b204e9800998ecf8427e
|
|
28
|
+
* ```
|
|
29
|
+
*/
|
|
30
|
+
export declare class AccessBookmark extends pulumi.CustomResource {
|
|
31
|
+
/**
|
|
32
|
+
* Get an existing AccessBookmark resource's state with the given name, ID, and optional extra
|
|
33
|
+
* properties used to qualify the lookup.
|
|
34
|
+
*
|
|
35
|
+
* @param name The _unique_ name of the resulting resource.
|
|
36
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
37
|
+
* @param state Any extra arguments used during the lookup.
|
|
38
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
39
|
+
*/
|
|
40
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: AccessBookmarkState, opts?: pulumi.CustomResourceOptions): AccessBookmark;
|
|
41
|
+
/**
|
|
42
|
+
* Returns true if the given object is an instance of AccessBookmark. This is designed to work even
|
|
43
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
44
|
+
*/
|
|
45
|
+
static isInstance(obj: any): obj is AccessBookmark;
|
|
46
|
+
/**
|
|
47
|
+
* The account to which the Access bookmark application should be added. Conflicts with `zoneId`.
|
|
48
|
+
*/
|
|
49
|
+
readonly accountId: pulumi.Output<string>;
|
|
50
|
+
/**
|
|
51
|
+
* Option to show/hide the bookmark in the app launcher. Defaults to `true`.
|
|
52
|
+
*/
|
|
53
|
+
readonly appLauncherVisible: pulumi.Output<boolean | undefined>;
|
|
54
|
+
/**
|
|
55
|
+
* The domain of the bookmark application. Can include subdomains, paths, or both.
|
|
56
|
+
*/
|
|
57
|
+
readonly domain: pulumi.Output<string>;
|
|
58
|
+
/**
|
|
59
|
+
* The image URL for the logo shown in the app
|
|
60
|
+
* launcher dashboard.
|
|
61
|
+
*/
|
|
62
|
+
readonly logoUrl: pulumi.Output<string | undefined>;
|
|
63
|
+
/**
|
|
64
|
+
* Name of the bookmark application.
|
|
65
|
+
*/
|
|
66
|
+
readonly name: pulumi.Output<string>;
|
|
67
|
+
/**
|
|
68
|
+
* The DNS zone to which the Access bookmark application should be added. Conflicts with `accountId`.
|
|
69
|
+
*/
|
|
70
|
+
readonly zoneId: pulumi.Output<string>;
|
|
71
|
+
/**
|
|
72
|
+
* Create a AccessBookmark resource with the given unique name, arguments, and options.
|
|
73
|
+
*
|
|
74
|
+
* @param name The _unique_ name of the resource.
|
|
75
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
76
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
77
|
+
*/
|
|
78
|
+
constructor(name: string, args: AccessBookmarkArgs, opts?: pulumi.CustomResourceOptions);
|
|
79
|
+
}
|
|
80
|
+
/**
|
|
81
|
+
* Input properties used for looking up and filtering AccessBookmark resources.
|
|
82
|
+
*/
|
|
83
|
+
export interface AccessBookmarkState {
|
|
84
|
+
/**
|
|
85
|
+
* The account to which the Access bookmark application should be added. Conflicts with `zoneId`.
|
|
86
|
+
*/
|
|
87
|
+
accountId?: pulumi.Input<string>;
|
|
88
|
+
/**
|
|
89
|
+
* Option to show/hide the bookmark in the app launcher. Defaults to `true`.
|
|
90
|
+
*/
|
|
91
|
+
appLauncherVisible?: pulumi.Input<boolean>;
|
|
92
|
+
/**
|
|
93
|
+
* The domain of the bookmark application. Can include subdomains, paths, or both.
|
|
94
|
+
*/
|
|
95
|
+
domain?: pulumi.Input<string>;
|
|
96
|
+
/**
|
|
97
|
+
* The image URL for the logo shown in the app
|
|
98
|
+
* launcher dashboard.
|
|
99
|
+
*/
|
|
100
|
+
logoUrl?: pulumi.Input<string>;
|
|
101
|
+
/**
|
|
102
|
+
* Name of the bookmark application.
|
|
103
|
+
*/
|
|
104
|
+
name?: pulumi.Input<string>;
|
|
105
|
+
/**
|
|
106
|
+
* The DNS zone to which the Access bookmark application should be added. Conflicts with `accountId`.
|
|
107
|
+
*/
|
|
108
|
+
zoneId?: pulumi.Input<string>;
|
|
109
|
+
}
|
|
110
|
+
/**
|
|
111
|
+
* The set of arguments for constructing a AccessBookmark resource.
|
|
112
|
+
*/
|
|
113
|
+
export interface AccessBookmarkArgs {
|
|
114
|
+
/**
|
|
115
|
+
* The account to which the Access bookmark application should be added. Conflicts with `zoneId`.
|
|
116
|
+
*/
|
|
117
|
+
accountId?: pulumi.Input<string>;
|
|
118
|
+
/**
|
|
119
|
+
* Option to show/hide the bookmark in the app launcher. Defaults to `true`.
|
|
120
|
+
*/
|
|
121
|
+
appLauncherVisible?: pulumi.Input<boolean>;
|
|
122
|
+
/**
|
|
123
|
+
* The domain of the bookmark application. Can include subdomains, paths, or both.
|
|
124
|
+
*/
|
|
125
|
+
domain: pulumi.Input<string>;
|
|
126
|
+
/**
|
|
127
|
+
* The image URL for the logo shown in the app
|
|
128
|
+
* launcher dashboard.
|
|
129
|
+
*/
|
|
130
|
+
logoUrl?: pulumi.Input<string>;
|
|
131
|
+
/**
|
|
132
|
+
* Name of the bookmark application.
|
|
133
|
+
*/
|
|
134
|
+
name: pulumi.Input<string>;
|
|
135
|
+
/**
|
|
136
|
+
* The DNS zone to which the Access bookmark application should be added. Conflicts with `accountId`.
|
|
137
|
+
*/
|
|
138
|
+
zoneId?: pulumi.Input<string>;
|
|
139
|
+
}
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.AccessBookmark = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Provides a Cloudflare Access Bookmark resource. Access Bookmark
|
|
10
|
+
* applications are not protected behind Access but are displayed in the App
|
|
11
|
+
* Launcher.
|
|
12
|
+
*
|
|
13
|
+
* ## Example Usage
|
|
14
|
+
*
|
|
15
|
+
* ```typescript
|
|
16
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
17
|
+
* import * as cloudflare from "@pulumi/cloudflare";
|
|
18
|
+
*
|
|
19
|
+
* const myBookmarkApp = new cloudflare.AccessBookmark("my_bookmark_app", {
|
|
20
|
+
* accountId: "1d5fdc9e88c8a8c4518b068cd94331fe",
|
|
21
|
+
* appLauncherVisible: true,
|
|
22
|
+
* domain: "example.com",
|
|
23
|
+
* logoUrl: "https://path-to-logo.com/example.png",
|
|
24
|
+
* name: "My Bookmark App",
|
|
25
|
+
* });
|
|
26
|
+
* ```
|
|
27
|
+
*
|
|
28
|
+
* ## Import
|
|
29
|
+
*
|
|
30
|
+
* Access Bookmarks can be imported using a composite ID formed of account ID and bookmark ID.
|
|
31
|
+
*
|
|
32
|
+
* ```sh
|
|
33
|
+
* $ pulumi import cloudflare:index/accessBookmark:AccessBookmark my_bookmark cb029e245cfdd66dc8d2e570d5dd3322/d41d8cd98f00b204e9800998ecf8427e
|
|
34
|
+
* ```
|
|
35
|
+
*/
|
|
36
|
+
class AccessBookmark extends pulumi.CustomResource {
|
|
37
|
+
constructor(name, argsOrState, opts) {
|
|
38
|
+
let resourceInputs = {};
|
|
39
|
+
opts = opts || {};
|
|
40
|
+
if (opts.id) {
|
|
41
|
+
const state = argsOrState;
|
|
42
|
+
resourceInputs["accountId"] = state ? state.accountId : undefined;
|
|
43
|
+
resourceInputs["appLauncherVisible"] = state ? state.appLauncherVisible : undefined;
|
|
44
|
+
resourceInputs["domain"] = state ? state.domain : undefined;
|
|
45
|
+
resourceInputs["logoUrl"] = state ? state.logoUrl : undefined;
|
|
46
|
+
resourceInputs["name"] = state ? state.name : undefined;
|
|
47
|
+
resourceInputs["zoneId"] = state ? state.zoneId : undefined;
|
|
48
|
+
}
|
|
49
|
+
else {
|
|
50
|
+
const args = argsOrState;
|
|
51
|
+
if ((!args || args.domain === undefined) && !opts.urn) {
|
|
52
|
+
throw new Error("Missing required property 'domain'");
|
|
53
|
+
}
|
|
54
|
+
if ((!args || args.name === undefined) && !opts.urn) {
|
|
55
|
+
throw new Error("Missing required property 'name'");
|
|
56
|
+
}
|
|
57
|
+
resourceInputs["accountId"] = args ? args.accountId : undefined;
|
|
58
|
+
resourceInputs["appLauncherVisible"] = args ? args.appLauncherVisible : undefined;
|
|
59
|
+
resourceInputs["domain"] = args ? args.domain : undefined;
|
|
60
|
+
resourceInputs["logoUrl"] = args ? args.logoUrl : undefined;
|
|
61
|
+
resourceInputs["name"] = args ? args.name : undefined;
|
|
62
|
+
resourceInputs["zoneId"] = args ? args.zoneId : undefined;
|
|
63
|
+
}
|
|
64
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
65
|
+
super(AccessBookmark.__pulumiType, name, resourceInputs, opts);
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* Get an existing AccessBookmark resource's state with the given name, ID, and optional extra
|
|
69
|
+
* properties used to qualify the lookup.
|
|
70
|
+
*
|
|
71
|
+
* @param name The _unique_ name of the resulting resource.
|
|
72
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
73
|
+
* @param state Any extra arguments used during the lookup.
|
|
74
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
75
|
+
*/
|
|
76
|
+
static get(name, id, state, opts) {
|
|
77
|
+
return new AccessBookmark(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
78
|
+
}
|
|
79
|
+
/**
|
|
80
|
+
* Returns true if the given object is an instance of AccessBookmark. This is designed to work even
|
|
81
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
82
|
+
*/
|
|
83
|
+
static isInstance(obj) {
|
|
84
|
+
if (obj === undefined || obj === null) {
|
|
85
|
+
return false;
|
|
86
|
+
}
|
|
87
|
+
return obj['__pulumiType'] === AccessBookmark.__pulumiType;
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
exports.AccessBookmark = AccessBookmark;
|
|
91
|
+
/** @internal */
|
|
92
|
+
AccessBookmark.__pulumiType = 'cloudflare:index/accessBookmark:AccessBookmark';
|
|
93
|
+
//# sourceMappingURL=accessBookmark.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"accessBookmark.js","sourceRoot":"","sources":["../accessBookmark.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,MAAa,cAAe,SAAQ,MAAM,CAAC,cAAc;IA8DrD,YAAY,IAAY,EAAE,WAAsD,EAAE,IAAmC;QACjH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA8C,CAAC;YAC7D,cAAc,CAAC,WAAW,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,oBAAoB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,kBAAkB,CAAC,CAAC,CAAC,SAAS,CAAC;YACpF,cAAc,CAAC,QAAQ,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,cAAc,CAAC,SAAS,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,MAAM,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,cAAc,CAAC,QAAQ,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;SAC/D;aAAM;YACH,MAAM,IAAI,GAAG,WAA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,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA2B,EAAE,IAAmC;QACzH,OAAO,IAAI,cAAc,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACrE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,cAAc,CAAC,YAAY,CAAC;IAC/D,CAAC;;AA1BL,wCA2FC;AA7EG,gBAAgB;AACO,2BAAY,GAAG,gDAAgD,CAAC"}
|
package/accessPolicy.d.ts
CHANGED
|
@@ -16,7 +16,7 @@ import { input as inputs, output as outputs } from "./types";
|
|
|
16
16
|
* applicationId: "cb029e245cfdd66dc8d2e570d5dd3322",
|
|
17
17
|
* zoneId: "d41d8cd98f00b204e9800998ecf8427e",
|
|
18
18
|
* name: "staging policy",
|
|
19
|
-
* precedence:
|
|
19
|
+
* precedence: 1,
|
|
20
20
|
* decision: "allow",
|
|
21
21
|
* includes: [{
|
|
22
22
|
* emails: ["test@example.com"],
|
|
@@ -31,7 +31,7 @@ import { input as inputs, output as outputs } from "./types";
|
|
|
31
31
|
* applicationId: "cb029e245cfdd66dc8d2e570d5dd3322",
|
|
32
32
|
* zoneId: "d41d8cd98f00b204e9800998ecf8427e",
|
|
33
33
|
* name: "staging policy",
|
|
34
|
-
* precedence:
|
|
34
|
+
* precedence: 1,
|
|
35
35
|
* decision: "allow",
|
|
36
36
|
* includes: [{
|
|
37
37
|
* emails: ["test@example.com"],
|
package/accessPolicy.js
CHANGED
|
@@ -21,7 +21,7 @@ const utilities = require("./utilities");
|
|
|
21
21
|
* applicationId: "cb029e245cfdd66dc8d2e570d5dd3322",
|
|
22
22
|
* zoneId: "d41d8cd98f00b204e9800998ecf8427e",
|
|
23
23
|
* name: "staging policy",
|
|
24
|
-
* precedence:
|
|
24
|
+
* precedence: 1,
|
|
25
25
|
* decision: "allow",
|
|
26
26
|
* includes: [{
|
|
27
27
|
* emails: ["test@example.com"],
|
|
@@ -36,7 +36,7 @@ const utilities = require("./utilities");
|
|
|
36
36
|
* applicationId: "cb029e245cfdd66dc8d2e570d5dd3322",
|
|
37
37
|
* zoneId: "d41d8cd98f00b204e9800998ecf8427e",
|
|
38
38
|
* name: "staging policy",
|
|
39
|
-
* precedence:
|
|
39
|
+
* precedence: 1,
|
|
40
40
|
* decision: "allow",
|
|
41
41
|
* includes: [{
|
|
42
42
|
* emails: ["test@example.com"],
|
package/byoIpPrefix.d.ts
CHANGED
|
@@ -39,6 +39,7 @@ export declare class ByoIpPrefix extends pulumi.CustomResource {
|
|
|
39
39
|
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
40
40
|
*/
|
|
41
41
|
static isInstance(obj: any): obj is ByoIpPrefix;
|
|
42
|
+
readonly accountId: pulumi.Output<string>;
|
|
42
43
|
/**
|
|
43
44
|
* Whether or not the prefix shall be announced. A prefix can be activated or deactivated once every 15 minutes (attempting more regular updates will trigger rate limiting). Valid values: `on` or `off`.
|
|
44
45
|
*/
|
|
@@ -64,6 +65,7 @@ export declare class ByoIpPrefix extends pulumi.CustomResource {
|
|
|
64
65
|
* Input properties used for looking up and filtering ByoIpPrefix resources.
|
|
65
66
|
*/
|
|
66
67
|
export interface ByoIpPrefixState {
|
|
68
|
+
accountId?: pulumi.Input<string>;
|
|
67
69
|
/**
|
|
68
70
|
* Whether or not the prefix shall be announced. A prefix can be activated or deactivated once every 15 minutes (attempting more regular updates will trigger rate limiting). Valid values: `on` or `off`.
|
|
69
71
|
*/
|
|
@@ -81,6 +83,7 @@ export interface ByoIpPrefixState {
|
|
|
81
83
|
* The set of arguments for constructing a ByoIpPrefix resource.
|
|
82
84
|
*/
|
|
83
85
|
export interface ByoIpPrefixArgs {
|
|
86
|
+
accountId: pulumi.Input<string>;
|
|
84
87
|
/**
|
|
85
88
|
* Whether or not the prefix shall be announced. A prefix can be activated or deactivated once every 15 minutes (attempting more regular updates will trigger rate limiting). Valid values: `on` or `off`.
|
|
86
89
|
*/
|
package/byoIpPrefix.js
CHANGED
|
@@ -35,15 +35,20 @@ class ByoIpPrefix extends pulumi.CustomResource {
|
|
|
35
35
|
opts = opts || {};
|
|
36
36
|
if (opts.id) {
|
|
37
37
|
const state = argsOrState;
|
|
38
|
+
resourceInputs["accountId"] = state ? state.accountId : undefined;
|
|
38
39
|
resourceInputs["advertisement"] = state ? state.advertisement : undefined;
|
|
39
40
|
resourceInputs["description"] = state ? state.description : undefined;
|
|
40
41
|
resourceInputs["prefixId"] = state ? state.prefixId : undefined;
|
|
41
42
|
}
|
|
42
43
|
else {
|
|
43
44
|
const args = argsOrState;
|
|
45
|
+
if ((!args || args.accountId === undefined) && !opts.urn) {
|
|
46
|
+
throw new Error("Missing required property 'accountId'");
|
|
47
|
+
}
|
|
44
48
|
if ((!args || args.prefixId === undefined) && !opts.urn) {
|
|
45
49
|
throw new Error("Missing required property 'prefixId'");
|
|
46
50
|
}
|
|
51
|
+
resourceInputs["accountId"] = args ? args.accountId : undefined;
|
|
47
52
|
resourceInputs["advertisement"] = args ? args.advertisement : undefined;
|
|
48
53
|
resourceInputs["description"] = args ? args.description : undefined;
|
|
49
54
|
resourceInputs["prefixId"] = args ? args.prefixId : undefined;
|
package/byoIpPrefix.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"byoIpPrefix.js","sourceRoot":"","sources":["../byoIpPrefix.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,MAAa,WAAY,SAAQ,MAAM,CAAC,cAAc;
|
|
1
|
+
{"version":3,"file":"byoIpPrefix.js","sourceRoot":"","sources":["../byoIpPrefix.ts"],"names":[],"mappings":";AAA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AAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,eAAe,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC;YACxE,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACpE,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;SACjE;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,WAAW,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAChE,CAAC;IAzED;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAwB,EAAE,IAAmC;QACtH,OAAO,IAAI,WAAW,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAClE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,WAAW,CAAC,YAAY,CAAC;IAC5D,CAAC;;AA1BL,kCA2EC;AA7DG,gBAAgB;AACO,wBAAY,GAAG,0CAA0C,CAAC"}
|
package/certificatePack.d.ts
CHANGED
|
@@ -39,6 +39,7 @@ import { input as inputs, output as outputs } from "./types";
|
|
|
39
39
|
* type: "advanced",
|
|
40
40
|
* validationMethod: "http",
|
|
41
41
|
* validityDays: 90,
|
|
42
|
+
* waitForActiveStatus: true,
|
|
42
43
|
* zoneId: "1d5fdc9e88c8a8c4518b068cd94331fe",
|
|
43
44
|
* });
|
|
44
45
|
* ```
|
|
@@ -81,8 +82,8 @@ export declare class CertificatePack extends pulumi.CustomResource {
|
|
|
81
82
|
readonly cloudflareBranding: pulumi.Output<boolean | undefined>;
|
|
82
83
|
/**
|
|
83
84
|
* List of hostnames to provision the certificate pack for.
|
|
84
|
-
* Note: If using Let's Encrypt, you
|
|
85
|
-
* wildcard for subdomain is available.
|
|
85
|
+
* The zone name must be included as a host. Note: If using Let's Encrypt, you
|
|
86
|
+
* cannot use individual subdomains and only a wildcard for subdomain is available.
|
|
86
87
|
*/
|
|
87
88
|
readonly hosts: pulumi.Output<string[]>;
|
|
88
89
|
/**
|
|
@@ -103,6 +104,11 @@ export declare class CertificatePack extends pulumi.CustomResource {
|
|
|
103
104
|
* Allowed values: 14, 30, 90, 365.
|
|
104
105
|
*/
|
|
105
106
|
readonly validityDays: pulumi.Output<number | undefined>;
|
|
107
|
+
/**
|
|
108
|
+
* Whether or not to wait for a certificate
|
|
109
|
+
* pack to reach status `active` during creation. Defaults to `false`.
|
|
110
|
+
*/
|
|
111
|
+
readonly waitForActiveStatus: pulumi.Output<boolean | undefined>;
|
|
106
112
|
/**
|
|
107
113
|
* The DNS zone to which the certificate pack should be added.
|
|
108
114
|
*/
|
|
@@ -134,8 +140,8 @@ export interface CertificatePackState {
|
|
|
134
140
|
cloudflareBranding?: pulumi.Input<boolean>;
|
|
135
141
|
/**
|
|
136
142
|
* List of hostnames to provision the certificate pack for.
|
|
137
|
-
* Note: If using Let's Encrypt, you
|
|
138
|
-
* wildcard for subdomain is available.
|
|
143
|
+
* The zone name must be included as a host. Note: If using Let's Encrypt, you
|
|
144
|
+
* cannot use individual subdomains and only a wildcard for subdomain is available.
|
|
139
145
|
*/
|
|
140
146
|
hosts?: pulumi.Input<pulumi.Input<string>[]>;
|
|
141
147
|
/**
|
|
@@ -156,6 +162,11 @@ export interface CertificatePackState {
|
|
|
156
162
|
* Allowed values: 14, 30, 90, 365.
|
|
157
163
|
*/
|
|
158
164
|
validityDays?: pulumi.Input<number>;
|
|
165
|
+
/**
|
|
166
|
+
* Whether or not to wait for a certificate
|
|
167
|
+
* pack to reach status `active` during creation. Defaults to `false`.
|
|
168
|
+
*/
|
|
169
|
+
waitForActiveStatus?: pulumi.Input<boolean>;
|
|
159
170
|
/**
|
|
160
171
|
* The DNS zone to which the certificate pack should be added.
|
|
161
172
|
*/
|
|
@@ -179,8 +190,8 @@ export interface CertificatePackArgs {
|
|
|
179
190
|
cloudflareBranding?: pulumi.Input<boolean>;
|
|
180
191
|
/**
|
|
181
192
|
* List of hostnames to provision the certificate pack for.
|
|
182
|
-
* Note: If using Let's Encrypt, you
|
|
183
|
-
* wildcard for subdomain is available.
|
|
193
|
+
* The zone name must be included as a host. Note: If using Let's Encrypt, you
|
|
194
|
+
* cannot use individual subdomains and only a wildcard for subdomain is available.
|
|
184
195
|
*/
|
|
185
196
|
hosts: pulumi.Input<pulumi.Input<string>[]>;
|
|
186
197
|
/**
|
|
@@ -201,6 +212,11 @@ export interface CertificatePackArgs {
|
|
|
201
212
|
* Allowed values: 14, 30, 90, 365.
|
|
202
213
|
*/
|
|
203
214
|
validityDays?: pulumi.Input<number>;
|
|
215
|
+
/**
|
|
216
|
+
* Whether or not to wait for a certificate
|
|
217
|
+
* pack to reach status `active` during creation. Defaults to `false`.
|
|
218
|
+
*/
|
|
219
|
+
waitForActiveStatus?: pulumi.Input<boolean>;
|
|
204
220
|
/**
|
|
205
221
|
* The DNS zone to which the certificate pack should be added.
|
|
206
222
|
*/
|
package/certificatePack.js
CHANGED
|
@@ -44,6 +44,7 @@ const utilities = require("./utilities");
|
|
|
44
44
|
* type: "advanced",
|
|
45
45
|
* validationMethod: "http",
|
|
46
46
|
* validityDays: 90,
|
|
47
|
+
* waitForActiveStatus: true,
|
|
47
48
|
* zoneId: "1d5fdc9e88c8a8c4518b068cd94331fe",
|
|
48
49
|
* });
|
|
49
50
|
* ```
|
|
@@ -70,6 +71,7 @@ class CertificatePack extends pulumi.CustomResource {
|
|
|
70
71
|
resourceInputs["validationMethod"] = state ? state.validationMethod : undefined;
|
|
71
72
|
resourceInputs["validationRecords"] = state ? state.validationRecords : undefined;
|
|
72
73
|
resourceInputs["validityDays"] = state ? state.validityDays : undefined;
|
|
74
|
+
resourceInputs["waitForActiveStatus"] = state ? state.waitForActiveStatus : undefined;
|
|
73
75
|
resourceInputs["zoneId"] = state ? state.zoneId : undefined;
|
|
74
76
|
}
|
|
75
77
|
else {
|
|
@@ -91,6 +93,7 @@ class CertificatePack extends pulumi.CustomResource {
|
|
|
91
93
|
resourceInputs["validationMethod"] = args ? args.validationMethod : undefined;
|
|
92
94
|
resourceInputs["validationRecords"] = args ? args.validationRecords : undefined;
|
|
93
95
|
resourceInputs["validityDays"] = args ? args.validityDays : undefined;
|
|
96
|
+
resourceInputs["waitForActiveStatus"] = args ? args.waitForActiveStatus : undefined;
|
|
94
97
|
resourceInputs["zoneId"] = args ? args.zoneId : undefined;
|
|
95
98
|
}
|
|
96
99
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
package/certificatePack.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"certificatePack.js","sourceRoot":"","sources":["../certificatePack.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"certificatePack.js","sourceRoot":"","sources":["../certificatePack.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmDG;AACH,MAAa,eAAgB,SAAQ,MAAM,CAAC,cAAc;IAkFtD,YAAY,IAAY,EAAE,WAAwD,EAAE,IAAmC;QACnH,IAAI,cAAc,GAAkB,EAAE,CAAC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,mBAAmB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAC,CAAC,SAAS,CAAC;YAChF,cAAc,CAAC,cAAc,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,qBAAqB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAC,CAAC,SAAS,CAAC;YACpF,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;SAC7D;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,eAAe,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACpE,CAAC;IAxHD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA4B,EAAE,IAAmC;QAC1H,OAAO,IAAI,eAAe,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACtE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,eAAe,CAAC,YAAY,CAAC;IAChE,CAAC;;AA1BL,0CA0HC;AA5GG,gBAAgB;AACO,4BAAY,GAAG,kDAAkD,CAAC"}
|
package/customPages.d.ts
CHANGED
|
@@ -57,7 +57,7 @@ export declare class CustomPages extends pulumi.CustomResource {
|
|
|
57
57
|
* The type of custom page you wish to update. Must
|
|
58
58
|
* be one of `basicChallenge`, `wafChallenge`, `wafBlock`,
|
|
59
59
|
* `ratelimitBlock`, `countryChallenge`, `ipBlock`, `underAttack`,
|
|
60
|
-
* `500Errors`, `1000Errors`, `alwaysOnline`.
|
|
60
|
+
* `500Errors`, `1000Errors`, `alwaysOnline`, `managedChallenge`.
|
|
61
61
|
*/
|
|
62
62
|
readonly type: pulumi.Output<string>;
|
|
63
63
|
/**
|
|
@@ -93,7 +93,7 @@ export interface CustomPagesState {
|
|
|
93
93
|
* The type of custom page you wish to update. Must
|
|
94
94
|
* be one of `basicChallenge`, `wafChallenge`, `wafBlock`,
|
|
95
95
|
* `ratelimitBlock`, `countryChallenge`, `ipBlock`, `underAttack`,
|
|
96
|
-
* `500Errors`, `1000Errors`, `alwaysOnline`.
|
|
96
|
+
* `500Errors`, `1000Errors`, `alwaysOnline`, `managedChallenge`.
|
|
97
97
|
*/
|
|
98
98
|
type?: pulumi.Input<string>;
|
|
99
99
|
/**
|
|
@@ -121,7 +121,7 @@ export interface CustomPagesArgs {
|
|
|
121
121
|
* The type of custom page you wish to update. Must
|
|
122
122
|
* be one of `basicChallenge`, `wafChallenge`, `wafBlock`,
|
|
123
123
|
* `ratelimitBlock`, `countryChallenge`, `ipBlock`, `underAttack`,
|
|
124
|
-
* `500Errors`, `1000Errors`, `alwaysOnline`.
|
|
124
|
+
* `500Errors`, `1000Errors`, `alwaysOnline`, `managedChallenge`.
|
|
125
125
|
*/
|
|
126
126
|
type: pulumi.Input<string>;
|
|
127
127
|
/**
|