@sst-provider/incident-io 5.32.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (114) hide show
  1. package/README.md +3 -0
  2. package/bin/alertAttribute.d.ts +96 -0
  3. package/bin/alertAttribute.js +63 -0
  4. package/bin/alertAttribute.js.map +1 -0
  5. package/bin/alertRoute.d.ts +146 -0
  6. package/bin/alertRoute.js +95 -0
  7. package/bin/alertRoute.js.map +1 -0
  8. package/bin/alertSource.d.ts +127 -0
  9. package/bin/alertSource.js +73 -0
  10. package/bin/alertSource.js.map +1 -0
  11. package/bin/catalogEntries.d.ts +86 -0
  12. package/bin/catalogEntries.js +59 -0
  13. package/bin/catalogEntries.js.map +1 -0
  14. package/bin/catalogEntry.d.ts +125 -0
  15. package/bin/catalogEntry.js +67 -0
  16. package/bin/catalogEntry.js.map +1 -0
  17. package/bin/catalogType.d.ts +108 -0
  18. package/bin/catalogType.js +65 -0
  19. package/bin/catalogType.js.map +1 -0
  20. package/bin/catalogTypeAttribute.d.ts +126 -0
  21. package/bin/catalogTypeAttribute.js +67 -0
  22. package/bin/catalogTypeAttribute.js.map +1 -0
  23. package/bin/config/index.d.ts +1 -0
  24. package/bin/config/index.js +21 -0
  25. package/bin/config/index.js.map +1 -0
  26. package/bin/config/vars.d.ts +8 -0
  27. package/bin/config/vars.js +19 -0
  28. package/bin/config/vars.js.map +1 -0
  29. package/bin/customField.d.ts +113 -0
  30. package/bin/customField.js +67 -0
  31. package/bin/customField.js.map +1 -0
  32. package/bin/customFieldOption.d.ts +72 -0
  33. package/bin/customFieldOption.js +59 -0
  34. package/bin/customFieldOption.js.map +1 -0
  35. package/bin/escalationPath.d.ts +104 -0
  36. package/bin/escalationPath.js +60 -0
  37. package/bin/escalationPath.js.map +1 -0
  38. package/bin/getAlertAttribute.d.ts +26 -0
  39. package/bin/getAlertAttribute.js +22 -0
  40. package/bin/getAlertAttribute.js.map +1 -0
  41. package/bin/getAlertSources.d.ts +27 -0
  42. package/bin/getAlertSources.js +24 -0
  43. package/bin/getAlertSources.js.map +1 -0
  44. package/bin/getCatalogEntries.d.ts +27 -0
  45. package/bin/getCatalogEntries.js +22 -0
  46. package/bin/getCatalogEntries.js.map +1 -0
  47. package/bin/getCatalogEntry.d.ts +31 -0
  48. package/bin/getCatalogEntry.js +24 -0
  49. package/bin/getCatalogEntry.js.map +1 -0
  50. package/bin/getCatalogType.d.ts +31 -0
  51. package/bin/getCatalogType.js +28 -0
  52. package/bin/getCatalogType.js.map +1 -0
  53. package/bin/getCatalogTypeAttribute.d.ts +30 -0
  54. package/bin/getCatalogTypeAttribute.js +24 -0
  55. package/bin/getCatalogTypeAttribute.js.map +1 -0
  56. package/bin/getCustomField.d.ts +29 -0
  57. package/bin/getCustomField.js +22 -0
  58. package/bin/getCustomField.js.map +1 -0
  59. package/bin/getCustomFieldOption.d.ts +28 -0
  60. package/bin/getCustomFieldOption.js +26 -0
  61. package/bin/getCustomFieldOption.js.map +1 -0
  62. package/bin/getEscalationPath.d.ts +29 -0
  63. package/bin/getEscalationPath.js +26 -0
  64. package/bin/getEscalationPath.js.map +1 -0
  65. package/bin/getIncidentRole.d.ts +25 -0
  66. package/bin/getIncidentRole.js +22 -0
  67. package/bin/getIncidentRole.js.map +1 -0
  68. package/bin/getIncidentTypes.d.ts +14 -0
  69. package/bin/getIncidentTypes.js +18 -0
  70. package/bin/getIncidentTypes.js.map +1 -0
  71. package/bin/getSchedule.d.ts +26 -0
  72. package/bin/getSchedule.js +26 -0
  73. package/bin/getSchedule.js.map +1 -0
  74. package/bin/getUser.d.ts +28 -0
  75. package/bin/getUser.js +28 -0
  76. package/bin/getUser.js.map +1 -0
  77. package/bin/incidentRole.d.ts +84 -0
  78. package/bin/incidentRole.js +64 -0
  79. package/bin/incidentRole.js.map +1 -0
  80. package/bin/index.d.ts +91 -0
  81. package/bin/index.js +166 -0
  82. package/bin/index.js.map +1 -0
  83. package/bin/maintenanceWindow.d.ts +206 -0
  84. package/bin/maintenanceWindow.js +87 -0
  85. package/bin/maintenanceWindow.js.map +1 -0
  86. package/bin/package.json +35 -0
  87. package/bin/provider.d.ts +59 -0
  88. package/bin/provider.js +57 -0
  89. package/bin/provider.js.map +1 -0
  90. package/bin/schedule.d.ts +71 -0
  91. package/bin/schedule.js +63 -0
  92. package/bin/schedule.js.map +1 -0
  93. package/bin/severity.d.ts +72 -0
  94. package/bin/severity.js +56 -0
  95. package/bin/severity.js.map +1 -0
  96. package/bin/status.d.ts +72 -0
  97. package/bin/status.js +59 -0
  98. package/bin/status.js.map +1 -0
  99. package/bin/types/index.d.ts +3 -0
  100. package/bin/types/index.js +11 -0
  101. package/bin/types/index.js.map +1 -0
  102. package/bin/types/input.d.ts +6516 -0
  103. package/bin/types/input.js +5 -0
  104. package/bin/types/input.js.map +1 -0
  105. package/bin/types/output.d.ts +11481 -0
  106. package/bin/types/output.js +5 -0
  107. package/bin/types/output.js.map +1 -0
  108. package/bin/utilities.d.ts +5 -0
  109. package/bin/utilities.js +129 -0
  110. package/bin/utilities.js.map +1 -0
  111. package/bin/workflow.d.ts +218 -0
  112. package/bin/workflow.js +107 -0
  113. package/bin/workflow.js.map +1 -0
  114. package/package.json +35 -0
