@cdktn/provider-newrelic 14.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (154) hide show
  1. package/.jsii +198156 -0
  2. package/LICENSE +355 -0
  3. package/README.md +94 -0
  4. package/lib/account-management/index.d.ts +122 -0
  5. package/lib/account-management/index.js +293 -0
  6. package/lib/alert-channel/index.d.ts +351 -0
  7. package/lib/alert-channel/index.js +769 -0
  8. package/lib/alert-compound-condition/index.d.ts +233 -0
  9. package/lib/alert-compound-condition/index.js +506 -0
  10. package/lib/alert-condition/index.d.ts +271 -0
  11. package/lib/alert-condition/index.js +558 -0
  12. package/lib/alert-muting-rule/index.d.ts +309 -0
  13. package/lib/alert-muting-rule/index.js +714 -0
  14. package/lib/alert-policy/index.d.ts +91 -0
  15. package/lib/alert-policy/index.js +174 -0
  16. package/lib/alert-policy-channel/index.d.ts +114 -0
  17. package/lib/alert-policy-channel/index.js +258 -0
  18. package/lib/api-access-key/index.d.ts +102 -0
  19. package/lib/api-access-key/index.js +220 -0
  20. package/lib/application-settings/index.d.ts +414 -0
  21. package/lib/application-settings/index.js +944 -0
  22. package/lib/browser-application/index.d.ts +149 -0
  23. package/lib/browser-application/index.js +341 -0
  24. package/lib/cloud-aws-eu-sovereign-integrations/index.d.ts +199 -0
  25. package/lib/cloud-aws-eu-sovereign-integrations/index.js +481 -0
  26. package/lib/cloud-aws-eu-sovereign-link-account/index.d.ts +90 -0
  27. package/lib/cloud-aws-eu-sovereign-link-account/index.js +171 -0
  28. package/lib/cloud-aws-govcloud-integrations/index.d.ts +1523 -0
  29. package/lib/cloud-aws-govcloud-integrations/index.js +3776 -0
  30. package/lib/cloud-aws-govcloud-link-account/index.d.ts +90 -0
  31. package/lib/cloud-aws-govcloud-link-account/index.js +171 -0
  32. package/lib/cloud-aws-integrations/index.d.ts +3345 -0
  33. package/lib/cloud-aws-integrations/index.js +8599 -0
  34. package/lib/cloud-aws-link-account/index.d.ts +90 -0
  35. package/lib/cloud-aws-link-account/index.js +171 -0
  36. package/lib/cloud-azure-integrations/index.d.ts +1666 -0
  37. package/lib/cloud-azure-integrations/index.js +4361 -0
  38. package/lib/cloud-azure-link-account/index.d.ts +109 -0
  39. package/lib/cloud-azure-link-account/index.js +204 -0
  40. package/lib/cloud-gcp-integrations/index.d.ts +1049 -0
  41. package/lib/cloud-gcp-integrations/index.js +2810 -0
  42. package/lib/cloud-gcp-link-account/index.d.ts +79 -0
  43. package/lib/cloud-gcp-link-account/index.js +150 -0
  44. package/lib/cloud-oci-link-account/index.d.ts +195 -0
  45. package/lib/cloud-oci-link-account/index.js +366 -0
  46. package/lib/data-newrelic-account/index.d.ts +82 -0
  47. package/lib/data-newrelic-account/index.js +160 -0
  48. package/lib/data-newrelic-alert-channel/index.d.ts +126 -0
  49. package/lib/data-newrelic-alert-channel/index.js +298 -0
  50. package/lib/data-newrelic-alert-policy/index.d.ts +82 -0
  51. package/lib/data-newrelic-alert-policy/index.js +161 -0
  52. package/lib/data-newrelic-application/index.d.ts +60 -0
  53. package/lib/data-newrelic-application/index.js +122 -0
  54. package/lib/data-newrelic-authentication-domain/index.d.ts +47 -0
  55. package/lib/data-newrelic-authentication-domain/index.js +97 -0
  56. package/lib/data-newrelic-cloud-account/index.d.ts +79 -0
  57. package/lib/data-newrelic-cloud-account/index.js +150 -0
  58. package/lib/data-newrelic-entity/index.d.ts +189 -0
  59. package/lib/data-newrelic-entity/index.js +401 -0
  60. package/lib/data-newrelic-group/index.d.ts +58 -0
  61. package/lib/data-newrelic-group/index.js +116 -0
  62. package/lib/data-newrelic-key-transaction/index.d.ts +82 -0
  63. package/lib/data-newrelic-key-transaction/index.js +161 -0
  64. package/lib/data-newrelic-notification-destination/index.d.ts +165 -0
  65. package/lib/data-newrelic-notification-destination/index.js +372 -0
  66. package/lib/data-newrelic-obfuscation-expression/index.d.ts +69 -0
  67. package/lib/data-newrelic-obfuscation-expression/index.js +132 -0
  68. package/lib/data-newrelic-service-level-alert-helper/index.d.ts +111 -0
  69. package/lib/data-newrelic-service-level-alert-helper/index.js +244 -0
  70. package/lib/data-newrelic-synthetics-private-location/index.d.ts +80 -0
  71. package/lib/data-newrelic-synthetics-private-location/index.js +153 -0
  72. package/lib/data-newrelic-synthetics-secure-credential/index.d.ts +71 -0
  73. package/lib/data-newrelic-synthetics-secure-credential/index.js +140 -0
  74. package/lib/data-newrelic-test-grok-pattern/index.d.ts +149 -0
  75. package/lib/data-newrelic-test-grok-pattern/index.js +318 -0
  76. package/lib/data-newrelic-user/index.d.ts +69 -0
  77. package/lib/data-newrelic-user/index.js +136 -0
  78. package/lib/data-partition-rule/index.d.ts +146 -0
  79. package/lib/data-partition-rule/index.js +319 -0
  80. package/lib/entity-tags/index.d.ts +156 -0
  81. package/lib/entity-tags/index.js +368 -0
  82. package/lib/events-to-metrics-rule/index.d.ts +102 -0
  83. package/lib/events-to-metrics-rule/index.js +196 -0
  84. package/lib/group/index.d.ts +79 -0
  85. package/lib/group/index.js +150 -0
  86. package/lib/index.d.ts +74 -0
  87. package/lib/index.js +80 -0
  88. package/lib/infra-alert-condition/index.d.ts +293 -0
  89. package/lib/infra-alert-condition/index.js +665 -0
  90. package/lib/insights-event/index.d.ts +186 -0
  91. package/lib/insights-event/index.js +425 -0
  92. package/lib/key-transaction/index.d.ts +100 -0
  93. package/lib/key-transaction/index.js +191 -0
  94. package/lib/lazy-index.d.ts +4 -0
  95. package/lib/lazy-index.js +77 -0
  96. package/lib/log-parsing-rule/index.d.ts +132 -0
  97. package/lib/log-parsing-rule/index.js +250 -0
  98. package/lib/monitor-downtime/index.d.ts +259 -0
  99. package/lib/monitor-downtime/index.js +594 -0
  100. package/lib/notification-channel/index.d.ts +240 -0
  101. package/lib/notification-channel/index.js +546 -0
  102. package/lib/notification-destination/index.d.ts +406 -0
  103. package/lib/notification-destination/index.js +1030 -0
  104. package/lib/nrql-alert-condition/index.d.ts +976 -0
  105. package/lib/nrql-alert-condition/index.js +2320 -0
  106. package/lib/nrql-drop-rule/index.d.ts +127 -0
  107. package/lib/nrql-drop-rule/index.js +287 -0
  108. package/lib/obfuscation-expression/index.d.ts +90 -0
  109. package/lib/obfuscation-expression/index.js +171 -0
  110. package/lib/obfuscation-rule/index.d.ts +173 -0
  111. package/lib/obfuscation-rule/index.js +361 -0
  112. package/lib/one-dashboard/index-structs/index.d.ts +6 -0
  113. package/lib/one-dashboard/index-structs/index.js +23 -0
  114. package/lib/one-dashboard/index-structs/structs0.d.ts +7000 -0
  115. package/lib/one-dashboard/index-structs/structs0.js +17966 -0
  116. package/lib/one-dashboard/index-structs/structs400.d.ts +3703 -0
  117. package/lib/one-dashboard/index-structs/structs400.js +9484 -0
  118. package/lib/one-dashboard/index.d.ts +116 -0
  119. package/lib/one-dashboard/index.js +246 -0
  120. package/lib/one-dashboard-json/index.d.ts +116 -0
  121. package/lib/one-dashboard-json/index.js +278 -0
  122. package/lib/one-dashboard-raw/index.d.ts +278 -0
  123. package/lib/one-dashboard-raw/index.js +646 -0
  124. package/lib/pipeline-cloud-rule/index.d.ts +90 -0
  125. package/lib/pipeline-cloud-rule/index.js +171 -0
  126. package/lib/provider/index.d.ts +164 -0
  127. package/lib/provider/index.js +354 -0
  128. package/lib/service-level/index.d.ts +505 -0
  129. package/lib/service-level/index.js +1429 -0
  130. package/lib/synthetics-alert-condition/index.d.ts +101 -0
  131. package/lib/synthetics-alert-condition/index.js +193 -0
  132. package/lib/synthetics-broken-links-monitor/index.d.ts +221 -0
  133. package/lib/synthetics-broken-links-monitor/index.js +455 -0
  134. package/lib/synthetics-cert-check-monitor/index.d.ts +226 -0
  135. package/lib/synthetics-cert-check-monitor/index.js +469 -0
  136. package/lib/synthetics-monitor/index.d.ts +408 -0
  137. package/lib/synthetics-monitor/index.js +843 -0
  138. package/lib/synthetics-multilocation-alert-condition/index.d.ts +181 -0
  139. package/lib/synthetics-multilocation-alert-condition/index.js +403 -0
  140. package/lib/synthetics-private-location/index.d.ts +94 -0
  141. package/lib/synthetics-private-location/index.js +187 -0
  142. package/lib/synthetics-script-monitor/index.d.ts +352 -0
  143. package/lib/synthetics-script-monitor/index.js +736 -0
  144. package/lib/synthetics-secure-credential/index.d.ts +136 -0
  145. package/lib/synthetics-secure-credential/index.js +300 -0
  146. package/lib/synthetics-step-monitor/index.d.ts +372 -0
  147. package/lib/synthetics-step-monitor/index.js +809 -0
  148. package/lib/user/index.d.ts +89 -0
  149. package/lib/user/index.js +168 -0
  150. package/lib/workflow/index.d.ts +445 -0
  151. package/lib/workflow/index.js +1058 -0
  152. package/lib/workload/index.d.ts +518 -0
  153. package/lib/workload/index.js +1279 -0
  154. package/package.json +155 -0
