@pulumi/newrelic 5.59.0-alpha.1768456783 → 5.59.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.
@@ -0,0 +1,385 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "./types/input";
3
+ import * as outputs from "./types/output";
4
+ /**
5
+ * Use this resource to create and manage compound alert conditions in New Relic. Compound conditions allow you to combine multiple alert conditions using logical expressions (AND, OR, NOT) to create more sophisticated alerting logic.
6
+ *
7
+ * ## Example Usage
8
+ *
9
+ * ### Basic Compound Condition (AND)
10
+ *
11
+ * ```typescript
12
+ * import * as pulumi from "@pulumi/pulumi";
13
+ * import * as newrelic from "@pulumi/newrelic";
14
+ *
15
+ * const example = new newrelic.AlertPolicy("example", {name: "my-policy"});
16
+ * // Create component NRQL conditions
17
+ * const highResponseTime = new newrelic.NrqlAlertCondition("high_response_time", {
18
+ * policyId: example.id,
19
+ * name: "High Response Time",
20
+ * enabled: true,
21
+ * nrql: {
22
+ * query: "SELECT average(duration) FROM Transaction WHERE appName = 'MyApp'",
23
+ * },
24
+ * critical: {
25
+ * operator: "above",
26
+ * threshold: 5,
27
+ * thresholdDuration: 300,
28
+ * thresholdOccurrences: "all",
29
+ * },
30
+ * violationTimeLimitSeconds: 3600,
31
+ * });
32
+ * const highErrorRate = new newrelic.NrqlAlertCondition("high_error_rate", {
33
+ * policyId: example.id,
34
+ * name: "High Error Rate",
35
+ * enabled: true,
36
+ * nrql: {
37
+ * query: "SELECT percentage(count(*), WHERE error IS true) FROM Transaction WHERE appName = 'MyApp'",
38
+ * },
39
+ * critical: {
40
+ * operator: "above",
41
+ * threshold: 5,
42
+ * thresholdDuration: 300,
43
+ * thresholdOccurrences: "all",
44
+ * },
45
+ * violationTimeLimitSeconds: 3600,
46
+ * });
47
+ * // Create alert compound condition combining both
48
+ * const criticalServiceHealth = new newrelic.AlertCompoundCondition("critical_service_health", {
49
+ * policyId: example.id,
50
+ * name: "Critical Service Health",
51
+ * enabled: true,
52
+ * triggerExpression: "A AND B",
53
+ * runbookUrl: "https://example.com/runbooks/critical-health",
54
+ * thresholdDuration: 120,
55
+ * componentConditions: [
56
+ * {
57
+ * id: highResponseTime.id,
58
+ * alias: "A",
59
+ * },
60
+ * {
61
+ * id: highErrorRate.id,
62
+ * alias: "B",
63
+ * },
64
+ * ],
65
+ * facetMatchingBehavior: "FACETS_IGNORED",
66
+ * });
67
+ * ```
68
+ *
69
+ * ### Complex Condition with Three Components
70
+ *
71
+ * ```typescript
72
+ * import * as pulumi from "@pulumi/pulumi";
73
+ * import * as newrelic from "@pulumi/newrelic";
74
+ *
75
+ * const highCpu = new newrelic.NrqlAlertCondition("high_cpu", {
76
+ * policyId: example.id,
77
+ * name: "High CPU",
78
+ * enabled: true,
79
+ * nrql: {
80
+ * query: "SELECT average(cpuPercent) FROM SystemSample WHERE hostname = 'myhost'",
81
+ * },
82
+ * critical: {
83
+ * operator: "above",
84
+ * threshold: 80,
85
+ * thresholdDuration: 300,
86
+ * thresholdOccurrences: "all",
87
+ * },
88
+ * violationTimeLimitSeconds: 3600,
89
+ * });
90
+ * const highMemory = new newrelic.NrqlAlertCondition("high_memory", {
91
+ * policyId: example.id,
92
+ * name: "High Memory",
93
+ * enabled: true,
94
+ * nrql: {
95
+ * query: "SELECT average(memoryUsedPercent) FROM SystemSample WHERE hostname = 'myhost'",
96
+ * },
97
+ * critical: {
98
+ * operator: "above",
99
+ * threshold: 85,
100
+ * thresholdDuration: 300,
101
+ * thresholdOccurrences: "all",
102
+ * },
103
+ * violationTimeLimitSeconds: 3600,
104
+ * });
105
+ * const diskFull = new newrelic.NrqlAlertCondition("disk_full", {
106
+ * policyId: example.id,
107
+ * name: "Disk Full",
108
+ * enabled: true,
109
+ * nrql: {
110
+ * query: "SELECT average(diskUsedPercent) FROM SystemSample WHERE hostname = 'myhost'",
111
+ * },
112
+ * critical: {
113
+ * operator: "above",
114
+ * threshold: 90,
115
+ * thresholdDuration: 300,
116
+ * thresholdOccurrences: "all",
117
+ * },
118
+ * violationTimeLimitSeconds: 3600,
119
+ * });
120
+ * const complex = new newrelic.AlertCompoundCondition("complex", {
121
+ * policyId: example.id,
122
+ * name: "Complex Infrastructure Alert",
123
+ * enabled: true,
124
+ * triggerExpression: "(A AND B) OR C",
125
+ * componentConditions: [
126
+ * {
127
+ * id: highCpu.id,
128
+ * alias: "A",
129
+ * },
130
+ * {
131
+ * id: highMemory.id,
132
+ * alias: "B",
133
+ * },
134
+ * {
135
+ * id: diskFull.id,
136
+ * alias: "C",
137
+ * },
138
+ * ],
139
+ * });
140
+ * ```
141
+ *
142
+ * ### With Facet Matching
143
+ *
144
+ * ```typescript
145
+ * import * as pulumi from "@pulumi/pulumi";
146
+ * import * as newrelic from "@pulumi/newrelic";
147
+ *
148
+ * const highThroughputPerHost = new newrelic.NrqlAlertCondition("high_throughput_per_host", {
149
+ * policyId: example.id,
150
+ * name: "High Throughput Per Host",
151
+ * enabled: true,
152
+ * nrql: {
153
+ * query: "SELECT rate(count(*), 1 minute) FROM Transaction FACET host",
154
+ * },
155
+ * critical: {
156
+ * operator: "above",
157
+ * threshold: 1000,
158
+ * thresholdDuration: 300,
159
+ * thresholdOccurrences: "all",
160
+ * },
161
+ * violationTimeLimitSeconds: 3600,
162
+ * });
163
+ * const highErrorRatePerHost = new newrelic.NrqlAlertCondition("high_error_rate_per_host", {
164
+ * policyId: example.id,
165
+ * name: "High Error Rate Per Host",
166
+ * enabled: true,
167
+ * nrql: {
168
+ * query: "SELECT percentage(count(*), WHERE error IS true) FROM Transaction FACET host",
169
+ * },
170
+ * critical: {
171
+ * operator: "above",
172
+ * threshold: 5,
173
+ * thresholdDuration: 300,
174
+ * thresholdOccurrences: "all",
175
+ * },
176
+ * violationTimeLimitSeconds: 3600,
177
+ * });
178
+ * const withFacets = new newrelic.AlertCompoundCondition("with_facets", {
179
+ * policyId: example.id,
180
+ * name: "Host-Specific Alert",
181
+ * enabled: true,
182
+ * triggerExpression: "A AND B",
183
+ * facetMatchingBehavior: "FACETS_MATCH",
184
+ * componentConditions: [
185
+ * {
186
+ * id: highThroughputPerHost.id,
187
+ * alias: "A",
188
+ * },
189
+ * {
190
+ * id: highErrorRatePerHost.id,
191
+ * alias: "B",
192
+ * },
193
+ * ],
194
+ * });
195
+ * ```
196
+ *
197
+ * ## Additional Information
198
+ *
199
+ * ### Understanding Trigger Expressions
200
+ *
201
+ * Trigger expressions define the logical conditions under which your alert compound condition will activate. Valid operators are:
202
+ *
203
+ * - **AND** - Both conditions must be true
204
+ * - **OR** - Either condition must be true
205
+ * - **NOT** - Negates a condition
206
+ * - **Parentheses** - Group conditions for complex logic
207
+ *
208
+ * Examples:
209
+ *
210
+ * - `"A AND B"` - Activate when both A and B are in violation
211
+ * - `"A OR B"` - Activate when either A or B is in violation
212
+ * - `"A AND NOT B"` - Activate when A is in violation but B is not
213
+ * - `"(A AND B) OR C"` - Activate when both A and B are in violation, OR when C is in violation
214
+ * - `"A AND (B OR C) AND NOT D"` - Activate when A is in violation AND either B or C is in violation AND D is not in violation
215
+ *
216
+ * ### Facet Matching Behavior
217
+ *
218
+ * When your component NRQL conditions use FACET clauses:
219
+ *
220
+ * - **FACETS_IGNORED** (Default) - Facets are not taken into consideration when determining when the compound alert condition activates. If component conditions have violations (on any facet), the compound alert condition will activate based on the trigger expression.
221
+ * - **FACETS_MATCH** - The compound alert condition will activate only when shared facets have matching values. For example, if condition A fires for `host="server-1"` and condition B fires for `host="server-2"`, the compound alert condition will NOT activate because the facet values don't match.
222
+ *
223
+ * ### Threshold Duration
224
+ *
225
+ * The `thresholdDuration` parameter controls how long the trigger expression must remain true before the compound alert condition will activate.
226
+ *
227
+ * ## Import
228
+ *
229
+ * Compound alert conditions can be imported using the condition ID, e.g.
230
+ *
231
+ * bash
232
+ *
233
+ * ```sh
234
+ * $ pulumi import newrelic:index/alertCompoundCondition:AlertCompoundCondition main 789012
235
+ * ```
236
+ */
237
+ export declare class AlertCompoundCondition extends pulumi.CustomResource {
238
+ /**
239
+ * Get an existing AlertCompoundCondition resource's state with the given name, ID, and optional extra
240
+ * properties used to qualify the lookup.
241
+ *
242
+ * @param name The _unique_ name of the resulting resource.
243
+ * @param id The _unique_ provider ID of the resource to lookup.
244
+ * @param state Any extra arguments used during the lookup.
245
+ * @param opts Optional settings to control the behavior of the CustomResource.
246
+ */
247
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: AlertCompoundConditionState, opts?: pulumi.CustomResourceOptions): AlertCompoundCondition;
248
+ /**
249
+ * Returns true if the given object is an instance of AlertCompoundCondition. This is designed to work even
250
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
251
+ */
252
+ static isInstance(obj: any): obj is AlertCompoundCondition;
253
+ /**
254
+ * The New Relic account ID for managing your compound alert conditions. Defaults to the account ID set in your environment variable `NEW_RELIC_ACCOUNT_ID`.
255
+ */
256
+ readonly accountId: pulumi.Output<string>;
257
+ /**
258
+ * The list of conditions to be combined. Each component condition must be enabled. Must include at least 2. See Component Conditions below for details.
259
+ */
260
+ readonly componentConditions: pulumi.Output<outputs.AlertCompoundConditionComponentCondition[]>;
261
+ /**
262
+ * Whether or not the compound alert condition is enabled. Defaults to `true`.
263
+ */
264
+ readonly enabled: pulumi.Output<boolean>;
265
+ /**
266
+ * How the compound condition will take into account the component conditions' facets during evaluation. Valid values are:
267
+ * - `FACETS_IGNORED` - (Default) Facets are not taken into consideration when determining when the compound alert condition activates
268
+ * - `FACETS_MATCH` - The compound alert condition will activate only when shared facets have matching values
269
+ */
270
+ readonly facetMatchingBehavior: pulumi.Output<string>;
271
+ /**
272
+ * The title of the compound alert condition.
273
+ */
274
+ readonly name: pulumi.Output<string>;
275
+ /**
276
+ * The ID of the policy where this alert compound condition should be used.
277
+ */
278
+ readonly policyId: pulumi.Output<string>;
279
+ /**
280
+ * Runbook URL to display in notifications.
281
+ */
282
+ readonly runbookUrl: pulumi.Output<string | undefined>;
283
+ /**
284
+ * The duration, in seconds, that the trigger expression must be true before the compound alert condition will activate. Between 30-86400 seconds.
285
+ */
286
+ readonly thresholdDuration: pulumi.Output<number>;
287
+ /**
288
+ * Expression that defines how component condition evaluations are combined. Valid operators are 'AND', 'OR', 'NOT'. For more complex expressions, use parentheses. Use the aliases from `componentConditions` to build expressions like `"A AND B"`, `"A OR B"`, `"(A AND B) OR C"`, or `"A AND (B OR C) AND NOT (D AND E)"`.
289
+ */
290
+ readonly triggerExpression: pulumi.Output<string>;
291
+ /**
292
+ * Create a AlertCompoundCondition resource with the given unique name, arguments, and options.
293
+ *
294
+ * @param name The _unique_ name of the resource.
295
+ * @param args The arguments to use to populate this resource's properties.
296
+ * @param opts A bag of options that control this resource's behavior.
297
+ */
298
+ constructor(name: string, args: AlertCompoundConditionArgs, opts?: pulumi.CustomResourceOptions);
299
+ }
300
+ /**
301
+ * Input properties used for looking up and filtering AlertCompoundCondition resources.
302
+ */
303
+ export interface AlertCompoundConditionState {
304
+ /**
305
+ * The New Relic account ID for managing your compound alert conditions. Defaults to the account ID set in your environment variable `NEW_RELIC_ACCOUNT_ID`.
306
+ */
307
+ accountId?: pulumi.Input<string>;
308
+ /**
309
+ * The list of conditions to be combined. Each component condition must be enabled. Must include at least 2. See Component Conditions below for details.
310
+ */
311
+ componentConditions?: pulumi.Input<pulumi.Input<inputs.AlertCompoundConditionComponentCondition>[]>;
312
+ /**
313
+ * Whether or not the compound alert condition is enabled. Defaults to `true`.
314
+ */
315
+ enabled?: pulumi.Input<boolean>;
316
+ /**
317
+ * How the compound condition will take into account the component conditions' facets during evaluation. Valid values are:
318
+ * - `FACETS_IGNORED` - (Default) Facets are not taken into consideration when determining when the compound alert condition activates
319
+ * - `FACETS_MATCH` - The compound alert condition will activate only when shared facets have matching values
320
+ */
321
+ facetMatchingBehavior?: pulumi.Input<string>;
322
+ /**
323
+ * The title of the compound alert condition.
324
+ */
325
+ name?: pulumi.Input<string>;
326
+ /**
327
+ * The ID of the policy where this alert compound condition should be used.
328
+ */
329
+ policyId?: pulumi.Input<string>;
330
+ /**
331
+ * Runbook URL to display in notifications.
332
+ */
333
+ runbookUrl?: pulumi.Input<string>;
334
+ /**
335
+ * The duration, in seconds, that the trigger expression must be true before the compound alert condition will activate. Between 30-86400 seconds.
336
+ */
337
+ thresholdDuration?: pulumi.Input<number>;
338
+ /**
339
+ * Expression that defines how component condition evaluations are combined. Valid operators are 'AND', 'OR', 'NOT'. For more complex expressions, use parentheses. Use the aliases from `componentConditions` to build expressions like `"A AND B"`, `"A OR B"`, `"(A AND B) OR C"`, or `"A AND (B OR C) AND NOT (D AND E)"`.
340
+ */
341
+ triggerExpression?: pulumi.Input<string>;
342
+ }
343
+ /**
344
+ * The set of arguments for constructing a AlertCompoundCondition resource.
345
+ */
346
+ export interface AlertCompoundConditionArgs {
347
+ /**
348
+ * The New Relic account ID for managing your compound alert conditions. Defaults to the account ID set in your environment variable `NEW_RELIC_ACCOUNT_ID`.
349
+ */
350
+ accountId?: pulumi.Input<string>;
351
+ /**
352
+ * The list of conditions to be combined. Each component condition must be enabled. Must include at least 2. See Component Conditions below for details.
353
+ */
354
+ componentConditions: pulumi.Input<pulumi.Input<inputs.AlertCompoundConditionComponentCondition>[]>;
355
+ /**
356
+ * Whether or not the compound alert condition is enabled. Defaults to `true`.
357
+ */
358
+ enabled: pulumi.Input<boolean>;
359
+ /**
360
+ * How the compound condition will take into account the component conditions' facets during evaluation. Valid values are:
361
+ * - `FACETS_IGNORED` - (Default) Facets are not taken into consideration when determining when the compound alert condition activates
362
+ * - `FACETS_MATCH` - The compound alert condition will activate only when shared facets have matching values
363
+ */
364
+ facetMatchingBehavior?: pulumi.Input<string>;
365
+ /**
366
+ * The title of the compound alert condition.
367
+ */
368
+ name?: pulumi.Input<string>;
369
+ /**
370
+ * The ID of the policy where this alert compound condition should be used.
371
+ */
372
+ policyId: pulumi.Input<string>;
373
+ /**
374
+ * Runbook URL to display in notifications.
375
+ */
376
+ runbookUrl?: pulumi.Input<string>;
377
+ /**
378
+ * The duration, in seconds, that the trigger expression must be true before the compound alert condition will activate. Between 30-86400 seconds.
379
+ */
380
+ thresholdDuration?: pulumi.Input<number>;
381
+ /**
382
+ * Expression that defines how component condition evaluations are combined. Valid operators are 'AND', 'OR', 'NOT'. For more complex expressions, use parentheses. Use the aliases from `componentConditions` to build expressions like `"A AND B"`, `"A OR B"`, `"(A AND B) OR C"`, or `"A AND (B OR C) AND NOT (D AND E)"`.
383
+ */
384
+ triggerExpression: pulumi.Input<string>;
385
+ }
@@ -0,0 +1,310 @@
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.AlertCompoundCondition = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * Use this resource to create and manage compound alert conditions in New Relic. Compound conditions allow you to combine multiple alert conditions using logical expressions (AND, OR, NOT) to create more sophisticated alerting logic.
10
+ *
11
+ * ## Example Usage
12
+ *
13
+ * ### Basic Compound Condition (AND)
14
+ *
15
+ * ```typescript
16
+ * import * as pulumi from "@pulumi/pulumi";
17
+ * import * as newrelic from "@pulumi/newrelic";
18
+ *
19
+ * const example = new newrelic.AlertPolicy("example", {name: "my-policy"});
20
+ * // Create component NRQL conditions
21
+ * const highResponseTime = new newrelic.NrqlAlertCondition("high_response_time", {
22
+ * policyId: example.id,
23
+ * name: "High Response Time",
24
+ * enabled: true,
25
+ * nrql: {
26
+ * query: "SELECT average(duration) FROM Transaction WHERE appName = 'MyApp'",
27
+ * },
28
+ * critical: {
29
+ * operator: "above",
30
+ * threshold: 5,
31
+ * thresholdDuration: 300,
32
+ * thresholdOccurrences: "all",
33
+ * },
34
+ * violationTimeLimitSeconds: 3600,
35
+ * });
36
+ * const highErrorRate = new newrelic.NrqlAlertCondition("high_error_rate", {
37
+ * policyId: example.id,
38
+ * name: "High Error Rate",
39
+ * enabled: true,
40
+ * nrql: {
41
+ * query: "SELECT percentage(count(*), WHERE error IS true) FROM Transaction WHERE appName = 'MyApp'",
42
+ * },
43
+ * critical: {
44
+ * operator: "above",
45
+ * threshold: 5,
46
+ * thresholdDuration: 300,
47
+ * thresholdOccurrences: "all",
48
+ * },
49
+ * violationTimeLimitSeconds: 3600,
50
+ * });
51
+ * // Create alert compound condition combining both
52
+ * const criticalServiceHealth = new newrelic.AlertCompoundCondition("critical_service_health", {
53
+ * policyId: example.id,
54
+ * name: "Critical Service Health",
55
+ * enabled: true,
56
+ * triggerExpression: "A AND B",
57
+ * runbookUrl: "https://example.com/runbooks/critical-health",
58
+ * thresholdDuration: 120,
59
+ * componentConditions: [
60
+ * {
61
+ * id: highResponseTime.id,
62
+ * alias: "A",
63
+ * },
64
+ * {
65
+ * id: highErrorRate.id,
66
+ * alias: "B",
67
+ * },
68
+ * ],
69
+ * facetMatchingBehavior: "FACETS_IGNORED",
70
+ * });
71
+ * ```
72
+ *
73
+ * ### Complex Condition with Three Components
74
+ *
75
+ * ```typescript
76
+ * import * as pulumi from "@pulumi/pulumi";
77
+ * import * as newrelic from "@pulumi/newrelic";
78
+ *
79
+ * const highCpu = new newrelic.NrqlAlertCondition("high_cpu", {
80
+ * policyId: example.id,
81
+ * name: "High CPU",
82
+ * enabled: true,
83
+ * nrql: {
84
+ * query: "SELECT average(cpuPercent) FROM SystemSample WHERE hostname = 'myhost'",
85
+ * },
86
+ * critical: {
87
+ * operator: "above",
88
+ * threshold: 80,
89
+ * thresholdDuration: 300,
90
+ * thresholdOccurrences: "all",
91
+ * },
92
+ * violationTimeLimitSeconds: 3600,
93
+ * });
94
+ * const highMemory = new newrelic.NrqlAlertCondition("high_memory", {
95
+ * policyId: example.id,
96
+ * name: "High Memory",
97
+ * enabled: true,
98
+ * nrql: {
99
+ * query: "SELECT average(memoryUsedPercent) FROM SystemSample WHERE hostname = 'myhost'",
100
+ * },
101
+ * critical: {
102
+ * operator: "above",
103
+ * threshold: 85,
104
+ * thresholdDuration: 300,
105
+ * thresholdOccurrences: "all",
106
+ * },
107
+ * violationTimeLimitSeconds: 3600,
108
+ * });
109
+ * const diskFull = new newrelic.NrqlAlertCondition("disk_full", {
110
+ * policyId: example.id,
111
+ * name: "Disk Full",
112
+ * enabled: true,
113
+ * nrql: {
114
+ * query: "SELECT average(diskUsedPercent) FROM SystemSample WHERE hostname = 'myhost'",
115
+ * },
116
+ * critical: {
117
+ * operator: "above",
118
+ * threshold: 90,
119
+ * thresholdDuration: 300,
120
+ * thresholdOccurrences: "all",
121
+ * },
122
+ * violationTimeLimitSeconds: 3600,
123
+ * });
124
+ * const complex = new newrelic.AlertCompoundCondition("complex", {
125
+ * policyId: example.id,
126
+ * name: "Complex Infrastructure Alert",
127
+ * enabled: true,
128
+ * triggerExpression: "(A AND B) OR C",
129
+ * componentConditions: [
130
+ * {
131
+ * id: highCpu.id,
132
+ * alias: "A",
133
+ * },
134
+ * {
135
+ * id: highMemory.id,
136
+ * alias: "B",
137
+ * },
138
+ * {
139
+ * id: diskFull.id,
140
+ * alias: "C",
141
+ * },
142
+ * ],
143
+ * });
144
+ * ```
145
+ *
146
+ * ### With Facet Matching
147
+ *
148
+ * ```typescript
149
+ * import * as pulumi from "@pulumi/pulumi";
150
+ * import * as newrelic from "@pulumi/newrelic";
151
+ *
152
+ * const highThroughputPerHost = new newrelic.NrqlAlertCondition("high_throughput_per_host", {
153
+ * policyId: example.id,
154
+ * name: "High Throughput Per Host",
155
+ * enabled: true,
156
+ * nrql: {
157
+ * query: "SELECT rate(count(*), 1 minute) FROM Transaction FACET host",
158
+ * },
159
+ * critical: {
160
+ * operator: "above",
161
+ * threshold: 1000,
162
+ * thresholdDuration: 300,
163
+ * thresholdOccurrences: "all",
164
+ * },
165
+ * violationTimeLimitSeconds: 3600,
166
+ * });
167
+ * const highErrorRatePerHost = new newrelic.NrqlAlertCondition("high_error_rate_per_host", {
168
+ * policyId: example.id,
169
+ * name: "High Error Rate Per Host",
170
+ * enabled: true,
171
+ * nrql: {
172
+ * query: "SELECT percentage(count(*), WHERE error IS true) FROM Transaction FACET host",
173
+ * },
174
+ * critical: {
175
+ * operator: "above",
176
+ * threshold: 5,
177
+ * thresholdDuration: 300,
178
+ * thresholdOccurrences: "all",
179
+ * },
180
+ * violationTimeLimitSeconds: 3600,
181
+ * });
182
+ * const withFacets = new newrelic.AlertCompoundCondition("with_facets", {
183
+ * policyId: example.id,
184
+ * name: "Host-Specific Alert",
185
+ * enabled: true,
186
+ * triggerExpression: "A AND B",
187
+ * facetMatchingBehavior: "FACETS_MATCH",
188
+ * componentConditions: [
189
+ * {
190
+ * id: highThroughputPerHost.id,
191
+ * alias: "A",
192
+ * },
193
+ * {
194
+ * id: highErrorRatePerHost.id,
195
+ * alias: "B",
196
+ * },
197
+ * ],
198
+ * });
199
+ * ```
200
+ *
201
+ * ## Additional Information
202
+ *
203
+ * ### Understanding Trigger Expressions
204
+ *
205
+ * Trigger expressions define the logical conditions under which your alert compound condition will activate. Valid operators are:
206
+ *
207
+ * - **AND** - Both conditions must be true
208
+ * - **OR** - Either condition must be true
209
+ * - **NOT** - Negates a condition
210
+ * - **Parentheses** - Group conditions for complex logic
211
+ *
212
+ * Examples:
213
+ *
214
+ * - `"A AND B"` - Activate when both A and B are in violation
215
+ * - `"A OR B"` - Activate when either A or B is in violation
216
+ * - `"A AND NOT B"` - Activate when A is in violation but B is not
217
+ * - `"(A AND B) OR C"` - Activate when both A and B are in violation, OR when C is in violation
218
+ * - `"A AND (B OR C) AND NOT D"` - Activate when A is in violation AND either B or C is in violation AND D is not in violation
219
+ *
220
+ * ### Facet Matching Behavior
221
+ *
222
+ * When your component NRQL conditions use FACET clauses:
223
+ *
224
+ * - **FACETS_IGNORED** (Default) - Facets are not taken into consideration when determining when the compound alert condition activates. If component conditions have violations (on any facet), the compound alert condition will activate based on the trigger expression.
225
+ * - **FACETS_MATCH** - The compound alert condition will activate only when shared facets have matching values. For example, if condition A fires for `host="server-1"` and condition B fires for `host="server-2"`, the compound alert condition will NOT activate because the facet values don't match.
226
+ *
227
+ * ### Threshold Duration
228
+ *
229
+ * The `thresholdDuration` parameter controls how long the trigger expression must remain true before the compound alert condition will activate.
230
+ *
231
+ * ## Import
232
+ *
233
+ * Compound alert conditions can be imported using the condition ID, e.g.
234
+ *
235
+ * bash
236
+ *
237
+ * ```sh
238
+ * $ pulumi import newrelic:index/alertCompoundCondition:AlertCompoundCondition main 789012
239
+ * ```
240
+ */
241
+ class AlertCompoundCondition extends pulumi.CustomResource {
242
+ /**
243
+ * Get an existing AlertCompoundCondition resource's state with the given name, ID, and optional extra
244
+ * properties used to qualify the lookup.
245
+ *
246
+ * @param name The _unique_ name of the resulting resource.
247
+ * @param id The _unique_ provider ID of the resource to lookup.
248
+ * @param state Any extra arguments used during the lookup.
249
+ * @param opts Optional settings to control the behavior of the CustomResource.
250
+ */
251
+ static get(name, id, state, opts) {
252
+ return new AlertCompoundCondition(name, state, { ...opts, id: id });
253
+ }
254
+ /**
255
+ * Returns true if the given object is an instance of AlertCompoundCondition. This is designed to work even
256
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
257
+ */
258
+ static isInstance(obj) {
259
+ if (obj === undefined || obj === null) {
260
+ return false;
261
+ }
262
+ return obj['__pulumiType'] === AlertCompoundCondition.__pulumiType;
263
+ }
264
+ constructor(name, argsOrState, opts) {
265
+ let resourceInputs = {};
266
+ opts = opts || {};
267
+ if (opts.id) {
268
+ const state = argsOrState;
269
+ resourceInputs["accountId"] = state?.accountId;
270
+ resourceInputs["componentConditions"] = state?.componentConditions;
271
+ resourceInputs["enabled"] = state?.enabled;
272
+ resourceInputs["facetMatchingBehavior"] = state?.facetMatchingBehavior;
273
+ resourceInputs["name"] = state?.name;
274
+ resourceInputs["policyId"] = state?.policyId;
275
+ resourceInputs["runbookUrl"] = state?.runbookUrl;
276
+ resourceInputs["thresholdDuration"] = state?.thresholdDuration;
277
+ resourceInputs["triggerExpression"] = state?.triggerExpression;
278
+ }
279
+ else {
280
+ const args = argsOrState;
281
+ if (args?.componentConditions === undefined && !opts.urn) {
282
+ throw new Error("Missing required property 'componentConditions'");
283
+ }
284
+ if (args?.enabled === undefined && !opts.urn) {
285
+ throw new Error("Missing required property 'enabled'");
286
+ }
287
+ if (args?.policyId === undefined && !opts.urn) {
288
+ throw new Error("Missing required property 'policyId'");
289
+ }
290
+ if (args?.triggerExpression === undefined && !opts.urn) {
291
+ throw new Error("Missing required property 'triggerExpression'");
292
+ }
293
+ resourceInputs["accountId"] = args?.accountId;
294
+ resourceInputs["componentConditions"] = args?.componentConditions;
295
+ resourceInputs["enabled"] = args?.enabled;
296
+ resourceInputs["facetMatchingBehavior"] = args?.facetMatchingBehavior;
297
+ resourceInputs["name"] = args?.name;
298
+ resourceInputs["policyId"] = args?.policyId;
299
+ resourceInputs["runbookUrl"] = args?.runbookUrl;
300
+ resourceInputs["thresholdDuration"] = args?.thresholdDuration;
301
+ resourceInputs["triggerExpression"] = args?.triggerExpression;
302
+ }
303
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
304
+ super(AlertCompoundCondition.__pulumiType, name, resourceInputs, opts);
305
+ }
306
+ }
307
+ exports.AlertCompoundCondition = AlertCompoundCondition;
308
+ /** @internal */
309
+ AlertCompoundCondition.__pulumiType = 'newrelic:index/alertCompoundCondition:AlertCompoundCondition';
310
+ //# sourceMappingURL=alertCompoundCondition.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"alertCompoundCondition.js","sourceRoot":"","sources":["../alertCompoundCondition.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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AAI,EAAE,iBAAiB,CAAC;SACjE;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,sBAAsB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC3E,CAAC;;AAnHL,wDAoHC;AAtGG,gBAAgB;AACO,mCAAY,GAAG,8DAA8D,CAAC"}
@@ -224,6 +224,10 @@ export declare class AwsIntegrations extends pulumi.CustomResource {
224
224
  * S3 integration
225
225
  */
226
226
  readonly s3: pulumi.Output<outputs.cloud.AwsIntegrationsS3 | undefined>;
227
+ /**
228
+ * Security Hub integration
229
+ */
230
+ readonly securityHub: pulumi.Output<outputs.cloud.AwsIntegrationsSecurityHub | undefined>;
227
231
  /**
228
232
  * Ses integration
229
233
  */
@@ -457,6 +461,10 @@ export interface AwsIntegrationsState {
457
461
  * S3 integration
458
462
  */
459
463
  s3?: pulumi.Input<inputs.cloud.AwsIntegrationsS3>;
464
+ /**
465
+ * Security Hub integration
466
+ */
467
+ securityHub?: pulumi.Input<inputs.cloud.AwsIntegrationsSecurityHub>;
460
468
  /**
461
469
  * Ses integration
462
470
  */
@@ -682,6 +690,10 @@ export interface AwsIntegrationsArgs {
682
690
  * S3 integration
683
691
  */
684
692
  s3?: pulumi.Input<inputs.cloud.AwsIntegrationsS3>;
693
+ /**
694
+ * Security Hub integration
695
+ */
696
+ securityHub?: pulumi.Input<inputs.cloud.AwsIntegrationsSecurityHub>;
685
697
  /**
686
698
  * Ses integration
687
699
  */
@@ -93,6 +93,7 @@ class AwsIntegrations extends pulumi.CustomResource {
93
93
  resourceInputs["redshift"] = state?.redshift;
94
94
  resourceInputs["route53"] = state?.route53;
95
95
  resourceInputs["s3"] = state?.s3;
96
+ resourceInputs["securityHub"] = state?.securityHub;
96
97
  resourceInputs["ses"] = state?.ses;
97
98
  resourceInputs["sns"] = state?.sns;
98
99
  resourceInputs["sqs"] = state?.sqs;
@@ -154,6 +155,7 @@ class AwsIntegrations extends pulumi.CustomResource {
154
155
  resourceInputs["redshift"] = args?.redshift;
155
156
  resourceInputs["route53"] = args?.route53;
156
157
  resourceInputs["s3"] = args?.s3;
158
+ resourceInputs["securityHub"] = args?.securityHub;
157
159
  resourceInputs["ses"] = args?.ses;
158
160
  resourceInputs["sns"] = args?.sns;
159
161
  resourceInputs["sqs"] = args?.sqs;
@@ -1 +1 @@
1
- {"version":3,"file":"awsIntegrations.js","sourceRoot":"","sources":["../../cloud/awsIntegrations.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;GAUG;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;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,eAAe,CAAC,YAAY,CAAC;IAChE,CAAC;IAuOD,YAAY,IAAY,EAAE,WAAwD,EAAE,IAAmC;QACnH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA+C,CAAC;YAC9D,cAAc,CAAC,WAAW,CAAC,GAAG,KAAK,EAAE,SAAS,CAAC;YAC/C,cAAc,CAAC,KAAK,CAAC,GA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AAG,CAAC;YAClC,cAAc,CAAC,KAAK,CAAC,GAAG,IAAI,EAAE,GAAG,CAAC;YAClC,cAAc,CAAC,gBAAgB,CAAC,GAAG,IAAI,EAAE,cAAc,CAAC;YACxD,cAAc,CAAC,KAAK,CAAC,GAAG,IAAI,EAAE,GAAG,CAAC;YAClC,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;SACvC;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,eAAe,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACpE,CAAC;;AAlYL,0CAmYC;AArXG,gBAAgB;AACO,4BAAY,GAAG,gDAAgD,CAAC"}
package/index.d.ts CHANGED
@@ -4,6 +4,9 @@ export declare const AccountManagement: typeof import("./accountManagement").Acc
4
4
  export { AlertChannelArgs, AlertChannelState } from "./alertChannel";
5
5
  export type AlertChannel = import("./alertChannel").AlertChannel;
6
6
  export declare const AlertChannel: typeof import("./alertChannel").AlertChannel;
7
+ export { AlertCompoundConditionArgs, AlertCompoundConditionState } from "./alertCompoundCondition";
8
+ export type AlertCompoundCondition = import("./alertCompoundCondition").AlertCompoundCondition;
9
+ export declare const AlertCompoundCondition: typeof import("./alertCompoundCondition").AlertCompoundCondition;
7
10
  export { AlertConditionArgs, AlertConditionState } from "./alertCondition";
8
11
  export type AlertCondition = import("./alertCondition").AlertCondition;
9
12
  export declare const AlertCondition: typeof import("./alertCondition").AlertCondition;
package/index.js CHANGED
@@ -16,14 +16,16 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
16
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
17
17
  };
18
18
  Object.defineProperty(exports, "__esModule", { value: true });
19
- exports.ObfuscationRule = exports.ObfuscationExpression = exports.NrqlDropRule = exports.NrqlAlertCondition = exports.NotificationDestination = exports.NotificationChannel = exports.MonitorDowntime = exports.LogParsingRule = exports.KeyTransaction = exports.InfraAlertCondition = exports.Group = exports.getUserOutput = exports.getUser = exports.getTestGrokPatternOutput = exports.getTestGrokPattern = exports.getServiceLevelAlertHelperOutput = exports.getServiceLevelAlertHelper = exports.getObfuscationExpressionOutput = exports.getObfuscationExpression = exports.getNotificationDestinationOutput = exports.getNotificationDestination = exports.getKeyTransactionOutput = exports.getKeyTransaction = exports.getGroupOutput = exports.getGroup = exports.getEntityOutput = exports.getEntity = exports.getCloudAccountOutput = exports.getCloudAccount = exports.getAuthenticationDomainOutput = exports.getAuthenticationDomain = exports.getApplicationOutput = exports.getApplication = exports.getAlertPolicyOutput = exports.getAlertPolicy = exports.getAlertChannelOutput = exports.getAlertChannel = exports.getAccountOutput = exports.getAccount = exports.EventsToMetricsRule = exports.EntityTags = exports.DataPartitionRule = exports.BrowserApplication = exports.ApiAccessKey = exports.AlertPolicyChannel = exports.AlertPolicy = exports.AlertMutingRule = exports.AlertCondition = exports.AlertChannel = exports.AccountManagement = void 0;
20
- exports.types = exports.synthetics = exports.plugins = exports.insights = exports.config = exports.cloud = exports.Workflow = exports.User = exports.ServiceLevel = exports.PipelineCloudRule = exports.OneDashboardRaw = exports.OneDashboardJson = exports.OneDashboard = void 0;
19
+ exports.ObfuscationExpression = exports.NrqlDropRule = exports.NrqlAlertCondition = exports.NotificationDestination = exports.NotificationChannel = exports.MonitorDowntime = exports.LogParsingRule = exports.KeyTransaction = exports.InfraAlertCondition = exports.Group = exports.getUserOutput = exports.getUser = exports.getTestGrokPatternOutput = exports.getTestGrokPattern = exports.getServiceLevelAlertHelperOutput = exports.getServiceLevelAlertHelper = exports.getObfuscationExpressionOutput = exports.getObfuscationExpression = exports.getNotificationDestinationOutput = exports.getNotificationDestination = exports.getKeyTransactionOutput = exports.getKeyTransaction = exports.getGroupOutput = exports.getGroup = exports.getEntityOutput = exports.getEntity = exports.getCloudAccountOutput = exports.getCloudAccount = exports.getAuthenticationDomainOutput = exports.getAuthenticationDomain = exports.getApplicationOutput = exports.getApplication = exports.getAlertPolicyOutput = exports.getAlertPolicy = exports.getAlertChannelOutput = exports.getAlertChannel = exports.getAccountOutput = exports.getAccount = exports.EventsToMetricsRule = exports.EntityTags = exports.DataPartitionRule = exports.BrowserApplication = exports.ApiAccessKey = exports.AlertPolicyChannel = exports.AlertPolicy = exports.AlertMutingRule = exports.AlertCondition = exports.AlertCompoundCondition = exports.AlertChannel = exports.AccountManagement = void 0;
20
+ exports.types = exports.synthetics = exports.plugins = exports.insights = exports.config = exports.cloud = exports.Workflow = exports.User = exports.ServiceLevel = exports.PipelineCloudRule = exports.OneDashboardRaw = exports.OneDashboardJson = exports.OneDashboard = exports.ObfuscationRule = void 0;
21
21
  const pulumi = require("@pulumi/pulumi");
22
22
  const utilities = require("./utilities");
23
23
  exports.AccountManagement = null;
24
24
  utilities.lazyLoad(exports, ["AccountManagement"], () => require("./accountManagement"));
25
25
  exports.AlertChannel = null;
26
26
  utilities.lazyLoad(exports, ["AlertChannel"], () => require("./alertChannel"));
27
+ exports.AlertCompoundCondition = null;
28
+ utilities.lazyLoad(exports, ["AlertCompoundCondition"], () => require("./alertCompoundCondition"));
27
29
  exports.AlertCondition = null;
28
30
  utilities.lazyLoad(exports, ["AlertCondition"], () => require("./alertCondition"));
29
31
  exports.AlertMutingRule = null;
@@ -143,6 +145,8 @@ const _module = {
143
145
  return new exports.AccountManagement(name, undefined, { urn });
144
146
  case "newrelic:index/alertChannel:AlertChannel":
145
147
  return new exports.AlertChannel(name, undefined, { urn });
148
+ case "newrelic:index/alertCompoundCondition:AlertCompoundCondition":
149
+ return new exports.AlertCompoundCondition(name, undefined, { urn });
146
150
  case "newrelic:index/alertCondition:AlertCondition":
147
151
  return new exports.AlertCondition(name, undefined, { urn });
148
152
  case "newrelic:index/alertMutingRule:AlertMutingRule":
@@ -204,6 +208,7 @@ const _module = {
204
208
  };
205
209
  pulumi.runtime.registerResourceModule("newrelic", "index/accountManagement", _module);
206
210
  pulumi.runtime.registerResourceModule("newrelic", "index/alertChannel", _module);
211
+ pulumi.runtime.registerResourceModule("newrelic", "index/alertCompoundCondition", _module);
207
212
  pulumi.runtime.registerResourceModule("newrelic", "index/alertCondition", _module);
208
213
  pulumi.runtime.registerResourceModule("newrelic", "index/alertMutingRule", _module);
209
214
  pulumi.runtime.registerResourceModule("newrelic", "index/alertPolicy", _module);
package/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAK5B,QAAA,iBAAiB,GAA2D,IAAW,CAAC;AACrG,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,mBAAmB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,qBAAqB,CAAC,CAAC,CAAC;AAI5E,QAAA,YAAY,GAAiD,IAAW,CAAC;AACtF,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,cAAc,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,gBAAgB,CAAC,CAAC,CAAC;AAIlE,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,eAAe,GAAuD,IAAW,CAAC;AAC/F,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,iBAAiB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,mBAAmB,CAAC,CAAC,CAAC;AAIxE,QAAA,WAAW,GAA+C,IAAW,CAAC;AACnF,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,aAAa,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CA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AAE;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"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pulumi/newrelic",
3
- "version": "5.59.0-alpha.1768456783",
3
+ "version": "5.59.0",
4
4
  "description": "A Pulumi package for creating and managing New Relic resources.",
5
5
  "keywords": [
6
6
  "pulumi",
@@ -23,6 +23,6 @@
23
23
  "pulumi": {
24
24
  "resource": true,
25
25
  "name": "newrelic",
26
- "version": "5.59.0-alpha.1768456783"
26
+ "version": "5.59.0"
27
27
  }
28
28
  }
package/types/input.d.ts CHANGED
@@ -90,6 +90,16 @@ export interface AlertChannelConfig {
90
90
  */
91
91
  userId?: pulumi.Input<string>;
92
92
  }
93
+ export interface AlertCompoundConditionComponentCondition {
94
+ /**
95
+ * The identifier that will be used in the compound alert condition's `triggerExpression` (e.g., 'a', 'b', 'c', 'd', 'e').
96
+ */
97
+ alias: pulumi.Input<string>;
98
+ /**
99
+ * The ID of the existing alert condition to use as a component.
100
+ */
101
+ id: pulumi.Input<string>;
102
+ }
93
103
  export interface AlertConditionTerm {
94
104
  /**
95
105
  * In minutes, must be in the range of 5 to 120, inclusive.
@@ -4582,6 +4592,16 @@ export declare namespace cloud {
4582
4592
  */
4583
4593
  tagValue?: pulumi.Input<string>;
4584
4594
  }
4595
+ interface AwsIntegrationsSecurityHub {
4596
+ /**
4597
+ * Specify each AWS region that includes the resources that you want to monitor.
4598
+ */
4599
+ awsRegions?: pulumi.Input<pulumi.Input<string>[]>;
4600
+ /**
4601
+ * The data polling interval in seconds.
4602
+ */
4603
+ metricsPollingInterval?: pulumi.Input<number>;
4604
+ }
4585
4605
  interface AwsIntegrationsSes {
4586
4606
  /**
4587
4607
  * Specify each AWS region that includes the resources that you want to monitor.
package/types/output.d.ts CHANGED
@@ -89,6 +89,16 @@ export interface AlertChannelConfig {
89
89
  */
90
90
  userId?: string;
91
91
  }
92
+ export interface AlertCompoundConditionComponentCondition {
93
+ /**
94
+ * The identifier that will be used in the compound alert condition's `triggerExpression` (e.g., 'a', 'b', 'c', 'd', 'e').
95
+ */
96
+ alias: string;
97
+ /**
98
+ * The ID of the existing alert condition to use as a component.
99
+ */
100
+ id: string;
101
+ }
92
102
  export interface AlertConditionTerm {
93
103
  /**
94
104
  * In minutes, must be in the range of 5 to 120, inclusive.
@@ -4636,6 +4646,16 @@ export declare namespace cloud {
4636
4646
  */
4637
4647
  tagValue?: string;
4638
4648
  }
4649
+ interface AwsIntegrationsSecurityHub {
4650
+ /**
4651
+ * Specify each AWS region that includes the resources that you want to monitor.
4652
+ */
4653
+ awsRegions?: string[];
4654
+ /**
4655
+ * The data polling interval in seconds.
4656
+ */
4657
+ metricsPollingInterval?: number;
4658
+ }
4639
4659
  interface AwsIntegrationsSes {
4640
4660
  /**
4641
4661
  * Specify each AWS region that includes the resources that you want to monitor.