@checkly/pulumi 0.0.1-alpha.4 → 0.0.1-alpha.6
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/README.md +2 -3
- package/alertChannel.ts +55 -138
- package/bin/README.md +58 -15
- package/bin/alertChannel.d.ts +55 -138
- package/bin/alertChannel.js +40 -105
- package/bin/alertChannel.js.map +1 -1
- package/bin/check.d.ts +90 -51
- package/bin/check.js +3 -0
- package/bin/check.js.map +1 -1
- package/bin/checkGroup.d.ts +112 -36
- package/bin/checkGroup.js +88 -0
- package/bin/checkGroup.js.map +1 -1
- package/bin/dashboard.d.ts +125 -14
- package/bin/dashboard.js +21 -21
- package/bin/dashboard.js.map +1 -1
- package/bin/environmentVariable.d.ts +64 -0
- package/bin/environmentVariable.js +78 -0
- package/bin/environmentVariable.js.map +1 -0
- package/bin/index.d.ts +1 -0
- package/bin/index.js +5 -0
- package/bin/index.js.map +1 -1
- package/bin/maintenanceWindow.d.ts +16 -36
- package/bin/maintenanceWindow.js +1 -30
- package/bin/maintenanceWindow.js.map +1 -1
- package/bin/package.json +3 -3
- package/bin/snippet.d.ts +3 -3
- package/bin/triggerCheck.d.ts +18 -6
- package/bin/triggerCheck.js +0 -6
- package/bin/triggerCheck.js.map +1 -1
- package/bin/triggerCheckGroup.d.ts +18 -6
- package/bin/triggerCheckGroup.js +0 -6
- package/bin/triggerCheckGroup.js.map +1 -1
- package/bin/types/input.d.ts +2 -188
- package/bin/types/input.js.map +1 -1
- package/bin/types/output.d.ts +2 -188
- package/bin/types/output.js.map +1 -1
- package/bin/yarn.lock +179 -117
- package/check.ts +90 -51
- package/checkGroup.ts +112 -36
- package/dashboard.ts +125 -35
- package/environmentVariable.ts +107 -0
- package/index.ts +5 -0
- package/maintenanceWindow.ts +16 -45
- package/package.json +29 -29
- package/snippet.ts +3 -3
- package/triggerCheck.ts +18 -6
- package/triggerCheckGroup.ts +18 -6
- package/tsconfig.json +1 -0
- package/types/input.ts +2 -188
- package/types/output.ts +2 -188
package/bin/check.d.ts
CHANGED
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
import { input as inputs, output as outputs } from "./types";
|
|
3
|
+
/**
|
|
4
|
+
* Checks allows you to monitor key webapp flows, backend API's and set up alerting, so you get a notification when things break or slow down.
|
|
5
|
+
*/
|
|
3
6
|
export declare class Check extends pulumi.CustomResource {
|
|
4
7
|
/**
|
|
5
8
|
* Get an existing Check resource's state with the given name, ID, and optional extra
|
|
@@ -21,20 +24,20 @@ export declare class Check extends pulumi.CustomResource {
|
|
|
21
24
|
*/
|
|
22
25
|
readonly activated: pulumi.Output<boolean>;
|
|
23
26
|
readonly alertChannelSubscriptions: pulumi.Output<outputs.CheckAlertChannelSubscription[] | undefined>;
|
|
24
|
-
/**
|
|
25
|
-
* . Supported values documented below.
|
|
26
|
-
*/
|
|
27
27
|
readonly alertSettings: pulumi.Output<outputs.CheckAlertSettings>;
|
|
28
28
|
/**
|
|
29
|
-
* The response time in milliseconds
|
|
29
|
+
* The response time in milliseconds starting from which a check should be considered degraded. Possible values are between
|
|
30
|
+
* 0 and 30000. (Default `15000`).
|
|
30
31
|
*/
|
|
31
32
|
readonly degradedResponseTime: pulumi.Output<number | undefined>;
|
|
32
33
|
/**
|
|
33
|
-
* Setting this to
|
|
34
|
+
* Setting this to `true` will trigger a retry when a check fails from the failing region and another, randomly selected
|
|
35
|
+
* region before marking the check as failed.
|
|
34
36
|
*/
|
|
35
37
|
readonly doubleCheck: pulumi.Output<boolean | undefined>;
|
|
36
38
|
/**
|
|
37
|
-
* Key/value pairs for setting environment variables during check execution. These are only relevant for
|
|
39
|
+
* Key/value pairs for setting environment variables during check execution. These are only relevant for browser checks.
|
|
40
|
+
* Use global environment variables whenever possible.
|
|
38
41
|
*/
|
|
39
42
|
readonly environmentVariables: pulumi.Output<{
|
|
40
43
|
[key: string]: any;
|
|
@@ -44,15 +47,17 @@ export declare class Check extends pulumi.CustomResource {
|
|
|
44
47
|
*/
|
|
45
48
|
readonly frequency: pulumi.Output<number>;
|
|
46
49
|
/**
|
|
47
|
-
* This property only valid for API high frequency checks. To create a hight frequency check, the property `frequency` must
|
|
50
|
+
* This property only valid for API high frequency checks. To create a hight frequency check, the property `frequency` must
|
|
51
|
+
* be `0` and `frequency_offset` could be `10`, `20` or `30`.
|
|
48
52
|
*/
|
|
49
53
|
readonly frequencyOffset: pulumi.Output<number | undefined>;
|
|
50
54
|
/**
|
|
51
|
-
*
|
|
55
|
+
* The id of the check group this check is part of.
|
|
52
56
|
*/
|
|
53
57
|
readonly groupId: pulumi.Output<number | undefined>;
|
|
54
58
|
/**
|
|
55
|
-
* The position of this check in a check group. It determines in what order checks are run when a group is triggered from
|
|
59
|
+
* The position of this check in a check group. It determines in what order checks are run when a group is triggered from
|
|
60
|
+
* the API or from CI/CD.
|
|
56
61
|
*/
|
|
57
62
|
readonly groupOrder: pulumi.Output<number | undefined>;
|
|
58
63
|
/**
|
|
@@ -64,15 +69,16 @@ export declare class Check extends pulumi.CustomResource {
|
|
|
64
69
|
*/
|
|
65
70
|
readonly localTeardownScript: pulumi.Output<string | undefined>;
|
|
66
71
|
/**
|
|
67
|
-
* An array of one or more data center locations where to run the this check.
|
|
72
|
+
* An array of one or more data center locations where to run the this check. (Default ["us-east-1"])
|
|
68
73
|
*/
|
|
69
74
|
readonly locations: pulumi.Output<string[] | undefined>;
|
|
70
75
|
/**
|
|
71
|
-
* The response time in milliseconds
|
|
76
|
+
* The response time in milliseconds starting from which a check should be considered failing. Possible values are between
|
|
77
|
+
* 0 and 30000. (Default `30000`).
|
|
72
78
|
*/
|
|
73
79
|
readonly maxResponseTime: pulumi.Output<number | undefined>;
|
|
74
80
|
/**
|
|
75
|
-
* Determines if any notifications will be sent out when a check fails
|
|
81
|
+
* Determines if any notifications will be sent out when a check fails/degrades/recovers.
|
|
76
82
|
*/
|
|
77
83
|
readonly muted: pulumi.Output<boolean | undefined>;
|
|
78
84
|
/**
|
|
@@ -80,26 +86,35 @@ export declare class Check extends pulumi.CustomResource {
|
|
|
80
86
|
*/
|
|
81
87
|
readonly name: pulumi.Output<string>;
|
|
82
88
|
/**
|
|
83
|
-
*
|
|
89
|
+
* An API check might have one request config.
|
|
84
90
|
*/
|
|
85
91
|
readonly request: pulumi.Output<outputs.CheckRequest | undefined>;
|
|
86
92
|
/**
|
|
87
|
-
*
|
|
93
|
+
* The id of the runtime to use for this check.
|
|
88
94
|
*/
|
|
89
95
|
readonly runtimeId: pulumi.Output<string | undefined>;
|
|
96
|
+
/**
|
|
97
|
+
* A valid piece of Node.js JavaScript code describing a browser interaction with the Puppeteer/Playwright framework or a
|
|
98
|
+
* reference to an external JavaScript file.
|
|
99
|
+
*/
|
|
90
100
|
readonly script: pulumi.Output<string | undefined>;
|
|
91
101
|
/**
|
|
92
102
|
* An ID reference to a snippet to use in the setup phase of an API check.
|
|
93
103
|
*/
|
|
94
104
|
readonly setupSnippetId: pulumi.Output<number | undefined>;
|
|
95
105
|
/**
|
|
96
|
-
* Allows to invert the behaviour of when a check is considered to fail. Allows for validating error status like 404.
|
|
106
|
+
* Allows to invert the behaviour of when a check is considered to fail. Allows for validating error status like 404.
|
|
97
107
|
*/
|
|
98
108
|
readonly shouldFail: pulumi.Output<boolean | undefined>;
|
|
99
109
|
/**
|
|
100
|
-
* Determines if the SSL certificate should be validated for expiry.
|
|
110
|
+
* Determines if the SSL certificate should be validated for expiry.
|
|
111
|
+
*
|
|
112
|
+
* @deprecated The property `ssl_check` is deprecated and it's ignored by the Checkly Public API. It will be removed in a future version.
|
|
101
113
|
*/
|
|
102
114
|
readonly sslCheck: pulumi.Output<boolean | undefined>;
|
|
115
|
+
/**
|
|
116
|
+
* A list of tags for organizing and filtering checks.
|
|
117
|
+
*/
|
|
103
118
|
readonly tags: pulumi.Output<string[] | undefined>;
|
|
104
119
|
/**
|
|
105
120
|
* An ID reference to a snippet to use in the teardown phase of an API check.
|
|
@@ -110,7 +125,7 @@ export declare class Check extends pulumi.CustomResource {
|
|
|
110
125
|
*/
|
|
111
126
|
readonly type: pulumi.Output<string>;
|
|
112
127
|
/**
|
|
113
|
-
* When true, the account level alert
|
|
128
|
+
* When true, the account level alert settings will be used, not the alert setting defined on this check.
|
|
114
129
|
*/
|
|
115
130
|
readonly useGlobalAlertSettings: pulumi.Output<boolean | undefined>;
|
|
116
131
|
/**
|
|
@@ -131,20 +146,20 @@ export interface CheckState {
|
|
|
131
146
|
*/
|
|
132
147
|
activated?: pulumi.Input<boolean>;
|
|
133
148
|
alertChannelSubscriptions?: pulumi.Input<pulumi.Input<inputs.CheckAlertChannelSubscription>[]>;
|
|
134
|
-
/**
|
|
135
|
-
* . Supported values documented below.
|
|
136
|
-
*/
|
|
137
149
|
alertSettings?: pulumi.Input<inputs.CheckAlertSettings>;
|
|
138
150
|
/**
|
|
139
|
-
* The response time in milliseconds
|
|
151
|
+
* The response time in milliseconds starting from which a check should be considered degraded. Possible values are between
|
|
152
|
+
* 0 and 30000. (Default `15000`).
|
|
140
153
|
*/
|
|
141
154
|
degradedResponseTime?: pulumi.Input<number>;
|
|
142
155
|
/**
|
|
143
|
-
* Setting this to
|
|
156
|
+
* Setting this to `true` will trigger a retry when a check fails from the failing region and another, randomly selected
|
|
157
|
+
* region before marking the check as failed.
|
|
144
158
|
*/
|
|
145
159
|
doubleCheck?: pulumi.Input<boolean>;
|
|
146
160
|
/**
|
|
147
|
-
* Key/value pairs for setting environment variables during check execution. These are only relevant for
|
|
161
|
+
* Key/value pairs for setting environment variables during check execution. These are only relevant for browser checks.
|
|
162
|
+
* Use global environment variables whenever possible.
|
|
148
163
|
*/
|
|
149
164
|
environmentVariables?: pulumi.Input<{
|
|
150
165
|
[key: string]: any;
|
|
@@ -154,15 +169,17 @@ export interface CheckState {
|
|
|
154
169
|
*/
|
|
155
170
|
frequency?: pulumi.Input<number>;
|
|
156
171
|
/**
|
|
157
|
-
* This property only valid for API high frequency checks. To create a hight frequency check, the property `frequency` must
|
|
172
|
+
* This property only valid for API high frequency checks. To create a hight frequency check, the property `frequency` must
|
|
173
|
+
* be `0` and `frequency_offset` could be `10`, `20` or `30`.
|
|
158
174
|
*/
|
|
159
175
|
frequencyOffset?: pulumi.Input<number>;
|
|
160
176
|
/**
|
|
161
|
-
*
|
|
177
|
+
* The id of the check group this check is part of.
|
|
162
178
|
*/
|
|
163
179
|
groupId?: pulumi.Input<number>;
|
|
164
180
|
/**
|
|
165
|
-
* The position of this check in a check group. It determines in what order checks are run when a group is triggered from
|
|
181
|
+
* The position of this check in a check group. It determines in what order checks are run when a group is triggered from
|
|
182
|
+
* the API or from CI/CD.
|
|
166
183
|
*/
|
|
167
184
|
groupOrder?: pulumi.Input<number>;
|
|
168
185
|
/**
|
|
@@ -174,15 +191,16 @@ export interface CheckState {
|
|
|
174
191
|
*/
|
|
175
192
|
localTeardownScript?: pulumi.Input<string>;
|
|
176
193
|
/**
|
|
177
|
-
* An array of one or more data center locations where to run the this check.
|
|
194
|
+
* An array of one or more data center locations where to run the this check. (Default ["us-east-1"])
|
|
178
195
|
*/
|
|
179
196
|
locations?: pulumi.Input<pulumi.Input<string>[]>;
|
|
180
197
|
/**
|
|
181
|
-
* The response time in milliseconds
|
|
198
|
+
* The response time in milliseconds starting from which a check should be considered failing. Possible values are between
|
|
199
|
+
* 0 and 30000. (Default `30000`).
|
|
182
200
|
*/
|
|
183
201
|
maxResponseTime?: pulumi.Input<number>;
|
|
184
202
|
/**
|
|
185
|
-
* Determines if any notifications will be sent out when a check fails
|
|
203
|
+
* Determines if any notifications will be sent out when a check fails/degrades/recovers.
|
|
186
204
|
*/
|
|
187
205
|
muted?: pulumi.Input<boolean>;
|
|
188
206
|
/**
|
|
@@ -190,26 +208,35 @@ export interface CheckState {
|
|
|
190
208
|
*/
|
|
191
209
|
name?: pulumi.Input<string>;
|
|
192
210
|
/**
|
|
193
|
-
*
|
|
211
|
+
* An API check might have one request config.
|
|
194
212
|
*/
|
|
195
213
|
request?: pulumi.Input<inputs.CheckRequest>;
|
|
196
214
|
/**
|
|
197
|
-
*
|
|
215
|
+
* The id of the runtime to use for this check.
|
|
198
216
|
*/
|
|
199
217
|
runtimeId?: pulumi.Input<string>;
|
|
218
|
+
/**
|
|
219
|
+
* A valid piece of Node.js JavaScript code describing a browser interaction with the Puppeteer/Playwright framework or a
|
|
220
|
+
* reference to an external JavaScript file.
|
|
221
|
+
*/
|
|
200
222
|
script?: pulumi.Input<string>;
|
|
201
223
|
/**
|
|
202
224
|
* An ID reference to a snippet to use in the setup phase of an API check.
|
|
203
225
|
*/
|
|
204
226
|
setupSnippetId?: pulumi.Input<number>;
|
|
205
227
|
/**
|
|
206
|
-
* Allows to invert the behaviour of when a check is considered to fail. Allows for validating error status like 404.
|
|
228
|
+
* Allows to invert the behaviour of when a check is considered to fail. Allows for validating error status like 404.
|
|
207
229
|
*/
|
|
208
230
|
shouldFail?: pulumi.Input<boolean>;
|
|
209
231
|
/**
|
|
210
|
-
* Determines if the SSL certificate should be validated for expiry.
|
|
232
|
+
* Determines if the SSL certificate should be validated for expiry.
|
|
233
|
+
*
|
|
234
|
+
* @deprecated The property `ssl_check` is deprecated and it's ignored by the Checkly Public API. It will be removed in a future version.
|
|
211
235
|
*/
|
|
212
236
|
sslCheck?: pulumi.Input<boolean>;
|
|
237
|
+
/**
|
|
238
|
+
* A list of tags for organizing and filtering checks.
|
|
239
|
+
*/
|
|
213
240
|
tags?: pulumi.Input<pulumi.Input<string>[]>;
|
|
214
241
|
/**
|
|
215
242
|
* An ID reference to a snippet to use in the teardown phase of an API check.
|
|
@@ -220,7 +247,7 @@ export interface CheckState {
|
|
|
220
247
|
*/
|
|
221
248
|
type?: pulumi.Input<string>;
|
|
222
249
|
/**
|
|
223
|
-
* When true, the account level alert
|
|
250
|
+
* When true, the account level alert settings will be used, not the alert setting defined on this check.
|
|
224
251
|
*/
|
|
225
252
|
useGlobalAlertSettings?: pulumi.Input<boolean>;
|
|
226
253
|
}
|
|
@@ -233,20 +260,20 @@ export interface CheckArgs {
|
|
|
233
260
|
*/
|
|
234
261
|
activated: pulumi.Input<boolean>;
|
|
235
262
|
alertChannelSubscriptions?: pulumi.Input<pulumi.Input<inputs.CheckAlertChannelSubscription>[]>;
|
|
236
|
-
/**
|
|
237
|
-
* . Supported values documented below.
|
|
238
|
-
*/
|
|
239
263
|
alertSettings?: pulumi.Input<inputs.CheckAlertSettings>;
|
|
240
264
|
/**
|
|
241
|
-
* The response time in milliseconds
|
|
265
|
+
* The response time in milliseconds starting from which a check should be considered degraded. Possible values are between
|
|
266
|
+
* 0 and 30000. (Default `15000`).
|
|
242
267
|
*/
|
|
243
268
|
degradedResponseTime?: pulumi.Input<number>;
|
|
244
269
|
/**
|
|
245
|
-
* Setting this to
|
|
270
|
+
* Setting this to `true` will trigger a retry when a check fails from the failing region and another, randomly selected
|
|
271
|
+
* region before marking the check as failed.
|
|
246
272
|
*/
|
|
247
273
|
doubleCheck?: pulumi.Input<boolean>;
|
|
248
274
|
/**
|
|
249
|
-
* Key/value pairs for setting environment variables during check execution. These are only relevant for
|
|
275
|
+
* Key/value pairs for setting environment variables during check execution. These are only relevant for browser checks.
|
|
276
|
+
* Use global environment variables whenever possible.
|
|
250
277
|
*/
|
|
251
278
|
environmentVariables?: pulumi.Input<{
|
|
252
279
|
[key: string]: any;
|
|
@@ -256,15 +283,17 @@ export interface CheckArgs {
|
|
|
256
283
|
*/
|
|
257
284
|
frequency: pulumi.Input<number>;
|
|
258
285
|
/**
|
|
259
|
-
* This property only valid for API high frequency checks. To create a hight frequency check, the property `frequency` must
|
|
286
|
+
* This property only valid for API high frequency checks. To create a hight frequency check, the property `frequency` must
|
|
287
|
+
* be `0` and `frequency_offset` could be `10`, `20` or `30`.
|
|
260
288
|
*/
|
|
261
289
|
frequencyOffset?: pulumi.Input<number>;
|
|
262
290
|
/**
|
|
263
|
-
*
|
|
291
|
+
* The id of the check group this check is part of.
|
|
264
292
|
*/
|
|
265
293
|
groupId?: pulumi.Input<number>;
|
|
266
294
|
/**
|
|
267
|
-
* The position of this check in a check group. It determines in what order checks are run when a group is triggered from
|
|
295
|
+
* The position of this check in a check group. It determines in what order checks are run when a group is triggered from
|
|
296
|
+
* the API or from CI/CD.
|
|
268
297
|
*/
|
|
269
298
|
groupOrder?: pulumi.Input<number>;
|
|
270
299
|
/**
|
|
@@ -276,15 +305,16 @@ export interface CheckArgs {
|
|
|
276
305
|
*/
|
|
277
306
|
localTeardownScript?: pulumi.Input<string>;
|
|
278
307
|
/**
|
|
279
|
-
* An array of one or more data center locations where to run the this check.
|
|
308
|
+
* An array of one or more data center locations where to run the this check. (Default ["us-east-1"])
|
|
280
309
|
*/
|
|
281
310
|
locations?: pulumi.Input<pulumi.Input<string>[]>;
|
|
282
311
|
/**
|
|
283
|
-
* The response time in milliseconds
|
|
312
|
+
* The response time in milliseconds starting from which a check should be considered failing. Possible values are between
|
|
313
|
+
* 0 and 30000. (Default `30000`).
|
|
284
314
|
*/
|
|
285
315
|
maxResponseTime?: pulumi.Input<number>;
|
|
286
316
|
/**
|
|
287
|
-
* Determines if any notifications will be sent out when a check fails
|
|
317
|
+
* Determines if any notifications will be sent out when a check fails/degrades/recovers.
|
|
288
318
|
*/
|
|
289
319
|
muted?: pulumi.Input<boolean>;
|
|
290
320
|
/**
|
|
@@ -292,26 +322,35 @@ export interface CheckArgs {
|
|
|
292
322
|
*/
|
|
293
323
|
name?: pulumi.Input<string>;
|
|
294
324
|
/**
|
|
295
|
-
*
|
|
325
|
+
* An API check might have one request config.
|
|
296
326
|
*/
|
|
297
327
|
request?: pulumi.Input<inputs.CheckRequest>;
|
|
298
328
|
/**
|
|
299
|
-
*
|
|
329
|
+
* The id of the runtime to use for this check.
|
|
300
330
|
*/
|
|
301
331
|
runtimeId?: pulumi.Input<string>;
|
|
332
|
+
/**
|
|
333
|
+
* A valid piece of Node.js JavaScript code describing a browser interaction with the Puppeteer/Playwright framework or a
|
|
334
|
+
* reference to an external JavaScript file.
|
|
335
|
+
*/
|
|
302
336
|
script?: pulumi.Input<string>;
|
|
303
337
|
/**
|
|
304
338
|
* An ID reference to a snippet to use in the setup phase of an API check.
|
|
305
339
|
*/
|
|
306
340
|
setupSnippetId?: pulumi.Input<number>;
|
|
307
341
|
/**
|
|
308
|
-
* Allows to invert the behaviour of when a check is considered to fail. Allows for validating error status like 404.
|
|
342
|
+
* Allows to invert the behaviour of when a check is considered to fail. Allows for validating error status like 404.
|
|
309
343
|
*/
|
|
310
344
|
shouldFail?: pulumi.Input<boolean>;
|
|
311
345
|
/**
|
|
312
|
-
* Determines if the SSL certificate should be validated for expiry.
|
|
346
|
+
* Determines if the SSL certificate should be validated for expiry.
|
|
347
|
+
*
|
|
348
|
+
* @deprecated The property `ssl_check` is deprecated and it's ignored by the Checkly Public API. It will be removed in a future version.
|
|
313
349
|
*/
|
|
314
350
|
sslCheck?: pulumi.Input<boolean>;
|
|
351
|
+
/**
|
|
352
|
+
* A list of tags for organizing and filtering checks.
|
|
353
|
+
*/
|
|
315
354
|
tags?: pulumi.Input<pulumi.Input<string>[]>;
|
|
316
355
|
/**
|
|
317
356
|
* An ID reference to a snippet to use in the teardown phase of an API check.
|
|
@@ -322,7 +361,7 @@ export interface CheckArgs {
|
|
|
322
361
|
*/
|
|
323
362
|
type: pulumi.Input<string>;
|
|
324
363
|
/**
|
|
325
|
-
* When true, the account level alert
|
|
364
|
+
* When true, the account level alert settings will be used, not the alert setting defined on this check.
|
|
326
365
|
*/
|
|
327
366
|
useGlobalAlertSettings?: pulumi.Input<boolean>;
|
|
328
367
|
}
|
package/bin/check.js
CHANGED
|
@@ -5,6 +5,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
5
5
|
exports.Check = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Checks allows you to monitor key webapp flows, backend API's and set up alerting, so you get a notification when things break or slow down.
|
|
10
|
+
*/
|
|
8
11
|
class Check extends pulumi.CustomResource {
|
|
9
12
|
constructor(name, argsOrState, opts) {
|
|
10
13
|
let resourceInputs = {};
|
package/bin/check.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"check.js","sourceRoot":"","sources":["../check.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC,MAAa,KAAM,SAAQ,MAAM,CAAC,cAAc;
|
|
1
|
+
{"version":3,"file":"check.js","sourceRoot":"","sources":["../check.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;GAEG;AACH,MAAa,KAAM,SAAQ,MAAM,CAAC,cAAc;IAgJ5C,YAAY,IAAY,EAAE,WAAoC,EAAE,IAAmC;QAC/F,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAqC,CAAC;YACpD,cAAc,CAAC,WAAW,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,2BAA2B,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,yBAAyB,CAAC,CAAC,CAAC,SAAS,CAAC;YAClG,cAAc,CAAC,eAAe,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1E,cAAc,CAAC,sBAAsB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,oBAAoB,CAAC,CAAC,CAAC,SAAS,CAAC;YACxF,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACt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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,KAAK,CAAC,YAAY,CAAC;IACtD,CAAC;;AA1BL,sBAwNC;AA1MG,gBAAgB;AACO,kBAAY,GAAG,2BAA2B,CAAC"}
|
package/bin/checkGroup.d.ts
CHANGED
|
@@ -1,5 +1,93 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
import { input as inputs, output as outputs } from "./types";
|
|
3
|
+
/**
|
|
4
|
+
* Check groups allow you to group together a set of related checks, which can also share default settings for various attributes.
|
|
5
|
+
*
|
|
6
|
+
* ## Example Usage
|
|
7
|
+
*
|
|
8
|
+
* ```typescript
|
|
9
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
10
|
+
* import * as pulumi from "@checkly/pulumi";
|
|
11
|
+
*
|
|
12
|
+
* const test_group1CheckGroup = new checkly.CheckGroup("test-group1CheckGroup", {
|
|
13
|
+
* activated: true,
|
|
14
|
+
* muted: false,
|
|
15
|
+
* tags: ["auto"],
|
|
16
|
+
* locations: ["eu-west-1"],
|
|
17
|
+
* concurrency: 3,
|
|
18
|
+
* apiCheckDefaults: {
|
|
19
|
+
* url: "http://example.com/",
|
|
20
|
+
* headers: {
|
|
21
|
+
* "X-Test": "foo",
|
|
22
|
+
* },
|
|
23
|
+
* queryParameters: {
|
|
24
|
+
* query: "foo",
|
|
25
|
+
* },
|
|
26
|
+
* assertions: [
|
|
27
|
+
* {
|
|
28
|
+
* source: "STATUS_CODE",
|
|
29
|
+
* property: "",
|
|
30
|
+
* comparison: "EQUALS",
|
|
31
|
+
* target: "200",
|
|
32
|
+
* },
|
|
33
|
+
* {
|
|
34
|
+
* source: "TEXT_BODY",
|
|
35
|
+
* property: "",
|
|
36
|
+
* comparison: "CONTAINS",
|
|
37
|
+
* target: "welcome",
|
|
38
|
+
* },
|
|
39
|
+
* ],
|
|
40
|
+
* basicAuth: {
|
|
41
|
+
* username: "user",
|
|
42
|
+
* password: "pass",
|
|
43
|
+
* },
|
|
44
|
+
* },
|
|
45
|
+
* environmentVariables: {
|
|
46
|
+
* ENVTEST: "Hello world",
|
|
47
|
+
* },
|
|
48
|
+
* doubleCheck: true,
|
|
49
|
+
* useGlobalAlertSettings: false,
|
|
50
|
+
* alertSettings: {
|
|
51
|
+
* escalationType: "RUN_BASED",
|
|
52
|
+
* runBasedEscalations: [{
|
|
53
|
+
* failedRunThreshold: 1,
|
|
54
|
+
* }],
|
|
55
|
+
* timeBasedEscalations: [{
|
|
56
|
+
* minutesFailingThreshold: 5,
|
|
57
|
+
* }],
|
|
58
|
+
* reminders: [{
|
|
59
|
+
* amount: 2,
|
|
60
|
+
* interval: 5,
|
|
61
|
+
* }],
|
|
62
|
+
* },
|
|
63
|
+
* localSetupScript: "setup-test",
|
|
64
|
+
* localTeardownScript: "teardown-test",
|
|
65
|
+
* });
|
|
66
|
+
* // Add a check to a group
|
|
67
|
+
* const test_check1 = new checkly.Check("test-check1", {
|
|
68
|
+
* groupId: test_group1CheckGroup.id,
|
|
69
|
+
* groupOrder: 1,
|
|
70
|
+
* });
|
|
71
|
+
* // Using with alert channels
|
|
72
|
+
* const emailAc1 = new checkly.AlertChannel("emailAc1", {email: {
|
|
73
|
+
* address: "info@example.com",
|
|
74
|
+
* }});
|
|
75
|
+
* const emailAc2 = new checkly.AlertChannel("emailAc2", {email: {
|
|
76
|
+
* address: "info2@example.com",
|
|
77
|
+
* }});
|
|
78
|
+
* // Connect the check group to the alert channels
|
|
79
|
+
* const test_group1Index_checkGroupCheckGroup = new checkly.CheckGroup("test-group1Index/checkGroupCheckGroup", {alertChannelSubscriptions: [
|
|
80
|
+
* {
|
|
81
|
+
* channelId: emailAc1.id,
|
|
82
|
+
* activated: true,
|
|
83
|
+
* },
|
|
84
|
+
* {
|
|
85
|
+
* channelId: emailAc2.id,
|
|
86
|
+
* activated: true,
|
|
87
|
+
* },
|
|
88
|
+
* ]});
|
|
89
|
+
* ```
|
|
90
|
+
*/
|
|
3
91
|
export declare class CheckGroup extends pulumi.CustomResource {
|
|
4
92
|
/**
|
|
5
93
|
* Get an existing CheckGroup resource's state with the given name, ID, and optional extra
|
|
@@ -21,24 +109,20 @@ export declare class CheckGroup extends pulumi.CustomResource {
|
|
|
21
109
|
*/
|
|
22
110
|
readonly activated: pulumi.Output<boolean>;
|
|
23
111
|
readonly alertChannelSubscriptions: pulumi.Output<outputs.CheckGroupAlertChannelSubscription[] | undefined>;
|
|
24
|
-
/**
|
|
25
|
-
* . Supported values documented below.
|
|
26
|
-
*/
|
|
27
112
|
readonly alertSettings: pulumi.Output<outputs.CheckGroupAlertSettings>;
|
|
28
|
-
/**
|
|
29
|
-
* Default configs to use for all api checks belonging to this group. Supported values documented below.
|
|
30
|
-
*/
|
|
31
113
|
readonly apiCheckDefaults: pulumi.Output<outputs.CheckGroupApiCheckDefaults>;
|
|
32
114
|
/**
|
|
33
|
-
* Determines how many checks are
|
|
115
|
+
* Determines how many checks are run concurrently when triggering a check group from CI/CD or through the API.
|
|
34
116
|
*/
|
|
35
117
|
readonly concurrency: pulumi.Output<number>;
|
|
36
118
|
/**
|
|
37
|
-
* Setting this to
|
|
119
|
+
* Setting this to `true` will trigger a retry when a check fails from the failing region and another, randomly selected
|
|
120
|
+
* region before marking the check as failed.
|
|
38
121
|
*/
|
|
39
122
|
readonly doubleCheck: pulumi.Output<boolean | undefined>;
|
|
40
123
|
/**
|
|
41
|
-
* Key/value pairs for setting environment variables during check execution. These are only relevant for
|
|
124
|
+
* Key/value pairs for setting environment variables during check execution. These are only relevant for browser checks.
|
|
125
|
+
* Use global environment variables whenever possible.
|
|
42
126
|
*/
|
|
43
127
|
readonly environmentVariables: pulumi.Output<{
|
|
44
128
|
[key: string]: any;
|
|
@@ -56,7 +140,7 @@ export declare class CheckGroup extends pulumi.CustomResource {
|
|
|
56
140
|
*/
|
|
57
141
|
readonly locations: pulumi.Output<string[]>;
|
|
58
142
|
/**
|
|
59
|
-
* Determines if any notifications will be
|
|
143
|
+
* Determines if any notifications will be sent out when a check in this group fails and/or recovers.
|
|
60
144
|
*/
|
|
61
145
|
readonly muted: pulumi.Output<boolean | undefined>;
|
|
62
146
|
/**
|
|
@@ -64,7 +148,7 @@ export declare class CheckGroup extends pulumi.CustomResource {
|
|
|
64
148
|
*/
|
|
65
149
|
readonly name: pulumi.Output<string>;
|
|
66
150
|
/**
|
|
67
|
-
*
|
|
151
|
+
* The id of the runtime to use for this group.
|
|
68
152
|
*/
|
|
69
153
|
readonly runtimeId: pulumi.Output<string | undefined>;
|
|
70
154
|
/**
|
|
@@ -80,7 +164,7 @@ export declare class CheckGroup extends pulumi.CustomResource {
|
|
|
80
164
|
*/
|
|
81
165
|
readonly teardownSnippetId: pulumi.Output<number | undefined>;
|
|
82
166
|
/**
|
|
83
|
-
* When true, the account level alert
|
|
167
|
+
* When true, the account level alert settings will be used, not the alert setting defined on this check group.
|
|
84
168
|
*/
|
|
85
169
|
readonly useGlobalAlertSettings: pulumi.Output<boolean | undefined>;
|
|
86
170
|
/**
|
|
@@ -101,24 +185,20 @@ export interface CheckGroupState {
|
|
|
101
185
|
*/
|
|
102
186
|
activated?: pulumi.Input<boolean>;
|
|
103
187
|
alertChannelSubscriptions?: pulumi.Input<pulumi.Input<inputs.CheckGroupAlertChannelSubscription>[]>;
|
|
104
|
-
/**
|
|
105
|
-
* . Supported values documented below.
|
|
106
|
-
*/
|
|
107
188
|
alertSettings?: pulumi.Input<inputs.CheckGroupAlertSettings>;
|
|
108
|
-
/**
|
|
109
|
-
* Default configs to use for all api checks belonging to this group. Supported values documented below.
|
|
110
|
-
*/
|
|
111
189
|
apiCheckDefaults?: pulumi.Input<inputs.CheckGroupApiCheckDefaults>;
|
|
112
190
|
/**
|
|
113
|
-
* Determines how many checks are
|
|
191
|
+
* Determines how many checks are run concurrently when triggering a check group from CI/CD or through the API.
|
|
114
192
|
*/
|
|
115
193
|
concurrency?: pulumi.Input<number>;
|
|
116
194
|
/**
|
|
117
|
-
* Setting this to
|
|
195
|
+
* Setting this to `true` will trigger a retry when a check fails from the failing region and another, randomly selected
|
|
196
|
+
* region before marking the check as failed.
|
|
118
197
|
*/
|
|
119
198
|
doubleCheck?: pulumi.Input<boolean>;
|
|
120
199
|
/**
|
|
121
|
-
* Key/value pairs for setting environment variables during check execution. These are only relevant for
|
|
200
|
+
* Key/value pairs for setting environment variables during check execution. These are only relevant for browser checks.
|
|
201
|
+
* Use global environment variables whenever possible.
|
|
122
202
|
*/
|
|
123
203
|
environmentVariables?: pulumi.Input<{
|
|
124
204
|
[key: string]: any;
|
|
@@ -136,7 +216,7 @@ export interface CheckGroupState {
|
|
|
136
216
|
*/
|
|
137
217
|
locations?: pulumi.Input<pulumi.Input<string>[]>;
|
|
138
218
|
/**
|
|
139
|
-
* Determines if any notifications will be
|
|
219
|
+
* Determines if any notifications will be sent out when a check in this group fails and/or recovers.
|
|
140
220
|
*/
|
|
141
221
|
muted?: pulumi.Input<boolean>;
|
|
142
222
|
/**
|
|
@@ -144,7 +224,7 @@ export interface CheckGroupState {
|
|
|
144
224
|
*/
|
|
145
225
|
name?: pulumi.Input<string>;
|
|
146
226
|
/**
|
|
147
|
-
*
|
|
227
|
+
* The id of the runtime to use for this group.
|
|
148
228
|
*/
|
|
149
229
|
runtimeId?: pulumi.Input<string>;
|
|
150
230
|
/**
|
|
@@ -160,7 +240,7 @@ export interface CheckGroupState {
|
|
|
160
240
|
*/
|
|
161
241
|
teardownSnippetId?: pulumi.Input<number>;
|
|
162
242
|
/**
|
|
163
|
-
* When true, the account level alert
|
|
243
|
+
* When true, the account level alert settings will be used, not the alert setting defined on this check group.
|
|
164
244
|
*/
|
|
165
245
|
useGlobalAlertSettings?: pulumi.Input<boolean>;
|
|
166
246
|
}
|
|
@@ -173,24 +253,20 @@ export interface CheckGroupArgs {
|
|
|
173
253
|
*/
|
|
174
254
|
activated: pulumi.Input<boolean>;
|
|
175
255
|
alertChannelSubscriptions?: pulumi.Input<pulumi.Input<inputs.CheckGroupAlertChannelSubscription>[]>;
|
|
176
|
-
/**
|
|
177
|
-
* . Supported values documented below.
|
|
178
|
-
*/
|
|
179
256
|
alertSettings?: pulumi.Input<inputs.CheckGroupAlertSettings>;
|
|
180
|
-
/**
|
|
181
|
-
* Default configs to use for all api checks belonging to this group. Supported values documented below.
|
|
182
|
-
*/
|
|
183
257
|
apiCheckDefaults?: pulumi.Input<inputs.CheckGroupApiCheckDefaults>;
|
|
184
258
|
/**
|
|
185
|
-
* Determines how many checks are
|
|
259
|
+
* Determines how many checks are run concurrently when triggering a check group from CI/CD or through the API.
|
|
186
260
|
*/
|
|
187
261
|
concurrency: pulumi.Input<number>;
|
|
188
262
|
/**
|
|
189
|
-
* Setting this to
|
|
263
|
+
* Setting this to `true` will trigger a retry when a check fails from the failing region and another, randomly selected
|
|
264
|
+
* region before marking the check as failed.
|
|
190
265
|
*/
|
|
191
266
|
doubleCheck?: pulumi.Input<boolean>;
|
|
192
267
|
/**
|
|
193
|
-
* Key/value pairs for setting environment variables during check execution. These are only relevant for
|
|
268
|
+
* Key/value pairs for setting environment variables during check execution. These are only relevant for browser checks.
|
|
269
|
+
* Use global environment variables whenever possible.
|
|
194
270
|
*/
|
|
195
271
|
environmentVariables?: pulumi.Input<{
|
|
196
272
|
[key: string]: any;
|
|
@@ -208,7 +284,7 @@ export interface CheckGroupArgs {
|
|
|
208
284
|
*/
|
|
209
285
|
locations: pulumi.Input<pulumi.Input<string>[]>;
|
|
210
286
|
/**
|
|
211
|
-
* Determines if any notifications will be
|
|
287
|
+
* Determines if any notifications will be sent out when a check in this group fails and/or recovers.
|
|
212
288
|
*/
|
|
213
289
|
muted?: pulumi.Input<boolean>;
|
|
214
290
|
/**
|
|
@@ -216,7 +292,7 @@ export interface CheckGroupArgs {
|
|
|
216
292
|
*/
|
|
217
293
|
name?: pulumi.Input<string>;
|
|
218
294
|
/**
|
|
219
|
-
*
|
|
295
|
+
* The id of the runtime to use for this group.
|
|
220
296
|
*/
|
|
221
297
|
runtimeId?: pulumi.Input<string>;
|
|
222
298
|
/**
|
|
@@ -232,7 +308,7 @@ export interface CheckGroupArgs {
|
|
|
232
308
|
*/
|
|
233
309
|
teardownSnippetId?: pulumi.Input<number>;
|
|
234
310
|
/**
|
|
235
|
-
* When true, the account level alert
|
|
311
|
+
* When true, the account level alert settings will be used, not the alert setting defined on this check group.
|
|
236
312
|
*/
|
|
237
313
|
useGlobalAlertSettings?: pulumi.Input<boolean>;
|
|
238
314
|
}
|