@cdktf-providers/newrelic 3.75.4

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 (147) hide show
  1. package/LICENSE +355 -0
  2. package/README.md +19 -0
  3. package/dist/account-management/index.d.ts +64 -0
  4. package/dist/account-management/index.js +131 -0
  5. package/dist/alert-channel/index.d.ts +347 -0
  6. package/dist/alert-channel/index.js +810 -0
  7. package/dist/alert-condition/index.d.ts +267 -0
  8. package/dist/alert-condition/index.js +587 -0
  9. package/dist/alert-muting-rule/index.d.ts +305 -0
  10. package/dist/alert-muting-rule/index.js +731 -0
  11. package/dist/alert-policy/index.d.ts +87 -0
  12. package/dist/alert-policy/index.js +180 -0
  13. package/dist/alert-policy-channel/index.d.ts +110 -0
  14. package/dist/alert-policy-channel/index.js +260 -0
  15. package/dist/api-access-key/index.d.ts +98 -0
  16. package/dist/api-access-key/index.js +230 -0
  17. package/dist/application-settings/index.d.ts +410 -0
  18. package/dist/application-settings/index.js +966 -0
  19. package/dist/browser-application/index.d.ts +101 -0
  20. package/dist/browser-application/index.js +215 -0
  21. package/dist/cloud-aws-govcloud-integrations/index.d.ts +1519 -0
  22. package/dist/cloud-aws-govcloud-integrations/index.js +3846 -0
  23. package/dist/cloud-aws-govcloud-link-account/index.d.ts +86 -0
  24. package/dist/cloud-aws-govcloud-link-account/index.js +177 -0
  25. package/dist/cloud-aws-integrations/index.d.ts +3294 -0
  26. package/dist/cloud-aws-integrations/index.js +8554 -0
  27. package/dist/cloud-aws-link-account/index.d.ts +86 -0
  28. package/dist/cloud-aws-link-account/index.js +177 -0
  29. package/dist/cloud-azure-integrations/index.d.ts +1662 -0
  30. package/dist/cloud-azure-integrations/index.js +4338 -0
  31. package/dist/cloud-azure-link-account/index.d.ts +105 -0
  32. package/dist/cloud-azure-link-account/index.js +214 -0
  33. package/dist/cloud-gcp-integrations/index.d.ts +1045 -0
  34. package/dist/cloud-gcp-integrations/index.js +2742 -0
  35. package/dist/cloud-gcp-link-account/index.d.ts +75 -0
  36. package/dist/cloud-gcp-link-account/index.js +154 -0
  37. package/dist/cloud-oci-link-account/index.d.ts +191 -0
  38. package/dist/cloud-oci-link-account/index.js +392 -0
  39. package/dist/data-newrelic-account/index.d.ts +77 -0
  40. package/dist/data-newrelic-account/index.js +160 -0
  41. package/dist/data-newrelic-alert-channel/index.d.ts +122 -0
  42. package/dist/data-newrelic-alert-channel/index.js +295 -0
  43. package/dist/data-newrelic-alert-policy/index.d.ts +78 -0
  44. package/dist/data-newrelic-alert-policy/index.js +165 -0
  45. package/dist/data-newrelic-application/index.d.ts +56 -0
  46. package/dist/data-newrelic-application/index.js +119 -0
  47. package/dist/data-newrelic-authentication-domain/index.d.ts +43 -0
  48. package/dist/data-newrelic-authentication-domain/index.js +92 -0
  49. package/dist/data-newrelic-cloud-account/index.d.ts +75 -0
  50. package/dist/data-newrelic-cloud-account/index.js +154 -0
  51. package/dist/data-newrelic-entity/index.d.ts +185 -0
  52. package/dist/data-newrelic-entity/index.js +414 -0
  53. package/dist/data-newrelic-group/index.d.ts +54 -0
  54. package/dist/data-newrelic-group/index.js +116 -0
  55. package/dist/data-newrelic-key-transaction/index.d.ts +78 -0
  56. package/dist/data-newrelic-key-transaction/index.js +165 -0
  57. package/dist/data-newrelic-notification-destination/index.d.ts +161 -0
  58. package/dist/data-newrelic-notification-destination/index.js +368 -0
  59. package/dist/data-newrelic-obfuscation-expression/index.d.ts +65 -0
  60. package/dist/data-newrelic-obfuscation-expression/index.js +134 -0
  61. package/dist/data-newrelic-service-level-alert-helper/index.d.ts +107 -0
  62. package/dist/data-newrelic-service-level-alert-helper/index.js +256 -0
  63. package/dist/data-newrelic-synthetics-private-location/index.d.ts +76 -0
  64. package/dist/data-newrelic-synthetics-private-location/index.js +157 -0
  65. package/dist/data-newrelic-synthetics-secure-credential/index.d.ts +67 -0
  66. package/dist/data-newrelic-synthetics-secure-credential/index.js +142 -0
  67. package/dist/data-newrelic-test-grok-pattern/index.d.ts +145 -0
  68. package/dist/data-newrelic-test-grok-pattern/index.js +312 -0
  69. package/dist/data-newrelic-user/index.d.ts +65 -0
  70. package/dist/data-newrelic-user/index.js +138 -0
  71. package/dist/data-partition-rule/index.d.ts +142 -0
  72. package/dist/data-partition-rule/index.js +327 -0
  73. package/dist/entity-tags/index.d.ts +152 -0
  74. package/dist/entity-tags/index.js +367 -0
  75. package/dist/events-to-metrics-rule/index.d.ts +98 -0
  76. package/dist/events-to-metrics-rule/index.js +204 -0
  77. package/dist/group/index.d.ts +75 -0
  78. package/dist/group/index.js +154 -0
  79. package/dist/index.d.ts +67 -0
  80. package/dist/index.js +68 -0
  81. package/dist/infra-alert-condition/index.d.ts +289 -0
  82. package/dist/infra-alert-condition/index.js +691 -0
  83. package/dist/insights-event/index.d.ts +182 -0
  84. package/dist/insights-event/index.js +427 -0
  85. package/dist/key-transaction/index.d.ts +96 -0
  86. package/dist/key-transaction/index.js +199 -0
  87. package/dist/lazy-index.d.ts +0 -0
  88. package/dist/lazy-index.js +68 -0
  89. package/dist/log-parsing-rule/index.d.ts +128 -0
  90. package/dist/log-parsing-rule/index.js +264 -0
  91. package/dist/monitor-downtime/index.d.ts +255 -0
  92. package/dist/monitor-downtime/index.js +603 -0
  93. package/dist/notification-channel/index.d.ts +236 -0
  94. package/dist/notification-channel/index.js +561 -0
  95. package/dist/notification-destination/index.d.ts +402 -0
  96. package/dist/notification-destination/index.js +1039 -0
  97. package/dist/nrql-alert-condition/index.d.ts +892 -0
  98. package/dist/nrql-alert-condition/index.js +2177 -0
  99. package/dist/nrql-drop-rule/index.d.ts +123 -0
  100. package/dist/nrql-drop-rule/index.js +291 -0
  101. package/dist/obfuscation-expression/index.d.ts +86 -0
  102. package/dist/obfuscation-expression/index.js +177 -0
  103. package/dist/obfuscation-rule/index.d.ts +169 -0
  104. package/dist/obfuscation-rule/index.js +372 -0
  105. package/dist/one-dashboard/index-structs/index.d.ts +2 -0
  106. package/dist/one-dashboard/index-structs/index.js +2 -0
  107. package/dist/one-dashboard/index-structs/structs0.d.ts +6996 -0
  108. package/dist/one-dashboard/index-structs/structs0.js +18191 -0
  109. package/dist/one-dashboard/index-structs/structs400.d.ts +3699 -0
  110. package/dist/one-dashboard/index-structs/structs400.js +9611 -0
  111. package/dist/one-dashboard/index.d.ts +112 -0
  112. package/dist/one-dashboard/index.js +232 -0
  113. package/dist/one-dashboard-json/index.d.ts +112 -0
  114. package/dist/one-dashboard-json/index.js +280 -0
  115. package/dist/one-dashboard-raw/index.d.ts +274 -0
  116. package/dist/one-dashboard-raw/index.js +666 -0
  117. package/dist/pipeline-cloud-rule/index.d.ts +86 -0
  118. package/dist/pipeline-cloud-rule/index.js +177 -0
  119. package/dist/provider/index.d.ts +160 -0
  120. package/dist/provider/index.js +378 -0
  121. package/dist/service-level/index.d.ts +501 -0
  122. package/dist/service-level/index.js +1425 -0
  123. package/dist/synthetics-alert-condition/index.d.ts +97 -0
  124. package/dist/synthetics-alert-condition/index.js +201 -0
  125. package/dist/synthetics-broken-links-monitor/index.d.ts +217 -0
  126. package/dist/synthetics-broken-links-monitor/index.js +474 -0
  127. package/dist/synthetics-cert-check-monitor/index.d.ts +222 -0
  128. package/dist/synthetics-cert-check-monitor/index.js +490 -0
  129. package/dist/synthetics-monitor/index.d.ts +404 -0
  130. package/dist/synthetics-monitor/index.js +885 -0
  131. package/dist/synthetics-multilocation-alert-condition/index.d.ts +177 -0
  132. package/dist/synthetics-multilocation-alert-condition/index.js +407 -0
  133. package/dist/synthetics-private-location/index.d.ts +90 -0
  134. package/dist/synthetics-private-location/index.js +193 -0
  135. package/dist/synthetics-script-monitor/index.d.ts +348 -0
  136. package/dist/synthetics-script-monitor/index.js +768 -0
  137. package/dist/synthetics-secure-credential/index.d.ts +132 -0
  138. package/dist/synthetics-secure-credential/index.js +306 -0
  139. package/dist/synthetics-step-monitor/index.d.ts +368 -0
  140. package/dist/synthetics-step-monitor/index.js +834 -0
  141. package/dist/user/index.d.ts +85 -0
  142. package/dist/user/index.js +174 -0
  143. package/dist/workflow/index.d.ts +441 -0
  144. package/dist/workflow/index.js +1066 -0
  145. package/dist/workload/index.d.ts +514 -0
  146. package/dist/workload/index.js +1283 -0
  147. package/package.json +50 -0
