@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,264 @@
1
+ // https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/log_parsing_rule
2
+ // generated from terraform resource schema
3
+ import * as cdktf from 'cdktf';
4
+ /**
5
+ * Represents a {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/log_parsing_rule newrelic_log_parsing_rule}
6
+ */
7
+ export class LogParsingRule extends cdktf.TerraformResource {
8
+ // =================
9
+ // STATIC PROPERTIES
10
+ // =================
11
+ static tfResourceType = "newrelic_log_parsing_rule";
12
+ // ==============
13
+ // STATIC Methods
14
+ // ==============
15
+ /**
16
+ * Generates CDKTF code for importing a LogParsingRule resource upon running "cdktf plan <stack-name>"
17
+ * @param scope The scope in which to define this construct
18
+ * @param importToId The construct id used in the generated config for the LogParsingRule to import
19
+ * @param importFromId The id of the existing LogParsingRule that should be imported. Refer to the {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/log_parsing_rule#import import section} in the documentation of this resource for the id to use
20
+ * @param provider? Optional instance of the provider where the LogParsingRule to import is found
21
+ */
22
+ static generateConfigForImport(scope, importToId, importFromId, provider) {
23
+ return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "newrelic_log_parsing_rule", importId: importFromId, provider });
24
+ }
25
+ // ===========
26
+ // INITIALIZER
27
+ // ===========
28
+ /**
29
+ * Create a new {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/log_parsing_rule newrelic_log_parsing_rule} Resource
30
+ *
31
+ * @param scope The scope in which to define this construct
32
+ * @param id The scoped construct ID. Must be unique amongst siblings in the same scope
33
+ * @param options LogParsingRuleConfig
34
+ */
35
+ constructor(scope, id, config) {
36
+ super(scope, id, {
37
+ terraformResourceType: 'newrelic_log_parsing_rule',
38
+ terraformGeneratorMetadata: {
39
+ providerName: 'newrelic',
40
+ providerVersion: '3.75.4',
41
+ providerVersionConstraint: '3.75.4'
42
+ },
43
+ provider: config.provider,
44
+ dependsOn: config.dependsOn,
45
+ count: config.count,
46
+ lifecycle: config.lifecycle,
47
+ provisioners: config.provisioners,
48
+ connection: config.connection,
49
+ forEach: config.forEach
50
+ });
51
+ this._accountId = config.accountId;
52
+ this._attribute = config.attribute;
53
+ this._enabled = config.enabled;
54
+ this._grok = config.grok;
55
+ this._id = config.id;
56
+ this._lucene = config.lucene;
57
+ this._matched = config.matched;
58
+ this._name = config.name;
59
+ this._nrql = config.nrql;
60
+ }
61
+ // ==========
62
+ // ATTRIBUTES
63
+ // ==========
64
+ // account_id - computed: true, optional: true, required: false
65
+ _accountId;
66
+ get accountId() {
67
+ return this.getNumberAttribute('account_id');
68
+ }
69
+ set accountId(value) {
70
+ this._accountId = value;
71
+ }
72
+ resetAccountId() {
73
+ this._accountId = undefined;
74
+ }
75
+ // Temporarily expose input value. Use with caution.
76
+ get accountIdInput() {
77
+ return this._accountId;
78
+ }
79
+ // attribute - computed: false, optional: true, required: false
80
+ _attribute;
81
+ get attribute() {
82
+ return this.getStringAttribute('attribute');
83
+ }
84
+ set attribute(value) {
85
+ this._attribute = value;
86
+ }
87
+ resetAttribute() {
88
+ this._attribute = undefined;
89
+ }
90
+ // Temporarily expose input value. Use with caution.
91
+ get attributeInput() {
92
+ return this._attribute;
93
+ }
94
+ // deleted - computed: true, optional: false, required: false
95
+ get deleted() {
96
+ return this.getBooleanAttribute('deleted');
97
+ }
98
+ // enabled - computed: false, optional: false, required: true
99
+ _enabled;
100
+ get enabled() {
101
+ return this.getBooleanAttribute('enabled');
102
+ }
103
+ set enabled(value) {
104
+ this._enabled = value;
105
+ }
106
+ // Temporarily expose input value. Use with caution.
107
+ get enabledInput() {
108
+ return this._enabled;
109
+ }
110
+ // grok - computed: false, optional: false, required: true
111
+ _grok;
112
+ get grok() {
113
+ return this.getStringAttribute('grok');
114
+ }
115
+ set grok(value) {
116
+ this._grok = value;
117
+ }
118
+ // Temporarily expose input value. Use with caution.
119
+ get grokInput() {
120
+ return this._grok;
121
+ }
122
+ // id - computed: true, optional: true, required: false
123
+ _id;
124
+ get id() {
125
+ return this.getStringAttribute('id');
126
+ }
127
+ set id(value) {
128
+ this._id = value;
129
+ }
130
+ resetId() {
131
+ this._id = undefined;
132
+ }
133
+ // Temporarily expose input value. Use with caution.
134
+ get idInput() {
135
+ return this._id;
136
+ }
137
+ // lucene - computed: false, optional: false, required: true
138
+ _lucene;
139
+ get lucene() {
140
+ return this.getStringAttribute('lucene');
141
+ }
142
+ set lucene(value) {
143
+ this._lucene = value;
144
+ }
145
+ // Temporarily expose input value. Use with caution.
146
+ get luceneInput() {
147
+ return this._lucene;
148
+ }
149
+ // matched - computed: true, optional: true, required: false
150
+ _matched;
151
+ get matched() {
152
+ return this.getBooleanAttribute('matched');
153
+ }
154
+ set matched(value) {
155
+ this._matched = value;
156
+ }
157
+ resetMatched() {
158
+ this._matched = undefined;
159
+ }
160
+ // Temporarily expose input value. Use with caution.
161
+ get matchedInput() {
162
+ return this._matched;
163
+ }
164
+ // name - computed: false, optional: false, required: true
165
+ _name;
166
+ get name() {
167
+ return this.getStringAttribute('name');
168
+ }
169
+ set name(value) {
170
+ this._name = value;
171
+ }
172
+ // Temporarily expose input value. Use with caution.
173
+ get nameInput() {
174
+ return this._name;
175
+ }
176
+ // nrql - computed: false, optional: false, required: true
177
+ _nrql;
178
+ get nrql() {
179
+ return this.getStringAttribute('nrql');
180
+ }
181
+ set nrql(value) {
182
+ this._nrql = value;
183
+ }
184
+ // Temporarily expose input value. Use with caution.
185
+ get nrqlInput() {
186
+ return this._nrql;
187
+ }
188
+ // =========
189
+ // SYNTHESIS
190
+ // =========
191
+ synthesizeAttributes() {
192
+ return {
193
+ account_id: cdktf.numberToTerraform(this._accountId),
194
+ attribute: cdktf.stringToTerraform(this._attribute),
195
+ enabled: cdktf.booleanToTerraform(this._enabled),
196
+ grok: cdktf.stringToTerraform(this._grok),
197
+ id: cdktf.stringToTerraform(this._id),
198
+ lucene: cdktf.stringToTerraform(this._lucene),
199
+ matched: cdktf.booleanToTerraform(this._matched),
200
+ name: cdktf.stringToTerraform(this._name),
201
+ nrql: cdktf.stringToTerraform(this._nrql),
202
+ };
203
+ }
204
+ synthesizeHclAttributes() {
205
+ const attrs = {
206
+ account_id: {
207
+ value: cdktf.numberToHclTerraform(this._accountId),
208
+ isBlock: false,
209
+ type: "simple",
210
+ storageClassType: "number",
211
+ },
212
+ attribute: {
213
+ value: cdktf.stringToHclTerraform(this._attribute),
214
+ isBlock: false,
215
+ type: "simple",
216
+ storageClassType: "string",
217
+ },
218
+ enabled: {
219
+ value: cdktf.booleanToHclTerraform(this._enabled),
220
+ isBlock: false,
221
+ type: "simple",
222
+ storageClassType: "boolean",
223
+ },
224
+ grok: {
225
+ value: cdktf.stringToHclTerraform(this._grok),
226
+ isBlock: false,
227
+ type: "simple",
228
+ storageClassType: "string",
229
+ },
230
+ id: {
231
+ value: cdktf.stringToHclTerraform(this._id),
232
+ isBlock: false,
233
+ type: "simple",
234
+ storageClassType: "string",
235
+ },
236
+ lucene: {
237
+ value: cdktf.stringToHclTerraform(this._lucene),
238
+ isBlock: false,
239
+ type: "simple",
240
+ storageClassType: "string",
241
+ },
242
+ matched: {
243
+ value: cdktf.booleanToHclTerraform(this._matched),
244
+ isBlock: false,
245
+ type: "simple",
246
+ storageClassType: "boolean",
247
+ },
248
+ name: {
249
+ value: cdktf.stringToHclTerraform(this._name),
250
+ isBlock: false,
251
+ type: "simple",
252
+ storageClassType: "string",
253
+ },
254
+ nrql: {
255
+ value: cdktf.stringToHclTerraform(this._nrql),
256
+ isBlock: false,
257
+ type: "simple",
258
+ storageClassType: "string",
259
+ },
260
+ };
261
+ // remove undefined attributes
262
+ return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
263
+ }
264
+ }
@@ -0,0 +1,255 @@
1
+ import { Construct } from 'constructs';
2
+ import * as cdktf from 'cdktf';
3
+ export interface MonitorDowntimeConfig extends cdktf.TerraformMetaArguments {
4
+ /**
5
+ * The ID of the New Relic account in which the Monitor Downtime shall be created. Defaults to the `account_id` in the provider{} configuration if not specified.
6
+ *
7
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/monitor_downtime#account_id MonitorDowntime#account_id}
8
+ */
9
+ readonly accountId?: number;
10
+ /**
11
+ * A datetime stamp signifying the end of the Monitor Downtime.
12
+ *
13
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/monitor_downtime#end_time MonitorDowntime#end_time}
14
+ */
15
+ readonly endTime: string;
16
+ /**
17
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/monitor_downtime#id MonitorDowntime#id}
18
+ *
19
+ * Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2.
20
+ * 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.
21
+ */
22
+ readonly id?: string;
23
+ /**
24
+ * A list of maintenance days to be included with the created weekly Monitor Downtime.
25
+ *
26
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/monitor_downtime#maintenance_days MonitorDowntime#maintenance_days}
27
+ */
28
+ readonly maintenanceDays?: string[];
29
+ /**
30
+ * An identifier of the type of Monitor Downtime to be created.
31
+ *
32
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/monitor_downtime#mode MonitorDowntime#mode}
33
+ */
34
+ readonly mode: string;
35
+ /**
36
+ * A list of GUIDs of monitors, to which the created Monitor Downtime shall be applied.
37
+ *
38
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/monitor_downtime#monitor_guids MonitorDowntime#monitor_guids}
39
+ */
40
+ readonly monitorGuids?: string[];
41
+ /**
42
+ * A name to identify the Monitor Downtime to be created.
43
+ *
44
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/monitor_downtime#name MonitorDowntime#name}
45
+ */
46
+ readonly name: string;
47
+ /**
48
+ * A datetime stamp signifying the start of the Monitor Downtime.
49
+ *
50
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/monitor_downtime#start_time MonitorDowntime#start_time}
51
+ */
52
+ readonly startTime: string;
53
+ /**
54
+ * The timezone that applies to the Monitor Downtime schedule.
55
+ *
56
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/monitor_downtime#time_zone MonitorDowntime#time_zone}
57
+ */
58
+ readonly timeZone: string;
59
+ /**
60
+ * end_repeat block
61
+ *
62
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/monitor_downtime#end_repeat MonitorDowntime#end_repeat}
63
+ */
64
+ readonly endRepeat?: MonitorDowntimeEndRepeat;
65
+ /**
66
+ * frequency block
67
+ *
68
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/monitor_downtime#frequency MonitorDowntime#frequency}
69
+ */
70
+ readonly frequency?: MonitorDowntimeFrequency;
71
+ }
72
+ export interface MonitorDowntimeEndRepeat {
73
+ /**
74
+ * A date, on which the Monitor Downtime's repeat cycle is expected to end.
75
+ *
76
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/monitor_downtime#on_date MonitorDowntime#on_date}
77
+ */
78
+ readonly onDate?: string;
79
+ /**
80
+ * Number of repetitions after which the Monitor Downtime's repeat cycle is expected to end.
81
+ *
82
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/monitor_downtime#on_repeat MonitorDowntime#on_repeat}
83
+ */
84
+ readonly onRepeat?: number;
85
+ }
86
+ export declare function monitorDowntimeEndRepeatToTerraform(struct?: MonitorDowntimeEndRepeatOutputReference | MonitorDowntimeEndRepeat): any;
87
+ export declare function monitorDowntimeEndRepeatToHclTerraform(struct?: MonitorDowntimeEndRepeatOutputReference | MonitorDowntimeEndRepeat): any;
88
+ export declare class MonitorDowntimeEndRepeatOutputReference extends cdktf.ComplexObject {
89
+ private isEmptyObject;
90
+ /**
91
+ * @param terraformResource The parent resource
92
+ * @param terraformAttribute The attribute on the parent resource this class is referencing
93
+ */
94
+ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string);
95
+ get internalValue(): MonitorDowntimeEndRepeat | undefined;
96
+ set internalValue(value: MonitorDowntimeEndRepeat | undefined);
97
+ private _onDate?;
98
+ get onDate(): string;
99
+ set onDate(value: string);
100
+ resetOnDate(): void;
101
+ get onDateInput(): string;
102
+ private _onRepeat?;
103
+ get onRepeat(): number;
104
+ set onRepeat(value: number);
105
+ resetOnRepeat(): void;
106
+ get onRepeatInput(): number;
107
+ }
108
+ export interface MonitorDowntimeFrequencyDaysOfWeek {
109
+ /**
110
+ * An occurrence of the day selected within the month.
111
+ *
112
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/monitor_downtime#ordinal_day_of_month MonitorDowntime#ordinal_day_of_month}
113
+ */
114
+ readonly ordinalDayOfMonth: string;
115
+ /**
116
+ * The day of the week on which the Monitor Downtime would run.
117
+ *
118
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/monitor_downtime#week_day MonitorDowntime#week_day}
119
+ */
120
+ readonly weekDay: string;
121
+ }
122
+ export declare function monitorDowntimeFrequencyDaysOfWeekToTerraform(struct?: MonitorDowntimeFrequencyDaysOfWeekOutputReference | MonitorDowntimeFrequencyDaysOfWeek): any;
123
+ export declare function monitorDowntimeFrequencyDaysOfWeekToHclTerraform(struct?: MonitorDowntimeFrequencyDaysOfWeekOutputReference | MonitorDowntimeFrequencyDaysOfWeek): any;
124
+ export declare class MonitorDowntimeFrequencyDaysOfWeekOutputReference extends cdktf.ComplexObject {
125
+ private isEmptyObject;
126
+ /**
127
+ * @param terraformResource The parent resource
128
+ * @param terraformAttribute The attribute on the parent resource this class is referencing
129
+ */
130
+ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string);
131
+ get internalValue(): MonitorDowntimeFrequencyDaysOfWeek | undefined;
132
+ set internalValue(value: MonitorDowntimeFrequencyDaysOfWeek | undefined);
133
+ private _ordinalDayOfMonth?;
134
+ get ordinalDayOfMonth(): string;
135
+ set ordinalDayOfMonth(value: string);
136
+ get ordinalDayOfMonthInput(): string;
137
+ private _weekDay?;
138
+ get weekDay(): string;
139
+ set weekDay(value: string);
140
+ get weekDayInput(): string;
141
+ }
142
+ export interface MonitorDowntimeFrequency {
143
+ /**
144
+ * A numerical list of days of a month on which the Monitor Downtime is scheduled to run.
145
+ *
146
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/monitor_downtime#days_of_month MonitorDowntime#days_of_month}
147
+ */
148
+ readonly daysOfMonth?: number[];
149
+ /**
150
+ * days_of_week block
151
+ *
152
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/monitor_downtime#days_of_week MonitorDowntime#days_of_week}
153
+ */
154
+ readonly daysOfWeek?: MonitorDowntimeFrequencyDaysOfWeek;
155
+ }
156
+ export declare function monitorDowntimeFrequencyToTerraform(struct?: MonitorDowntimeFrequencyOutputReference | MonitorDowntimeFrequency): any;
157
+ export declare function monitorDowntimeFrequencyToHclTerraform(struct?: MonitorDowntimeFrequencyOutputReference | MonitorDowntimeFrequency): any;
158
+ export declare class MonitorDowntimeFrequencyOutputReference extends cdktf.ComplexObject {
159
+ private isEmptyObject;
160
+ /**
161
+ * @param terraformResource The parent resource
162
+ * @param terraformAttribute The attribute on the parent resource this class is referencing
163
+ */
164
+ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string);
165
+ get internalValue(): MonitorDowntimeFrequency | undefined;
166
+ set internalValue(value: MonitorDowntimeFrequency | undefined);
167
+ private _daysOfMonth?;
168
+ get daysOfMonth(): number[];
169
+ set daysOfMonth(value: number[]);
170
+ resetDaysOfMonth(): void;
171
+ get daysOfMonthInput(): number[];
172
+ private _daysOfWeek;
173
+ get daysOfWeek(): MonitorDowntimeFrequencyDaysOfWeekOutputReference;
174
+ putDaysOfWeek(value: MonitorDowntimeFrequencyDaysOfWeek): void;
175
+ resetDaysOfWeek(): void;
176
+ get daysOfWeekInput(): MonitorDowntimeFrequencyDaysOfWeek;
177
+ }
178
+ /**
179
+ * Represents a {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/monitor_downtime newrelic_monitor_downtime}
180
+ */
181
+ export declare class MonitorDowntime extends cdktf.TerraformResource {
182
+ static readonly tfResourceType = "newrelic_monitor_downtime";
183
+ /**
184
+ * Generates CDKTF code for importing a MonitorDowntime resource upon running "cdktf plan <stack-name>"
185
+ * @param scope The scope in which to define this construct
186
+ * @param importToId The construct id used in the generated config for the MonitorDowntime to import
187
+ * @param importFromId The id of the existing MonitorDowntime that should be imported. Refer to the {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/monitor_downtime#import import section} in the documentation of this resource for the id to use
188
+ * @param provider? Optional instance of the provider where the MonitorDowntime to import is found
189
+ */
190
+ static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider): any;
191
+ /**
192
+ * Create a new {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/monitor_downtime newrelic_monitor_downtime} Resource
193
+ *
194
+ * @param scope The scope in which to define this construct
195
+ * @param id The scoped construct ID. Must be unique amongst siblings in the same scope
196
+ * @param options MonitorDowntimeConfig
197
+ */
198
+ constructor(scope: Construct, id: string, config: MonitorDowntimeConfig);
199
+ private _accountId?;
200
+ get accountId(): number;
201
+ set accountId(value: number);
202
+ resetAccountId(): void;
203
+ get accountIdInput(): number;
204
+ private _endTime?;
205
+ get endTime(): string;
206
+ set endTime(value: string);
207
+ get endTimeInput(): string;
208
+ private _id?;
209
+ get id(): string;
210
+ set id(value: string);
211
+ resetId(): void;
212
+ get idInput(): string;
213
+ private _maintenanceDays?;
214
+ get maintenanceDays(): string[];
215
+ set maintenanceDays(value: string[]);
216
+ resetMaintenanceDays(): void;
217
+ get maintenanceDaysInput(): string[];
218
+ private _mode?;
219
+ get mode(): string;
220
+ set mode(value: string);
221
+ get modeInput(): string;
222
+ private _monitorGuids?;
223
+ get monitorGuids(): string[];
224
+ set monitorGuids(value: string[]);
225
+ resetMonitorGuids(): void;
226
+ get monitorGuidsInput(): string[];
227
+ private _name?;
228
+ get name(): string;
229
+ set name(value: string);
230
+ get nameInput(): string;
231
+ private _startTime?;
232
+ get startTime(): string;
233
+ set startTime(value: string);
234
+ get startTimeInput(): string;
235
+ private _timeZone?;
236
+ get timeZone(): string;
237
+ set timeZone(value: string);
238
+ get timeZoneInput(): string;
239
+ private _endRepeat;
240
+ get endRepeat(): MonitorDowntimeEndRepeatOutputReference;
241
+ putEndRepeat(value: MonitorDowntimeEndRepeat): void;
242
+ resetEndRepeat(): void;
243
+ get endRepeatInput(): MonitorDowntimeEndRepeat;
244
+ private _frequency;
245
+ get frequency(): MonitorDowntimeFrequencyOutputReference;
246
+ putFrequency(value: MonitorDowntimeFrequency): void;
247
+ resetFrequency(): void;
248
+ get frequencyInput(): MonitorDowntimeFrequency;
249
+ protected synthesizeAttributes(): {
250
+ [name: string]: any;
251
+ };
252
+ protected synthesizeHclAttributes(): {
253
+ [name: string]: any;
254
+ };
255
+ }