@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,490 @@
1
+ // https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/synthetics_cert_check_monitor
2
+ // generated from terraform resource schema
3
+ import * as cdktf from 'cdktf';
4
+ export function syntheticsCertCheckMonitorTagToTerraform(struct) {
5
+ if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
6
+ return struct;
7
+ }
8
+ if (cdktf.isComplexElement(struct)) {
9
+ throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
10
+ }
11
+ return {
12
+ key: cdktf.stringToTerraform(struct.key),
13
+ values: cdktf.listMapper(cdktf.stringToTerraform, false)(struct.values),
14
+ };
15
+ }
16
+ export function syntheticsCertCheckMonitorTagToHclTerraform(struct) {
17
+ if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
18
+ return struct;
19
+ }
20
+ if (cdktf.isComplexElement(struct)) {
21
+ throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
22
+ }
23
+ const attrs = {
24
+ key: {
25
+ value: cdktf.stringToHclTerraform(struct.key),
26
+ isBlock: false,
27
+ type: "simple",
28
+ storageClassType: "string",
29
+ },
30
+ values: {
31
+ value: cdktf.listMapperHcl(cdktf.stringToHclTerraform, false)(struct.values),
32
+ isBlock: false,
33
+ type: "list",
34
+ storageClassType: "stringList",
35
+ },
36
+ };
37
+ // remove undefined attributes
38
+ return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
39
+ }
40
+ export class SyntheticsCertCheckMonitorTagOutputReference extends cdktf.ComplexObject {
41
+ isEmptyObject = false;
42
+ resolvableValue;
43
+ /**
44
+ * @param terraformResource The parent resource
45
+ * @param terraformAttribute The attribute on the parent resource this class is referencing
46
+ * @param complexObjectIndex the index of this item in the list
47
+ * @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
48
+ */
49
+ constructor(terraformResource, terraformAttribute, complexObjectIndex, complexObjectIsFromSet) {
50
+ super(terraformResource, terraformAttribute, complexObjectIsFromSet, complexObjectIndex);
51
+ }
52
+ get internalValue() {
53
+ if (this.resolvableValue) {
54
+ return this.resolvableValue;
55
+ }
56
+ let hasAnyValues = this.isEmptyObject;
57
+ const internalValueResult = {};
58
+ if (this._key !== undefined) {
59
+ hasAnyValues = true;
60
+ internalValueResult.key = this._key;
61
+ }
62
+ if (this._values !== undefined) {
63
+ hasAnyValues = true;
64
+ internalValueResult.values = this._values;
65
+ }
66
+ return hasAnyValues ? internalValueResult : undefined;
67
+ }
68
+ set internalValue(value) {
69
+ if (value === undefined) {
70
+ this.isEmptyObject = false;
71
+ this.resolvableValue = undefined;
72
+ this._key = undefined;
73
+ this._values = undefined;
74
+ }
75
+ else if (cdktf.Tokenization.isResolvable(value)) {
76
+ this.isEmptyObject = false;
77
+ this.resolvableValue = value;
78
+ }
79
+ else {
80
+ this.isEmptyObject = Object.keys(value).length === 0;
81
+ this.resolvableValue = undefined;
82
+ this._key = value.key;
83
+ this._values = value.values;
84
+ }
85
+ }
86
+ // key - computed: false, optional: false, required: true
87
+ _key;
88
+ get key() {
89
+ return this.getStringAttribute('key');
90
+ }
91
+ set key(value) {
92
+ this._key = value;
93
+ }
94
+ // Temporarily expose input value. Use with caution.
95
+ get keyInput() {
96
+ return this._key;
97
+ }
98
+ // values - computed: false, optional: false, required: true
99
+ _values;
100
+ get values() {
101
+ return this.getListAttribute('values');
102
+ }
103
+ set values(value) {
104
+ this._values = value;
105
+ }
106
+ // Temporarily expose input value. Use with caution.
107
+ get valuesInput() {
108
+ return this._values;
109
+ }
110
+ }
111
+ export class SyntheticsCertCheckMonitorTagList extends cdktf.ComplexList {
112
+ terraformResource;
113
+ terraformAttribute;
114
+ wrapsSet;
115
+ internalValue;
116
+ /**
117
+ * @param terraformResource The parent resource
118
+ * @param terraformAttribute The attribute on the parent resource this class is referencing
119
+ * @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
120
+ */
121
+ constructor(terraformResource, terraformAttribute, wrapsSet) {
122
+ super(terraformResource, terraformAttribute, wrapsSet);
123
+ this.terraformResource = terraformResource;
124
+ this.terraformAttribute = terraformAttribute;
125
+ this.wrapsSet = wrapsSet;
126
+ }
127
+ /**
128
+ * @param index the index of the item to return
129
+ */
130
+ get(index) {
131
+ return new SyntheticsCertCheckMonitorTagOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
132
+ }
133
+ }
134
+ /**
135
+ * Represents a {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/synthetics_cert_check_monitor newrelic_synthetics_cert_check_monitor}
136
+ */
137
+ export class SyntheticsCertCheckMonitor extends cdktf.TerraformResource {
138
+ // =================
139
+ // STATIC PROPERTIES
140
+ // =================
141
+ static tfResourceType = "newrelic_synthetics_cert_check_monitor";
142
+ // ==============
143
+ // STATIC Methods
144
+ // ==============
145
+ /**
146
+ * Generates CDKTF code for importing a SyntheticsCertCheckMonitor resource upon running "cdktf plan <stack-name>"
147
+ * @param scope The scope in which to define this construct
148
+ * @param importToId The construct id used in the generated config for the SyntheticsCertCheckMonitor to import
149
+ * @param importFromId The id of the existing SyntheticsCertCheckMonitor that should be imported. Refer to the {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/synthetics_cert_check_monitor#import import section} in the documentation of this resource for the id to use
150
+ * @param provider? Optional instance of the provider where the SyntheticsCertCheckMonitor to import is found
151
+ */
152
+ static generateConfigForImport(scope, importToId, importFromId, provider) {
153
+ return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "newrelic_synthetics_cert_check_monitor", importId: importFromId, provider });
154
+ }
155
+ // ===========
156
+ // INITIALIZER
157
+ // ===========
158
+ /**
159
+ * Create a new {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/synthetics_cert_check_monitor newrelic_synthetics_cert_check_monitor} Resource
160
+ *
161
+ * @param scope The scope in which to define this construct
162
+ * @param id The scoped construct ID. Must be unique amongst siblings in the same scope
163
+ * @param options SyntheticsCertCheckMonitorConfig
164
+ */
165
+ constructor(scope, id, config) {
166
+ super(scope, id, {
167
+ terraformResourceType: 'newrelic_synthetics_cert_check_monitor',
168
+ terraformGeneratorMetadata: {
169
+ providerName: 'newrelic',
170
+ providerVersion: '3.75.4',
171
+ providerVersionConstraint: '3.75.4'
172
+ },
173
+ provider: config.provider,
174
+ dependsOn: config.dependsOn,
175
+ count: config.count,
176
+ lifecycle: config.lifecycle,
177
+ provisioners: config.provisioners,
178
+ connection: config.connection,
179
+ forEach: config.forEach
180
+ });
181
+ this._accountId = config.accountId;
182
+ this._certificateExpiration = config.certificateExpiration;
183
+ this._domain = config.domain;
184
+ this._id = config.id;
185
+ this._locationsPrivate = config.locationsPrivate;
186
+ this._locationsPublic = config.locationsPublic;
187
+ this._name = config.name;
188
+ this._period = config.period;
189
+ this._runtimeType = config.runtimeType;
190
+ this._runtimeTypeVersion = config.runtimeTypeVersion;
191
+ this._status = config.status;
192
+ this._useUnsupportedLegacyRuntime = config.useUnsupportedLegacyRuntime;
193
+ this._tag.internalValue = config.tag;
194
+ }
195
+ // ==========
196
+ // ATTRIBUTES
197
+ // ==========
198
+ // account_id - computed: true, optional: true, required: false
199
+ _accountId;
200
+ get accountId() {
201
+ return this.getNumberAttribute('account_id');
202
+ }
203
+ set accountId(value) {
204
+ this._accountId = value;
205
+ }
206
+ resetAccountId() {
207
+ this._accountId = undefined;
208
+ }
209
+ // Temporarily expose input value. Use with caution.
210
+ get accountIdInput() {
211
+ return this._accountId;
212
+ }
213
+ // certificate_expiration - computed: false, optional: false, required: true
214
+ _certificateExpiration;
215
+ get certificateExpiration() {
216
+ return this.getNumberAttribute('certificate_expiration');
217
+ }
218
+ set certificateExpiration(value) {
219
+ this._certificateExpiration = value;
220
+ }
221
+ // Temporarily expose input value. Use with caution.
222
+ get certificateExpirationInput() {
223
+ return this._certificateExpiration;
224
+ }
225
+ // domain - computed: false, optional: false, required: true
226
+ _domain;
227
+ get domain() {
228
+ return this.getStringAttribute('domain');
229
+ }
230
+ set domain(value) {
231
+ this._domain = value;
232
+ }
233
+ // Temporarily expose input value. Use with caution.
234
+ get domainInput() {
235
+ return this._domain;
236
+ }
237
+ // id - computed: true, optional: true, required: false
238
+ _id;
239
+ get id() {
240
+ return this.getStringAttribute('id');
241
+ }
242
+ set id(value) {
243
+ this._id = value;
244
+ }
245
+ resetId() {
246
+ this._id = undefined;
247
+ }
248
+ // Temporarily expose input value. Use with caution.
249
+ get idInput() {
250
+ return this._id;
251
+ }
252
+ // locations_private - computed: false, optional: true, required: false
253
+ _locationsPrivate;
254
+ get locationsPrivate() {
255
+ return cdktf.Fn.tolist(this.getListAttribute('locations_private'));
256
+ }
257
+ set locationsPrivate(value) {
258
+ this._locationsPrivate = value;
259
+ }
260
+ resetLocationsPrivate() {
261
+ this._locationsPrivate = undefined;
262
+ }
263
+ // Temporarily expose input value. Use with caution.
264
+ get locationsPrivateInput() {
265
+ return this._locationsPrivate;
266
+ }
267
+ // locations_public - computed: false, optional: true, required: false
268
+ _locationsPublic;
269
+ get locationsPublic() {
270
+ return cdktf.Fn.tolist(this.getListAttribute('locations_public'));
271
+ }
272
+ set locationsPublic(value) {
273
+ this._locationsPublic = value;
274
+ }
275
+ resetLocationsPublic() {
276
+ this._locationsPublic = undefined;
277
+ }
278
+ // Temporarily expose input value. Use with caution.
279
+ get locationsPublicInput() {
280
+ return this._locationsPublic;
281
+ }
282
+ // monitor_id - computed: true, optional: false, required: false
283
+ get monitorId() {
284
+ return this.getStringAttribute('monitor_id');
285
+ }
286
+ // name - computed: false, optional: false, required: true
287
+ _name;
288
+ get name() {
289
+ return this.getStringAttribute('name');
290
+ }
291
+ set name(value) {
292
+ this._name = value;
293
+ }
294
+ // Temporarily expose input value. Use with caution.
295
+ get nameInput() {
296
+ return this._name;
297
+ }
298
+ // period - computed: false, optional: false, required: true
299
+ _period;
300
+ get period() {
301
+ return this.getStringAttribute('period');
302
+ }
303
+ set period(value) {
304
+ this._period = value;
305
+ }
306
+ // Temporarily expose input value. Use with caution.
307
+ get periodInput() {
308
+ return this._period;
309
+ }
310
+ // period_in_minutes - computed: true, optional: false, required: false
311
+ get periodInMinutes() {
312
+ return this.getNumberAttribute('period_in_minutes');
313
+ }
314
+ // runtime_type - computed: false, optional: true, required: false
315
+ _runtimeType;
316
+ get runtimeType() {
317
+ return this.getStringAttribute('runtime_type');
318
+ }
319
+ set runtimeType(value) {
320
+ this._runtimeType = value;
321
+ }
322
+ resetRuntimeType() {
323
+ this._runtimeType = undefined;
324
+ }
325
+ // Temporarily expose input value. Use with caution.
326
+ get runtimeTypeInput() {
327
+ return this._runtimeType;
328
+ }
329
+ // runtime_type_version - computed: false, optional: true, required: false
330
+ _runtimeTypeVersion;
331
+ get runtimeTypeVersion() {
332
+ return this.getStringAttribute('runtime_type_version');
333
+ }
334
+ set runtimeTypeVersion(value) {
335
+ this._runtimeTypeVersion = value;
336
+ }
337
+ resetRuntimeTypeVersion() {
338
+ this._runtimeTypeVersion = undefined;
339
+ }
340
+ // Temporarily expose input value. Use with caution.
341
+ get runtimeTypeVersionInput() {
342
+ return this._runtimeTypeVersion;
343
+ }
344
+ // status - computed: false, optional: false, required: true
345
+ _status;
346
+ get status() {
347
+ return this.getStringAttribute('status');
348
+ }
349
+ set status(value) {
350
+ this._status = value;
351
+ }
352
+ // Temporarily expose input value. Use with caution.
353
+ get statusInput() {
354
+ return this._status;
355
+ }
356
+ // use_unsupported_legacy_runtime - computed: false, optional: true, required: false
357
+ _useUnsupportedLegacyRuntime;
358
+ get useUnsupportedLegacyRuntime() {
359
+ return this.getBooleanAttribute('use_unsupported_legacy_runtime');
360
+ }
361
+ set useUnsupportedLegacyRuntime(value) {
362
+ this._useUnsupportedLegacyRuntime = value;
363
+ }
364
+ resetUseUnsupportedLegacyRuntime() {
365
+ this._useUnsupportedLegacyRuntime = undefined;
366
+ }
367
+ // Temporarily expose input value. Use with caution.
368
+ get useUnsupportedLegacyRuntimeInput() {
369
+ return this._useUnsupportedLegacyRuntime;
370
+ }
371
+ // tag - computed: false, optional: true, required: false
372
+ _tag = new SyntheticsCertCheckMonitorTagList(this, "tag", true);
373
+ get tag() {
374
+ return this._tag;
375
+ }
376
+ putTag(value) {
377
+ this._tag.internalValue = value;
378
+ }
379
+ resetTag() {
380
+ this._tag.internalValue = undefined;
381
+ }
382
+ // Temporarily expose input value. Use with caution.
383
+ get tagInput() {
384
+ return this._tag.internalValue;
385
+ }
386
+ // =========
387
+ // SYNTHESIS
388
+ // =========
389
+ synthesizeAttributes() {
390
+ return {
391
+ account_id: cdktf.numberToTerraform(this._accountId),
392
+ certificate_expiration: cdktf.numberToTerraform(this._certificateExpiration),
393
+ domain: cdktf.stringToTerraform(this._domain),
394
+ id: cdktf.stringToTerraform(this._id),
395
+ locations_private: cdktf.listMapper(cdktf.stringToTerraform, false)(this._locationsPrivate),
396
+ locations_public: cdktf.listMapper(cdktf.stringToTerraform, false)(this._locationsPublic),
397
+ name: cdktf.stringToTerraform(this._name),
398
+ period: cdktf.stringToTerraform(this._period),
399
+ runtime_type: cdktf.stringToTerraform(this._runtimeType),
400
+ runtime_type_version: cdktf.stringToTerraform(this._runtimeTypeVersion),
401
+ status: cdktf.stringToTerraform(this._status),
402
+ use_unsupported_legacy_runtime: cdktf.booleanToTerraform(this._useUnsupportedLegacyRuntime),
403
+ tag: cdktf.listMapper(syntheticsCertCheckMonitorTagToTerraform, true)(this._tag.internalValue),
404
+ };
405
+ }
406
+ synthesizeHclAttributes() {
407
+ const attrs = {
408
+ account_id: {
409
+ value: cdktf.numberToHclTerraform(this._accountId),
410
+ isBlock: false,
411
+ type: "simple",
412
+ storageClassType: "number",
413
+ },
414
+ certificate_expiration: {
415
+ value: cdktf.numberToHclTerraform(this._certificateExpiration),
416
+ isBlock: false,
417
+ type: "simple",
418
+ storageClassType: "number",
419
+ },
420
+ domain: {
421
+ value: cdktf.stringToHclTerraform(this._domain),
422
+ isBlock: false,
423
+ type: "simple",
424
+ storageClassType: "string",
425
+ },
426
+ id: {
427
+ value: cdktf.stringToHclTerraform(this._id),
428
+ isBlock: false,
429
+ type: "simple",
430
+ storageClassType: "string",
431
+ },
432
+ locations_private: {
433
+ value: cdktf.listMapperHcl(cdktf.stringToHclTerraform, false)(this._locationsPrivate),
434
+ isBlock: false,
435
+ type: "set",
436
+ storageClassType: "stringList",
437
+ },
438
+ locations_public: {
439
+ value: cdktf.listMapperHcl(cdktf.stringToHclTerraform, false)(this._locationsPublic),
440
+ isBlock: false,
441
+ type: "set",
442
+ storageClassType: "stringList",
443
+ },
444
+ name: {
445
+ value: cdktf.stringToHclTerraform(this._name),
446
+ isBlock: false,
447
+ type: "simple",
448
+ storageClassType: "string",
449
+ },
450
+ period: {
451
+ value: cdktf.stringToHclTerraform(this._period),
452
+ isBlock: false,
453
+ type: "simple",
454
+ storageClassType: "string",
455
+ },
456
+ runtime_type: {
457
+ value: cdktf.stringToHclTerraform(this._runtimeType),
458
+ isBlock: false,
459
+ type: "simple",
460
+ storageClassType: "string",
461
+ },
462
+ runtime_type_version: {
463
+ value: cdktf.stringToHclTerraform(this._runtimeTypeVersion),
464
+ isBlock: false,
465
+ type: "simple",
466
+ storageClassType: "string",
467
+ },
468
+ status: {
469
+ value: cdktf.stringToHclTerraform(this._status),
470
+ isBlock: false,
471
+ type: "simple",
472
+ storageClassType: "string",
473
+ },
474
+ use_unsupported_legacy_runtime: {
475
+ value: cdktf.booleanToHclTerraform(this._useUnsupportedLegacyRuntime),
476
+ isBlock: false,
477
+ type: "simple",
478
+ storageClassType: "boolean",
479
+ },
480
+ tag: {
481
+ value: cdktf.listMapperHcl(syntheticsCertCheckMonitorTagToHclTerraform, true)(this._tag.internalValue),
482
+ isBlock: true,
483
+ type: "set",
484
+ storageClassType: "SyntheticsCertCheckMonitorTagList",
485
+ },
486
+ };
487
+ // remove undefined attributes
488
+ return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
489
+ }
490
+ }