@@ -0,0 +1,892 @@
1
+ import { Construct } from 'constructs';
2
+ import * as cdktf from 'cdktf';
3
+ export interface NrqlAlertConditionConfig extends cdktf.TerraformMetaArguments {
4
+ /**
5
+ * The New Relic account ID for managing your NRQL alert conditions.
6
+ *
7
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/nrql_alert_condition#account_id NrqlAlertCondition#account_id}
8
+ */
9
+ readonly accountId?: number;
10
+ /**
11
+ * How long we wait for data that belongs in each aggregation window. Depending on your data, a longer delay may increase accuracy but delay notifications. Use aggregationDelay with the EVENT_FLOW and CADENCE aggregation methods.
12
+ *
13
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/nrql_alert_condition#aggregation_delay NrqlAlertCondition#aggregation_delay}
14
+ */
15
+ readonly aggregationDelay?: string;
16
+ /**
17
+ * The method that determines when we consider an aggregation window to be complete so that we can evaluate the signal for incidents. Default is EVENT_FLOW.
18
+ *
19
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/nrql_alert_condition#aggregation_method NrqlAlertCondition#aggregation_method}
20
+ */
21
+ readonly aggregationMethod?: string;
22
+ /**
23
+ * How long we wait after each data point arrives to make sure we've processed the whole batch. Use aggregationTimer with the EVENT_TIMER aggregation method.
24
+ *
25
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/nrql_alert_condition#aggregation_timer NrqlAlertCondition#aggregation_timer}
26
+ */
27
+ readonly aggregationTimer?: string;
28
+ /**
29
+ * The duration of the time window used to evaluate the NRQL query, in seconds.
30
+ *
31
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/nrql_alert_condition#aggregation_window NrqlAlertCondition#aggregation_window}
32
+ */
33
+ readonly aggregationWindow?: number;
34
+ /**
35
+ * The baseline direction of a baseline NRQL alert condition. Valid values are: 'LOWER_ONLY', 'UPPER_AND_LOWER', 'UPPER_ONLY' (case insensitive).
36
+ *
37
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/nrql_alert_condition#baseline_direction NrqlAlertCondition#baseline_direction}
38
+ */
39
+ readonly baselineDirection?: string;
40
+ /**
41
+ * Whether to close all open incidents when the signal expires.
42
+ *
43
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/nrql_alert_condition#close_violations_on_expiration NrqlAlertCondition#close_violations_on_expiration}
44
+ */
45
+ readonly closeViolationsOnExpiration?: boolean | cdktf.IResolvable;
46
+ /**
47
+ * The description of the NRQL alert condition.
48
+ *
49
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/nrql_alert_condition#description NrqlAlertCondition#description}
50
+ */
51
+ readonly description?: string;
52
+ /**
53
+ * Whether or not to enable the alert condition.
54
+ *
55
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/nrql_alert_condition#enabled NrqlAlertCondition#enabled}
56
+ */
57
+ readonly enabled?: boolean | cdktf.IResolvable;
58
+ /**
59
+ * How long we wait until the signal starts evaluating. The maximum delay is 7200 seconds (120 minutes)
60
+ *
61
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/nrql_alert_condition#evaluation_delay NrqlAlertCondition#evaluation_delay}
62
+ */
63
+ readonly evaluationDelay?: number;
64
+ /**
65
+ * The amount of time (in seconds) to wait before considering the signal expired. Must be in the range of 30 to 172800 (inclusive)
66
+ *
67
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/nrql_alert_condition#expiration_duration NrqlAlertCondition#expiration_duration}
68
+ */
69
+ readonly expirationDuration?: number;
70
+ /**
71
+ * Which strategy to use when filling gaps in the signal. If static, the 'fill value' will be used for filling gaps in the signal. Valid values are: 'NONE', 'LAST_VALUE', or 'STATIC' (case insensitive).
72
+ *
73
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/nrql_alert_condition#fill_option NrqlAlertCondition#fill_option}
74
+ */
75
+ readonly fillOption?: string;
76
+ /**
77
+ * If using the 'static' fill option, this value will be used for filling gaps in the signal.
78
+ *
79
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/nrql_alert_condition#fill_value NrqlAlertCondition#fill_value}
80
+ */
81
+ readonly fillValue?: number;
82
+ /**
83
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/nrql_alert_condition#id NrqlAlertCondition#id}
84
+ *
85
+ * Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2.
86
+ * If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.
87
+ */
88
+ readonly id?: string;
89
+ /**
90
+ * Whether to ignore expected termination of a signal when considering whether to create a loss of signal incident
91
+ *
92
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/nrql_alert_condition#ignore_on_expected_termination NrqlAlertCondition#ignore_on_expected_termination}
93
+ */
94
+ readonly ignoreOnExpectedTermination?: boolean | cdktf.IResolvable;
95
+ /**
96
+ * The title of the condition.
97
+ *
98
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/nrql_alert_condition#name NrqlAlertCondition#name}
99
+ */
100
+ readonly name: string;
101
+ /**
102
+ * Whether to create a new incident to capture that the signal expired.
103
+ *
104
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/nrql_alert_condition#open_violation_on_expiration NrqlAlertCondition#open_violation_on_expiration}
105
+ */
106
+ readonly openViolationOnExpiration?: boolean | cdktf.IResolvable;
107
+ /**
108
+ * The ID of the policy where this condition should be used.
109
+ *
110
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/nrql_alert_condition#policy_id NrqlAlertCondition#policy_id}
111
+ */
112
+ readonly policyId: number;
113
+ /**
114
+ * Runbook URL to display in notifications.
115
+ *
116
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/nrql_alert_condition#runbook_url NrqlAlertCondition#runbook_url}
117
+ */
118
+ readonly runbookUrl?: string;
119
+ /**
120
+ * Seasonality under which a condition's signal(s) are evaluated. Valid values are: 'NEW_RELIC_CALCULATION', 'HOURLY', 'DAILY', 'WEEKLY', or 'NONE'. To have New Relic calculate seasonality automatically, set to 'NEW_RELIC_CALCULATION' (default). To turn off seasonality completely, set to 'NONE'.
121
+ *
122
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/nrql_alert_condition#signal_seasonality NrqlAlertCondition#signal_seasonality}
123
+ */
124
+ readonly signalSeasonality?: string;
125
+ /**
126
+ * The duration of overlapping time windows used to smooth the chart line, in seconds. Must be a factor of `aggregation_window` and less than the aggregation window. If `aggregation_window` is less than or equal to 3600 seconds, it should be greater or equal to 30 seconds. If `aggregation_window` is greater than 3600 seconds but less than 7200 seconds, it should be greater or equal to `aggregation_window / 120`. If `aggregation_window` is greater than 7200 seconds, it should be greater or equal to `aggregation_window / 24
127
+ *
128
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/nrql_alert_condition#slide_by NrqlAlertCondition#slide_by}
129
+ */
130
+ readonly slideBy?: number;
131
+ /**
132
+ * BETA PREVIEW: the `target_entity` field is in limited release and only enabled for preview on a per-account basis. - The GUID of the entity explicitly targeted by the condition. Issues triggered by this condition will affect the health status of this entity instead of having the affected entity detected automatically
133
+ *
134
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/nrql_alert_condition#target_entity NrqlAlertCondition#target_entity}
135
+ */
136
+ readonly targetEntity?: string;
137
+ /**
138
+ * This field allows you to create a custom title to be used when incidents are opened by the condition. Setting this field will override the default title. Must be Handlebars format.
139
+ *
140
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/nrql_alert_condition#title_template NrqlAlertCondition#title_template}
141
+ */
142
+ readonly titleTemplate?: string;
143
+ /**
144
+ * The type of NRQL alert condition to create. Valid values are: 'static', 'baseline'.
145
+ *
146
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/nrql_alert_condition#type NrqlAlertCondition#type}
147
+ */
148
+ readonly type?: string;
149
+ /**
150
+ * Sets a time limit, in hours, that will automatically force-close a long-lasting incident after the time limit you select. Possible values are 'ONE_HOUR', 'TWO_HOURS', 'FOUR_HOURS', 'EIGHT_HOURS', 'TWELVE_HOURS', 'TWENTY_FOUR_HOURS', 'THIRTY_DAYS' (case insensitive).
151
+ *
152
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/nrql_alert_condition#violation_time_limit NrqlAlertCondition#violation_time_limit}
153
+ */
154
+ readonly violationTimeLimit?: string;
155
+ /**
156
+ * Sets a time limit, in seconds, that will automatically force-close a long-lasting incident after the time limit you select. Must be in the range of 300 to 2592000 (inclusive)
157
+ *
158
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/nrql_alert_condition#violation_time_limit_seconds NrqlAlertCondition#violation_time_limit_seconds}
159
+ */
160
+ readonly violationTimeLimitSeconds?: number;
161
+ /**
162
+ * critical block
163
+ *
164
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/nrql_alert_condition#critical NrqlAlertCondition#critical}
165
+ */
166
+ readonly critical?: NrqlAlertConditionCritical;
167
+ /**
168
+ * nrql block
169
+ *
170
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/nrql_alert_condition#nrql NrqlAlertCondition#nrql}
171
+ */
172
+ readonly nrql: NrqlAlertConditionNrql;
173
+ /**
174
+ * term block
175
+ *
176
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/nrql_alert_condition#term NrqlAlertCondition#term}
177
+ */
178
+ readonly term?: NrqlAlertConditionTerm[] | cdktf.IResolvable;
179
+ /**
180
+ * timeouts block
181
+ *
182
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/nrql_alert_condition#timeouts NrqlAlertCondition#timeouts}
183
+ */
184
+ readonly timeouts?: NrqlAlertConditionTimeouts;
185
+ /**
186
+ * warning block
187
+ *
188
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/nrql_alert_condition#warning NrqlAlertCondition#warning}
189
+ */
190
+ readonly warning?: NrqlAlertConditionWarning;
191
+ }
192
+ export interface NrqlAlertConditionCriticalPrediction {
193
+ /**
194
+ * BETA PREVIEW: the `predict_by` field is in limited release and only enabled for preview on a per-account basis. - The duration, in seconds, that the prediction should look into the future.
195
+ *
196
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/nrql_alert_condition#predict_by NrqlAlertCondition#predict_by}
197
+ */
198
+ readonly predictBy?: number;
199
+ /**
200
+ * BETA PREVIEW: the `prefer_prediction_violation` field is in limited release and only enabled for preview on a per-account basis. - If a prediction incident is open when a term's static threshold is breached by the actual signal, default behavior is to close the prediction incident and open a static incident. Setting `prefer_prediction_violation` to `true` overrides this behavior leaving the prediction incident open and preventing a static incident from opening.
201
+ *
202
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/nrql_alert_condition#prefer_prediction_violation NrqlAlertCondition#prefer_prediction_violation}
203
+ */
204
+ readonly preferPredictionViolation?: boolean | cdktf.IResolvable;
205
+ }
206
+ export declare function nrqlAlertConditionCriticalPredictionToTerraform(struct?: NrqlAlertConditionCriticalPredictionOutputReference | NrqlAlertConditionCriticalPrediction): any;
207
+ export declare function nrqlAlertConditionCriticalPredictionToHclTerraform(struct?: NrqlAlertConditionCriticalPredictionOutputReference | NrqlAlertConditionCriticalPrediction): any;
208
+ export declare class NrqlAlertConditionCriticalPredictionOutputReference extends cdktf.ComplexObject {
209
+ private isEmptyObject;
210
+ /**
211
+ * @param terraformResource The parent resource
212
+ * @param terraformAttribute The attribute on the parent resource this class is referencing
213
+ */
214
+ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string);
215
+ get internalValue(): NrqlAlertConditionCriticalPrediction | undefined;
216
+ set internalValue(value: NrqlAlertConditionCriticalPrediction | undefined);
217
+ private _predictBy?;
218
+ get predictBy(): number;
219
+ set predictBy(value: number);
220
+ resetPredictBy(): void;
221
+ get predictByInput(): number;
222
+ private _preferPredictionViolation?;
223
+ get preferPredictionViolation(): boolean | cdktf.IResolvable;
224
+ set preferPredictionViolation(value: boolean | cdktf.IResolvable);
225
+ resetPreferPredictionViolation(): void;
226
+ get preferPredictionViolationInput(): any;
227
+ }
228
+ export interface NrqlAlertConditionCritical {
229
+ /**
230
+ * Violations will not change system health status for this term.
231
+ *
232
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/nrql_alert_condition#disable_health_status_reporting NrqlAlertCondition#disable_health_status_reporting}
233
+ */
234
+ readonly disableHealthStatusReporting?: boolean | cdktf.IResolvable;
235
+ /**
236
+ * In minutes, must be in the range of 1 to 120 (inclusive).
237
+ *
238
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/nrql_alert_condition#duration NrqlAlertCondition#duration}
239
+ */
240
+ readonly duration?: number;
241
+ /**
242
+ * One of (above, above_or_equals, below, below_or_equals, equals, not_equals). Defaults to 'equals'.
243
+ *
244
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/nrql_alert_condition#operator NrqlAlertCondition#operator}
245
+ */
246
+ readonly operator?: string;
247
+ /**
248
+ * For baseline conditions must be in range [1, 1000].
249
+ *
250
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/nrql_alert_condition#threshold NrqlAlertCondition#threshold}
251
+ */
252
+ readonly threshold: number;
253
+ /**
254
+ * The duration, in seconds, that the threshold must violate in order to create an incident. Value must be a multiple of the 'aggregation_window' (which has a default of 60 seconds). Value must be within 120-86400 seconds for baseline conditions, and within 60-86400 seconds for static conditions
255
+ *
256
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/nrql_alert_condition#threshold_duration NrqlAlertCondition#threshold_duration}
257
+ */
258
+ readonly thresholdDuration?: number;
259
+ /**
260
+ * The criteria for how many data points must be in violation for the specified threshold duration. Valid values are: 'ALL' or 'AT_LEAST_ONCE' (case insensitive).
261
+ *
262
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/nrql_alert_condition#threshold_occurrences NrqlAlertCondition#threshold_occurrences}
263
+ */
264
+ readonly thresholdOccurrences?: string;
265
+ /**
266
+ * Valid values are: 'all' or 'any'
267
+ *
268
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/nrql_alert_condition#time_function NrqlAlertCondition#time_function}
269
+ */
270
+ readonly timeFunction?: string;
271
+ /**
272
+ * prediction block
273
+ *
274
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/nrql_alert_condition#prediction NrqlAlertCondition#prediction}
275
+ */
276
+ readonly prediction?: NrqlAlertConditionCriticalPrediction;
277
+ }
278
+ export declare function nrqlAlertConditionCriticalToTerraform(struct?: NrqlAlertConditionCriticalOutputReference | NrqlAlertConditionCritical): any;
279
+ export declare function nrqlAlertConditionCriticalToHclTerraform(struct?: NrqlAlertConditionCriticalOutputReference | NrqlAlertConditionCritical): any;
280
+ export declare class NrqlAlertConditionCriticalOutputReference extends cdktf.ComplexObject {
281
+ private isEmptyObject;
282
+ /**
283
+ * @param terraformResource The parent resource
284
+ * @param terraformAttribute The attribute on the parent resource this class is referencing
285
+ */
286
+ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string);
287
+ get internalValue(): NrqlAlertConditionCritical | undefined;
288
+ set internalValue(value: NrqlAlertConditionCritical | undefined);
289
+ private _disableHealthStatusReporting?;
290
+ get disableHealthStatusReporting(): boolean | cdktf.IResolvable;
291
+ set disableHealthStatusReporting(value: boolean | cdktf.IResolvable);
292
+ resetDisableHealthStatusReporting(): void;
293
+ get disableHealthStatusReportingInput(): any;
294
+ private _duration?;
295
+ get duration(): number;
296
+ set duration(value: number);
297
+ resetDuration(): void;
298
+ get durationInput(): number;
299
+ private _operator?;
300
+ get operator(): string;
301
+ set operator(value: string);
302
+ resetOperator(): void;
303
+ get operatorInput(): string;
304
+ private _threshold?;
305
+ get threshold(): number;
306
+ set threshold(value: number);
307
+ get thresholdInput(): number;
308
+ private _thresholdDuration?;
309
+ get thresholdDuration(): number;
310
+ set thresholdDuration(value: number);
311
+ resetThresholdDuration(): void;
312
+ get thresholdDurationInput(): number;
313
+ private _thresholdOccurrences?;
314
+ get thresholdOccurrences(): string;
315
+ set thresholdOccurrences(value: string);
316
+ resetThresholdOccurrences(): void;
317
+ get thresholdOccurrencesInput(): string;
318
+ private _timeFunction?;
319
+ get timeFunction(): string;
320
+ set timeFunction(value: string);
321
+ resetTimeFunction(): void;
322
+ get timeFunctionInput(): string;
323
+ private _prediction;
324
+ get prediction(): NrqlAlertConditionCriticalPredictionOutputReference;
325
+ putPrediction(value: NrqlAlertConditionCriticalPrediction): void;
326
+ resetPrediction(): void;
327
+ get predictionInput(): NrqlAlertConditionCriticalPrediction;
328
+ }
329
+ export interface NrqlAlertConditionNrql {
330
+ /**
331
+ * The New Relic account ID to use as the basis for the NRQL alert condition's `query`; will default to `account_id` if unspecified.
332
+ *
333
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/nrql_alert_condition#data_account_id NrqlAlertCondition#data_account_id}
334
+ */
335
+ readonly dataAccountId?: number;
336
+ /**
337
+ * NRQL queries are evaluated in one-minute time windows. The start time depends on the value you provide in the NRQL condition's `evaluation_offset`.
338
+ *
339
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/nrql_alert_condition#evaluation_offset NrqlAlertCondition#evaluation_offset}
340
+ */
341
+ readonly evaluationOffset?: number;
342
+ /**
343
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/nrql_alert_condition#query NrqlAlertCondition#query}
344
+ */
345
+ readonly query: string;
346
+ /**
347
+ * NRQL queries are evaluated in one-minute time windows. The start time depends on the value you provide in the NRQL condition's `since_value`.
348
+ *
349
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/nrql_alert_condition#since_value NrqlAlertCondition#since_value}
350
+ */
351
+ readonly sinceValue?: string;
352
+ }
353
+ export declare function nrqlAlertConditionNrqlToTerraform(struct?: NrqlAlertConditionNrqlOutputReference | NrqlAlertConditionNrql): any;
354
+ export declare function nrqlAlertConditionNrqlToHclTerraform(struct?: NrqlAlertConditionNrqlOutputReference | NrqlAlertConditionNrql): any;
355
+ export declare class NrqlAlertConditionNrqlOutputReference extends cdktf.ComplexObject {
356
+ private isEmptyObject;
357
+ /**
358
+ * @param terraformResource The parent resource
359
+ * @param terraformAttribute The attribute on the parent resource this class is referencing
360
+ */
361
+ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string);
362
+ get internalValue(): NrqlAlertConditionNrql | undefined;
363
+ set internalValue(value: NrqlAlertConditionNrql | undefined);
364
+ private _dataAccountId?;
365
+ get dataAccountId(): number;
366
+ set dataAccountId(value: number);
367
+ resetDataAccountId(): void;
368
+ get dataAccountIdInput(): number;
369
+ private _evaluationOffset?;
370
+ get evaluationOffset(): number;
371
+ set evaluationOffset(value: number);
372
+ resetEvaluationOffset(): void;
373
+ get evaluationOffsetInput(): number;
374
+ private _query?;
375
+ get query(): string;
376
+ set query(value: string);
377
+ get queryInput(): string;
378
+ private _sinceValue?;
379
+ get sinceValue(): string;
380
+ set sinceValue(value: string);
381
+ resetSinceValue(): void;
382
+ get sinceValueInput(): string;
383
+ }
384
+ export interface NrqlAlertConditionTermPrediction {
385
+ /**
386
+ * BETA PREVIEW: the `predict_by` field is in limited release and only enabled for preview on a per-account basis. - The duration, in seconds, that the prediction should look into the future.
387
+ *
388
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/nrql_alert_condition#predict_by NrqlAlertCondition#predict_by}
389
+ */
390
+ readonly predictBy?: number;
391
+ /**
392
+ * BETA PREVIEW: the `prefer_prediction_violation` field is in limited release and only enabled for preview on a per-account basis. - If a prediction incident is open when a term's static threshold is breached by the actual signal, default behavior is to close the prediction incident and open a static incident. Setting `prefer_prediction_violation` to `true` overrides this behavior leaving the prediction incident open and preventing a static incident from opening.
393
+ *
394
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/nrql_alert_condition#prefer_prediction_violation NrqlAlertCondition#prefer_prediction_violation}
395
+ */
396
+ readonly preferPredictionViolation?: boolean | cdktf.IResolvable;
397
+ }
398
+ export declare function nrqlAlertConditionTermPredictionToTerraform(struct?: NrqlAlertConditionTermPredictionOutputReference | NrqlAlertConditionTermPrediction): any;
399
+ export declare function nrqlAlertConditionTermPredictionToHclTerraform(struct?: NrqlAlertConditionTermPredictionOutputReference | NrqlAlertConditionTermPrediction): any;
400
+ export declare class NrqlAlertConditionTermPredictionOutputReference extends cdktf.ComplexObject {
401
+ private isEmptyObject;
402
+ /**
403
+ * @param terraformResource The parent resource
404
+ * @param terraformAttribute The attribute on the parent resource this class is referencing
405
+ */
406
+ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string);
407
+ get internalValue(): NrqlAlertConditionTermPrediction | undefined;
408
+ set internalValue(value: NrqlAlertConditionTermPrediction | undefined);
409
+ private _predictBy?;
410
+ get predictBy(): number;
411
+ set predictBy(value: number);
412
+ resetPredictBy(): void;
413
+ get predictByInput(): number;
414
+ private _preferPredictionViolation?;
415
+ get preferPredictionViolation(): boolean | cdktf.IResolvable;
416
+ set preferPredictionViolation(value: boolean | cdktf.IResolvable);
417
+ resetPreferPredictionViolation(): void;
418
+ get preferPredictionViolationInput(): any;
419
+ }
420
+ export interface NrqlAlertConditionTerm {
421
+ /**
422
+ * Violations will not change system health status for this term.
423
+ *
424
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/nrql_alert_condition#disable_health_status_reporting NrqlAlertCondition#disable_health_status_reporting}
425
+ */
426
+ readonly disableHealthStatusReporting?: boolean | cdktf.IResolvable;
427
+ /**
428
+ * In minutes, must be in the range of 1 to 120 (inclusive).
429
+ *
430
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/nrql_alert_condition#duration NrqlAlertCondition#duration}
431
+ */
432
+ readonly duration?: number;
433
+ /**
434
+ * One of (above, above_or_equals, below, below_or_equals, equals, not_equals). Defaults to 'equals'.
435
+ *
436
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/nrql_alert_condition#operator NrqlAlertCondition#operator}
437
+ */
438
+ readonly operator?: string;
439
+ /**
440
+ * One of (critical, warning). Defaults to 'critical'. At least one condition term must have priority set to 'critical'.
441
+ *
442
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/nrql_alert_condition#priority NrqlAlertCondition#priority}
443
+ */
444
+ readonly priority?: string;
445
+ /**
446
+ * For baseline conditions must be in range [1, 1000].
447
+ *
448
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/nrql_alert_condition#threshold NrqlAlertCondition#threshold}
449
+ */
450
+ readonly threshold: number;
451
+ /**
452
+ * The duration, in seconds, that the threshold must violate in order to create an incident. Value must be a multiple of the 'aggregation_window' (which has a default of 60 seconds). Value must be within 120-86400 seconds for baseline conditions, and within 60-86400 seconds for static conditions
453
+ *
454
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/nrql_alert_condition#threshold_duration NrqlAlertCondition#threshold_duration}
455
+ */
456
+ readonly thresholdDuration?: number;
457
+ /**
458
+ * The criteria for how many data points must be in violation for the specified threshold duration. Valid values are: 'ALL' or 'AT_LEAST_ONCE' (case insensitive).
459
+ *
460
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/nrql_alert_condition#threshold_occurrences NrqlAlertCondition#threshold_occurrences}
461
+ */
462
+ readonly thresholdOccurrences?: string;
463
+ /**
464
+ * Valid values are: 'all' or 'any'
465
+ *
466
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/nrql_alert_condition#time_function NrqlAlertCondition#time_function}
467
+ */
468
+ readonly timeFunction?: string;
469
+ /**
470
+ * prediction block
471
+ *
472
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/nrql_alert_condition#prediction NrqlAlertCondition#prediction}
473
+ */
474
+ readonly prediction?: NrqlAlertConditionTermPrediction;
475
+ }
476
+ export declare function nrqlAlertConditionTermToTerraform(struct?: NrqlAlertConditionTerm | cdktf.IResolvable): any;
477
+ export declare function nrqlAlertConditionTermToHclTerraform(struct?: NrqlAlertConditionTerm | cdktf.IResolvable): any;
478
+ export declare class NrqlAlertConditionTermOutputReference extends cdktf.ComplexObject {
479
+ private isEmptyObject;
480
+ private resolvableValue?;
481
+ /**
482
+ * @param terraformResource The parent resource
483
+ * @param terraformAttribute The attribute on the parent resource this class is referencing
484
+ * @param complexObjectIndex the index of this item in the list
485
+ * @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
486
+ */
487
+ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, complexObjectIndex: number, complexObjectIsFromSet: boolean);
488
+ get internalValue(): NrqlAlertConditionTerm | cdktf.IResolvable | undefined;
489
+ set internalValue(value: NrqlAlertConditionTerm | cdktf.IResolvable | undefined);
490
+ private _disableHealthStatusReporting?;
491
+ get disableHealthStatusReporting(): boolean | cdktf.IResolvable;
492
+ set disableHealthStatusReporting(value: boolean | cdktf.IResolvable);
493
+ resetDisableHealthStatusReporting(): void;
494
+ get disableHealthStatusReportingInput(): any;
495
+ private _duration?;
496
+ get duration(): number;
497
+ set duration(value: number);
498
+ resetDuration(): void;
499
+ get durationInput(): number;
500
+ private _operator?;
501
+ get operator(): string;
502
+ set operator(value: string);
503
+ resetOperator(): void;
504
+ get operatorInput(): string;
505
+ private _priority?;
506
+ get priority(): string;
507
+ set priority(value: string);
508
+ resetPriority(): void;
509
+ get priorityInput(): string;
510
+ private _threshold?;
511
+ get threshold(): number;
512
+ set threshold(value: number);
513
+ get thresholdInput(): number;
514
+ private _thresholdDuration?;
515
+ get thresholdDuration(): number;
516
+ set thresholdDuration(value: number);
517
+ resetThresholdDuration(): void;
518
+ get thresholdDurationInput(): number;
519
+ private _thresholdOccurrences?;
520
+ get thresholdOccurrences(): string;
521
+ set thresholdOccurrences(value: string);
522
+ resetThresholdOccurrences(): void;
523
+ get thresholdOccurrencesInput(): string;
524
+ private _timeFunction?;
525
+ get timeFunction(): string;
526
+ set timeFunction(value: string);
527
+ resetTimeFunction(): void;
528
+ get timeFunctionInput(): string;
529
+ private _prediction;
530
+ get prediction(): NrqlAlertConditionTermPredictionOutputReference;
531
+ putPrediction(value: NrqlAlertConditionTermPrediction): void;
532
+ resetPrediction(): void;
533
+ get predictionInput(): NrqlAlertConditionTermPrediction;
534
+ }
535
+ export declare class NrqlAlertConditionTermList extends cdktf.ComplexList {
536
+ protected terraformResource: cdktf.IInterpolatingParent;
537
+ protected terraformAttribute: string;
538
+ protected wrapsSet: boolean;
539
+ internalValue?: NrqlAlertConditionTerm[] | cdktf.IResolvable;
540
+ /**
541
+ * @param terraformResource The parent resource
542
+ * @param terraformAttribute The attribute on the parent resource this class is referencing
543
+ * @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
544
+ */
545
+ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, wrapsSet: boolean);
546
+ /**
547
+ * @param index the index of the item to return
548
+ */
549
+ get(index: number): NrqlAlertConditionTermOutputReference;
550
+ }
551
+ export interface NrqlAlertConditionTimeouts {
552
+ /**
553
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/nrql_alert_condition#create NrqlAlertCondition#create}
554
+ */
555
+ readonly create?: string;
556
+ }
557
+ export declare function nrqlAlertConditionTimeoutsToTerraform(struct?: NrqlAlertConditionTimeouts | cdktf.IResolvable): any;
558
+ export declare function nrqlAlertConditionTimeoutsToHclTerraform(struct?: NrqlAlertConditionTimeouts | cdktf.IResolvable): any;
559
+ export declare class NrqlAlertConditionTimeoutsOutputReference extends cdktf.ComplexObject {
560
+ private isEmptyObject;
561
+ private resolvableValue?;
562
+ /**
563
+ * @param terraformResource The parent resource
564
+ * @param terraformAttribute The attribute on the parent resource this class is referencing
565
+ */
566
+ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string);
567
+ get internalValue(): NrqlAlertConditionTimeouts | cdktf.IResolvable | undefined;
568
+ set internalValue(value: NrqlAlertConditionTimeouts | cdktf.IResolvable | undefined);
569
+ private _create?;
570
+ get create(): string;
571
+ set create(value: string);
572
+ resetCreate(): void;
573
+ get createInput(): string;
574
+ }
575
+ export interface NrqlAlertConditionWarningPrediction {
576
+ /**
577
+ * BETA PREVIEW: the `predict_by` field is in limited release and only enabled for preview on a per-account basis. - The duration, in seconds, that the prediction should look into the future.
578
+ *
579
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/nrql_alert_condition#predict_by NrqlAlertCondition#predict_by}
580
+ */
581
+ readonly predictBy?: number;
582
+ /**
583
+ * BETA PREVIEW: the `prefer_prediction_violation` field is in limited release and only enabled for preview on a per-account basis. - If a prediction incident is open when a term's static threshold is breached by the actual signal, default behavior is to close the prediction incident and open a static incident. Setting `prefer_prediction_violation` to `true` overrides this behavior leaving the prediction incident open and preventing a static incident from opening.
584
+ *
585
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/nrql_alert_condition#prefer_prediction_violation NrqlAlertCondition#prefer_prediction_violation}
586
+ */
587
+ readonly preferPredictionViolation?: boolean | cdktf.IResolvable;
588
+ }
589
+ export declare function nrqlAlertConditionWarningPredictionToTerraform(struct?: NrqlAlertConditionWarningPredictionOutputReference | NrqlAlertConditionWarningPrediction): any;
590
+ export declare function nrqlAlertConditionWarningPredictionToHclTerraform(struct?: NrqlAlertConditionWarningPredictionOutputReference | NrqlAlertConditionWarningPrediction): any;
591
+ export declare class NrqlAlertConditionWarningPredictionOutputReference extends cdktf.ComplexObject {
592
+ private isEmptyObject;
593
+ /**
594
+ * @param terraformResource The parent resource
595
+ * @param terraformAttribute The attribute on the parent resource this class is referencing
596
+ */
597
+ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string);
598
+ get internalValue(): NrqlAlertConditionWarningPrediction | undefined;
599
+ set internalValue(value: NrqlAlertConditionWarningPrediction | undefined);
600
+ private _predictBy?;
601
+ get predictBy(): number;
602
+ set predictBy(value: number);
603
+ resetPredictBy(): void;
604
+ get predictByInput(): number;
605
+ private _preferPredictionViolation?;
606
+ get preferPredictionViolation(): boolean | cdktf.IResolvable;
607
+ set preferPredictionViolation(value: boolean | cdktf.IResolvable);
608
+ resetPreferPredictionViolation(): void;
609
+ get preferPredictionViolationInput(): any;
610
+ }
611
+ export interface NrqlAlertConditionWarning {
612
+ /**
613
+ * Violations will not change system health status for this term.
614
+ *
615
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/nrql_alert_condition#disable_health_status_reporting NrqlAlertCondition#disable_health_status_reporting}
616
+ */
617
+ readonly disableHealthStatusReporting?: boolean | cdktf.IResolvable;
618
+ /**
619
+ * In minutes, must be in the range of 1 to 120 (inclusive).
620
+ *
621
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/nrql_alert_condition#duration NrqlAlertCondition#duration}
622
+ */
623
+ readonly duration?: number;
624
+ /**
625
+ * One of (above, above_or_equals, below, below_or_equals, equals, not_equals). Defaults to 'equals'.
626
+ *
627
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/nrql_alert_condition#operator NrqlAlertCondition#operator}
628
+ */
629
+ readonly operator?: string;
630
+ /**
631
+ * For baseline conditions must be in range [1, 1000].
632
+ *
633
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/nrql_alert_condition#threshold NrqlAlertCondition#threshold}
634
+ */
635
+ readonly threshold: number;
636
+ /**
637
+ * The duration, in seconds, that the threshold must violate in order to create an incident. Value must be a multiple of the 'aggregation_window' (which has a default of 60 seconds). Value must be within 120-86400 seconds for baseline conditions, and within 60-86400 seconds for static conditions
638
+ *
639
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/nrql_alert_condition#threshold_duration NrqlAlertCondition#threshold_duration}
640
+ */
641
+ readonly thresholdDuration?: number;
642
+ /**
643
+ * The criteria for how many data points must be in violation for the specified threshold duration. Valid values are: 'ALL' or 'AT_LEAST_ONCE' (case insensitive).
644
+ *
645
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/nrql_alert_condition#threshold_occurrences NrqlAlertCondition#threshold_occurrences}
646
+ */
647
+ readonly thresholdOccurrences?: string;
648
+ /**
649
+ * Valid values are: 'all' or 'any'
650
+ *
651
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/nrql_alert_condition#time_function NrqlAlertCondition#time_function}
652
+ */
653
+ readonly timeFunction?: string;
654
+ /**
655
+ * prediction block
656
+ *
657
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/nrql_alert_condition#prediction NrqlAlertCondition#prediction}
658
+ */
659
+ readonly prediction?: NrqlAlertConditionWarningPrediction;
660
+ }
661
+ export declare function nrqlAlertConditionWarningToTerraform(struct?: NrqlAlertConditionWarningOutputReference | NrqlAlertConditionWarning): any;
662
+ export declare function nrqlAlertConditionWarningToHclTerraform(struct?: NrqlAlertConditionWarningOutputReference | NrqlAlertConditionWarning): any;
663
+ export declare class NrqlAlertConditionWarningOutputReference extends cdktf.ComplexObject {
664
+ private isEmptyObject;
665
+ /**
666
+ * @param terraformResource The parent resource
667
+ * @param terraformAttribute The attribute on the parent resource this class is referencing
668
+ */
669
+ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string);
670
+ get internalValue(): NrqlAlertConditionWarning | undefined;
671
+ set internalValue(value: NrqlAlertConditionWarning | undefined);
672
+ private _disableHealthStatusReporting?;
673
+ get disableHealthStatusReporting(): boolean | cdktf.IResolvable;
674
+ set disableHealthStatusReporting(value: boolean | cdktf.IResolvable);
675
+ resetDisableHealthStatusReporting(): void;
676
+ get disableHealthStatusReportingInput(): any;
677
+ private _duration?;
678
+ get duration(): number;
679
+ set duration(value: number);
680
+ resetDuration(): void;
681
+ get durationInput(): number;
682
+ private _operator?;
683
+ get operator(): string;
684
+ set operator(value: string);
685
+ resetOperator(): void;
686
+ get operatorInput(): string;
687
+ private _threshold?;
688
+ get threshold(): number;
689
+ set threshold(value: number);
690
+ get thresholdInput(): number;
691
+ private _thresholdDuration?;
692
+ get thresholdDuration(): number;
693
+ set thresholdDuration(value: number);
694
+ resetThresholdDuration(): void;
695
+ get thresholdDurationInput(): number;
696
+ private _thresholdOccurrences?;
697
+ get thresholdOccurrences(): string;
698
+ set thresholdOccurrences(value: string);
699
+ resetThresholdOccurrences(): void;
700
+ get thresholdOccurrencesInput(): string;
701
+ private _timeFunction?;
702
+ get timeFunction(): string;
703
+ set timeFunction(value: string);
704
+ resetTimeFunction(): void;
705
+ get timeFunctionInput(): string;
706
+ private _prediction;
707
+ get prediction(): NrqlAlertConditionWarningPredictionOutputReference;
708
+ putPrediction(value: NrqlAlertConditionWarningPrediction): void;
709
+ resetPrediction(): void;
710
+ get predictionInput(): NrqlAlertConditionWarningPrediction;
711
+ }
712
+ /**
713
+ * Represents a {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/nrql_alert_condition newrelic_nrql_alert_condition}
714
+ */
715
+ export declare class NrqlAlertCondition extends cdktf.TerraformResource {
716
+ static readonly tfResourceType = "newrelic_nrql_alert_condition";
717
+ /**
718
+ * Generates CDKTF code for importing a NrqlAlertCondition resource upon running "cdktf plan <stack-name>"
719
+ * @param scope The scope in which to define this construct
720
+ * @param importToId The construct id used in the generated config for the NrqlAlertCondition to import
721
+ * @param importFromId The id of the existing NrqlAlertCondition that should be imported. Refer to the {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/nrql_alert_condition#import import section} in the documentation of this resource for the id to use
722
+ * @param provider? Optional instance of the provider where the NrqlAlertCondition to import is found
723
+ */
724
+ static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider): any;
725
+ /**
726
+ * Create a new {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/nrql_alert_condition newrelic_nrql_alert_condition} Resource
727
+ *
728
+ * @param scope The scope in which to define this construct
729
+ * @param id The scoped construct ID. Must be unique amongst siblings in the same scope
730
+ * @param options NrqlAlertConditionConfig
731
+ */
732
+ constructor(scope: Construct, id: string, config: NrqlAlertConditionConfig);
733
+ private _accountId?;
734
+ get accountId(): number;
735
+ set accountId(value: number);
736
+ resetAccountId(): void;
737
+ get accountIdInput(): number;
738
+ private _aggregationDelay?;
739
+ get aggregationDelay(): string;
740
+ set aggregationDelay(value: string);
741
+ resetAggregationDelay(): void;
742
+ get aggregationDelayInput(): string;
743
+ private _aggregationMethod?;
744
+ get aggregationMethod(): string;
745
+ set aggregationMethod(value: string);
746
+ resetAggregationMethod(): void;
747
+ get aggregationMethodInput(): string;
748
+ private _aggregationTimer?;
749
+ get aggregationTimer(): string;
750
+ set aggregationTimer(value: string);
751
+ resetAggregationTimer(): void;
752
+ get aggregationTimerInput(): string;
753
+ private _aggregationWindow?;
754
+ get aggregationWindow(): number;
755
+ set aggregationWindow(value: number);
756
+ resetAggregationWindow(): void;
757
+ get aggregationWindowInput(): number;
758
+ private _baselineDirection?;
759
+ get baselineDirection(): string;
760
+ set baselineDirection(value: string);
761
+ resetBaselineDirection(): void;
762
+ get baselineDirectionInput(): string;
763
+ private _closeViolationsOnExpiration?;
764
+ get closeViolationsOnExpiration(): boolean | cdktf.IResolvable;
765
+ set closeViolationsOnExpiration(value: boolean | cdktf.IResolvable);
766
+ resetCloseViolationsOnExpiration(): void;
767
+ get closeViolationsOnExpirationInput(): any;
768
+ private _description?;
769
+ get description(): string;
770
+ set description(value: string);
771
+ resetDescription(): void;
772
+ get descriptionInput(): string;
773
+ private _enabled?;
774
+ get enabled(): boolean | cdktf.IResolvable;
775
+ set enabled(value: boolean | cdktf.IResolvable);
776
+ resetEnabled(): void;
777
+ get enabledInput(): any;
778
+ get entityGuid(): any;
779
+ private _evaluationDelay?;
780
+ get evaluationDelay(): number;
781
+ set evaluationDelay(value: number);
782
+ resetEvaluationDelay(): void;
783
+ get evaluationDelayInput(): number;
784
+ private _expirationDuration?;
785
+ get expirationDuration(): number;
786
+ set expirationDuration(value: number);
787
+ resetExpirationDuration(): void;
788
+ get expirationDurationInput(): number;
789
+ private _fillOption?;
790
+ get fillOption(): string;
791
+ set fillOption(value: string);
792
+ resetFillOption(): void;
793
+ get fillOptionInput(): string;
794
+ private _fillValue?;
795
+ get fillValue(): number;
796
+ set fillValue(value: number);
797
+ resetFillValue(): void;
798
+ get fillValueInput(): number;
799
+ private _id?;
800
+ get id(): string;
801
+ set id(value: string);
802
+ resetId(): void;
803
+ get idInput(): string;
804
+ private _ignoreOnExpectedTermination?;
805
+ get ignoreOnExpectedTermination(): boolean | cdktf.IResolvable;
806
+ set ignoreOnExpectedTermination(value: boolean | cdktf.IResolvable);
807
+ resetIgnoreOnExpectedTermination(): void;
808
+ get ignoreOnExpectedTerminationInput(): any;
809
+ private _name?;
810
+ get name(): string;
811
+ set name(value: string);
812
+ get nameInput(): string;
813
+ private _openViolationOnExpiration?;
814
+ get openViolationOnExpiration(): boolean | cdktf.IResolvable;
815
+ set openViolationOnExpiration(value: boolean | cdktf.IResolvable);
816
+ resetOpenViolationOnExpiration(): void;
817
+ get openViolationOnExpirationInput(): any;
818
+ private _policyId?;
819
+ get policyId(): number;
820
+ set policyId(value: number);
821
+ get policyIdInput(): number;
822
+ private _runbookUrl?;
823
+ get runbookUrl(): string;
824
+ set runbookUrl(value: string);
825
+ resetRunbookUrl(): void;
826
+ get runbookUrlInput(): string;
827
+ private _signalSeasonality?;
828
+ get signalSeasonality(): string;
829
+ set signalSeasonality(value: string);
830
+ resetSignalSeasonality(): void;
831
+ get signalSeasonalityInput(): string;
832
+ private _slideBy?;
833
+ get slideBy(): number;
834
+ set slideBy(value: number);
835
+ resetSlideBy(): void;
836
+ get slideByInput(): number;
837
+ private _targetEntity?;
838
+ get targetEntity(): string;
839
+ set targetEntity(value: string);
840
+ resetTargetEntity(): void;
841
+ get targetEntityInput(): string;
842
+ private _titleTemplate?;
843
+ get titleTemplate(): string;
844
+ set titleTemplate(value: string);
845
+ resetTitleTemplate(): void;
846
+ get titleTemplateInput(): string;
847
+ private _type?;
848
+ get type(): string;
849
+ set type(value: string);
850
+ resetType(): void;
851
+ get typeInput(): string;
852
+ private _violationTimeLimit?;
853
+ get violationTimeLimit(): string;
854
+ set violationTimeLimit(value: string);
855
+ resetViolationTimeLimit(): void;
856
+ get violationTimeLimitInput(): string;
857
+ private _violationTimeLimitSeconds?;
858
+ get violationTimeLimitSeconds(): number;
859
+ set violationTimeLimitSeconds(value: number);
860
+ resetViolationTimeLimitSeconds(): void;
861
+ get violationTimeLimitSecondsInput(): number;
862
+ private _critical;
863
+ get critical(): NrqlAlertConditionCriticalOutputReference;
864
+ putCritical(value: NrqlAlertConditionCritical): void;
865
+ resetCritical(): void;
866
+ get criticalInput(): NrqlAlertConditionCritical;
867
+ private _nrql;
868
+ get nrql(): NrqlAlertConditionNrqlOutputReference;
869
+ putNrql(value: NrqlAlertConditionNrql): void;
870
+ get nrqlInput(): NrqlAlertConditionNrql;
871
+ private _term;
872
+ get term(): NrqlAlertConditionTermList;
873
+ putTerm(value: NrqlAlertConditionTerm[] | cdktf.IResolvable): void;
874
+ resetTerm(): void;
875
+ get termInput(): any;
876
+ private _timeouts;
877
+ get timeouts(): NrqlAlertConditionTimeoutsOutputReference;
878
+ putTimeouts(value: NrqlAlertConditionTimeouts): void;
879
+ resetTimeouts(): void;
880
+ get timeoutsInput(): any;
881
+ private _warning;
882
+ get warning(): NrqlAlertConditionWarningOutputReference;
883
+ putWarning(value: NrqlAlertConditionWarning): void;
884
+ resetWarning(): void;
885
+ get warningInput(): NrqlAlertConditionWarning;
886
+ protected synthesizeAttributes(): {
887
+ [name: string]: any;
888
+ };
889
+ protected synthesizeHclAttributes(): {
890
+ [name: string]: any;
891
+ };
892
+ }