@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,236 @@
1
+ import { Construct } from 'constructs';
2
+ import * as cdktf from 'cdktf';
3
+ export interface NotificationChannelConfig extends cdktf.TerraformMetaArguments {
4
+ /**
5
+ * The account id of the channel.
6
+ *
7
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/notification_channel#account_id NotificationChannel#account_id}
8
+ */
9
+ readonly accountId?: number;
10
+ /**
11
+ * Indicates whether the channel is active.
12
+ *
13
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/notification_channel#active NotificationChannel#active}
14
+ */
15
+ readonly active?: boolean | cdktf.IResolvable;
16
+ /**
17
+ * (Required) The id of the destination.
18
+ *
19
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/notification_channel#destination_id NotificationChannel#destination_id}
20
+ */
21
+ readonly destinationId: string;
22
+ /**
23
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/notification_channel#id NotificationChannel#id}
24
+ *
25
+ * Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2.
26
+ * 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.
27
+ */
28
+ readonly id?: string;
29
+ /**
30
+ * (Required) The name of the channel.
31
+ *
32
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/notification_channel#name NotificationChannel#name}
33
+ */
34
+ readonly name: string;
35
+ /**
36
+ * (Required) The type of the channel product. One of: (DISCUSSIONS, ERROR_TRACKING, IINT).
37
+ *
38
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/notification_channel#product NotificationChannel#product}
39
+ */
40
+ readonly product: string;
41
+ /**
42
+ * (Required) The type of the channel. One of: (WEBHOOK, EMAIL, SERVICENOW_INCIDENTS, SERVICE_NOW_APP, PAGERDUTY_ACCOUNT_INTEGRATION, PAGERDUTY_SERVICE_INTEGRATION, JIRA_CLASSIC, SLACK, SLACK_COLLABORATION, SLACK_LEGACY, MOBILE_PUSH, EVENT_BRIDGE, MICROSOFT_TEAMS, WORKFLOW_AUTOMATION).
43
+ *
44
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/notification_channel#type NotificationChannel#type}
45
+ */
46
+ readonly type: string;
47
+ /**
48
+ * property block
49
+ *
50
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/notification_channel#property NotificationChannel#property}
51
+ */
52
+ readonly property: NotificationChannelProperty[] | cdktf.IResolvable;
53
+ /**
54
+ * timeouts block
55
+ *
56
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/notification_channel#timeouts NotificationChannel#timeouts}
57
+ */
58
+ readonly timeouts?: NotificationChannelTimeouts;
59
+ }
60
+ export interface NotificationChannelProperty {
61
+ /**
62
+ * Notification property display key.
63
+ *
64
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/notification_channel#display_value NotificationChannel#display_value}
65
+ */
66
+ readonly displayValue?: string;
67
+ /**
68
+ * Notification property key.
69
+ *
70
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/notification_channel#key NotificationChannel#key}
71
+ */
72
+ readonly key: string;
73
+ /**
74
+ * Notification property label.
75
+ *
76
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/notification_channel#label NotificationChannel#label}
77
+ */
78
+ readonly label?: string;
79
+ /**
80
+ * Notification property value.
81
+ *
82
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/notification_channel#value NotificationChannel#value}
83
+ */
84
+ readonly value: string;
85
+ }
86
+ export declare function notificationChannelPropertyToTerraform(struct?: NotificationChannelProperty | cdktf.IResolvable): any;
87
+ export declare function notificationChannelPropertyToHclTerraform(struct?: NotificationChannelProperty | cdktf.IResolvable): any;
88
+ export declare class NotificationChannelPropertyOutputReference extends cdktf.ComplexObject {
89
+ private isEmptyObject;
90
+ private resolvableValue?;
91
+ /**
92
+ * @param terraformResource The parent resource
93
+ * @param terraformAttribute The attribute on the parent resource this class is referencing
94
+ * @param complexObjectIndex the index of this item in the list
95
+ * @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
96
+ */
97
+ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, complexObjectIndex: number, complexObjectIsFromSet: boolean);
98
+ get internalValue(): NotificationChannelProperty | cdktf.IResolvable | undefined;
99
+ set internalValue(value: NotificationChannelProperty | cdktf.IResolvable | undefined);
100
+ private _displayValue?;
101
+ get displayValue(): string;
102
+ set displayValue(value: string);
103
+ resetDisplayValue(): void;
104
+ get displayValueInput(): string;
105
+ private _key?;
106
+ get key(): string;
107
+ set key(value: string);
108
+ get keyInput(): string;
109
+ private _label?;
110
+ get label(): string;
111
+ set label(value: string);
112
+ resetLabel(): void;
113
+ get labelInput(): string;
114
+ private _value?;
115
+ get value(): string;
116
+ set value(value: string);
117
+ get valueInput(): string;
118
+ }
119
+ export declare class NotificationChannelPropertyList extends cdktf.ComplexList {
120
+ protected terraformResource: cdktf.IInterpolatingParent;
121
+ protected terraformAttribute: string;
122
+ protected wrapsSet: boolean;
123
+ internalValue?: NotificationChannelProperty[] | cdktf.IResolvable;
124
+ /**
125
+ * @param terraformResource The parent resource
126
+ * @param terraformAttribute The attribute on the parent resource this class is referencing
127
+ * @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
128
+ */
129
+ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, wrapsSet: boolean);
130
+ /**
131
+ * @param index the index of the item to return
132
+ */
133
+ get(index: number): NotificationChannelPropertyOutputReference;
134
+ }
135
+ export interface NotificationChannelTimeouts {
136
+ /**
137
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/notification_channel#create NotificationChannel#create}
138
+ */
139
+ readonly create?: string;
140
+ /**
141
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/notification_channel#update NotificationChannel#update}
142
+ */
143
+ readonly update?: string;
144
+ }
145
+ export declare function notificationChannelTimeoutsToTerraform(struct?: NotificationChannelTimeouts | cdktf.IResolvable): any;
146
+ export declare function notificationChannelTimeoutsToHclTerraform(struct?: NotificationChannelTimeouts | cdktf.IResolvable): any;
147
+ export declare class NotificationChannelTimeoutsOutputReference extends cdktf.ComplexObject {
148
+ private isEmptyObject;
149
+ private resolvableValue?;
150
+ /**
151
+ * @param terraformResource The parent resource
152
+ * @param terraformAttribute The attribute on the parent resource this class is referencing
153
+ */
154
+ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string);
155
+ get internalValue(): NotificationChannelTimeouts | cdktf.IResolvable | undefined;
156
+ set internalValue(value: NotificationChannelTimeouts | cdktf.IResolvable | undefined);
157
+ private _create?;
158
+ get create(): string;
159
+ set create(value: string);
160
+ resetCreate(): void;
161
+ get createInput(): string;
162
+ private _update?;
163
+ get update(): string;
164
+ set update(value: string);
165
+ resetUpdate(): void;
166
+ get updateInput(): string;
167
+ }
168
+ /**
169
+ * Represents a {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/notification_channel newrelic_notification_channel}
170
+ */
171
+ export declare class NotificationChannel extends cdktf.TerraformResource {
172
+ static readonly tfResourceType = "newrelic_notification_channel";
173
+ /**
174
+ * Generates CDKTF code for importing a NotificationChannel resource upon running "cdktf plan <stack-name>"
175
+ * @param scope The scope in which to define this construct
176
+ * @param importToId The construct id used in the generated config for the NotificationChannel to import
177
+ * @param importFromId The id of the existing NotificationChannel that should be imported. Refer to the {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/notification_channel#import import section} in the documentation of this resource for the id to use
178
+ * @param provider? Optional instance of the provider where the NotificationChannel to import is found
179
+ */
180
+ static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider): any;
181
+ /**
182
+ * Create a new {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/notification_channel newrelic_notification_channel} Resource
183
+ *
184
+ * @param scope The scope in which to define this construct
185
+ * @param id The scoped construct ID. Must be unique amongst siblings in the same scope
186
+ * @param options NotificationChannelConfig
187
+ */
188
+ constructor(scope: Construct, id: string, config: NotificationChannelConfig);
189
+ private _accountId?;
190
+ get accountId(): number;
191
+ set accountId(value: number);
192
+ resetAccountId(): void;
193
+ get accountIdInput(): number;
194
+ private _active?;
195
+ get active(): boolean | cdktf.IResolvable;
196
+ set active(value: boolean | cdktf.IResolvable);
197
+ resetActive(): void;
198
+ get activeInput(): any;
199
+ private _destinationId?;
200
+ get destinationId(): string;
201
+ set destinationId(value: string);
202
+ get destinationIdInput(): string;
203
+ private _id?;
204
+ get id(): string;
205
+ set id(value: string);
206
+ resetId(): void;
207
+ get idInput(): string;
208
+ private _name?;
209
+ get name(): string;
210
+ set name(value: string);
211
+ get nameInput(): string;
212
+ private _product?;
213
+ get product(): string;
214
+ set product(value: string);
215
+ get productInput(): string;
216
+ get status(): any;
217
+ private _type?;
218
+ get type(): string;
219
+ set type(value: string);
220
+ get typeInput(): string;
221
+ private _property;
222
+ get property(): NotificationChannelPropertyList;
223
+ putProperty(value: NotificationChannelProperty[] | cdktf.IResolvable): void;
224
+ get propertyInput(): any;
225
+ private _timeouts;
226
+ get timeouts(): NotificationChannelTimeoutsOutputReference;
227
+ putTimeouts(value: NotificationChannelTimeouts): void;
228
+ resetTimeouts(): void;
229
+ get timeoutsInput(): any;
230
+ protected synthesizeAttributes(): {
231
+ [name: string]: any;
232
+ };
233
+ protected synthesizeHclAttributes(): {
234
+ [name: string]: any;
235
+ };
236
+ }