@checkly/pulumi 1.1.2 → 2.0.0-alpha.1738251430
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/LICENSE +202 -21
- package/README.md +39 -137
- package/alertChannel.d.ts +44 -20
- package/alertChannel.js +63 -41
- package/alertChannel.js.map +1 -1
- package/check.d.ts +104 -58
- package/check.js +30 -22
- package/check.js.map +1 -1
- package/checkGroup.d.ts +59 -101
- package/checkGroup.js +30 -109
- package/checkGroup.js.map +1 -1
- package/dashboard.d.ts +90 -10
- package/dashboard.js +45 -29
- package/dashboard.js.map +1 -1
- package/environmentVariable.d.ts +7 -4
- package/environmentVariable.js +28 -26
- package/environmentVariable.js.map +1 -1
- package/getStaticIps.d.ts +50 -0
- package/getStaticIps.js +26 -0
- package/getStaticIps.js.map +1 -0
- package/heartbeatCheck.d.ts +129 -0
- package/heartbeatCheck.js +91 -0
- package/heartbeatCheck.js.map +1 -0
- package/index.d.ts +39 -11
- package/index.js +42 -50
- package/index.js.map +1 -1
- package/maintenanceWindow.d.ts +4 -3
- package/maintenanceWindow.js +26 -25
- package/maintenanceWindow.js.map +1 -1
- package/package.json +7 -7
- package/privateLocation.d.ts +2 -3
- package/privateLocation.js +26 -25
- package/privateLocation.js.map +1 -1
- package/provider.js +10 -10
- package/provider.js.map +1 -1
- package/snippet.d.ts +20 -0
- package/snippet.js +39 -19
- package/snippet.js.map +1 -1
- package/triggerCheck.d.ts +3 -3
- package/triggerCheck.js +24 -24
- package/triggerCheck.js.map +1 -1
- package/triggerCheckGroup.d.ts +3 -3
- package/triggerCheckGroup.js +24 -24
- package/triggerCheckGroup.js.map +1 -1
- package/types/index.js.map +1 -1
- package/types/input.d.ts +277 -9
- package/types/input.js.map +1 -1
- package/types/output.d.ts +283 -15
- package/types/output.js.map +1 -1
- package/utilities.d.ts +4 -0
- package/utilities.js +46 -2
- package/utilities.js.map +1 -1
- package/package.json.bak +0 -29
- package/scripts/install-pulumi-plugin.js +0 -26
package/alertChannel.js
CHANGED
|
@@ -12,10 +12,10 @@ const utilities = require("./utilities");
|
|
|
12
12
|
*
|
|
13
13
|
* ```typescript
|
|
14
14
|
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
-
* import * as
|
|
15
|
+
* import * as checkly from "@checkly/pulumi";
|
|
16
16
|
*
|
|
17
17
|
* // An Email alert channel
|
|
18
|
-
* const emailAc = new checkly.AlertChannel("
|
|
18
|
+
* const emailAc = new checkly.AlertChannel("email_ac", {
|
|
19
19
|
* email: {
|
|
20
20
|
* address: "john@example.com",
|
|
21
21
|
* },
|
|
@@ -26,7 +26,7 @@ const utilities = require("./utilities");
|
|
|
26
26
|
* sslExpiryThreshold: 22,
|
|
27
27
|
* });
|
|
28
28
|
* // A SMS alert channel
|
|
29
|
-
* const smsAc = new checkly.AlertChannel("
|
|
29
|
+
* const smsAc = new checkly.AlertChannel("sms_ac", {
|
|
30
30
|
* sms: {
|
|
31
31
|
* name: "john",
|
|
32
32
|
* number: "+5491100001111",
|
|
@@ -35,50 +35,93 @@ const utilities = require("./utilities");
|
|
|
35
35
|
* sendFailure: true,
|
|
36
36
|
* });
|
|
37
37
|
* // A Slack alert channel
|
|
38
|
-
* const slackAc = new checkly.AlertChannel("
|
|
38
|
+
* const slackAc = new checkly.AlertChannel("slack_ac", {slack: {
|
|
39
39
|
* channel: "#checkly-notifications",
|
|
40
40
|
* url: "https://hooks.slack.com/services/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",
|
|
41
41
|
* }});
|
|
42
42
|
* // An Opsgenie alert channel
|
|
43
|
-
* const opsgenieAc = new checkly.AlertChannel("
|
|
43
|
+
* const opsgenieAc = new checkly.AlertChannel("opsgenie_ac", {opsgenie: {
|
|
44
44
|
* name: "opsalerts",
|
|
45
45
|
* apiKey: "fookey",
|
|
46
46
|
* region: "fooregion",
|
|
47
47
|
* priority: "foopriority",
|
|
48
48
|
* }});
|
|
49
|
-
* //
|
|
50
|
-
* const pagerdutyAc = new checkly.AlertChannel("
|
|
49
|
+
* // A Pagerduty alert channel
|
|
50
|
+
* const pagerdutyAc = new checkly.AlertChannel("pagerduty_ac", {pagerduty: {
|
|
51
51
|
* account: "checkly",
|
|
52
52
|
* serviceKey: "key1",
|
|
53
53
|
* serviceName: "pdalert",
|
|
54
54
|
* }});
|
|
55
|
-
* //
|
|
56
|
-
* const webhookAc = new checkly.AlertChannel("
|
|
55
|
+
* // A Webhook alert channel
|
|
56
|
+
* const webhookAc = new checkly.AlertChannel("webhook_ac", {webhook: {
|
|
57
57
|
* name: "foo",
|
|
58
58
|
* method: "get",
|
|
59
59
|
* template: "footemplate",
|
|
60
60
|
* url: "https://example.com/foo",
|
|
61
61
|
* webhookSecret: "foosecret",
|
|
62
62
|
* }});
|
|
63
|
+
* // A Firehydran alert channel integration
|
|
64
|
+
* const firehydrantAc = new checkly.AlertChannel("firehydrant_ac", {webhook: {
|
|
65
|
+
* name: "firehydrant",
|
|
66
|
+
* method: "post",
|
|
67
|
+
* template: `{
|
|
68
|
+
* "event": "{{ALERT_TITLE}}",
|
|
69
|
+
* "link": "{{RESULT_LINK}}",
|
|
70
|
+
* "check_id": "{{CHECK_ID}}",
|
|
71
|
+
* "check_type": "{{CHECK_TYPE}}",
|
|
72
|
+
* "alert_type": "{{ALERT_TYPE}}",
|
|
73
|
+
* "started_at": "{{STARTED_AT}}",
|
|
74
|
+
* "check_result_id": "{{CHECK_RESULT_ID}}"
|
|
75
|
+
* },
|
|
76
|
+
* `,
|
|
77
|
+
* url: "https://app.firehydrant.io/integrations/alerting/webhooks/2/checkly",
|
|
78
|
+
* webhookType: "WEBHOOK_FIREHYDRANT",
|
|
79
|
+
* }});
|
|
63
80
|
* // Connecting the alert channel to a check
|
|
64
|
-
* const
|
|
65
|
-
*
|
|
66
|
-
*
|
|
67
|
-
*
|
|
68
|
-
*
|
|
69
|
-
*
|
|
70
|
-
*
|
|
71
|
-
*
|
|
72
|
-
*
|
|
73
|
-
*
|
|
81
|
+
* const exampleCheck = new checkly.Check("example_check", {
|
|
82
|
+
* name: "Example check",
|
|
83
|
+
* alertChannelSubscriptions: [
|
|
84
|
+
* {
|
|
85
|
+
* channelId: emailAc.id,
|
|
86
|
+
* activated: true,
|
|
87
|
+
* },
|
|
88
|
+
* {
|
|
89
|
+
* channelId: smsAc.id,
|
|
90
|
+
* activated: true,
|
|
91
|
+
* },
|
|
92
|
+
* ],
|
|
93
|
+
* });
|
|
74
94
|
* ```
|
|
75
95
|
*/
|
|
76
96
|
class AlertChannel extends pulumi.CustomResource {
|
|
97
|
+
/**
|
|
98
|
+
* Get an existing AlertChannel resource's state with the given name, ID, and optional extra
|
|
99
|
+
* properties used to qualify the lookup.
|
|
100
|
+
*
|
|
101
|
+
* @param name The _unique_ name of the resulting resource.
|
|
102
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
103
|
+
* @param state Any extra arguments used during the lookup.
|
|
104
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
105
|
+
*/
|
|
106
|
+
static get(name, id, state, opts) {
|
|
107
|
+
return new AlertChannel(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
108
|
+
}
|
|
109
|
+
/**
|
|
110
|
+
* Returns true if the given object is an instance of AlertChannel. This is designed to work even
|
|
111
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
112
|
+
*/
|
|
113
|
+
static isInstance(obj) {
|
|
114
|
+
if (obj === undefined || obj === null) {
|
|
115
|
+
return false;
|
|
116
|
+
}
|
|
117
|
+
return obj['__pulumiType'] === AlertChannel.__pulumiType;
|
|
118
|
+
}
|
|
77
119
|
constructor(name, argsOrState, opts) {
|
|
78
120
|
let resourceInputs = {};
|
|
79
121
|
opts = opts || {};
|
|
80
122
|
if (opts.id) {
|
|
81
123
|
const state = argsOrState;
|
|
124
|
+
resourceInputs["call"] = state ? state.call : undefined;
|
|
82
125
|
resourceInputs["email"] = state ? state.email : undefined;
|
|
83
126
|
resourceInputs["opsgenie"] = state ? state.opsgenie : undefined;
|
|
84
127
|
resourceInputs["pagerduty"] = state ? state.pagerduty : undefined;
|
|
@@ -93,6 +136,7 @@ class AlertChannel extends pulumi.CustomResource {
|
|
|
93
136
|
}
|
|
94
137
|
else {
|
|
95
138
|
const args = argsOrState;
|
|
139
|
+
resourceInputs["call"] = args ? args.call : undefined;
|
|
96
140
|
resourceInputs["email"] = args ? args.email : undefined;
|
|
97
141
|
resourceInputs["opsgenie"] = args ? args.opsgenie : undefined;
|
|
98
142
|
resourceInputs["pagerduty"] = args ? args.pagerduty : undefined;
|
|
@@ -108,28 +152,6 @@ class AlertChannel extends pulumi.CustomResource {
|
|
|
108
152
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
109
153
|
super(AlertChannel.__pulumiType, name, resourceInputs, opts);
|
|
110
154
|
}
|
|
111
|
-
/**
|
|
112
|
-
* Get an existing AlertChannel resource's state with the given name, ID, and optional extra
|
|
113
|
-
* properties used to qualify the lookup.
|
|
114
|
-
*
|
|
115
|
-
* @param name The _unique_ name of the resulting resource.
|
|
116
|
-
* @param id The _unique_ provider ID of the resource to lookup.
|
|
117
|
-
* @param state Any extra arguments used during the lookup.
|
|
118
|
-
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
119
|
-
*/
|
|
120
|
-
static get(name, id, state, opts) {
|
|
121
|
-
return new AlertChannel(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
122
|
-
}
|
|
123
|
-
/**
|
|
124
|
-
* Returns true if the given object is an instance of AlertChannel. This is designed to work even
|
|
125
|
-
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
126
|
-
*/
|
|
127
|
-
static isInstance(obj) {
|
|
128
|
-
if (obj === undefined || obj === null) {
|
|
129
|
-
return false;
|
|
130
|
-
}
|
|
131
|
-
return obj['__pulumiType'] === AlertChannel.__pulumiType;
|
|
132
|
-
}
|
|
133
155
|
}
|
|
134
156
|
exports.AlertChannel = AlertChannel;
|
|
135
157
|
/** @internal */
|
package/alertChannel.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"alertChannel.js","sourceRoot":"","sources":["../alertChannel.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;
|
|
1
|
+
{"version":3,"file":"alertChannel.js","sourceRoot":"","sources":["../alertChannel.ts"],"names":[],"mappings":"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"}
|
package/check.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
-
import
|
|
2
|
+
import * as inputs from "./types/input";
|
|
3
|
+
import * as outputs from "./types/output";
|
|
3
4
|
/**
|
|
4
5
|
* 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
6
|
*/
|
|
@@ -23,33 +24,39 @@ export declare class Check extends pulumi.CustomResource {
|
|
|
23
24
|
* Determines if the check is running or not. Possible values `true`, and `false`.
|
|
24
25
|
*/
|
|
25
26
|
readonly activated: pulumi.Output<boolean>;
|
|
27
|
+
/**
|
|
28
|
+
* An array of channel IDs and whether they're activated or not. If you don't set at least one alert subscription for your check, we won't be able to alert you in case something goes wrong with it.
|
|
29
|
+
*/
|
|
26
30
|
readonly alertChannelSubscriptions: pulumi.Output<outputs.CheckAlertChannelSubscription[] | undefined>;
|
|
27
31
|
readonly alertSettings: pulumi.Output<outputs.CheckAlertSettings>;
|
|
28
32
|
/**
|
|
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`).
|
|
33
|
+
* The response time in milliseconds starting from which a check should be considered degraded. Possible values are between 0 and 30000. (Default `15000`).
|
|
31
34
|
*/
|
|
32
35
|
readonly degradedResponseTime: pulumi.Output<number | undefined>;
|
|
33
36
|
/**
|
|
34
|
-
* Setting this to `true` will trigger a retry when a check fails from the failing region and another, randomly selected
|
|
35
|
-
*
|
|
37
|
+
* Setting this to `true` will trigger a retry when a check fails from the failing region and another, randomly selected region before marking the check as failed.
|
|
38
|
+
*
|
|
39
|
+
* @deprecated The property `doubleCheck` is deprecated and will be removed in a future version. To enable retries for failed check runs, use the `retryStrategy` property instead.
|
|
36
40
|
*/
|
|
37
41
|
readonly doubleCheck: pulumi.Output<boolean | undefined>;
|
|
38
42
|
/**
|
|
39
|
-
* Key/value pairs for setting environment variables during check execution. These are only relevant for browser checks.
|
|
40
|
-
|
|
43
|
+
* Key/value pairs for setting environment variables during check execution, add locked = true to keep value hidden, add secret = true to create a secret variable. These are only relevant for browser checks. Use global environment variables whenever possible.
|
|
44
|
+
*/
|
|
45
|
+
readonly environmentVariable: pulumi.Output<outputs.CheckEnvironmentVariable[] | undefined>;
|
|
46
|
+
/**
|
|
47
|
+
* Key/value pairs for setting environment variables during check execution. These are only relevant for browser checks. Use global environment variables whenever possible.
|
|
48
|
+
*
|
|
49
|
+
* @deprecated The property `environmentVariables` is deprecated and will be removed in a future version. Consider using the new `environmentVariable` list.
|
|
41
50
|
*/
|
|
42
51
|
readonly environmentVariables: pulumi.Output<{
|
|
43
|
-
[key: string]:
|
|
52
|
+
[key: string]: string;
|
|
44
53
|
} | undefined>;
|
|
45
54
|
/**
|
|
46
|
-
* The frequency in minutes to run the check. Possible values are `0`, `1`, `2`, `5`, `10`, `15`, `30`, `60`, `120`, `180`,
|
|
47
|
-
* `360`, `720`, and `1440`.
|
|
55
|
+
* The frequency in minutes to run the check. Possible values are `0`, `1`, `2`, `5`, `10`, `15`, `30`, `60`, `120`, `180`, `360`, `720`, and `1440`.
|
|
48
56
|
*/
|
|
49
57
|
readonly frequency: pulumi.Output<number>;
|
|
50
58
|
/**
|
|
51
|
-
* This property only valid for API high frequency checks. To create a hight frequency check, the property `frequency` must
|
|
52
|
-
* be `0` and `frequency_offset` could be `10`, `20` or `30`.
|
|
59
|
+
* This property only valid for API high frequency checks. To create a hight frequency check, the property `frequency` must be `0` and `frequencyOffset` could be `10`, `20` or `30`.
|
|
53
60
|
*/
|
|
54
61
|
readonly frequencyOffset: pulumi.Output<number | undefined>;
|
|
55
62
|
/**
|
|
@@ -57,8 +64,7 @@ export declare class Check extends pulumi.CustomResource {
|
|
|
57
64
|
*/
|
|
58
65
|
readonly groupId: pulumi.Output<number | undefined>;
|
|
59
66
|
/**
|
|
60
|
-
* The position of this check in a check group. It determines in what order checks are run when a group is triggered from
|
|
61
|
-
* the API or from CI/CD.
|
|
67
|
+
* The position of this check in a check group. It determines in what order checks are run when a group is triggered from the API or from CI/CD.
|
|
62
68
|
*/
|
|
63
69
|
readonly groupOrder: pulumi.Output<number | undefined>;
|
|
64
70
|
/**
|
|
@@ -74,8 +80,7 @@ export declare class Check extends pulumi.CustomResource {
|
|
|
74
80
|
*/
|
|
75
81
|
readonly locations: pulumi.Output<string[] | undefined>;
|
|
76
82
|
/**
|
|
77
|
-
* The response time in milliseconds starting from which a check should be considered failing. Possible values are between
|
|
78
|
-
* 0 and 30000. (Default `30000`).
|
|
83
|
+
* The response time in milliseconds starting from which a check should be considered failing. Possible values are between 0 and 30000. (Default `30000`).
|
|
79
84
|
*/
|
|
80
85
|
readonly maxResponseTime: pulumi.Output<number | undefined>;
|
|
81
86
|
/**
|
|
@@ -94,13 +99,20 @@ export declare class Check extends pulumi.CustomResource {
|
|
|
94
99
|
* An API check might have one request config.
|
|
95
100
|
*/
|
|
96
101
|
readonly request: pulumi.Output<outputs.CheckRequest | undefined>;
|
|
102
|
+
/**
|
|
103
|
+
* A strategy for retrying failed check runs.
|
|
104
|
+
*/
|
|
105
|
+
readonly retryStrategy: pulumi.Output<outputs.CheckRetryStrategy>;
|
|
106
|
+
/**
|
|
107
|
+
* Determines if the check should run in all selected locations in parallel or round-robin.
|
|
108
|
+
*/
|
|
109
|
+
readonly runParallel: pulumi.Output<boolean | undefined>;
|
|
97
110
|
/**
|
|
98
111
|
* The id of the runtime to use for this check.
|
|
99
112
|
*/
|
|
100
113
|
readonly runtimeId: pulumi.Output<string | undefined>;
|
|
101
114
|
/**
|
|
102
|
-
* A valid piece of Node.js JavaScript code describing a browser interaction with the Puppeteer/Playwright framework or a
|
|
103
|
-
* reference to an external JavaScript file.
|
|
115
|
+
* A valid piece of Node.js JavaScript code describing a browser interaction with the Puppeteer/Playwright framework or a reference to an external JavaScript file.
|
|
104
116
|
*/
|
|
105
117
|
readonly script: pulumi.Output<string | undefined>;
|
|
106
118
|
/**
|
|
@@ -114,9 +126,13 @@ export declare class Check extends pulumi.CustomResource {
|
|
|
114
126
|
/**
|
|
115
127
|
* Determines if the SSL certificate should be validated for expiry.
|
|
116
128
|
*
|
|
117
|
-
* @deprecated The property `
|
|
129
|
+
* @deprecated The property `sslCheck` is deprecated and it's ignored by the Checkly Public API. It will be removed in a future version.
|
|
118
130
|
*/
|
|
119
131
|
readonly sslCheck: pulumi.Output<boolean | undefined>;
|
|
132
|
+
/**
|
|
133
|
+
* A valid fully qualified domain name (FQDN) to check its SSL certificate.
|
|
134
|
+
*/
|
|
135
|
+
readonly sslCheckDomain: pulumi.Output<string | undefined>;
|
|
120
136
|
/**
|
|
121
137
|
* A list of tags for organizing and filtering checks.
|
|
122
138
|
*/
|
|
@@ -126,7 +142,7 @@ export declare class Check extends pulumi.CustomResource {
|
|
|
126
142
|
*/
|
|
127
143
|
readonly teardownSnippetId: pulumi.Output<number | undefined>;
|
|
128
144
|
/**
|
|
129
|
-
* The type of the check. Possible values are `API`, and `
|
|
145
|
+
* The type of the check. Possible values are `API`, `BROWSER`, and `MULTI_STEP`.
|
|
130
146
|
*/
|
|
131
147
|
readonly type: pulumi.Output<string>;
|
|
132
148
|
/**
|
|
@@ -150,33 +166,39 @@ export interface CheckState {
|
|
|
150
166
|
* Determines if the check is running or not. Possible values `true`, and `false`.
|
|
151
167
|
*/
|
|
152
168
|
activated?: pulumi.Input<boolean>;
|
|
169
|
+
/**
|
|
170
|
+
* An array of channel IDs and whether they're activated or not. If you don't set at least one alert subscription for your check, we won't be able to alert you in case something goes wrong with it.
|
|
171
|
+
*/
|
|
153
172
|
alertChannelSubscriptions?: pulumi.Input<pulumi.Input<inputs.CheckAlertChannelSubscription>[]>;
|
|
154
173
|
alertSettings?: pulumi.Input<inputs.CheckAlertSettings>;
|
|
155
174
|
/**
|
|
156
|
-
* The response time in milliseconds starting from which a check should be considered degraded. Possible values are between
|
|
157
|
-
* 0 and 30000. (Default `15000`).
|
|
175
|
+
* The response time in milliseconds starting from which a check should be considered degraded. Possible values are between 0 and 30000. (Default `15000`).
|
|
158
176
|
*/
|
|
159
177
|
degradedResponseTime?: pulumi.Input<number>;
|
|
160
178
|
/**
|
|
161
|
-
* Setting this to `true` will trigger a retry when a check fails from the failing region and another, randomly selected
|
|
162
|
-
*
|
|
179
|
+
* Setting this to `true` will trigger a retry when a check fails from the failing region and another, randomly selected region before marking the check as failed.
|
|
180
|
+
*
|
|
181
|
+
* @deprecated The property `doubleCheck` is deprecated and will be removed in a future version. To enable retries for failed check runs, use the `retryStrategy` property instead.
|
|
163
182
|
*/
|
|
164
183
|
doubleCheck?: pulumi.Input<boolean>;
|
|
165
184
|
/**
|
|
166
|
-
* Key/value pairs for setting environment variables during check execution. These are only relevant for browser checks.
|
|
167
|
-
|
|
185
|
+
* Key/value pairs for setting environment variables during check execution, add locked = true to keep value hidden, add secret = true to create a secret variable. These are only relevant for browser checks. Use global environment variables whenever possible.
|
|
186
|
+
*/
|
|
187
|
+
environmentVariable?: pulumi.Input<pulumi.Input<inputs.CheckEnvironmentVariable>[]>;
|
|
188
|
+
/**
|
|
189
|
+
* Key/value pairs for setting environment variables during check execution. These are only relevant for browser checks. Use global environment variables whenever possible.
|
|
190
|
+
*
|
|
191
|
+
* @deprecated The property `environmentVariables` is deprecated and will be removed in a future version. Consider using the new `environmentVariable` list.
|
|
168
192
|
*/
|
|
169
193
|
environmentVariables?: pulumi.Input<{
|
|
170
|
-
[key: string]:
|
|
194
|
+
[key: string]: pulumi.Input<string>;
|
|
171
195
|
}>;
|
|
172
196
|
/**
|
|
173
|
-
* The frequency in minutes to run the check. Possible values are `0`, `1`, `2`, `5`, `10`, `15`, `30`, `60`, `120`, `180`,
|
|
174
|
-
* `360`, `720`, and `1440`.
|
|
197
|
+
* The frequency in minutes to run the check. Possible values are `0`, `1`, `2`, `5`, `10`, `15`, `30`, `60`, `120`, `180`, `360`, `720`, and `1440`.
|
|
175
198
|
*/
|
|
176
199
|
frequency?: pulumi.Input<number>;
|
|
177
200
|
/**
|
|
178
|
-
* This property only valid for API high frequency checks. To create a hight frequency check, the property `frequency` must
|
|
179
|
-
* be `0` and `frequency_offset` could be `10`, `20` or `30`.
|
|
201
|
+
* This property only valid for API high frequency checks. To create a hight frequency check, the property `frequency` must be `0` and `frequencyOffset` could be `10`, `20` or `30`.
|
|
180
202
|
*/
|
|
181
203
|
frequencyOffset?: pulumi.Input<number>;
|
|
182
204
|
/**
|
|
@@ -184,8 +206,7 @@ export interface CheckState {
|
|
|
184
206
|
*/
|
|
185
207
|
groupId?: pulumi.Input<number>;
|
|
186
208
|
/**
|
|
187
|
-
* The position of this check in a check group. It determines in what order checks are run when a group is triggered from
|
|
188
|
-
* the API or from CI/CD.
|
|
209
|
+
* The position of this check in a check group. It determines in what order checks are run when a group is triggered from the API or from CI/CD.
|
|
189
210
|
*/
|
|
190
211
|
groupOrder?: pulumi.Input<number>;
|
|
191
212
|
/**
|
|
@@ -201,8 +222,7 @@ export interface CheckState {
|
|
|
201
222
|
*/
|
|
202
223
|
locations?: pulumi.Input<pulumi.Input<string>[]>;
|
|
203
224
|
/**
|
|
204
|
-
* The response time in milliseconds starting from which a check should be considered failing. Possible values are between
|
|
205
|
-
* 0 and 30000. (Default `30000`).
|
|
225
|
+
* The response time in milliseconds starting from which a check should be considered failing. Possible values are between 0 and 30000. (Default `30000`).
|
|
206
226
|
*/
|
|
207
227
|
maxResponseTime?: pulumi.Input<number>;
|
|
208
228
|
/**
|
|
@@ -221,13 +241,20 @@ export interface CheckState {
|
|
|
221
241
|
* An API check might have one request config.
|
|
222
242
|
*/
|
|
223
243
|
request?: pulumi.Input<inputs.CheckRequest>;
|
|
244
|
+
/**
|
|
245
|
+
* A strategy for retrying failed check runs.
|
|
246
|
+
*/
|
|
247
|
+
retryStrategy?: pulumi.Input<inputs.CheckRetryStrategy>;
|
|
248
|
+
/**
|
|
249
|
+
* Determines if the check should run in all selected locations in parallel or round-robin.
|
|
250
|
+
*/
|
|
251
|
+
runParallel?: pulumi.Input<boolean>;
|
|
224
252
|
/**
|
|
225
253
|
* The id of the runtime to use for this check.
|
|
226
254
|
*/
|
|
227
255
|
runtimeId?: pulumi.Input<string>;
|
|
228
256
|
/**
|
|
229
|
-
* A valid piece of Node.js JavaScript code describing a browser interaction with the Puppeteer/Playwright framework or a
|
|
230
|
-
* reference to an external JavaScript file.
|
|
257
|
+
* A valid piece of Node.js JavaScript code describing a browser interaction with the Puppeteer/Playwright framework or a reference to an external JavaScript file.
|
|
231
258
|
*/
|
|
232
259
|
script?: pulumi.Input<string>;
|
|
233
260
|
/**
|
|
@@ -241,9 +268,13 @@ export interface CheckState {
|
|
|
241
268
|
/**
|
|
242
269
|
* Determines if the SSL certificate should be validated for expiry.
|
|
243
270
|
*
|
|
244
|
-
* @deprecated The property `
|
|
271
|
+
* @deprecated The property `sslCheck` is deprecated and it's ignored by the Checkly Public API. It will be removed in a future version.
|
|
245
272
|
*/
|
|
246
273
|
sslCheck?: pulumi.Input<boolean>;
|
|
274
|
+
/**
|
|
275
|
+
* A valid fully qualified domain name (FQDN) to check its SSL certificate.
|
|
276
|
+
*/
|
|
277
|
+
sslCheckDomain?: pulumi.Input<string>;
|
|
247
278
|
/**
|
|
248
279
|
* A list of tags for organizing and filtering checks.
|
|
249
280
|
*/
|
|
@@ -253,7 +284,7 @@ export interface CheckState {
|
|
|
253
284
|
*/
|
|
254
285
|
teardownSnippetId?: pulumi.Input<number>;
|
|
255
286
|
/**
|
|
256
|
-
* The type of the check. Possible values are `API`, and `
|
|
287
|
+
* The type of the check. Possible values are `API`, `BROWSER`, and `MULTI_STEP`.
|
|
257
288
|
*/
|
|
258
289
|
type?: pulumi.Input<string>;
|
|
259
290
|
/**
|
|
@@ -269,33 +300,39 @@ export interface CheckArgs {
|
|
|
269
300
|
* Determines if the check is running or not. Possible values `true`, and `false`.
|
|
270
301
|
*/
|
|
271
302
|
activated: pulumi.Input<boolean>;
|
|
303
|
+
/**
|
|
304
|
+
* An array of channel IDs and whether they're activated or not. If you don't set at least one alert subscription for your check, we won't be able to alert you in case something goes wrong with it.
|
|
305
|
+
*/
|
|
272
306
|
alertChannelSubscriptions?: pulumi.Input<pulumi.Input<inputs.CheckAlertChannelSubscription>[]>;
|
|
273
307
|
alertSettings?: pulumi.Input<inputs.CheckAlertSettings>;
|
|
274
308
|
/**
|
|
275
|
-
* The response time in milliseconds starting from which a check should be considered degraded. Possible values are between
|
|
276
|
-
* 0 and 30000. (Default `15000`).
|
|
309
|
+
* The response time in milliseconds starting from which a check should be considered degraded. Possible values are between 0 and 30000. (Default `15000`).
|
|
277
310
|
*/
|
|
278
311
|
degradedResponseTime?: pulumi.Input<number>;
|
|
279
312
|
/**
|
|
280
|
-
* Setting this to `true` will trigger a retry when a check fails from the failing region and another, randomly selected
|
|
281
|
-
*
|
|
313
|
+
* Setting this to `true` will trigger a retry when a check fails from the failing region and another, randomly selected region before marking the check as failed.
|
|
314
|
+
*
|
|
315
|
+
* @deprecated The property `doubleCheck` is deprecated and will be removed in a future version. To enable retries for failed check runs, use the `retryStrategy` property instead.
|
|
282
316
|
*/
|
|
283
317
|
doubleCheck?: pulumi.Input<boolean>;
|
|
284
318
|
/**
|
|
285
|
-
* Key/value pairs for setting environment variables during check execution. These are only relevant for browser checks.
|
|
286
|
-
|
|
319
|
+
* Key/value pairs for setting environment variables during check execution, add locked = true to keep value hidden, add secret = true to create a secret variable. These are only relevant for browser checks. Use global environment variables whenever possible.
|
|
320
|
+
*/
|
|
321
|
+
environmentVariable?: pulumi.Input<pulumi.Input<inputs.CheckEnvironmentVariable>[]>;
|
|
322
|
+
/**
|
|
323
|
+
* Key/value pairs for setting environment variables during check execution. These are only relevant for browser checks. Use global environment variables whenever possible.
|
|
324
|
+
*
|
|
325
|
+
* @deprecated The property `environmentVariables` is deprecated and will be removed in a future version. Consider using the new `environmentVariable` list.
|
|
287
326
|
*/
|
|
288
327
|
environmentVariables?: pulumi.Input<{
|
|
289
|
-
[key: string]:
|
|
328
|
+
[key: string]: pulumi.Input<string>;
|
|
290
329
|
}>;
|
|
291
330
|
/**
|
|
292
|
-
* The frequency in minutes to run the check. Possible values are `0`, `1`, `2`, `5`, `10`, `15`, `30`, `60`, `120`, `180`,
|
|
293
|
-
* `360`, `720`, and `1440`.
|
|
331
|
+
* The frequency in minutes to run the check. Possible values are `0`, `1`, `2`, `5`, `10`, `15`, `30`, `60`, `120`, `180`, `360`, `720`, and `1440`.
|
|
294
332
|
*/
|
|
295
333
|
frequency: pulumi.Input<number>;
|
|
296
334
|
/**
|
|
297
|
-
* This property only valid for API high frequency checks. To create a hight frequency check, the property `frequency` must
|
|
298
|
-
* be `0` and `frequency_offset` could be `10`, `20` or `30`.
|
|
335
|
+
* This property only valid for API high frequency checks. To create a hight frequency check, the property `frequency` must be `0` and `frequencyOffset` could be `10`, `20` or `30`.
|
|
299
336
|
*/
|
|
300
337
|
frequencyOffset?: pulumi.Input<number>;
|
|
301
338
|
/**
|
|
@@ -303,8 +340,7 @@ export interface CheckArgs {
|
|
|
303
340
|
*/
|
|
304
341
|
groupId?: pulumi.Input<number>;
|
|
305
342
|
/**
|
|
306
|
-
* The position of this check in a check group. It determines in what order checks are run when a group is triggered from
|
|
307
|
-
* the API or from CI/CD.
|
|
343
|
+
* The position of this check in a check group. It determines in what order checks are run when a group is triggered from the API or from CI/CD.
|
|
308
344
|
*/
|
|
309
345
|
groupOrder?: pulumi.Input<number>;
|
|
310
346
|
/**
|
|
@@ -320,8 +356,7 @@ export interface CheckArgs {
|
|
|
320
356
|
*/
|
|
321
357
|
locations?: pulumi.Input<pulumi.Input<string>[]>;
|
|
322
358
|
/**
|
|
323
|
-
* The response time in milliseconds starting from which a check should be considered failing. Possible values are between
|
|
324
|
-
* 0 and 30000. (Default `30000`).
|
|
359
|
+
* The response time in milliseconds starting from which a check should be considered failing. Possible values are between 0 and 30000. (Default `30000`).
|
|
325
360
|
*/
|
|
326
361
|
maxResponseTime?: pulumi.Input<number>;
|
|
327
362
|
/**
|
|
@@ -340,13 +375,20 @@ export interface CheckArgs {
|
|
|
340
375
|
* An API check might have one request config.
|
|
341
376
|
*/
|
|
342
377
|
request?: pulumi.Input<inputs.CheckRequest>;
|
|
378
|
+
/**
|
|
379
|
+
* A strategy for retrying failed check runs.
|
|
380
|
+
*/
|
|
381
|
+
retryStrategy?: pulumi.Input<inputs.CheckRetryStrategy>;
|
|
382
|
+
/**
|
|
383
|
+
* Determines if the check should run in all selected locations in parallel or round-robin.
|
|
384
|
+
*/
|
|
385
|
+
runParallel?: pulumi.Input<boolean>;
|
|
343
386
|
/**
|
|
344
387
|
* The id of the runtime to use for this check.
|
|
345
388
|
*/
|
|
346
389
|
runtimeId?: pulumi.Input<string>;
|
|
347
390
|
/**
|
|
348
|
-
* A valid piece of Node.js JavaScript code describing a browser interaction with the Puppeteer/Playwright framework or a
|
|
349
|
-
* reference to an external JavaScript file.
|
|
391
|
+
* A valid piece of Node.js JavaScript code describing a browser interaction with the Puppeteer/Playwright framework or a reference to an external JavaScript file.
|
|
350
392
|
*/
|
|
351
393
|
script?: pulumi.Input<string>;
|
|
352
394
|
/**
|
|
@@ -360,9 +402,13 @@ export interface CheckArgs {
|
|
|
360
402
|
/**
|
|
361
403
|
* Determines if the SSL certificate should be validated for expiry.
|
|
362
404
|
*
|
|
363
|
-
* @deprecated The property `
|
|
405
|
+
* @deprecated The property `sslCheck` is deprecated and it's ignored by the Checkly Public API. It will be removed in a future version.
|
|
364
406
|
*/
|
|
365
407
|
sslCheck?: pulumi.Input<boolean>;
|
|
408
|
+
/**
|
|
409
|
+
* A valid fully qualified domain name (FQDN) to check its SSL certificate.
|
|
410
|
+
*/
|
|
411
|
+
sslCheckDomain?: pulumi.Input<string>;
|
|
366
412
|
/**
|
|
367
413
|
* A list of tags for organizing and filtering checks.
|
|
368
414
|
*/
|
|
@@ -372,7 +418,7 @@ export interface CheckArgs {
|
|
|
372
418
|
*/
|
|
373
419
|
teardownSnippetId?: pulumi.Input<number>;
|
|
374
420
|
/**
|
|
375
|
-
* The type of the check. Possible values are `API`, and `
|
|
421
|
+
* The type of the check. Possible values are `API`, `BROWSER`, and `MULTI_STEP`.
|
|
376
422
|
*/
|
|
377
423
|
type: pulumi.Input<string>;
|
|
378
424
|
/**
|
package/check.js
CHANGED
|
@@ -9,6 +9,28 @@ const utilities = require("./utilities");
|
|
|
9
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
10
|
*/
|
|
11
11
|
class Check extends pulumi.CustomResource {
|
|
12
|
+
/**
|
|
13
|
+
* Get an existing Check resource's state with the given name, ID, and optional extra
|
|
14
|
+
* properties used to qualify the lookup.
|
|
15
|
+
*
|
|
16
|
+
* @param name The _unique_ name of the resulting resource.
|
|
17
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
18
|
+
* @param state Any extra arguments used during the lookup.
|
|
19
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
20
|
+
*/
|
|
21
|
+
static get(name, id, state, opts) {
|
|
22
|
+
return new Check(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Returns true if the given object is an instance of Check. This is designed to work even
|
|
26
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
27
|
+
*/
|
|
28
|
+
static isInstance(obj) {
|
|
29
|
+
if (obj === undefined || obj === null) {
|
|
30
|
+
return false;
|
|
31
|
+
}
|
|
32
|
+
return obj['__pulumiType'] === Check.__pulumiType;
|
|
33
|
+
}
|
|
12
34
|
constructor(name, argsOrState, opts) {
|
|
13
35
|
let resourceInputs = {};
|
|
14
36
|
opts = opts || {};
|
|
@@ -19,6 +41,7 @@ class Check extends pulumi.CustomResource {
|
|
|
19
41
|
resourceInputs["alertSettings"] = state ? state.alertSettings : undefined;
|
|
20
42
|
resourceInputs["degradedResponseTime"] = state ? state.degradedResponseTime : undefined;
|
|
21
43
|
resourceInputs["doubleCheck"] = state ? state.doubleCheck : undefined;
|
|
44
|
+
resourceInputs["environmentVariable"] = state ? state.environmentVariable : undefined;
|
|
22
45
|
resourceInputs["environmentVariables"] = state ? state.environmentVariables : undefined;
|
|
23
46
|
resourceInputs["frequency"] = state ? state.frequency : undefined;
|
|
24
47
|
resourceInputs["frequencyOffset"] = state ? state.frequencyOffset : undefined;
|
|
@@ -32,11 +55,14 @@ class Check extends pulumi.CustomResource {
|
|
|
32
55
|
resourceInputs["name"] = state ? state.name : undefined;
|
|
33
56
|
resourceInputs["privateLocations"] = state ? state.privateLocations : undefined;
|
|
34
57
|
resourceInputs["request"] = state ? state.request : undefined;
|
|
58
|
+
resourceInputs["retryStrategy"] = state ? state.retryStrategy : undefined;
|
|
59
|
+
resourceInputs["runParallel"] = state ? state.runParallel : undefined;
|
|
35
60
|
resourceInputs["runtimeId"] = state ? state.runtimeId : undefined;
|
|
36
61
|
resourceInputs["script"] = state ? state.script : undefined;
|
|
37
62
|
resourceInputs["setupSnippetId"] = state ? state.setupSnippetId : undefined;
|
|
38
63
|
resourceInputs["shouldFail"] = state ? state.shouldFail : undefined;
|
|
39
64
|
resourceInputs["sslCheck"] = state ? state.sslCheck : undefined;
|
|
65
|
+
resourceInputs["sslCheckDomain"] = state ? state.sslCheckDomain : undefined;
|
|
40
66
|
resourceInputs["tags"] = state ? state.tags : undefined;
|
|
41
67
|
resourceInputs["teardownSnippetId"] = state ? state.teardownSnippetId : undefined;
|
|
42
68
|
resourceInputs["type"] = state ? state.type : undefined;
|
|
@@ -58,6 +84,7 @@ class Check extends pulumi.CustomResource {
|
|
|
58
84
|
resourceInputs["alertSettings"] = args ? args.alertSettings : undefined;
|
|
59
85
|
resourceInputs["degradedResponseTime"] = args ? args.degradedResponseTime : undefined;
|
|
60
86
|
resourceInputs["doubleCheck"] = args ? args.doubleCheck : undefined;
|
|
87
|
+
resourceInputs["environmentVariable"] = args ? args.environmentVariable : undefined;
|
|
61
88
|
resourceInputs["environmentVariables"] = args ? args.environmentVariables : undefined;
|
|
62
89
|
resourceInputs["frequency"] = args ? args.frequency : undefined;
|
|
63
90
|
resourceInputs["frequencyOffset"] = args ? args.frequencyOffset : undefined;
|
|
@@ -71,11 +98,14 @@ class Check extends pulumi.CustomResource {
|
|
|
71
98
|
resourceInputs["name"] = args ? args.name : undefined;
|
|
72
99
|
resourceInputs["privateLocations"] = args ? args.privateLocations : undefined;
|
|
73
100
|
resourceInputs["request"] = args ? args.request : undefined;
|
|
101
|
+
resourceInputs["retryStrategy"] = args ? args.retryStrategy : undefined;
|
|
102
|
+
resourceInputs["runParallel"] = args ? args.runParallel : undefined;
|
|
74
103
|
resourceInputs["runtimeId"] = args ? args.runtimeId : undefined;
|
|
75
104
|
resourceInputs["script"] = args ? args.script : undefined;
|
|
76
105
|
resourceInputs["setupSnippetId"] = args ? args.setupSnippetId : undefined;
|
|
77
106
|
resourceInputs["shouldFail"] = args ? args.shouldFail : undefined;
|
|
78
107
|
resourceInputs["sslCheck"] = args ? args.sslCheck : undefined;
|
|
108
|
+
resourceInputs["sslCheckDomain"] = args ? args.sslCheckDomain : undefined;
|
|
79
109
|
resourceInputs["tags"] = args ? args.tags : undefined;
|
|
80
110
|
resourceInputs["teardownSnippetId"] = args ? args.teardownSnippetId : undefined;
|
|
81
111
|
resourceInputs["type"] = args ? args.type : undefined;
|
|
@@ -84,28 +114,6 @@ class Check extends pulumi.CustomResource {
|
|
|
84
114
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
85
115
|
super(Check.__pulumiType, name, resourceInputs, opts);
|
|
86
116
|
}
|
|
87
|
-
/**
|
|
88
|
-
* Get an existing Check resource's state with the given name, ID, and optional extra
|
|
89
|
-
* properties used to qualify the lookup.
|
|
90
|
-
*
|
|
91
|
-
* @param name The _unique_ name of the resulting resource.
|
|
92
|
-
* @param id The _unique_ provider ID of the resource to lookup.
|
|
93
|
-
* @param state Any extra arguments used during the lookup.
|
|
94
|
-
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
95
|
-
*/
|
|
96
|
-
static get(name, id, state, opts) {
|
|
97
|
-
return new Check(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
98
|
-
}
|
|
99
|
-
/**
|
|
100
|
-
* Returns true if the given object is an instance of Check. This is designed to work even
|
|
101
|
-
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
102
|
-
*/
|
|
103
|
-
static isInstance(obj) {
|
|
104
|
-
if (obj === undefined || obj === null) {
|
|
105
|
-
return false;
|
|
106
|
-
}
|
|
107
|
-
return obj['__pulumiType'] === Check.__pulumiType;
|
|
108
|
-
}
|
|
109
117
|
}
|
|
110
118
|
exports.Check = Check;
|
|
111
119
|
/** @internal */
|