@incident-io/pulumi 0.4.1 → 0.6.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.
- package/alertSource.d.ts +6 -3
- package/alertSource.d.ts.map +1 -1
- package/alertSource.js +2 -0
- package/alertSource.js.map +1 -1
- package/alertSourceBeta.d.ts +6 -3
- package/alertSourceBeta.d.ts.map +1 -1
- package/alertSourceBeta.js +2 -0
- package/alertSourceBeta.js.map +1 -1
- package/catalogEntryAliases.d.ts +116 -0
- package/catalogEntryAliases.d.ts.map +1 -0
- package/catalogEntryAliases.js +135 -0
- package/catalogEntryAliases.js.map +1 -0
- package/catalogEntryAttributeValue.d.ts +143 -0
- package/catalogEntryAttributeValue.d.ts.map +1 -0
- package/catalogEntryAttributeValue.js +142 -0
- package/catalogEntryAttributeValue.js.map +1 -0
- package/getAlertSource.d.ts +2 -1
- package/getAlertSource.d.ts.map +1 -1
- package/getAlertSource.js.map +1 -1
- package/getRichText.d.ts +3 -3
- package/index.d.ts +6 -0
- package/index.d.ts.map +1 -1
- package/index.js +13 -3
- package/index.js.map +1 -1
- package/package.json +2 -2
- package/types/input.d.ts +20 -0
- package/types/input.d.ts.map +1 -1
- package/types/output.d.ts +30 -0
- package/types/output.d.ts.map +1 -1
package/alertSource.d.ts
CHANGED
|
@@ -195,8 +195,9 @@ export declare class AlertSource extends pulumi.CustomResource {
|
|
|
195
195
|
* The token to use when sending alerts to this source. Only returned to callers with permission to update the source.
|
|
196
196
|
*/
|
|
197
197
|
readonly secretToken: pulumi.Output<string>;
|
|
198
|
+
readonly snsOptions: pulumi.Output<outputs.AlertSourceSnsOptions | undefined>;
|
|
198
199
|
/**
|
|
199
|
-
* Type of alert source. Possible values are: `alertmanager`, `appOptics`, `azureMonitor`, `azureDevops`, `bigPanda`, `bugsnag`, `checkly`, `chronosphere`, `cloudwatch`, `cloudflare`, `coralogix`, `cronitor`, `crowdstrikeFalcon`, `dash0`, `datadog`, `dynatrace`, `elasticsearch`, `email`, `expel`, `githubIssue`, `googleCloud`, `googleSecops`, `grafana`, `heartbeat`, `http`, `httpCustom`, `honeycomb`, `icinga2`, `incomingCalls`, `jira`, `jsm`, `logzio`, `monteCarlo`, `nagios`, `newRelic`, `opsgenie`, `prtg`, `pagerDuty`, `panther`, `pingdom`, `posthog`, `runscope`, `sns`, `salesforceCase`, `sentry`, `sentryMetric`, `serviceNow`, `splunk`, `statusCake`, `statusPageViews`, `sumoLogic`, `uptime`, `vercel`, `wiz`, `zendesk`.
|
|
200
|
+
* Type of alert source. Possible values are: `alertmanager`, `appOptics`, `azureMonitor`, `azureDevops`, `bigPanda`, `bugsnag`, `checkly`, `chronosphere`, `cloudwatch`, `cloudflare`, `coralogix`, `cronitor`, `crowdstrikeFalcon`, `dash0`, `datadog`, `dynatrace`, `elasticsearch`, `email`, `expel`, `gitGuardian`, `githubIssue`, `googleCloud`, `googleSecops`, `grafana`, `heartbeat`, `http`, `httpCustom`, `honeycomb`, `icinga2`, `incomingCalls`, `jira`, `jsm`, `logzio`, `monteCarlo`, `nagios`, `newRelic`, `opsgenie`, `prtg`, `pagerDuty`, `panther`, `pingdom`, `posthog`, `runscope`, `sns`, `salesforceCase`, `sentry`, `sentryMetric`, `serviceNow`, `splunk`, `statusCake`, `statusPageViews`, `sumoLogic`, `uptime`, `upwind`, `vercel`, `wiz`, `zendesk`.
|
|
200
201
|
*/
|
|
201
202
|
readonly sourceType: pulumi.Output<string>;
|
|
202
203
|
readonly title: pulumi.Output<outputs.AlertSourceTitle | undefined>;
|
|
@@ -280,8 +281,9 @@ export interface AlertSourceState {
|
|
|
280
281
|
* The token to use when sending alerts to this source. Only returned to callers with permission to update the source.
|
|
281
282
|
*/
|
|
282
283
|
secretToken?: pulumi.Input<string | undefined>;
|
|
284
|
+
snsOptions?: pulumi.Input<inputs.AlertSourceSnsOptions | undefined>;
|
|
283
285
|
/**
|
|
284
|
-
* Type of alert source. Possible values are: `alertmanager`, `appOptics`, `azureMonitor`, `azureDevops`, `bigPanda`, `bugsnag`, `checkly`, `chronosphere`, `cloudwatch`, `cloudflare`, `coralogix`, `cronitor`, `crowdstrikeFalcon`, `dash0`, `datadog`, `dynatrace`, `elasticsearch`, `email`, `expel`, `githubIssue`, `googleCloud`, `googleSecops`, `grafana`, `heartbeat`, `http`, `httpCustom`, `honeycomb`, `icinga2`, `incomingCalls`, `jira`, `jsm`, `logzio`, `monteCarlo`, `nagios`, `newRelic`, `opsgenie`, `prtg`, `pagerDuty`, `panther`, `pingdom`, `posthog`, `runscope`, `sns`, `salesforceCase`, `sentry`, `sentryMetric`, `serviceNow`, `splunk`, `statusCake`, `statusPageViews`, `sumoLogic`, `uptime`, `vercel`, `wiz`, `zendesk`.
|
|
286
|
+
* Type of alert source. Possible values are: `alertmanager`, `appOptics`, `azureMonitor`, `azureDevops`, `bigPanda`, `bugsnag`, `checkly`, `chronosphere`, `cloudwatch`, `cloudflare`, `coralogix`, `cronitor`, `crowdstrikeFalcon`, `dash0`, `datadog`, `dynatrace`, `elasticsearch`, `email`, `expel`, `gitGuardian`, `githubIssue`, `googleCloud`, `googleSecops`, `grafana`, `heartbeat`, `http`, `httpCustom`, `honeycomb`, `icinga2`, `incomingCalls`, `jira`, `jsm`, `logzio`, `monteCarlo`, `nagios`, `newRelic`, `opsgenie`, `prtg`, `pagerDuty`, `panther`, `pingdom`, `posthog`, `runscope`, `sns`, `salesforceCase`, `sentry`, `sentryMetric`, `serviceNow`, `splunk`, `statusCake`, `statusPageViews`, `sumoLogic`, `uptime`, `upwind`, `vercel`, `wiz`, `zendesk`.
|
|
285
287
|
*/
|
|
286
288
|
sourceType?: pulumi.Input<string | undefined>;
|
|
287
289
|
title?: pulumi.Input<inputs.AlertSourceTitle | undefined>;
|
|
@@ -345,8 +347,9 @@ export interface AlertSourceArgs {
|
|
|
345
347
|
* Controls how this source's ingest rate limit is split into buckets.
|
|
346
348
|
*/
|
|
347
349
|
rateLimitSharding?: pulumi.Input<inputs.AlertSourceRateLimitSharding | undefined>;
|
|
350
|
+
snsOptions?: pulumi.Input<inputs.AlertSourceSnsOptions | undefined>;
|
|
348
351
|
/**
|
|
349
|
-
* Type of alert source. Possible values are: `alertmanager`, `appOptics`, `azureMonitor`, `azureDevops`, `bigPanda`, `bugsnag`, `checkly`, `chronosphere`, `cloudwatch`, `cloudflare`, `coralogix`, `cronitor`, `crowdstrikeFalcon`, `dash0`, `datadog`, `dynatrace`, `elasticsearch`, `email`, `expel`, `githubIssue`, `googleCloud`, `googleSecops`, `grafana`, `heartbeat`, `http`, `httpCustom`, `honeycomb`, `icinga2`, `incomingCalls`, `jira`, `jsm`, `logzio`, `monteCarlo`, `nagios`, `newRelic`, `opsgenie`, `prtg`, `pagerDuty`, `panther`, `pingdom`, `posthog`, `runscope`, `sns`, `salesforceCase`, `sentry`, `sentryMetric`, `serviceNow`, `splunk`, `statusCake`, `statusPageViews`, `sumoLogic`, `uptime`, `vercel`, `wiz`, `zendesk`.
|
|
352
|
+
* Type of alert source. Possible values are: `alertmanager`, `appOptics`, `azureMonitor`, `azureDevops`, `bigPanda`, `bugsnag`, `checkly`, `chronosphere`, `cloudwatch`, `cloudflare`, `coralogix`, `cronitor`, `crowdstrikeFalcon`, `dash0`, `datadog`, `dynatrace`, `elasticsearch`, `email`, `expel`, `gitGuardian`, `githubIssue`, `googleCloud`, `googleSecops`, `grafana`, `heartbeat`, `http`, `httpCustom`, `honeycomb`, `icinga2`, `incomingCalls`, `jira`, `jsm`, `logzio`, `monteCarlo`, `nagios`, `newRelic`, `opsgenie`, `prtg`, `pagerDuty`, `panther`, `pingdom`, `posthog`, `runscope`, `sns`, `salesforceCase`, `sentry`, `sentryMetric`, `serviceNow`, `splunk`, `statusCake`, `statusPageViews`, `sumoLogic`, `uptime`, `upwind`, `vercel`, `wiz`, `zendesk`.
|
|
350
353
|
*/
|
|
351
354
|
sourceType: pulumi.Input<string>;
|
|
352
355
|
title?: pulumi.Input<inputs.AlertSourceTitle | undefined>;
|
package/alertSource.d.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C;IACxC;;OAEG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,0BAA0B,CAAC,EAAE,GAAG,SAAS,CAAC,CAAC;IAC/F;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,GAAG,SAAS,CAAC,CAAC;IACjE,QAAQ,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,mBAAmB,GAAG,SAAS,CAAC,CAAC;IAChE;;OAEG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,4BAA4B,GAAG,SAAS,CAAC,CAAC;IAClF,UAAU,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,qBAAqB,GAAG,SAAS,CAAC,CAAC;IACpE;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IACjC,KAAK,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,gBAAgB,GAAG,SAAS,CAAC,CAAC;IAC1D;;OAEG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC;IACtD,cAAc,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,yBAAyB,GAAG,SAAS,CAAC,CAAC;CAC/E"}
|
package/alertSource.js
CHANGED
|
@@ -197,6 +197,7 @@ class AlertSource extends pulumi.CustomResource {
|
|
|
197
197
|
resourceInputs["priority"] = state?.priority;
|
|
198
198
|
resourceInputs["rateLimitSharding"] = state?.rateLimitSharding;
|
|
199
199
|
resourceInputs["secretToken"] = state?.secretToken;
|
|
200
|
+
resourceInputs["snsOptions"] = state?.snsOptions;
|
|
200
201
|
resourceInputs["sourceType"] = state?.sourceType;
|
|
201
202
|
resourceInputs["title"] = state?.title;
|
|
202
203
|
resourceInputs["unlockInDashboard"] = state?.unlockInDashboard;
|
|
@@ -224,6 +225,7 @@ class AlertSource extends pulumi.CustomResource {
|
|
|
224
225
|
resourceInputs["owningTeamIds"] = args?.owningTeamIds;
|
|
225
226
|
resourceInputs["priority"] = args?.priority;
|
|
226
227
|
resourceInputs["rateLimitSharding"] = args?.rateLimitSharding;
|
|
228
|
+
resourceInputs["snsOptions"] = args?.snsOptions;
|
|
227
229
|
resourceInputs["sourceType"] = args?.sourceType;
|
|
228
230
|
resourceInputs["title"] = args?.title;
|
|
229
231
|
resourceInputs["unlockInDashboard"] = args?.unlockInDashboard;
|
package/alertSource.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"alertSource.js","sourceRoot":"","sources":["../alertSource.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuHG;AACH,MAAa,WAAY,SAAQ,MAAM,CAAC,cAAc;IAClD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAwB,EAAE,IAAmC;QACtH,OAAO,IAAI,WAAW,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAClE,CAAC;IAED,gBAAgB;IACT,MAAM,CAAU,YAAY,GAAG,wCAAwC,CAAC;IAE/E;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO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AC;YAC5D,cAAc,CAAC,eAAe,CAAC,GAAG,IAAI,EAAE,aAAa,CAAC;YACtD,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,EAAE,QAAQ,CAAC;YAC5C,cAAc,CAAC,mBAAmB,CAAC,GAAG,IAAI,EAAE,iBAAiB,CAAC;YAC9D,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,EAAE,UAAU,CAAC;YAChD,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,EAAE,UAAU,CAAC;YAChD,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,EAAE,KAAK,CAAC;YACtC,cAAc,CAAC,mBAAmB,CAAC,GAAG,IAAI,EAAE,iBAAiB,CAAC;YAC9D,cAAc,CAAC,gBAAgB,CAAC,GAAG,IAAI,EAAE,cAAc,CAAC;YACxD,cAAc,CAAC,gBAAgB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACrD,cAAc,CAAC,cAAc,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACnD,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAClD,cAAc,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACjD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,UAAU,GAAG,EAAE,uBAAuB,EAAE,CAAC,aAAa,CAAC,EAAE,CAAC;QAChE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,WAAW,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAChE,CAAC;;AA/KL,kCAgLC"}
|
package/alertSourceBeta.d.ts
CHANGED
|
@@ -92,8 +92,9 @@ export declare class AlertSourceBeta extends pulumi.CustomResource {
|
|
|
92
92
|
* The token to use when sending alerts to this source. Only returned to callers with permission to update the source.
|
|
93
93
|
*/
|
|
94
94
|
readonly secretToken: pulumi.Output<string>;
|
|
95
|
+
readonly snsOptions: pulumi.Output<outputs.AlertSourceBetaSnsOptions | undefined>;
|
|
95
96
|
/**
|
|
96
|
-
* Type of alert source. Possible values are: `alertmanager`, `appOptics`, `azureMonitor`, `azureDevops`, `bigPanda`, `bugsnag`, `checkly`, `chronosphere`, `cloudwatch`, `cloudflare`, `coralogix`, `cronitor`, `crowdstrikeFalcon`, `dash0`, `datadog`, `dynatrace`, `elasticsearch`, `email`, `expel`, `githubIssue`, `googleCloud`, `googleSecops`, `grafana`, `heartbeat`, `http`, `httpCustom`, `honeycomb`, `icinga2`, `incomingCalls`, `jira`, `jsm`, `logzio`, `monteCarlo`, `nagios`, `newRelic`, `opsgenie`, `prtg`, `pagerDuty`, `panther`, `pingdom`, `posthog`, `runscope`, `sns`, `salesforceCase`, `sentry`, `sentryMetric`, `serviceNow`, `splunk`, `statusCake`, `statusPageViews`, `sumoLogic`, `uptime`, `vercel`, `wiz`, `zendesk`.
|
|
97
|
+
* Type of alert source. Possible values are: `alertmanager`, `appOptics`, `azureMonitor`, `azureDevops`, `bigPanda`, `bugsnag`, `checkly`, `chronosphere`, `cloudwatch`, `cloudflare`, `coralogix`, `cronitor`, `crowdstrikeFalcon`, `dash0`, `datadog`, `dynatrace`, `elasticsearch`, `email`, `expel`, `gitGuardian`, `githubIssue`, `googleCloud`, `googleSecops`, `grafana`, `heartbeat`, `http`, `httpCustom`, `honeycomb`, `icinga2`, `incomingCalls`, `jira`, `jsm`, `logzio`, `monteCarlo`, `nagios`, `newRelic`, `opsgenie`, `prtg`, `pagerDuty`, `panther`, `pingdom`, `posthog`, `runscope`, `sns`, `salesforceCase`, `sentry`, `sentryMetric`, `serviceNow`, `splunk`, `statusCake`, `statusPageViews`, `sumoLogic`, `uptime`, `upwind`, `vercel`, `wiz`, `zendesk`.
|
|
97
98
|
*/
|
|
98
99
|
readonly sourceType: pulumi.Output<string>;
|
|
99
100
|
readonly title: pulumi.Output<outputs.AlertSourceBetaTitle | undefined>;
|
|
@@ -177,8 +178,9 @@ export interface AlertSourceBetaState {
|
|
|
177
178
|
* The token to use when sending alerts to this source. Only returned to callers with permission to update the source.
|
|
178
179
|
*/
|
|
179
180
|
secretToken?: pulumi.Input<string | undefined>;
|
|
181
|
+
snsOptions?: pulumi.Input<inputs.AlertSourceBetaSnsOptions | undefined>;
|
|
180
182
|
/**
|
|
181
|
-
* Type of alert source. Possible values are: `alertmanager`, `appOptics`, `azureMonitor`, `azureDevops`, `bigPanda`, `bugsnag`, `checkly`, `chronosphere`, `cloudwatch`, `cloudflare`, `coralogix`, `cronitor`, `crowdstrikeFalcon`, `dash0`, `datadog`, `dynatrace`, `elasticsearch`, `email`, `expel`, `githubIssue`, `googleCloud`, `googleSecops`, `grafana`, `heartbeat`, `http`, `httpCustom`, `honeycomb`, `icinga2`, `incomingCalls`, `jira`, `jsm`, `logzio`, `monteCarlo`, `nagios`, `newRelic`, `opsgenie`, `prtg`, `pagerDuty`, `panther`, `pingdom`, `posthog`, `runscope`, `sns`, `salesforceCase`, `sentry`, `sentryMetric`, `serviceNow`, `splunk`, `statusCake`, `statusPageViews`, `sumoLogic`, `uptime`, `vercel`, `wiz`, `zendesk`.
|
|
183
|
+
* Type of alert source. Possible values are: `alertmanager`, `appOptics`, `azureMonitor`, `azureDevops`, `bigPanda`, `bugsnag`, `checkly`, `chronosphere`, `cloudwatch`, `cloudflare`, `coralogix`, `cronitor`, `crowdstrikeFalcon`, `dash0`, `datadog`, `dynatrace`, `elasticsearch`, `email`, `expel`, `gitGuardian`, `githubIssue`, `googleCloud`, `googleSecops`, `grafana`, `heartbeat`, `http`, `httpCustom`, `honeycomb`, `icinga2`, `incomingCalls`, `jira`, `jsm`, `logzio`, `monteCarlo`, `nagios`, `newRelic`, `opsgenie`, `prtg`, `pagerDuty`, `panther`, `pingdom`, `posthog`, `runscope`, `sns`, `salesforceCase`, `sentry`, `sentryMetric`, `serviceNow`, `splunk`, `statusCake`, `statusPageViews`, `sumoLogic`, `uptime`, `upwind`, `vercel`, `wiz`, `zendesk`.
|
|
182
184
|
*/
|
|
183
185
|
sourceType?: pulumi.Input<string | undefined>;
|
|
184
186
|
title?: pulumi.Input<inputs.AlertSourceBetaTitle | undefined>;
|
|
@@ -242,8 +244,9 @@ export interface AlertSourceBetaArgs {
|
|
|
242
244
|
* Controls how this source's ingest rate limit is split into buckets.
|
|
243
245
|
*/
|
|
244
246
|
rateLimitSharding?: pulumi.Input<inputs.AlertSourceBetaRateLimitSharding | undefined>;
|
|
247
|
+
snsOptions?: pulumi.Input<inputs.AlertSourceBetaSnsOptions | undefined>;
|
|
245
248
|
/**
|
|
246
|
-
* Type of alert source. Possible values are: `alertmanager`, `appOptics`, `azureMonitor`, `azureDevops`, `bigPanda`, `bugsnag`, `checkly`, `chronosphere`, `cloudwatch`, `cloudflare`, `coralogix`, `cronitor`, `crowdstrikeFalcon`, `dash0`, `datadog`, `dynatrace`, `elasticsearch`, `email`, `expel`, `githubIssue`, `googleCloud`, `googleSecops`, `grafana`, `heartbeat`, `http`, `httpCustom`, `honeycomb`, `icinga2`, `incomingCalls`, `jira`, `jsm`, `logzio`, `monteCarlo`, `nagios`, `newRelic`, `opsgenie`, `prtg`, `pagerDuty`, `panther`, `pingdom`, `posthog`, `runscope`, `sns`, `salesforceCase`, `sentry`, `sentryMetric`, `serviceNow`, `splunk`, `statusCake`, `statusPageViews`, `sumoLogic`, `uptime`, `vercel`, `wiz`, `zendesk`.
|
|
249
|
+
* Type of alert source. Possible values are: `alertmanager`, `appOptics`, `azureMonitor`, `azureDevops`, `bigPanda`, `bugsnag`, `checkly`, `chronosphere`, `cloudwatch`, `cloudflare`, `coralogix`, `cronitor`, `crowdstrikeFalcon`, `dash0`, `datadog`, `dynatrace`, `elasticsearch`, `email`, `expel`, `gitGuardian`, `githubIssue`, `googleCloud`, `googleSecops`, `grafana`, `heartbeat`, `http`, `httpCustom`, `honeycomb`, `icinga2`, `incomingCalls`, `jira`, `jsm`, `logzio`, `monteCarlo`, `nagios`, `newRelic`, `opsgenie`, `prtg`, `pagerDuty`, `panther`, `pingdom`, `posthog`, `runscope`, `sns`, `salesforceCase`, `sentry`, `sentryMetric`, `serviceNow`, `splunk`, `statusCake`, `statusPageViews`, `sumoLogic`, `uptime`, `upwind`, `vercel`, `wiz`, `zendesk`.
|
|
247
250
|
*/
|
|
248
251
|
sourceType: pulumi.Input<string>;
|
|
249
252
|
title?: pulumi.Input<inputs.AlertSourceBetaTitle | undefined>;
|
package/alertSourceBeta.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"alertSourceBeta.d.ts","sourceRoot":"","sources":["../alertSourceBeta.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAG1C;;;;;;;;;;;;;;;;GAgBG;AACH,qBAAa,eAAgB,SAAQ,MAAM,CAAC,cAAc;IACtD;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,oBAAoB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,eAAe;IAOhJ;;;OAGG;WACW,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,eAAe;IAO1D;;OAEG;IACH,SAAgC,cAAc,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IACtE;;OAEG;IACH,SAAwB,yBAAyB,EAAE,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;IAC1E;;OAEG;IACH,SAAwB,yBAAyB,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACr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C,KAAK,CAAC,MAAM,CAAC,0BAA0B,GAAG,SAAS,CAAC,CAAC;IAC1E;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACxC;;OAEG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,8BAA8B,CAAC,EAAE,GAAG,SAAS,CAAC,CAAC;IACnG;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,GAAG,SAAS,CAAC,CAAC;IACjE,QAAQ,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,uBAAuB,GAAG,SAAS,CAAC,CAAC;IACpE;;OAEG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,gCAAgC,GAAG,SAAS,CAAC,CAAC;IACtF,UAAU,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,yBAAyB,GAAG,SAAS,CAAC,CAAC;IACxE;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IACjC,KAAK,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,oBAAoB,GAAG,SAAS,CAAC,CAAC;IAC9D;;OAEG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC;IACtD,cAAc,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,6BAA6B,GAAG,SAAS,CAAC,CAAC;CACnF"}
|
package/alertSourceBeta.js
CHANGED
|
@@ -94,6 +94,7 @@ class AlertSourceBeta extends pulumi.CustomResource {
|
|
|
94
94
|
resourceInputs["priority"] = state?.priority;
|
|
95
95
|
resourceInputs["rateLimitSharding"] = state?.rateLimitSharding;
|
|
96
96
|
resourceInputs["secretToken"] = state?.secretToken;
|
|
97
|
+
resourceInputs["snsOptions"] = state?.snsOptions;
|
|
97
98
|
resourceInputs["sourceType"] = state?.sourceType;
|
|
98
99
|
resourceInputs["title"] = state?.title;
|
|
99
100
|
resourceInputs["unlockInDashboard"] = state?.unlockInDashboard;
|
|
@@ -121,6 +122,7 @@ class AlertSourceBeta extends pulumi.CustomResource {
|
|
|
121
122
|
resourceInputs["owningTeamIds"] = args?.owningTeamIds;
|
|
122
123
|
resourceInputs["priority"] = args?.priority;
|
|
123
124
|
resourceInputs["rateLimitSharding"] = args?.rateLimitSharding;
|
|
125
|
+
resourceInputs["snsOptions"] = args?.snsOptions;
|
|
124
126
|
resourceInputs["sourceType"] = args?.sourceType;
|
|
125
127
|
resourceInputs["title"] = args?.title;
|
|
126
128
|
resourceInputs["unlockInDashboard"] = args?.unlockInDashboard;
|
package/alertSourceBeta.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"alertSourceBeta.js","sourceRoot":"","sources":["../alertSourceBeta.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC;;;;;;;;;;;;;;;;GAgBG;AACH,MAAa,eAAgB,SAAQ,MAAM,CAAC,cAAc;IACtD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA4B,EAAE,IAAmC;QAC1H,OAAO,IAAI,eAAe,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACtE,CAAC;IAED,gBAAgB;IACT,MAAM,CAAU,YAAY,GAAG,gDAAgD,CAAC;IAEvF;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK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AC;YACtD,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,EAAE,QAAQ,CAAC;YAC5C,cAAc,CAAC,mBAAmB,CAAC,GAAG,IAAI,EAAE,iBAAiB,CAAC;YAC9D,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,EAAE,UAAU,CAAC;YAChD,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,EAAE,UAAU,CAAC;YAChD,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,EAAE,KAAK,CAAC;YACtC,cAAc,CAAC,mBAAmB,CAAC,GAAG,IAAI,EAAE,iBAAiB,CAAC;YAC9D,cAAc,CAAC,gBAAgB,CAAC,GAAG,IAAI,EAAE,cAAc,CAAC;YACxD,cAAc,CAAC,gBAAgB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACrD,cAAc,CAAC,cAAc,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACnD,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAClD,cAAc,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACjD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,UAAU,GAAG,EAAE,uBAAuB,EAAE,CAAC,aAAa,CAAC,EAAE,CAAC;QAChE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,eAAe,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACpE,CAAC;;AA/KL,0CAgLC"}
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* This resource adds your own aliases to a catalog entry that incident.io syncs, such as a
|
|
4
|
+
* schedule, escalation path or user. The sync owns the entry and its other aliases, so you
|
|
5
|
+
* can't manage it with `incident.CatalogEntry`: look it up with the
|
|
6
|
+
* `incident.CatalogEntry` data source instead.
|
|
7
|
+
*
|
|
8
|
+
* Syncs keep these aliases, and the entry lists them in its aliases too. Terraform owns the
|
|
9
|
+
* whole list: it removes aliases added to it elsewhere, for example in the dashboard, on the
|
|
10
|
+
* next apply. When you destroy the resource, Terraform clears the list and leaves the entry
|
|
11
|
+
* in place.
|
|
12
|
+
*
|
|
13
|
+
* Only catalog types that incident.io syncs or manages take these aliases. Changing them on the User
|
|
14
|
+
* type, or on another type that team membership passes through, needs an API key with the
|
|
15
|
+
* `team.memberships_update` scope ("Update team memberships"), because aliases on those
|
|
16
|
+
* entries decide who belongs to a team.
|
|
17
|
+
*
|
|
18
|
+
* ## Example Usage
|
|
19
|
+
*
|
|
20
|
+
* ```typescript
|
|
21
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
22
|
+
* import * as incident from "@incident-io/pulumi";
|
|
23
|
+
*
|
|
24
|
+
* const schedule = incident.getCatalogType({
|
|
25
|
+
* typeName: "Schedule",
|
|
26
|
+
* });
|
|
27
|
+
* const primaryOnCall = incident.getSchedule({
|
|
28
|
+
* name: "Primary on-call",
|
|
29
|
+
* });
|
|
30
|
+
* // incident.io syncs a catalog entry for each schedule, with the schedule's ID as its
|
|
31
|
+
* // external ID.
|
|
32
|
+
* const primaryOnCallGetCatalogEntry = Promise.all([schedule, primaryOnCall]).then(([schedule, primaryOnCall]) => incident.getCatalogEntry({
|
|
33
|
+
* catalogTypeId: schedule.id,
|
|
34
|
+
* identifier: primaryOnCall.id,
|
|
35
|
+
* }));
|
|
36
|
+
* const primaryOnCallCatalogEntryAliases = new incident.CatalogEntryAliases("primary_on_call", {
|
|
37
|
+
* entryId: primaryOnCallGetCatalogEntry.then(primaryOnCallGetCatalogEntry => primaryOnCallGetCatalogEntry.id),
|
|
38
|
+
* aliases: [
|
|
39
|
+
* "primary",
|
|
40
|
+
* "pd-primary-on-call",
|
|
41
|
+
* ],
|
|
42
|
+
* });
|
|
43
|
+
* ```
|
|
44
|
+
*
|
|
45
|
+
* ## Import
|
|
46
|
+
*
|
|
47
|
+
* Import is supported using an `import` block or the `pulumi import` command:
|
|
48
|
+
*
|
|
49
|
+
* The `pulumi import` command can be used, for example:
|
|
50
|
+
*
|
|
51
|
+
* Import the custom aliases of a catalog entry, by the entry's ID
|
|
52
|
+
*
|
|
53
|
+
* ```sh
|
|
54
|
+
* $ pulumi import incident:index/catalogEntryAliases:CatalogEntryAliases example 01HXYZ
|
|
55
|
+
* ```
|
|
56
|
+
*/
|
|
57
|
+
export declare class CatalogEntryAliases extends pulumi.CustomResource {
|
|
58
|
+
/**
|
|
59
|
+
* Get an existing CatalogEntryAliases resource's state with the given name, ID, and optional extra
|
|
60
|
+
* properties used to qualify the lookup.
|
|
61
|
+
*
|
|
62
|
+
* @param name The _unique_ name of the resulting resource.
|
|
63
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
64
|
+
* @param state Any extra arguments used during the lookup.
|
|
65
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
66
|
+
*/
|
|
67
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: CatalogEntryAliasesState, opts?: pulumi.CustomResourceOptions): CatalogEntryAliases;
|
|
68
|
+
/**
|
|
69
|
+
* Returns true if the given object is an instance of CatalogEntryAliases. This is designed to work even
|
|
70
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
71
|
+
*/
|
|
72
|
+
static isInstance(obj: any): obj is CatalogEntryAliases;
|
|
73
|
+
/**
|
|
74
|
+
* Aliases your organisation adds to the entry, beside the ones its sync sets.
|
|
75
|
+
*/
|
|
76
|
+
readonly aliases: pulumi.Output<string[]>;
|
|
77
|
+
/**
|
|
78
|
+
* The ID of the catalog entry, usually from the `incident.CatalogEntry` data source.
|
|
79
|
+
*/
|
|
80
|
+
readonly entryId: pulumi.Output<string>;
|
|
81
|
+
/**
|
|
82
|
+
* Create a CatalogEntryAliases resource with the given unique name, arguments, and options.
|
|
83
|
+
*
|
|
84
|
+
* @param name The _unique_ name of the resource.
|
|
85
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
86
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
87
|
+
*/
|
|
88
|
+
constructor(name: string, args: CatalogEntryAliasesArgs, opts?: pulumi.CustomResourceOptions);
|
|
89
|
+
}
|
|
90
|
+
/**
|
|
91
|
+
* Input properties used for looking up and filtering CatalogEntryAliases resources.
|
|
92
|
+
*/
|
|
93
|
+
export interface CatalogEntryAliasesState {
|
|
94
|
+
/**
|
|
95
|
+
* Aliases your organisation adds to the entry, beside the ones its sync sets.
|
|
96
|
+
*/
|
|
97
|
+
aliases?: pulumi.Input<pulumi.Input<string>[] | undefined>;
|
|
98
|
+
/**
|
|
99
|
+
* The ID of the catalog entry, usually from the `incident.CatalogEntry` data source.
|
|
100
|
+
*/
|
|
101
|
+
entryId?: pulumi.Input<string | undefined>;
|
|
102
|
+
}
|
|
103
|
+
/**
|
|
104
|
+
* The set of arguments for constructing a CatalogEntryAliases resource.
|
|
105
|
+
*/
|
|
106
|
+
export interface CatalogEntryAliasesArgs {
|
|
107
|
+
/**
|
|
108
|
+
* Aliases your organisation adds to the entry, beside the ones its sync sets.
|
|
109
|
+
*/
|
|
110
|
+
aliases: pulumi.Input<pulumi.Input<string>[]>;
|
|
111
|
+
/**
|
|
112
|
+
* The ID of the catalog entry, usually from the `incident.CatalogEntry` data source.
|
|
113
|
+
*/
|
|
114
|
+
entryId: pulumi.Input<string>;
|
|
115
|
+
}
|
|
116
|
+
//# sourceMappingURL=catalogEntryAliases.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"catalogEntryAliases.d.ts","sourceRoot":"","sources":["../catalogEntryAliases.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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** 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 __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
16
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
17
|
+
}) : function(o, v) {
|
|
18
|
+
o["default"] = v;
|
|
19
|
+
});
|
|
20
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
21
|
+
if (mod && mod.__esModule) return mod;
|
|
22
|
+
var result = {};
|
|
23
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
24
|
+
__setModuleDefault(result, mod);
|
|
25
|
+
return result;
|
|
26
|
+
};
|
|
27
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
+
exports.CatalogEntryAliases = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("./utilities"));
|
|
31
|
+
/**
|
|
32
|
+
* This resource adds your own aliases to a catalog entry that incident.io syncs, such as a
|
|
33
|
+
* schedule, escalation path or user. The sync owns the entry and its other aliases, so you
|
|
34
|
+
* can't manage it with `incident.CatalogEntry`: look it up with the
|
|
35
|
+
* `incident.CatalogEntry` data source instead.
|
|
36
|
+
*
|
|
37
|
+
* Syncs keep these aliases, and the entry lists them in its aliases too. Terraform owns the
|
|
38
|
+
* whole list: it removes aliases added to it elsewhere, for example in the dashboard, on the
|
|
39
|
+
* next apply. When you destroy the resource, Terraform clears the list and leaves the entry
|
|
40
|
+
* in place.
|
|
41
|
+
*
|
|
42
|
+
* Only catalog types that incident.io syncs or manages take these aliases. Changing them on the User
|
|
43
|
+
* type, or on another type that team membership passes through, needs an API key with the
|
|
44
|
+
* `team.memberships_update` scope ("Update team memberships"), because aliases on those
|
|
45
|
+
* entries decide who belongs to a team.
|
|
46
|
+
*
|
|
47
|
+
* ## Example Usage
|
|
48
|
+
*
|
|
49
|
+
* ```typescript
|
|
50
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
51
|
+
* import * as incident from "@incident-io/pulumi";
|
|
52
|
+
*
|
|
53
|
+
* const schedule = incident.getCatalogType({
|
|
54
|
+
* typeName: "Schedule",
|
|
55
|
+
* });
|
|
56
|
+
* const primaryOnCall = incident.getSchedule({
|
|
57
|
+
* name: "Primary on-call",
|
|
58
|
+
* });
|
|
59
|
+
* // incident.io syncs a catalog entry for each schedule, with the schedule's ID as its
|
|
60
|
+
* // external ID.
|
|
61
|
+
* const primaryOnCallGetCatalogEntry = Promise.all([schedule, primaryOnCall]).then(([schedule, primaryOnCall]) => incident.getCatalogEntry({
|
|
62
|
+
* catalogTypeId: schedule.id,
|
|
63
|
+
* identifier: primaryOnCall.id,
|
|
64
|
+
* }));
|
|
65
|
+
* const primaryOnCallCatalogEntryAliases = new incident.CatalogEntryAliases("primary_on_call", {
|
|
66
|
+
* entryId: primaryOnCallGetCatalogEntry.then(primaryOnCallGetCatalogEntry => primaryOnCallGetCatalogEntry.id),
|
|
67
|
+
* aliases: [
|
|
68
|
+
* "primary",
|
|
69
|
+
* "pd-primary-on-call",
|
|
70
|
+
* ],
|
|
71
|
+
* });
|
|
72
|
+
* ```
|
|
73
|
+
*
|
|
74
|
+
* ## Import
|
|
75
|
+
*
|
|
76
|
+
* Import is supported using an `import` block or the `pulumi import` command:
|
|
77
|
+
*
|
|
78
|
+
* The `pulumi import` command can be used, for example:
|
|
79
|
+
*
|
|
80
|
+
* Import the custom aliases of a catalog entry, by the entry's ID
|
|
81
|
+
*
|
|
82
|
+
* ```sh
|
|
83
|
+
* $ pulumi import incident:index/catalogEntryAliases:CatalogEntryAliases example 01HXYZ
|
|
84
|
+
* ```
|
|
85
|
+
*/
|
|
86
|
+
class CatalogEntryAliases extends pulumi.CustomResource {
|
|
87
|
+
/**
|
|
88
|
+
* Get an existing CatalogEntryAliases 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 CatalogEntryAliases(name, state, { ...opts, id: id });
|
|
98
|
+
}
|
|
99
|
+
/** @internal */
|
|
100
|
+
static __pulumiType = 'incident:index/catalogEntryAliases:CatalogEntryAliases';
|
|
101
|
+
/**
|
|
102
|
+
* Returns true if the given object is an instance of CatalogEntryAliases. This is designed to work even
|
|
103
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
104
|
+
*/
|
|
105
|
+
static isInstance(obj) {
|
|
106
|
+
if (obj === undefined || obj === null) {
|
|
107
|
+
return false;
|
|
108
|
+
}
|
|
109
|
+
return obj['__pulumiType'] === CatalogEntryAliases.__pulumiType;
|
|
110
|
+
}
|
|
111
|
+
constructor(name, argsOrState, opts) {
|
|
112
|
+
let resourceInputs = {};
|
|
113
|
+
opts = opts || {};
|
|
114
|
+
if (opts.id) {
|
|
115
|
+
const state = argsOrState;
|
|
116
|
+
resourceInputs["aliases"] = state?.aliases;
|
|
117
|
+
resourceInputs["entryId"] = state?.entryId;
|
|
118
|
+
}
|
|
119
|
+
else {
|
|
120
|
+
const args = argsOrState;
|
|
121
|
+
if (args?.aliases === undefined && !opts.urn) {
|
|
122
|
+
throw new Error("Missing required property 'aliases'");
|
|
123
|
+
}
|
|
124
|
+
if (args?.entryId === undefined && !opts.urn) {
|
|
125
|
+
throw new Error("Missing required property 'entryId'");
|
|
126
|
+
}
|
|
127
|
+
resourceInputs["aliases"] = args?.aliases;
|
|
128
|
+
resourceInputs["entryId"] = args?.entryId;
|
|
129
|
+
}
|
|
130
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
131
|
+
super(CatalogEntryAliases.__pulumiType, name, resourceInputs, opts);
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
exports.CatalogEntryAliases = CatalogEntryAliases;
|
|
135
|
+
//# sourceMappingURL=catalogEntryAliases.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"catalogEntryAliases.js","sourceRoot":"","sources":["../catalogEntryAliases.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,uDAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsDG;AACH,MAAa,mBAAoB,SAAQ,MAAM,CAAC,cAAc;IAC1D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAgC,EAAE,IAAmC;QAC9H,OAAO,IAAI,mBAAmB,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC1E,CAAC;IAED,gBAAgB;IACT,MAAM,CAAU,YAAY,GAAG,wDAAwD,CAAC;IAE/F;;;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,CAAC,YAAY,CAAC;IACpE,CAAC;IAmBD,YAAY,IAAY,EAAE,WAAgE,EAAE,IAAmC;QAC3H,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAmD,CAAC;YAClE,cAAc,CAAC,SAAS,CAAC,GAAG,KAAK,EAAE,OAAO,CAAC;YAC3C,cAAc,CAAC,SAAS,CAAC,GAAG,KAAK,EAAE,OAAO,CAAC;SAC9C;aAAM;YACH,MAAM,IAAI,GAAG,WAAkD,CAAC;YAChE,IAAI,IAAI,EAAE,OAAO,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC1C,MAAM,IAAI,KAAK,CAAC,qCAAqC,CAAC,CAAC;aAC1D;YACD,IAAI,IAAI,EAAE,OAAO,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC1C,MAAM,IAAI,KAAK,CAAC,qCAAqC,CAAC,CAAC;aAC1D;YACD,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,EAAE,OAAO,CAAC;YAC1C,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,mBAAmB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACxE,CAAC;;AAjEL,kDAkEC"}
|
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* This resource sets one attribute on a catalog entry that incident.io syncs or manages, such
|
|
4
|
+
* as a schedule, escalation path or user. The sync owns the entry and its synced attributes,
|
|
5
|
+
* so you can't manage it with `incident.CatalogEntry`: look it up with the
|
|
6
|
+
* `incident.CatalogEntry` data source instead.
|
|
7
|
+
*
|
|
8
|
+
* Use it for attributes you added to the catalog type yourself, for example with
|
|
9
|
+
* `incident.CatalogTypeAttribute` or in the incident.io web UI. Terraform writes only
|
|
10
|
+
* this attribute, and puts it back on the next apply if someone changes it elsewhere. When
|
|
11
|
+
* you destroy the resource, Terraform clears the attribute and leaves the entry in place.
|
|
12
|
+
*
|
|
13
|
+
* Terraform refuses entries of any other catalog type. Those belong to whatever created them,
|
|
14
|
+
* such as `incident.CatalogEntry`, `incident.CatalogEntries` or catalog-importer, which would
|
|
15
|
+
* overwrite this resource's writes.
|
|
16
|
+
*
|
|
17
|
+
* ## Example Usage
|
|
18
|
+
*
|
|
19
|
+
* ```typescript
|
|
20
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
21
|
+
* import * as incident from "@incident-io/pulumi";
|
|
22
|
+
*
|
|
23
|
+
* const schedule = incident.getCatalogType({
|
|
24
|
+
* typeName: "Schedule",
|
|
25
|
+
* });
|
|
26
|
+
* const primaryOnCall = incident.getSchedule({
|
|
27
|
+
* name: "Primary on-call",
|
|
28
|
+
* });
|
|
29
|
+
* // incident.io syncs a catalog entry for each schedule, with the schedule's ID as its
|
|
30
|
+
* // external ID.
|
|
31
|
+
* const primaryOnCallGetCatalogEntry = Promise.all([schedule, primaryOnCall]).then(([schedule, primaryOnCall]) => incident.getCatalogEntry({
|
|
32
|
+
* catalogTypeId: schedule.id,
|
|
33
|
+
* identifier: primaryOnCall.id,
|
|
34
|
+
* }));
|
|
35
|
+
* // An attribute you add to the Schedule type yourself.
|
|
36
|
+
* const scheduleRunbook = new incident.CatalogTypeAttribute("schedule_runbook", {
|
|
37
|
+
* catalogTypeId: schedule.then(schedule => schedule.id),
|
|
38
|
+
* name: "Runbook",
|
|
39
|
+
* type: "String",
|
|
40
|
+
* });
|
|
41
|
+
* const primaryOnCallRunbook = new incident.CatalogEntryAttributeValue("primary_on_call_runbook", {
|
|
42
|
+
* entryId: primaryOnCallGetCatalogEntry.then(primaryOnCallGetCatalogEntry => primaryOnCallGetCatalogEntry.id),
|
|
43
|
+
* attributeId: scheduleRunbook.id,
|
|
44
|
+
* value: "https://runbooks.example.com/primary-on-call",
|
|
45
|
+
* });
|
|
46
|
+
* ```
|
|
47
|
+
*
|
|
48
|
+
* ## Import
|
|
49
|
+
*
|
|
50
|
+
* Import is supported using an `import` block or the `pulumi import` command:
|
|
51
|
+
*
|
|
52
|
+
* The `pulumi import` command can be used, for example:
|
|
53
|
+
*
|
|
54
|
+
* Import an attribute value as <entry_id>:<attribute_id>
|
|
55
|
+
*
|
|
56
|
+
* ```sh
|
|
57
|
+
* $ pulumi import incident:index/catalogEntryAttributeValue:CatalogEntryAttributeValue example 01HXYZ:01HABC
|
|
58
|
+
* ```
|
|
59
|
+
*/
|
|
60
|
+
export declare class CatalogEntryAttributeValue extends pulumi.CustomResource {
|
|
61
|
+
/**
|
|
62
|
+
* Get an existing CatalogEntryAttributeValue resource's state with the given name, ID, and optional extra
|
|
63
|
+
* properties used to qualify the lookup.
|
|
64
|
+
*
|
|
65
|
+
* @param name The _unique_ name of the resulting resource.
|
|
66
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
67
|
+
* @param state Any extra arguments used during the lookup.
|
|
68
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
69
|
+
*/
|
|
70
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: CatalogEntryAttributeValueState, opts?: pulumi.CustomResourceOptions): CatalogEntryAttributeValue;
|
|
71
|
+
/**
|
|
72
|
+
* Returns true if the given object is an instance of CatalogEntryAttributeValue. This is designed to work even
|
|
73
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
74
|
+
*/
|
|
75
|
+
static isInstance(obj: any): obj is CatalogEntryAttributeValue;
|
|
76
|
+
/**
|
|
77
|
+
* The values of an array attribute, each in a format suitable for its type. Set this or `value`.
|
|
78
|
+
*/
|
|
79
|
+
readonly arrayValues: pulumi.Output<string[] | undefined>;
|
|
80
|
+
/**
|
|
81
|
+
* The ID of the attribute, usually from the `incident.CatalogTypeAttribute` resource or data source.
|
|
82
|
+
*/
|
|
83
|
+
readonly attributeId: pulumi.Output<string>;
|
|
84
|
+
/**
|
|
85
|
+
* The ID of the catalog entry, usually from the `incident.CatalogEntry` data source.
|
|
86
|
+
*/
|
|
87
|
+
readonly entryId: pulumi.Output<string>;
|
|
88
|
+
/**
|
|
89
|
+
* The value of the attribute, in a format suitable for its type. Set this or `arrayValue`.
|
|
90
|
+
*/
|
|
91
|
+
readonly value: pulumi.Output<string | undefined>;
|
|
92
|
+
/**
|
|
93
|
+
* Create a CatalogEntryAttributeValue resource with the given unique name, arguments, and options.
|
|
94
|
+
*
|
|
95
|
+
* @param name The _unique_ name of the resource.
|
|
96
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
97
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
98
|
+
*/
|
|
99
|
+
constructor(name: string, args: CatalogEntryAttributeValueArgs, opts?: pulumi.CustomResourceOptions);
|
|
100
|
+
}
|
|
101
|
+
/**
|
|
102
|
+
* Input properties used for looking up and filtering CatalogEntryAttributeValue resources.
|
|
103
|
+
*/
|
|
104
|
+
export interface CatalogEntryAttributeValueState {
|
|
105
|
+
/**
|
|
106
|
+
* The values of an array attribute, each in a format suitable for its type. Set this or `value`.
|
|
107
|
+
*/
|
|
108
|
+
arrayValues?: pulumi.Input<pulumi.Input<string>[] | undefined>;
|
|
109
|
+
/**
|
|
110
|
+
* The ID of the attribute, usually from the `incident.CatalogTypeAttribute` resource or data source.
|
|
111
|
+
*/
|
|
112
|
+
attributeId?: pulumi.Input<string | undefined>;
|
|
113
|
+
/**
|
|
114
|
+
* The ID of the catalog entry, usually from the `incident.CatalogEntry` data source.
|
|
115
|
+
*/
|
|
116
|
+
entryId?: pulumi.Input<string | undefined>;
|
|
117
|
+
/**
|
|
118
|
+
* The value of the attribute, in a format suitable for its type. Set this or `arrayValue`.
|
|
119
|
+
*/
|
|
120
|
+
value?: pulumi.Input<string | undefined>;
|
|
121
|
+
}
|
|
122
|
+
/**
|
|
123
|
+
* The set of arguments for constructing a CatalogEntryAttributeValue resource.
|
|
124
|
+
*/
|
|
125
|
+
export interface CatalogEntryAttributeValueArgs {
|
|
126
|
+
/**
|
|
127
|
+
* The values of an array attribute, each in a format suitable for its type. Set this or `value`.
|
|
128
|
+
*/
|
|
129
|
+
arrayValues?: pulumi.Input<pulumi.Input<string>[] | undefined>;
|
|
130
|
+
/**
|
|
131
|
+
* The ID of the attribute, usually from the `incident.CatalogTypeAttribute` resource or data source.
|
|
132
|
+
*/
|
|
133
|
+
attributeId: pulumi.Input<string>;
|
|
134
|
+
/**
|
|
135
|
+
* The ID of the catalog entry, usually from the `incident.CatalogEntry` data source.
|
|
136
|
+
*/
|
|
137
|
+
entryId: pulumi.Input<string>;
|
|
138
|
+
/**
|
|
139
|
+
* The value of the attribute, in a format suitable for its type. Set this or `arrayValue`.
|
|
140
|
+
*/
|
|
141
|
+
value?: pulumi.Input<string | undefined>;
|
|
142
|
+
}
|
|
143
|
+
//# sourceMappingURL=catalogEntryAttributeValue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"catalogEntryAttributeValue.d.ts","sourceRoot":"","sources":["../catalogEntryAttributeValue.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyDG;AACH,qBAAa,0BAA2B,SAAQ,MAAM,CAAC,cAAc;IACjE;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE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