@@ -0,0 +1,233 @@
1
+ /**
2
+ * Copyright IBM Corp. 2021, 2026
3
+ * SPDX-License-Identifier: MPL-2.0
4
+ */
5
+ import { Construct } from 'constructs';
6
+ import * as cdktn from 'cdktn';
7
+ export interface AlertCompoundConditionConfig extends cdktn.TerraformMetaArguments {
8
+ /**
9
+ * The New Relic account ID for managing your compound alert conditions.
10
+ *
11
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.80.2/docs/resources/alert_compound_condition#account_id AlertCompoundCondition#account_id}
12
+ */
13
+ readonly accountId?: number;
14
+ /**
15
+ * Whether or not to enable the alert condition.
16
+ *
17
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.80.2/docs/resources/alert_compound_condition#enabled AlertCompoundCondition#enabled}
18
+ */
19
+ readonly enabled: boolean | cdktn.IResolvable;
20
+ /**
21
+ * How the compound condition will take into account the component conditions' facets during evaluation. Valid values: 'FACETS_IGNORED' (default) - facets are not taken into consideration when determining when the compound alert condition activates; 'FACETS_MATCH' - the compound alert condition will activate only when shared facets have matching values.
22
+ *
23
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.80.2/docs/resources/alert_compound_condition#facet_matching_behavior AlertCompoundCondition#facet_matching_behavior}
24
+ */
25
+ readonly facetMatchingBehavior?: string;
26
+ /**
27
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.80.2/docs/resources/alert_compound_condition#id AlertCompoundCondition#id}
28
+ *
29
+ * Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2.
30
+ * 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.
31
+ */
32
+ readonly id?: string;
33
+ /**
34
+ * The title of the compound alert condition.
35
+ *
36
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.80.2/docs/resources/alert_compound_condition#name AlertCompoundCondition#name}
37
+ */
38
+ readonly name: string;
39
+ /**
40
+ * The ID of the policy where this condition should be used.
41
+ *
42
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.80.2/docs/resources/alert_compound_condition#policy_id AlertCompoundCondition#policy_id}
43
+ */
44
+ readonly policyId: number;
45
+ /**
46
+ * Runbook URL to display in notifications.
47
+ *
48
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.80.2/docs/resources/alert_compound_condition#runbook_url AlertCompoundCondition#runbook_url}
49
+ */
50
+ readonly runbookUrl?: string;
51
+ /**
52
+ * The duration, in seconds, that the trigger expression must be true before the compound alert condition will activate. Between 30-86400 seconds.
53
+ *
54
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.80.2/docs/resources/alert_compound_condition#threshold_duration AlertCompoundCondition#threshold_duration}
55
+ */
56
+ readonly thresholdDuration?: number;
57
+ /**
58
+ * Expression that defines how component condition evaluations are combined. Valid operators are 'AND', 'OR', 'NOT'. For more complex expressions, use parentheses. Simple example: 'A AND B'. Complex example: 'A AND (B OR C) AND NOT D'.
59
+ *
60
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.80.2/docs/resources/alert_compound_condition#trigger_expression AlertCompoundCondition#trigger_expression}
61
+ */
62
+ readonly triggerExpression: string;
63
+ /**
64
+ * component_conditions block
65
+ *
66
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.80.2/docs/resources/alert_compound_condition#component_conditions AlertCompoundCondition#component_conditions}
67
+ */
68
+ readonly componentConditions: AlertCompoundConditionComponentConditions[] | cdktn.IResolvable;
69
+ /**
70
+ * timeouts block
71
+ *
72
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.80.2/docs/resources/alert_compound_condition#timeouts AlertCompoundCondition#timeouts}
73
+ */
74
+ readonly timeouts?: AlertCompoundConditionTimeouts;
75
+ }
76
+ export interface AlertCompoundConditionComponentConditions {
77
+ /**
78
+ * The identifier that will be used in the compound alert condition's trigger_expression (e.g., 'A', 'B', 'C').
79
+ *
80
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.80.2/docs/resources/alert_compound_condition#alias AlertCompoundCondition#alias}
81
+ */
82
+ readonly alias: string;
83
+ /**
84
+ * The ID of the existing alert condition to use as a component.
85
+ *
86
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.80.2/docs/resources/alert_compound_condition#id AlertCompoundCondition#id}
87
+ *
88
+ * Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2.
89
+ * 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.
90
+ */
91
+ readonly id: string;
92
+ }
93
+ export declare function alertCompoundConditionComponentConditionsToTerraform(struct?: AlertCompoundConditionComponentConditions | cdktn.IResolvable): any;
94
+ export declare function alertCompoundConditionComponentConditionsToHclTerraform(struct?: AlertCompoundConditionComponentConditions | cdktn.IResolvable): any;
95
+ export declare class AlertCompoundConditionComponentConditionsOutputReference extends cdktn.ComplexObject {
96
+ private isEmptyObject;
97
+ private resolvableValue?;
98
+ /**
99
+ * @param terraformResource The parent resource
100
+ * @param terraformAttribute The attribute on the parent resource this class is referencing
101
+ * @param complexObjectIndex the index of this item in the list
102
+ * @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
103
+ */
104
+ constructor(terraformResource: cdktn.IInterpolatingParent, terraformAttribute: string, complexObjectIndex: number, complexObjectIsFromSet: boolean);
105
+ get internalValue(): AlertCompoundConditionComponentConditions | cdktn.IResolvable | undefined;
106
+ set internalValue(value: AlertCompoundConditionComponentConditions | cdktn.IResolvable | undefined);
107
+ private _alias?;
108
+ get alias(): string;
109
+ set alias(value: string);
110
+ get aliasInput(): string | undefined;
111
+ private _id?;
112
+ get id(): string;
113
+ set id(value: string);
114
+ get idInput(): string | undefined;
115
+ }
116
+ export declare class AlertCompoundConditionComponentConditionsList extends cdktn.ComplexList {
117
+ protected terraformResource: cdktn.IInterpolatingParent;
118
+ protected terraformAttribute: string;
119
+ protected wrapsSet: boolean;
120
+ internalValue?: AlertCompoundConditionComponentConditions[] | cdktn.IResolvable;
121
+ /**
122
+ * @param terraformResource The parent resource
123
+ * @param terraformAttribute The attribute on the parent resource this class is referencing
124
+ * @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
125
+ */
126
+ constructor(terraformResource: cdktn.IInterpolatingParent, terraformAttribute: string, wrapsSet: boolean);
127
+ /**
128
+ * @param index the index of the item to return
129
+ */
130
+ get(index: number): AlertCompoundConditionComponentConditionsOutputReference;
131
+ }
132
+ export interface AlertCompoundConditionTimeouts {
133
+ /**
134
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.80.2/docs/resources/alert_compound_condition#create AlertCompoundCondition#create}
135
+ */
136
+ readonly create?: string;
137
+ }
138
+ export declare function alertCompoundConditionTimeoutsToTerraform(struct?: AlertCompoundConditionTimeouts | cdktn.IResolvable): any;
139
+ export declare function alertCompoundConditionTimeoutsToHclTerraform(struct?: AlertCompoundConditionTimeouts | cdktn.IResolvable): any;
140
+ export declare class AlertCompoundConditionTimeoutsOutputReference extends cdktn.ComplexObject {
141
+ private isEmptyObject;
142
+ private resolvableValue?;
143
+ /**
144
+ * @param terraformResource The parent resource
145
+ * @param terraformAttribute The attribute on the parent resource this class is referencing
146
+ */
147
+ constructor(terraformResource: cdktn.IInterpolatingParent, terraformAttribute: string);
148
+ get internalValue(): AlertCompoundConditionTimeouts | cdktn.IResolvable | undefined;
149
+ set internalValue(value: AlertCompoundConditionTimeouts | cdktn.IResolvable | undefined);
150
+ private _create?;
151
+ get create(): string;
152
+ set create(value: string);
153
+ resetCreate(): void;
154
+ get createInput(): string | undefined;
155
+ }
156
+ /**
157
+ * Represents a {@link https://registry.terraform.io/providers/newrelic/newrelic/3.80.2/docs/resources/alert_compound_condition newrelic_alert_compound_condition}
158
+ */
159
+ export declare class AlertCompoundCondition extends cdktn.TerraformResource {
160
+ static readonly tfResourceType = "newrelic_alert_compound_condition";
161
+ /**
162
+ * Generates CDKTN code for importing a AlertCompoundCondition resource upon running "cdktn plan <stack-name>"
163
+ * @param scope The scope in which to define this construct
164
+ * @param importToId The construct id used in the generated config for the AlertCompoundCondition to import
165
+ * @param importFromId The id of the existing AlertCompoundCondition that should be imported. Refer to the {@link https://registry.terraform.io/providers/newrelic/newrelic/3.80.2/docs/resources/alert_compound_condition#import import section} in the documentation of this resource for the id to use
166
+ * @param provider? Optional instance of the provider where the AlertCompoundCondition to import is found
167
+ */
168
+ static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktn.TerraformProvider): cdktn.ImportableResource;
169
+ /**
170
+ * Create a new {@link https://registry.terraform.io/providers/newrelic/newrelic/3.80.2/docs/resources/alert_compound_condition newrelic_alert_compound_condition} Resource
171
+ *
172
+ * @param scope The scope in which to define this construct
173
+ * @param id The scoped construct ID. Must be unique amongst siblings in the same scope
174
+ * @param options AlertCompoundConditionConfig
175
+ */
176
+ constructor(scope: Construct, id: string, config: AlertCompoundConditionConfig);
177
+ private _accountId?;
178
+ get accountId(): number;
179
+ set accountId(value: number);
180
+ resetAccountId(): void;
181
+ get accountIdInput(): number | undefined;
182
+ private _enabled?;
183
+ get enabled(): boolean | cdktn.IResolvable;
184
+ set enabled(value: boolean | cdktn.IResolvable);
185
+ get enabledInput(): boolean | cdktn.IResolvable | undefined;
186
+ private _facetMatchingBehavior?;
187
+ get facetMatchingBehavior(): string;
188
+ set facetMatchingBehavior(value: string);
189
+ resetFacetMatchingBehavior(): void;
190
+ get facetMatchingBehaviorInput(): string | undefined;
191
+ private _id?;
192
+ get id(): string;
193
+ set id(value: string);
194
+ resetId(): void;
195
+ get idInput(): string | undefined;
196
+ private _name?;
197
+ get name(): string;
198
+ set name(value: string);
199
+ get nameInput(): string | undefined;
200
+ private _policyId?;
201
+ get policyId(): number;
202
+ set policyId(value: number);
203
+ get policyIdInput(): number | undefined;
204
+ private _runbookUrl?;
205
+ get runbookUrl(): string;
206
+ set runbookUrl(value: string);
207
+ resetRunbookUrl(): void;
208
+ get runbookUrlInput(): string | undefined;
209
+ private _thresholdDuration?;
210
+ get thresholdDuration(): number;
211
+ set thresholdDuration(value: number);
212
+ resetThresholdDuration(): void;
213
+ get thresholdDurationInput(): number | undefined;
214
+ private _triggerExpression?;
215
+ get triggerExpression(): string;
216
+ set triggerExpression(value: string);
217
+ get triggerExpressionInput(): string | undefined;
218
+ private _componentConditions;
219
+ get componentConditions(): AlertCompoundConditionComponentConditionsList;
220
+ putComponentConditions(value: AlertCompoundConditionComponentConditions[] | cdktn.IResolvable): void;
221
+ get componentConditionsInput(): cdktn.IResolvable | AlertCompoundConditionComponentConditions[] | undefined;
222
+ private _timeouts;
223
+ get timeouts(): AlertCompoundConditionTimeoutsOutputReference;
224
+ putTimeouts(value: AlertCompoundConditionTimeouts): void;
225
+ resetTimeouts(): void;
226
+ get timeoutsInput(): cdktn.IResolvable | AlertCompoundConditionTimeouts | undefined;
227
+ protected synthesizeAttributes(): {
228
+ [name: string]: any;
229
+ };
230
+ protected synthesizeHclAttributes(): {
231
+ [name: string]: any;
232
+ };
233
+ }