package/bin/index.js ADDED
@@ -0,0 +1,166 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by pulumi-language-nodejs. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
5
+ if (k2 === undefined) k2 = k;
6
+ var desc = Object.getOwnPropertyDescriptor(m, k);
7
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
8
+ desc = { enumerable: true, get: function() { return m[k]; } };
9
+ }
10
+ Object.defineProperty(o, k2, desc);
11
+ }) : (function(o, m, k, k2) {
12
+ if (k2 === undefined) k2 = k;
13
+ o[k2] = m[k];
14
+ }));
15
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
17
+ };
18
+ Object.defineProperty(exports, "__esModule", { value: true });
19
+ exports.types = exports.config = exports.Workflow = exports.Status = exports.Severity = exports.Schedule = exports.MaintenanceWindow = exports.IncidentRole = exports.getUserOutput = exports.getUser = exports.getScheduleOutput = exports.getSchedule = exports.getIncidentTypesOutput = exports.getIncidentTypes = exports.getIncidentRoleOutput = exports.getIncidentRole = exports.getEscalationPathOutput = exports.getEscalationPath = exports.getCustomFieldOptionOutput = exports.getCustomFieldOption = exports.getCustomFieldOutput = exports.getCustomField = exports.getCatalogTypeAttributeOutput = exports.getCatalogTypeAttribute = exports.getCatalogTypeOutput = exports.getCatalogType = exports.getCatalogEntryOutput = exports.getCatalogEntry = exports.getCatalogEntriesOutput = exports.getCatalogEntries = exports.getAlertSourcesOutput = exports.getAlertSources = exports.getAlertAttributeOutput = exports.getAlertAttribute = exports.EscalationPath = exports.CustomFieldOption = exports.CustomField = exports.CatalogTypeAttribute = exports.CatalogType = exports.CatalogEntry = exports.CatalogEntries = exports.AlertSource = exports.AlertRoute = exports.AlertAttribute = void 0;
20
+ const pulumi = require("@pulumi/pulumi");
21
+ const utilities = require("./utilities");
22
+ exports.AlertAttribute = null;
23
+ utilities.lazyLoad(exports, ["AlertAttribute"], () => require("./alertAttribute"));
24
+ exports.AlertRoute = null;
25
+ utilities.lazyLoad(exports, ["AlertRoute"], () => require("./alertRoute"));
26
+ exports.AlertSource = null;
27
+ utilities.lazyLoad(exports, ["AlertSource"], () => require("./alertSource"));
28
+ exports.CatalogEntries = null;
29
+ utilities.lazyLoad(exports, ["CatalogEntries"], () => require("./catalogEntries"));
30
+ exports.CatalogEntry = null;
31
+ utilities.lazyLoad(exports, ["CatalogEntry"], () => require("./catalogEntry"));
32
+ exports.CatalogType = null;
33
+ utilities.lazyLoad(exports, ["CatalogType"], () => require("./catalogType"));
34
+ exports.CatalogTypeAttribute = null;
35
+ utilities.lazyLoad(exports, ["CatalogTypeAttribute"], () => require("./catalogTypeAttribute"));
36
+ exports.CustomField = null;
37
+ utilities.lazyLoad(exports, ["CustomField"], () => require("./customField"));
38
+ exports.CustomFieldOption = null;
39
+ utilities.lazyLoad(exports, ["CustomFieldOption"], () => require("./customFieldOption"));
40
+ exports.EscalationPath = null;
41
+ utilities.lazyLoad(exports, ["EscalationPath"], () => require("./escalationPath"));
42
+ exports.getAlertAttribute = null;
43
+ exports.getAlertAttributeOutput = null;
44
+ utilities.lazyLoad(exports, ["getAlertAttribute", "getAlertAttributeOutput"], () => require("./getAlertAttribute"));
45
+ exports.getAlertSources = null;
46
+ exports.getAlertSourcesOutput = null;
47
+ utilities.lazyLoad(exports, ["getAlertSources", "getAlertSourcesOutput"], () => require("./getAlertSources"));
48
+ exports.getCatalogEntries = null;
49
+ exports.getCatalogEntriesOutput = null;
50
+ utilities.lazyLoad(exports, ["getCatalogEntries", "getCatalogEntriesOutput"], () => require("./getCatalogEntries"));
51
+ exports.getCatalogEntry = null;
52
+ exports.getCatalogEntryOutput = null;
53
+ utilities.lazyLoad(exports, ["getCatalogEntry", "getCatalogEntryOutput"], () => require("./getCatalogEntry"));
54
+ exports.getCatalogType = null;
55
+ exports.getCatalogTypeOutput = null;
56
+ utilities.lazyLoad(exports, ["getCatalogType", "getCatalogTypeOutput"], () => require("./getCatalogType"));
57
+ exports.getCatalogTypeAttribute = null;
58
+ exports.getCatalogTypeAttributeOutput = null;
59
+ utilities.lazyLoad(exports, ["getCatalogTypeAttribute", "getCatalogTypeAttributeOutput"], () => require("./getCatalogTypeAttribute"));
60
+ exports.getCustomField = null;
61
+ exports.getCustomFieldOutput = null;
62
+ utilities.lazyLoad(exports, ["getCustomField", "getCustomFieldOutput"], () => require("./getCustomField"));
63
+ exports.getCustomFieldOption = null;
64
+ exports.getCustomFieldOptionOutput = null;
65
+ utilities.lazyLoad(exports, ["getCustomFieldOption", "getCustomFieldOptionOutput"], () => require("./getCustomFieldOption"));
66
+ exports.getEscalationPath = null;
67
+ exports.getEscalationPathOutput = null;
68
+ utilities.lazyLoad(exports, ["getEscalationPath", "getEscalationPathOutput"], () => require("./getEscalationPath"));
69
+ exports.getIncidentRole = null;
70
+ exports.getIncidentRoleOutput = null;
71
+ utilities.lazyLoad(exports, ["getIncidentRole", "getIncidentRoleOutput"], () => require("./getIncidentRole"));
72
+ exports.getIncidentTypes = null;
73
+ exports.getIncidentTypesOutput = null;
74
+ utilities.lazyLoad(exports, ["getIncidentTypes", "getIncidentTypesOutput"], () => require("./getIncidentTypes"));
75
+ exports.getSchedule = null;
76
+ exports.getScheduleOutput = null;
77
+ utilities.lazyLoad(exports, ["getSchedule", "getScheduleOutput"], () => require("./getSchedule"));
78
+ exports.getUser = null;
79
+ exports.getUserOutput = null;
80
+ utilities.lazyLoad(exports, ["getUser", "getUserOutput"], () => require("./getUser"));
81
+ exports.IncidentRole = null;
82
+ utilities.lazyLoad(exports, ["IncidentRole"], () => require("./incidentRole"));
83
+ exports.MaintenanceWindow = null;
84
+ utilities.lazyLoad(exports, ["MaintenanceWindow"], () => require("./maintenanceWindow"));
85
+ __exportStar(require("./provider"), exports);
86
+ const provider_1 = require("./provider");
87
+ exports.Schedule = null;
88
+ utilities.lazyLoad(exports, ["Schedule"], () => require("./schedule"));
89
+ exports.Severity = null;
90
+ utilities.lazyLoad(exports, ["Severity"], () => require("./severity"));
91
+ exports.Status = null;
92
+ utilities.lazyLoad(exports, ["Status"], () => require("./status"));
93
+ exports.Workflow = null;
94
+ utilities.lazyLoad(exports, ["Workflow"], () => require("./workflow"));
95
+ // Export sub-modules:
96
+ const config = require("./config");
97
+ exports.config = config;
98
+ const types = require("./types");
99
+ exports.types = types;
100
+ const _module = {
101
+ version: utilities.getVersion(),
102
+ construct: (name, type, urn) => {
103
+ switch (type) {
104
+ case "incident:index/alertAttribute:AlertAttribute":
105
+ return new exports.AlertAttribute(name, undefined, { urn });
106
+ case "incident:index/alertRoute:AlertRoute":
107
+ return new exports.AlertRoute(name, undefined, { urn });
108
+ case "incident:index/alertSource:AlertSource":
109
+ return new exports.AlertSource(name, undefined, { urn });
110
+ case "incident:index/catalogEntries:CatalogEntries":
111
+ return new exports.CatalogEntries(name, undefined, { urn });
112
+ case "incident:index/catalogEntry:CatalogEntry":
113
+ return new exports.CatalogEntry(name, undefined, { urn });
114
+ case "incident:index/catalogType:CatalogType":
115
+ return new exports.CatalogType(name, undefined, { urn });
116
+ case "incident:index/catalogTypeAttribute:CatalogTypeAttribute":
117
+ return new exports.CatalogTypeAttribute(name, undefined, { urn });
118
+ case "incident:index/customField:CustomField":
119
+ return new exports.CustomField(name, undefined, { urn });
120
+ case "incident:index/customFieldOption:CustomFieldOption":
121
+ return new exports.CustomFieldOption(name, undefined, { urn });
122
+ case "incident:index/escalationPath:EscalationPath":
123
+ return new exports.EscalationPath(name, undefined, { urn });
124
+ case "incident:index/incidentRole:IncidentRole":
125
+ return new exports.IncidentRole(name, undefined, { urn });
126
+ case "incident:index/maintenanceWindow:MaintenanceWindow":
127
+ return new exports.MaintenanceWindow(name, undefined, { urn });
128
+ case "incident:index/schedule:Schedule":
129
+ return new exports.Schedule(name, undefined, { urn });
130
+ case "incident:index/severity:Severity":
131
+ return new exports.Severity(name, undefined, { urn });
132
+ case "incident:index/status:Status":
133
+ return new exports.Status(name, undefined, { urn });
134
+ case "incident:index/workflow:Workflow":
135
+ return new exports.Workflow(name, undefined, { urn });
136
+ default:
137
+ throw new Error(`unknown resource type ${type}`);
138
+ }
139
+ },
140
+ };
141
+ pulumi.runtime.registerResourceModule("incident", "index/alertAttribute", _module);
142
+ pulumi.runtime.registerResourceModule("incident", "index/alertRoute", _module);
143
+ pulumi.runtime.registerResourceModule("incident", "index/alertSource", _module);
144
+ pulumi.runtime.registerResourceModule("incident", "index/catalogEntries", _module);
145
+ pulumi.runtime.registerResourceModule("incident", "index/catalogEntry", _module);
146
+ pulumi.runtime.registerResourceModule("incident", "index/catalogType", _module);
147
+ pulumi.runtime.registerResourceModule("incident", "index/catalogTypeAttribute", _module);
148
+ pulumi.runtime.registerResourceModule("incident", "index/customField", _module);
149
+ pulumi.runtime.registerResourceModule("incident", "index/customFieldOption", _module);
150
+ pulumi.runtime.registerResourceModule("incident", "index/escalationPath", _module);
151
+ pulumi.runtime.registerResourceModule("incident", "index/incidentRole", _module);
152
+ pulumi.runtime.registerResourceModule("incident", "index/maintenanceWindow", _module);
153
+ pulumi.runtime.registerResourceModule("incident", "index/schedule", _module);
154
+ pulumi.runtime.registerResourceModule("incident", "index/severity", _module);
155
+ pulumi.runtime.registerResourceModule("incident", "index/status", _module);
156
+ pulumi.runtime.registerResourceModule("incident", "index/workflow", _module);
157
+ pulumi.runtime.registerResourcePackage("incident", {
158
+ version: utilities.getVersion(),
159
+ constructProvider: (name, type, urn) => {
160
+ if (type !== "pulumi:providers:incident") {
161
+ throw new Error(`unknown provider type ${type}`);
162
+ }
163
+ return new provider_1.Provider(name, undefined, { urn });
164
+ },
165
+ });
166
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAK5B,QAAA,cAAc,GAAqD,IAAW,CAAC;AAC5F,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,gBAAgB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,kBAAkB,CAAC,CAAC,CAAC;AAItE,QAAA,UAAU,GAA6C,IAAW,CAAC;AAChF,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,YAAY,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,cAAc,CAAC,CAAC,CAAC;AAI9D,QAAA,WAAW,GAA+C,IAAW,CAAC;AACnF,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,aAAa,CAAC,EAAE,GAAG,EAAE,CAA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E,SAAS,CAAC,UAAU,EAAE;IAC/B,iBAAiB,EAAE,CAAC,IAAY,EAAE,IAAY,EAAE,GAAW,EAA2B,EAAE;QACpF,IAAI,IAAI,KAAK,2BAA2B,EAAE;YACtC,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACpD;QACD,OAAO,IAAI,mBAAQ,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAC;IACvD,CAAC;CACJ,CAAC,CAAC"}
@@ -0,0 +1,206 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "./types/input";
3
+ import * as outputs from "./types/output";
4
+ export declare class MaintenanceWindow extends pulumi.CustomResource {
5
+ /**
6
+ * Get an existing MaintenanceWindow resource's state with the given name, ID, and optional extra
7
+ * properties used to qualify the lookup.
8
+ *
9
+ * @param name The _unique_ name of the resulting resource.
10
+ * @param id The _unique_ provider ID of the resource to lookup.
11
+ * @param state Any extra arguments used during the lookup.
12
+ * @param opts Optional settings to control the behavior of the CustomResource.
13
+ */
14
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: MaintenanceWindowState, opts?: pulumi.CustomResourceOptions): MaintenanceWindow;
15
+ /**
16
+ * Returns true if the given object is an instance of MaintenanceWindow. This is designed to work even
17
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
18
+ */
19
+ static isInstance(obj: any): obj is MaintenanceWindow;
20
+ /**
21
+ * Groups of prerequisite conditions. All conditions in at least one group must be satisfied
22
+ */
23
+ readonly alertConditionGroups: pulumi.Output<outputs.MaintenanceWindowAlertConditionGroup[]>;
24
+ /**
25
+ * When the maintenance window ends
26
+ */
27
+ readonly endAt: pulumi.Output<string>;
28
+ /**
29
+ * If set, alerts matching this window will be escalated to these targets
30
+ */
31
+ readonly escalationTargets: pulumi.Output<outputs.MaintenanceWindowEscalationTarget[] | undefined>;
32
+ /**
33
+ * If set, alerts matching this window will be automatically attached to this incident
34
+ */
35
+ readonly incidentId: pulumi.Output<string | undefined>;
36
+ /**
37
+ * The incident.io user ID of the lead for this maintenance window
38
+ */
39
+ readonly leadId: pulumi.Output<string>;
40
+ /**
41
+ * Human readable name for the maintenance window
42
+ */
43
+ readonly name: pulumi.Output<string>;
44
+ /**
45
+ * Custom message included in notifications about this maintenance window
46
+ */
47
+ readonly notificationMessage: pulumi.Output<string | undefined>;
48
+ /**
49
+ * Channels to notify about the maintenance window starting and ending
50
+ */
51
+ readonly notifyChannels: pulumi.Output<outputs.MaintenanceWindowNotifyChannel[] | undefined>;
52
+ /**
53
+ * Minutes before the end to send a notification to the configured channels
54
+ */
55
+ readonly notifyEndMinutesBefore: pulumi.Output<number | undefined>;
56
+ /**
57
+ * Minutes before the start to send a notification to the configured channels
58
+ */
59
+ readonly notifyStartMinutesBefore: pulumi.Output<number | undefined>;
60
+ /**
61
+ * Whether to retrigger firing alerts through alert routing when the window ends
62
+ */
63
+ readonly rerouteOnEnd: pulumi.Output<boolean>;
64
+ /**
65
+ * Whether to automatically resolve all firing alerts that matched this window when it ends
66
+ */
67
+ readonly resolveOnEnd: pulumi.Output<boolean>;
68
+ /**
69
+ * Whether to show this maintenance window in the dashboard sidebar when active
70
+ */
71
+ readonly showInSidebar: pulumi.Output<boolean>;
72
+ /**
73
+ * When the maintenance window starts
74
+ */
75
+ readonly startAt: pulumi.Output<string>;
76
+ /**
77
+ * Create a MaintenanceWindow resource with the given unique name, arguments, and options.
78
+ *
79
+ * @param name The _unique_ name of the resource.
80
+ * @param args The arguments to use to populate this resource's properties.
81
+ * @param opts A bag of options that control this resource's behavior.
82
+ */
83
+ constructor(name: string, args: MaintenanceWindowArgs, opts?: pulumi.CustomResourceOptions);
84
+ }
85
+ /**
86
+ * Input properties used for looking up and filtering MaintenanceWindow resources.
87
+ */
88
+ export interface MaintenanceWindowState {
89
+ /**
90
+ * Groups of prerequisite conditions. All conditions in at least one group must be satisfied
91
+ */
92
+ alertConditionGroups?: pulumi.Input<pulumi.Input<inputs.MaintenanceWindowAlertConditionGroup>[]>;
93
+ /**
94
+ * When the maintenance window ends
95
+ */
96
+ endAt?: pulumi.Input<string>;
97
+ /**
98
+ * If set, alerts matching this window will be escalated to these targets
99
+ */
100
+ escalationTargets?: pulumi.Input<pulumi.Input<inputs.MaintenanceWindowEscalationTarget>[]>;
101
+ /**
102
+ * If set, alerts matching this window will be automatically attached to this incident
103
+ */
104
+ incidentId?: pulumi.Input<string>;
105
+ /**
106
+ * The incident.io user ID of the lead for this maintenance window
107
+ */
108
+ leadId?: pulumi.Input<string>;
109
+ /**
110
+ * Human readable name for the maintenance window
111
+ */
112
+ name?: pulumi.Input<string>;
113
+ /**
114
+ * Custom message included in notifications about this maintenance window
115
+ */
116
+ notificationMessage?: pulumi.Input<string>;
117
+ /**
118
+ * Channels to notify about the maintenance window starting and ending
119
+ */
120
+ notifyChannels?: pulumi.Input<pulumi.Input<inputs.MaintenanceWindowNotifyChannel>[]>;
121
+ /**
122
+ * Minutes before the end to send a notification to the configured channels
123
+ */
124
+ notifyEndMinutesBefore?: pulumi.Input<number>;
125
+ /**
126
+ * Minutes before the start to send a notification to the configured channels
127
+ */
128
+ notifyStartMinutesBefore?: pulumi.Input<number>;
129
+ /**
130
+ * Whether to retrigger firing alerts through alert routing when the window ends
131
+ */
132
+ rerouteOnEnd?: pulumi.Input<boolean>;
133
+ /**
134
+ * Whether to automatically resolve all firing alerts that matched this window when it ends
135
+ */
136
+ resolveOnEnd?: pulumi.Input<boolean>;
137
+ /**
138
+ * Whether to show this maintenance window in the dashboard sidebar when active
139
+ */
140
+ showInSidebar?: pulumi.Input<boolean>;
141
+ /**
142
+ * When the maintenance window starts
143
+ */
144
+ startAt?: pulumi.Input<string>;
145
+ }
146
+ /**
147
+ * The set of arguments for constructing a MaintenanceWindow resource.
148
+ */
149
+ export interface MaintenanceWindowArgs {
150
+ /**
151
+ * Groups of prerequisite conditions. All conditions in at least one group must be satisfied
152
+ */
153
+ alertConditionGroups: pulumi.Input<pulumi.Input<inputs.MaintenanceWindowAlertConditionGroup>[]>;
154
+ /**
155
+ * When the maintenance window ends
156
+ */
157
+ endAt: pulumi.Input<string>;
158
+ /**
159
+ * If set, alerts matching this window will be escalated to these targets
160
+ */
161
+ escalationTargets?: pulumi.Input<pulumi.Input<inputs.MaintenanceWindowEscalationTarget>[]>;
162
+ /**
163
+ * If set, alerts matching this window will be automatically attached to this incident
164
+ */
165
+ incidentId?: pulumi.Input<string>;
166
+ /**
167
+ * The incident.io user ID of the lead for this maintenance window
168
+ */
169
+ leadId: pulumi.Input<string>;
170
+ /**
171
+ * Human readable name for the maintenance window
172
+ */
173
+ name?: pulumi.Input<string>;
174
+ /**
175
+ * Custom message included in notifications about this maintenance window
176
+ */
177
+ notificationMessage?: pulumi.Input<string>;
178
+ /**
179
+ * Channels to notify about the maintenance window starting and ending
180
+ */
181
+ notifyChannels?: pulumi.Input<pulumi.Input<inputs.MaintenanceWindowNotifyChannel>[]>;
182
+ /**
183
+ * Minutes before the end to send a notification to the configured channels
184
+ */
185
+ notifyEndMinutesBefore?: pulumi.Input<number>;
186
+ /**
187
+ * Minutes before the start to send a notification to the configured channels
188
+ */
189
+ notifyStartMinutesBefore?: pulumi.Input<number>;
190
+ /**
191
+ * Whether to retrigger firing alerts through alert routing when the window ends
192
+ */
193
+ rerouteOnEnd?: pulumi.Input<boolean>;
194
+ /**
195
+ * Whether to automatically resolve all firing alerts that matched this window when it ends
196
+ */
197
+ resolveOnEnd?: pulumi.Input<boolean>;
198
+ /**
199
+ * Whether to show this maintenance window in the dashboard sidebar when active
200
+ */
201
+ showInSidebar?: pulumi.Input<boolean>;
202
+ /**
203
+ * When the maintenance window starts
204
+ */
205
+ startAt: pulumi.Input<string>;
206
+ }
@@ -0,0 +1,87 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by pulumi-language-nodejs. ***
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.MaintenanceWindow = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ class MaintenanceWindow extends pulumi.CustomResource {
9
+ /**
10
+ * Get an existing MaintenanceWindow resource's state with the given name, ID, and optional extra
11
+ * properties used to qualify the lookup.
12
+ *
13
+ * @param name The _unique_ name of the resulting resource.
14
+ * @param id The _unique_ provider ID of the resource to lookup.
15
+ * @param state Any extra arguments used during the lookup.
16
+ * @param opts Optional settings to control the behavior of the CustomResource.
17
+ */
18
+ static get(name, id, state, opts) {
19
+ return new MaintenanceWindow(name, state, { ...opts, id: id });
20
+ }
21
+ /**
22
+ * Returns true if the given object is an instance of MaintenanceWindow. This is designed to work even
23
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
24
+ */
25
+ static isInstance(obj) {
26
+ if (obj === undefined || obj === null) {
27
+ return false;
28
+ }
29
+ return obj['__pulumiType'] === MaintenanceWindow.__pulumiType;
30
+ }
31
+ constructor(name, argsOrState, opts) {
32
+ let resourceInputs = {};
33
+ opts = opts || {};
34
+ if (opts.id) {
35
+ const state = argsOrState;
36
+ resourceInputs["alertConditionGroups"] = state?.alertConditionGroups;
37
+ resourceInputs["endAt"] = state?.endAt;
38
+ resourceInputs["escalationTargets"] = state?.escalationTargets;
39
+ resourceInputs["incidentId"] = state?.incidentId;
40
+ resourceInputs["leadId"] = state?.leadId;
41
+ resourceInputs["name"] = state?.name;
42
+ resourceInputs["notificationMessage"] = state?.notificationMessage;
43
+ resourceInputs["notifyChannels"] = state?.notifyChannels;
44
+ resourceInputs["notifyEndMinutesBefore"] = state?.notifyEndMinutesBefore;
45
+ resourceInputs["notifyStartMinutesBefore"] = state?.notifyStartMinutesBefore;
46
+ resourceInputs["rerouteOnEnd"] = state?.rerouteOnEnd;
47
+ resourceInputs["resolveOnEnd"] = state?.resolveOnEnd;
48
+ resourceInputs["showInSidebar"] = state?.showInSidebar;
49
+ resourceInputs["startAt"] = state?.startAt;
50
+ }
51
+ else {
52
+ const args = argsOrState;
53
+ if (args?.alertConditionGroups === undefined && !opts.urn) {
54
+ throw new Error("Missing required property 'alertConditionGroups'");
55
+ }
56
+ if (args?.endAt === undefined && !opts.urn) {
57
+ throw new Error("Missing required property 'endAt'");
58
+ }
59
+ if (args?.leadId === undefined && !opts.urn) {
60
+ throw new Error("Missing required property 'leadId'");
61
+ }
62
+ if (args?.startAt === undefined && !opts.urn) {
63
+ throw new Error("Missing required property 'startAt'");
64
+ }
65
+ resourceInputs["alertConditionGroups"] = args?.alertConditionGroups;
66
+ resourceInputs["endAt"] = args?.endAt;
67
+ resourceInputs["escalationTargets"] = args?.escalationTargets;
68
+ resourceInputs["incidentId"] = args?.incidentId;
69
+ resourceInputs["leadId"] = args?.leadId;
70
+ resourceInputs["name"] = args?.name;
71
+ resourceInputs["notificationMessage"] = args?.notificationMessage;
72
+ resourceInputs["notifyChannels"] = args?.notifyChannels;
73
+ resourceInputs["notifyEndMinutesBefore"] = args?.notifyEndMinutesBefore;
74
+ resourceInputs["notifyStartMinutesBefore"] = args?.notifyStartMinutesBefore;
75
+ resourceInputs["rerouteOnEnd"] = args?.rerouteOnEnd;
76
+ resourceInputs["resolveOnEnd"] = args?.resolveOnEnd;
77
+ resourceInputs["showInSidebar"] = args?.showInSidebar;
78
+ resourceInputs["startAt"] = args?.startAt;
79
+ }
80
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
81
+ super(MaintenanceWindow.__pulumiType, name, resourceInputs, opts, false /*dependency*/, utilities.getPackage());
82
+ }
83
+ }
84
+ exports.MaintenanceWindow = MaintenanceWindow;
85
+ /** @internal */
86
+ MaintenanceWindow.__pulumiType = 'incident:index/maintenanceWindow:MaintenanceWindow';
87
+ //# sourceMappingURL=maintenanceWindow.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"maintenanceWindow.js","sourceRoot":"","sources":["../maintenanceWindow.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC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ACxC,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,qBAAqB,CAAC,GAAG,IAAI,EAAE,mBAAmB,CAAC;YAClE,cAAc,CAAC,gBAAgB,CAAC,GAAG,IAAI,EAAE,cAAc,CAAC;YACxD,cAAc,CAAC,wBAAwB,CAAC,GAAG,IAAI,EAAE,sBAAsB,CAAC;YACxE,cAAc,CAAC,0BAA0B,CAAC,GAAG,IAAI,EAAE,wBAAwB,CAAC;YAC5E,cAAc,CAAC,cAAc,CAAC,GAAG,IAAI,EAAE,YAAY,CAAC;YACpD,cAAc,CAAC,cAAc,CAAC,GAAG,IAAI,EAAE,YAAY,CAAC;YACpD,cAAc,CAAC,eAAe,CAAC,GAAG,IAAI,EAAE,aAAa,CAAC;YACtD,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,EAAE,OAAO,CAAC;SAC7C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,iBAAiB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,EAAE,KAAK,CAAC,cAAc,EAAE,SAAS,CAAC,UAAU,EAAE,CAAC,CAAC;IACpH,CAAC;;AA/IL,8CAgJC;AAlIG,gBAAgB;AACO,8BAAY,GAAG,oDAAoD,CAAC"}
@@ -0,0 +1,35 @@
1
+ {
2
+ "name": "@sst-provider/incident-io",
3
+ "version": "5.32.0",
4
+ "description": "A Pulumi provider dynamically bridged from incident.",
5
+ "repository": {
6
+ "type": "git",
7
+ "url": "https://github.com/anomalyco/provider"
8
+ },
9
+ "main": "bin/index.js",
10
+ "scripts": {
11
+ "build": "tsc",
12
+ "postinstall": "node ./scripts/postinstall.js"
13
+ },
14
+ "dependencies": {
15
+ "@pulumi/pulumi": "^3.142.0",
16
+ "@types/node": "^18",
17
+ "async-mutex": "^0.5.0",
18
+ "typescript": "^4.3.5"
19
+ },
20
+ "pulumi": {
21
+ "resource": true,
22
+ "name": "terraform-provider",
23
+ "version": "1.1.1",
24
+ "parameterization": {
25
+ "name": "incident",
26
+ "version": "5.32.0",
27
+ "value": "eyJyZW1vdGUiOnsidXJsIjoicmVnaXN0cnkudGVycmFmb3JtLmlvL2luY2lkZW50LWlvL2luY2lkZW50IiwidmVyc2lvbiI6IjUuMzIuMCJ9fQ=="
28
+ }
29
+ },
30
+ "files": [
31
+ "bin/",
32
+ "README.md",
33
+ "LICENSE"
34
+ ]
35
+ }
@@ -0,0 +1,59 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * The provider type for the incident package. By default, resources use package-wide configuration
4
+ * settings, however an explicit `Provider` instance may be created and passed during resource
5
+ * construction to achieve fine-grained programmatic control over provider settings. See the
6
+ * [documentation](https://www.pulumi.com/docs/reference/programming-model/#providers) for more information.
7
+ */
8
+ export declare class Provider extends pulumi.ProviderResource {
9
+ /**
10
+ * Returns true if the given object is an instance of Provider. This is designed to work even
11
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
12
+ */
13
+ static isInstance(obj: any): obj is Provider;
14
+ /**
15
+ * API key for incident.io (https://app.incident.io/settings/api-keys). Sourced from the `INCIDENT_API_KEY` environment variable, if set.
16
+ */
17
+ readonly apiKey: pulumi.Output<string | undefined>;
18
+ /**
19
+ * URL of the incident.io API
20
+ */
21
+ readonly endpoint: pulumi.Output<string | undefined>;
22
+ /**
23
+ * Create a Provider resource with the given unique name, arguments, and options.
24
+ *
25
+ * @param name The _unique_ name of the resource.
26
+ * @param args The arguments to use to populate this resource's properties.
27
+ * @param opts A bag of options that control this resource's behavior.
28
+ */
29
+ constructor(name: string, args?: ProviderArgs, opts?: pulumi.ResourceOptions);
30
+ /**
31
+ * This function returns a Terraform config object with terraform-namecased keys,to be used with the Terraform Module Provider.
32
+ */
33
+ terraformConfig(): pulumi.Output<{
34
+ [key: string]: any;
35
+ }>;
36
+ }
37
+ /**
38
+ * The set of arguments for constructing a Provider resource.
39
+ */
40
+ export interface ProviderArgs {
41
+ /**
42
+ * API key for incident.io (https://app.incident.io/settings/api-keys). Sourced from the `INCIDENT_API_KEY` environment variable, if set.
43
+ */
44
+ apiKey?: pulumi.Input<string>;
45
+ /**
46
+ * URL of the incident.io API
47
+ */
48
+ endpoint?: pulumi.Input<string>;
49
+ }
50
+ export declare namespace Provider {
51
+ /**
52
+ * The results of the Provider.terraformConfig method.
53
+ */
54
+ interface TerraformConfigResult {
55
+ readonly result: {
56
+ [key: string]: any;
57
+ };
58
+ }
59
+ }
@@ -0,0 +1,57 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by pulumi-language-nodejs. ***
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.Provider = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * The provider type for the incident package. By default, resources use package-wide configuration
10
+ * settings, however an explicit `Provider` instance may be created and passed during resource
11
+ * construction to achieve fine-grained programmatic control over provider settings. See the
12
+ * [documentation](https://www.pulumi.com/docs/reference/programming-model/#providers) for more information.
13
+ */
14
+ class Provider extends pulumi.ProviderResource {
15
+ /**
16
+ * Returns true if the given object is an instance of Provider. This is designed to work even
17
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
18
+ */
19
+ static isInstance(obj) {
20
+ if (obj === undefined || obj === null) {
21
+ return false;
22
+ }
23
+ return obj['__pulumiType'] === "pulumi:providers:" + Provider.__pulumiType;
24
+ }
25
+ /**
26
+ * Create a Provider resource with the given unique name, arguments, and options.
27
+ *
28
+ * @param name The _unique_ name of the resource.
29
+ * @param args The arguments to use to populate this resource's properties.
30
+ * @param opts A bag of options that control this resource's behavior.
31
+ */
32
+ constructor(name, args, opts) {
33
+ let resourceInputs = {};
34
+ opts = opts || {};
35
+ {
36
+ resourceInputs["apiKey"] = args?.apiKey ? pulumi.secret(args.apiKey) : undefined;
37
+ resourceInputs["endpoint"] = args?.endpoint;
38
+ }
39
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
40
+ const secretOpts = { additionalSecretOutputs: ["apiKey"] };
41
+ opts = pulumi.mergeOptions(opts, secretOpts);
42
+ super(Provider.__pulumiType, name, resourceInputs, opts, false /*dependency*/, utilities.getPackage());
43
+ }
44
+ /**
45
+ * This function returns a Terraform config object with terraform-namecased keys,to be used with the Terraform Module Provider.
46
+ */
47
+ terraformConfig() {
48
+ const result = pulumi.runtime.call("pulumi:providers:incident/terraformConfig", {
49
+ "__self__": this,
50
+ }, this, utilities.getPackage());
51
+ return result.result;
52
+ }
53
+ }
54
+ exports.Provider = Provider;
55
+ /** @internal */
56
+ Provider.__pulumiType = 'incident';
57
+ //# sourceMappingURL=provider.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"provider.js","sourceRoot":"","sources":["../provider.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;GAKG;AACH,MAAa,QAAS,SAAQ,MAAM,CAAC,gBAAgB;IAIjD;;;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,mBAAmB,GAAG,QAAQ,CAAC,YAAY,CAAC;IAC/E,CAAC;IAWD;;;;;;OAMG;IACH,YAAY,IAAY,EAAE,IAAmB,EAAE,IAA6B;QACxE,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB;YACI,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,EAAE,MAAM,CAAC,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,S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