@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.
- package/LICENSE +355 -0
- package/README.md +19 -0
- package/dist/account-management/index.d.ts +64 -0
- package/dist/account-management/index.js +131 -0
- package/dist/alert-channel/index.d.ts +347 -0
- package/dist/alert-channel/index.js +810 -0
- package/dist/alert-condition/index.d.ts +267 -0
- package/dist/alert-condition/index.js +587 -0
- package/dist/alert-muting-rule/index.d.ts +305 -0
- package/dist/alert-muting-rule/index.js +731 -0
- package/dist/alert-policy/index.d.ts +87 -0
- package/dist/alert-policy/index.js +180 -0
- package/dist/alert-policy-channel/index.d.ts +110 -0
- package/dist/alert-policy-channel/index.js +260 -0
- package/dist/api-access-key/index.d.ts +98 -0
- package/dist/api-access-key/index.js +230 -0
- package/dist/application-settings/index.d.ts +410 -0
- package/dist/application-settings/index.js +966 -0
- package/dist/browser-application/index.d.ts +101 -0
- package/dist/browser-application/index.js +215 -0
- package/dist/cloud-aws-govcloud-integrations/index.d.ts +1519 -0
- package/dist/cloud-aws-govcloud-integrations/index.js +3846 -0
- package/dist/cloud-aws-govcloud-link-account/index.d.ts +86 -0
- package/dist/cloud-aws-govcloud-link-account/index.js +177 -0
- package/dist/cloud-aws-integrations/index.d.ts +3294 -0
- package/dist/cloud-aws-integrations/index.js +8554 -0
- package/dist/cloud-aws-link-account/index.d.ts +86 -0
- package/dist/cloud-aws-link-account/index.js +177 -0
- package/dist/cloud-azure-integrations/index.d.ts +1662 -0
- package/dist/cloud-azure-integrations/index.js +4338 -0
- package/dist/cloud-azure-link-account/index.d.ts +105 -0
- package/dist/cloud-azure-link-account/index.js +214 -0
- package/dist/cloud-gcp-integrations/index.d.ts +1045 -0
- package/dist/cloud-gcp-integrations/index.js +2742 -0
- package/dist/cloud-gcp-link-account/index.d.ts +75 -0
- package/dist/cloud-gcp-link-account/index.js +154 -0
- package/dist/cloud-oci-link-account/index.d.ts +191 -0
- package/dist/cloud-oci-link-account/index.js +392 -0
- package/dist/data-newrelic-account/index.d.ts +77 -0
- package/dist/data-newrelic-account/index.js +160 -0
- package/dist/data-newrelic-alert-channel/index.d.ts +122 -0
- package/dist/data-newrelic-alert-channel/index.js +295 -0
- package/dist/data-newrelic-alert-policy/index.d.ts +78 -0
- package/dist/data-newrelic-alert-policy/index.js +165 -0
- package/dist/data-newrelic-application/index.d.ts +56 -0
- package/dist/data-newrelic-application/index.js +119 -0
- package/dist/data-newrelic-authentication-domain/index.d.ts +43 -0
- package/dist/data-newrelic-authentication-domain/index.js +92 -0
- package/dist/data-newrelic-cloud-account/index.d.ts +75 -0
- package/dist/data-newrelic-cloud-account/index.js +154 -0
- package/dist/data-newrelic-entity/index.d.ts +185 -0
- package/dist/data-newrelic-entity/index.js +414 -0
- package/dist/data-newrelic-group/index.d.ts +54 -0
- package/dist/data-newrelic-group/index.js +116 -0
- package/dist/data-newrelic-key-transaction/index.d.ts +78 -0
- package/dist/data-newrelic-key-transaction/index.js +165 -0
- package/dist/data-newrelic-notification-destination/index.d.ts +161 -0
- package/dist/data-newrelic-notification-destination/index.js +368 -0
- package/dist/data-newrelic-obfuscation-expression/index.d.ts +65 -0
- package/dist/data-newrelic-obfuscation-expression/index.js +134 -0
- package/dist/data-newrelic-service-level-alert-helper/index.d.ts +107 -0
- package/dist/data-newrelic-service-level-alert-helper/index.js +256 -0
- package/dist/data-newrelic-synthetics-private-location/index.d.ts +76 -0
- package/dist/data-newrelic-synthetics-private-location/index.js +157 -0
- package/dist/data-newrelic-synthetics-secure-credential/index.d.ts +67 -0
- package/dist/data-newrelic-synthetics-secure-credential/index.js +142 -0
- package/dist/data-newrelic-test-grok-pattern/index.d.ts +145 -0
- package/dist/data-newrelic-test-grok-pattern/index.js +312 -0
- package/dist/data-newrelic-user/index.d.ts +65 -0
- package/dist/data-newrelic-user/index.js +138 -0
- package/dist/data-partition-rule/index.d.ts +142 -0
- package/dist/data-partition-rule/index.js +327 -0
- package/dist/entity-tags/index.d.ts +152 -0
- package/dist/entity-tags/index.js +367 -0
- package/dist/events-to-metrics-rule/index.d.ts +98 -0
- package/dist/events-to-metrics-rule/index.js +204 -0
- package/dist/group/index.d.ts +75 -0
- package/dist/group/index.js +154 -0
- package/dist/index.d.ts +67 -0
- package/dist/index.js +68 -0
- package/dist/infra-alert-condition/index.d.ts +289 -0
- package/dist/infra-alert-condition/index.js +691 -0
- package/dist/insights-event/index.d.ts +182 -0
- package/dist/insights-event/index.js +427 -0
- package/dist/key-transaction/index.d.ts +96 -0
- package/dist/key-transaction/index.js +199 -0
- package/dist/lazy-index.d.ts +0 -0
- package/dist/lazy-index.js +68 -0
- package/dist/log-parsing-rule/index.d.ts +128 -0
- package/dist/log-parsing-rule/index.js +264 -0
- package/dist/monitor-downtime/index.d.ts +255 -0
- package/dist/monitor-downtime/index.js +603 -0
- package/dist/notification-channel/index.d.ts +236 -0
- package/dist/notification-channel/index.js +561 -0
- package/dist/notification-destination/index.d.ts +402 -0
- package/dist/notification-destination/index.js +1039 -0
- package/dist/nrql-alert-condition/index.d.ts +892 -0
- package/dist/nrql-alert-condition/index.js +2177 -0
- package/dist/nrql-drop-rule/index.d.ts +123 -0
- package/dist/nrql-drop-rule/index.js +291 -0
- package/dist/obfuscation-expression/index.d.ts +86 -0
- package/dist/obfuscation-expression/index.js +177 -0
- package/dist/obfuscation-rule/index.d.ts +169 -0
- package/dist/obfuscation-rule/index.js +372 -0
- package/dist/one-dashboard/index-structs/index.d.ts +2 -0
- package/dist/one-dashboard/index-structs/index.js +2 -0
- package/dist/one-dashboard/index-structs/structs0.d.ts +6996 -0
- package/dist/one-dashboard/index-structs/structs0.js +18191 -0
- package/dist/one-dashboard/index-structs/structs400.d.ts +3699 -0
- package/dist/one-dashboard/index-structs/structs400.js +9611 -0
- package/dist/one-dashboard/index.d.ts +112 -0
- package/dist/one-dashboard/index.js +232 -0
- package/dist/one-dashboard-json/index.d.ts +112 -0
- package/dist/one-dashboard-json/index.js +280 -0
- package/dist/one-dashboard-raw/index.d.ts +274 -0
- package/dist/one-dashboard-raw/index.js +666 -0
- package/dist/pipeline-cloud-rule/index.d.ts +86 -0
- package/dist/pipeline-cloud-rule/index.js +177 -0
- package/dist/provider/index.d.ts +160 -0
- package/dist/provider/index.js +378 -0
- package/dist/service-level/index.d.ts +501 -0
- package/dist/service-level/index.js +1425 -0
- package/dist/synthetics-alert-condition/index.d.ts +97 -0
- package/dist/synthetics-alert-condition/index.js +201 -0
- package/dist/synthetics-broken-links-monitor/index.d.ts +217 -0
- package/dist/synthetics-broken-links-monitor/index.js +474 -0
- package/dist/synthetics-cert-check-monitor/index.d.ts +222 -0
- package/dist/synthetics-cert-check-monitor/index.js +490 -0
- package/dist/synthetics-monitor/index.d.ts +404 -0
- package/dist/synthetics-monitor/index.js +885 -0
- package/dist/synthetics-multilocation-alert-condition/index.d.ts +177 -0
- package/dist/synthetics-multilocation-alert-condition/index.js +407 -0
- package/dist/synthetics-private-location/index.d.ts +90 -0
- package/dist/synthetics-private-location/index.js +193 -0
- package/dist/synthetics-script-monitor/index.d.ts +348 -0
- package/dist/synthetics-script-monitor/index.js +768 -0
- package/dist/synthetics-secure-credential/index.d.ts +132 -0
- package/dist/synthetics-secure-credential/index.js +306 -0
- package/dist/synthetics-step-monitor/index.d.ts +368 -0
- package/dist/synthetics-step-monitor/index.js +834 -0
- package/dist/user/index.d.ts +85 -0
- package/dist/user/index.js +174 -0
- package/dist/workflow/index.d.ts +441 -0
- package/dist/workflow/index.js +1066 -0
- package/dist/workload/index.d.ts +514 -0
- package/dist/workload/index.js +1283 -0
- package/package.json +50 -0
|
@@ -0,0 +1,378 @@
|
|
|
1
|
+
// https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs
|
|
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 newrelic}
|
|
6
|
+
*/
|
|
7
|
+
export class NewrelicProvider extends cdktf.TerraformProvider {
|
|
8
|
+
// =================
|
|
9
|
+
// STATIC PROPERTIES
|
|
10
|
+
// =================
|
|
11
|
+
static tfResourceType = "newrelic";
|
|
12
|
+
// ==============
|
|
13
|
+
// STATIC Methods
|
|
14
|
+
// ==============
|
|
15
|
+
/**
|
|
16
|
+
* Generates CDKTF code for importing a NewrelicProvider 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 NewrelicProvider to import
|
|
19
|
+
* @param importFromId The id of the existing NewrelicProvider that should be imported. Refer to the {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs#import import section} in the documentation of this resource for the id to use
|
|
20
|
+
* @param provider? Optional instance of the provider where the NewrelicProvider to import is found
|
|
21
|
+
*/
|
|
22
|
+
static generateConfigForImport(scope, importToId, importFromId, provider) {
|
|
23
|
+
return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "newrelic", 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 newrelic} 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 NewrelicProviderConfig
|
|
34
|
+
*/
|
|
35
|
+
constructor(scope, id, config) {
|
|
36
|
+
super(scope, id, {
|
|
37
|
+
terraformResourceType: 'newrelic',
|
|
38
|
+
terraformGeneratorMetadata: {
|
|
39
|
+
providerName: 'newrelic',
|
|
40
|
+
providerVersion: '3.75.4',
|
|
41
|
+
providerVersionConstraint: '3.75.4'
|
|
42
|
+
},
|
|
43
|
+
terraformProviderSource: 'newrelic/newrelic'
|
|
44
|
+
});
|
|
45
|
+
this._accountId = config.accountId;
|
|
46
|
+
this._adminApiKey = config.adminApiKey;
|
|
47
|
+
this._apiKey = config.apiKey;
|
|
48
|
+
this._apiUrl = config.apiUrl;
|
|
49
|
+
this._cacertFile = config.cacertFile;
|
|
50
|
+
this._infrastructureApiUrl = config.infrastructureApiUrl;
|
|
51
|
+
this._insecureSkipVerify = config.insecureSkipVerify;
|
|
52
|
+
this._insightsInsertKey = config.insightsInsertKey;
|
|
53
|
+
this._insightsInsertUrl = config.insightsInsertUrl;
|
|
54
|
+
this._insightsQueryUrl = config.insightsQueryUrl;
|
|
55
|
+
this._nerdgraphApiUrl = config.nerdgraphApiUrl;
|
|
56
|
+
this._region = config.region;
|
|
57
|
+
this._syntheticsApiUrl = config.syntheticsApiUrl;
|
|
58
|
+
this._alias = config.alias;
|
|
59
|
+
}
|
|
60
|
+
// ==========
|
|
61
|
+
// ATTRIBUTES
|
|
62
|
+
// ==========
|
|
63
|
+
// account_id - computed: false, optional: false, required: true
|
|
64
|
+
_accountId;
|
|
65
|
+
get accountId() {
|
|
66
|
+
return this._accountId;
|
|
67
|
+
}
|
|
68
|
+
set accountId(value) {
|
|
69
|
+
this._accountId = value;
|
|
70
|
+
}
|
|
71
|
+
// Temporarily expose input value. Use with caution.
|
|
72
|
+
get accountIdInput() {
|
|
73
|
+
return this._accountId;
|
|
74
|
+
}
|
|
75
|
+
// admin_api_key - computed: false, optional: true, required: false
|
|
76
|
+
_adminApiKey;
|
|
77
|
+
get adminApiKey() {
|
|
78
|
+
return this._adminApiKey;
|
|
79
|
+
}
|
|
80
|
+
set adminApiKey(value) {
|
|
81
|
+
this._adminApiKey = value;
|
|
82
|
+
}
|
|
83
|
+
resetAdminApiKey() {
|
|
84
|
+
this._adminApiKey = undefined;
|
|
85
|
+
}
|
|
86
|
+
// Temporarily expose input value. Use with caution.
|
|
87
|
+
get adminApiKeyInput() {
|
|
88
|
+
return this._adminApiKey;
|
|
89
|
+
}
|
|
90
|
+
// api_key - computed: false, optional: false, required: true
|
|
91
|
+
_apiKey;
|
|
92
|
+
get apiKey() {
|
|
93
|
+
return this._apiKey;
|
|
94
|
+
}
|
|
95
|
+
set apiKey(value) {
|
|
96
|
+
this._apiKey = value;
|
|
97
|
+
}
|
|
98
|
+
// Temporarily expose input value. Use with caution.
|
|
99
|
+
get apiKeyInput() {
|
|
100
|
+
return this._apiKey;
|
|
101
|
+
}
|
|
102
|
+
// api_url - computed: false, optional: true, required: false
|
|
103
|
+
_apiUrl;
|
|
104
|
+
get apiUrl() {
|
|
105
|
+
return this._apiUrl;
|
|
106
|
+
}
|
|
107
|
+
set apiUrl(value) {
|
|
108
|
+
this._apiUrl = value;
|
|
109
|
+
}
|
|
110
|
+
resetApiUrl() {
|
|
111
|
+
this._apiUrl = undefined;
|
|
112
|
+
}
|
|
113
|
+
// Temporarily expose input value. Use with caution.
|
|
114
|
+
get apiUrlInput() {
|
|
115
|
+
return this._apiUrl;
|
|
116
|
+
}
|
|
117
|
+
// cacert_file - computed: false, optional: true, required: false
|
|
118
|
+
_cacertFile;
|
|
119
|
+
get cacertFile() {
|
|
120
|
+
return this._cacertFile;
|
|
121
|
+
}
|
|
122
|
+
set cacertFile(value) {
|
|
123
|
+
this._cacertFile = value;
|
|
124
|
+
}
|
|
125
|
+
resetCacertFile() {
|
|
126
|
+
this._cacertFile = undefined;
|
|
127
|
+
}
|
|
128
|
+
// Temporarily expose input value. Use with caution.
|
|
129
|
+
get cacertFileInput() {
|
|
130
|
+
return this._cacertFile;
|
|
131
|
+
}
|
|
132
|
+
// infrastructure_api_url - computed: false, optional: true, required: false
|
|
133
|
+
_infrastructureApiUrl;
|
|
134
|
+
get infrastructureApiUrl() {
|
|
135
|
+
return this._infrastructureApiUrl;
|
|
136
|
+
}
|
|
137
|
+
set infrastructureApiUrl(value) {
|
|
138
|
+
this._infrastructureApiUrl = value;
|
|
139
|
+
}
|
|
140
|
+
resetInfrastructureApiUrl() {
|
|
141
|
+
this._infrastructureApiUrl = undefined;
|
|
142
|
+
}
|
|
143
|
+
// Temporarily expose input value. Use with caution.
|
|
144
|
+
get infrastructureApiUrlInput() {
|
|
145
|
+
return this._infrastructureApiUrl;
|
|
146
|
+
}
|
|
147
|
+
// insecure_skip_verify - computed: false, optional: true, required: false
|
|
148
|
+
_insecureSkipVerify;
|
|
149
|
+
get insecureSkipVerify() {
|
|
150
|
+
return this._insecureSkipVerify;
|
|
151
|
+
}
|
|
152
|
+
set insecureSkipVerify(value) {
|
|
153
|
+
this._insecureSkipVerify = value;
|
|
154
|
+
}
|
|
155
|
+
resetInsecureSkipVerify() {
|
|
156
|
+
this._insecureSkipVerify = undefined;
|
|
157
|
+
}
|
|
158
|
+
// Temporarily expose input value. Use with caution.
|
|
159
|
+
get insecureSkipVerifyInput() {
|
|
160
|
+
return this._insecureSkipVerify;
|
|
161
|
+
}
|
|
162
|
+
// insights_insert_key - computed: false, optional: true, required: false
|
|
163
|
+
_insightsInsertKey;
|
|
164
|
+
get insightsInsertKey() {
|
|
165
|
+
return this._insightsInsertKey;
|
|
166
|
+
}
|
|
167
|
+
set insightsInsertKey(value) {
|
|
168
|
+
this._insightsInsertKey = value;
|
|
169
|
+
}
|
|
170
|
+
resetInsightsInsertKey() {
|
|
171
|
+
this._insightsInsertKey = undefined;
|
|
172
|
+
}
|
|
173
|
+
// Temporarily expose input value. Use with caution.
|
|
174
|
+
get insightsInsertKeyInput() {
|
|
175
|
+
return this._insightsInsertKey;
|
|
176
|
+
}
|
|
177
|
+
// insights_insert_url - computed: false, optional: true, required: false
|
|
178
|
+
_insightsInsertUrl;
|
|
179
|
+
get insightsInsertUrl() {
|
|
180
|
+
return this._insightsInsertUrl;
|
|
181
|
+
}
|
|
182
|
+
set insightsInsertUrl(value) {
|
|
183
|
+
this._insightsInsertUrl = value;
|
|
184
|
+
}
|
|
185
|
+
resetInsightsInsertUrl() {
|
|
186
|
+
this._insightsInsertUrl = undefined;
|
|
187
|
+
}
|
|
188
|
+
// Temporarily expose input value. Use with caution.
|
|
189
|
+
get insightsInsertUrlInput() {
|
|
190
|
+
return this._insightsInsertUrl;
|
|
191
|
+
}
|
|
192
|
+
// insights_query_url - computed: false, optional: true, required: false
|
|
193
|
+
_insightsQueryUrl;
|
|
194
|
+
get insightsQueryUrl() {
|
|
195
|
+
return this._insightsQueryUrl;
|
|
196
|
+
}
|
|
197
|
+
set insightsQueryUrl(value) {
|
|
198
|
+
this._insightsQueryUrl = value;
|
|
199
|
+
}
|
|
200
|
+
resetInsightsQueryUrl() {
|
|
201
|
+
this._insightsQueryUrl = undefined;
|
|
202
|
+
}
|
|
203
|
+
// Temporarily expose input value. Use with caution.
|
|
204
|
+
get insightsQueryUrlInput() {
|
|
205
|
+
return this._insightsQueryUrl;
|
|
206
|
+
}
|
|
207
|
+
// nerdgraph_api_url - computed: false, optional: true, required: false
|
|
208
|
+
_nerdgraphApiUrl;
|
|
209
|
+
get nerdgraphApiUrl() {
|
|
210
|
+
return this._nerdgraphApiUrl;
|
|
211
|
+
}
|
|
212
|
+
set nerdgraphApiUrl(value) {
|
|
213
|
+
this._nerdgraphApiUrl = value;
|
|
214
|
+
}
|
|
215
|
+
resetNerdgraphApiUrl() {
|
|
216
|
+
this._nerdgraphApiUrl = undefined;
|
|
217
|
+
}
|
|
218
|
+
// Temporarily expose input value. Use with caution.
|
|
219
|
+
get nerdgraphApiUrlInput() {
|
|
220
|
+
return this._nerdgraphApiUrl;
|
|
221
|
+
}
|
|
222
|
+
// region - computed: false, optional: true, required: false
|
|
223
|
+
_region;
|
|
224
|
+
get region() {
|
|
225
|
+
return this._region;
|
|
226
|
+
}
|
|
227
|
+
set region(value) {
|
|
228
|
+
this._region = value;
|
|
229
|
+
}
|
|
230
|
+
resetRegion() {
|
|
231
|
+
this._region = undefined;
|
|
232
|
+
}
|
|
233
|
+
// Temporarily expose input value. Use with caution.
|
|
234
|
+
get regionInput() {
|
|
235
|
+
return this._region;
|
|
236
|
+
}
|
|
237
|
+
// synthetics_api_url - computed: false, optional: true, required: false
|
|
238
|
+
_syntheticsApiUrl;
|
|
239
|
+
get syntheticsApiUrl() {
|
|
240
|
+
return this._syntheticsApiUrl;
|
|
241
|
+
}
|
|
242
|
+
set syntheticsApiUrl(value) {
|
|
243
|
+
this._syntheticsApiUrl = value;
|
|
244
|
+
}
|
|
245
|
+
resetSyntheticsApiUrl() {
|
|
246
|
+
this._syntheticsApiUrl = undefined;
|
|
247
|
+
}
|
|
248
|
+
// Temporarily expose input value. Use with caution.
|
|
249
|
+
get syntheticsApiUrlInput() {
|
|
250
|
+
return this._syntheticsApiUrl;
|
|
251
|
+
}
|
|
252
|
+
// alias - computed: false, optional: true, required: false
|
|
253
|
+
_alias;
|
|
254
|
+
get alias() {
|
|
255
|
+
return this._alias;
|
|
256
|
+
}
|
|
257
|
+
set alias(value) {
|
|
258
|
+
this._alias = value;
|
|
259
|
+
}
|
|
260
|
+
resetAlias() {
|
|
261
|
+
this._alias = undefined;
|
|
262
|
+
}
|
|
263
|
+
// Temporarily expose input value. Use with caution.
|
|
264
|
+
get aliasInput() {
|
|
265
|
+
return this._alias;
|
|
266
|
+
}
|
|
267
|
+
// =========
|
|
268
|
+
// SYNTHESIS
|
|
269
|
+
// =========
|
|
270
|
+
synthesizeAttributes() {
|
|
271
|
+
return {
|
|
272
|
+
account_id: cdktf.numberToTerraform(this._accountId),
|
|
273
|
+
admin_api_key: cdktf.stringToTerraform(this._adminApiKey),
|
|
274
|
+
api_key: cdktf.stringToTerraform(this._apiKey),
|
|
275
|
+
api_url: cdktf.stringToTerraform(this._apiUrl),
|
|
276
|
+
cacert_file: cdktf.stringToTerraform(this._cacertFile),
|
|
277
|
+
infrastructure_api_url: cdktf.stringToTerraform(this._infrastructureApiUrl),
|
|
278
|
+
insecure_skip_verify: cdktf.booleanToTerraform(this._insecureSkipVerify),
|
|
279
|
+
insights_insert_key: cdktf.stringToTerraform(this._insightsInsertKey),
|
|
280
|
+
insights_insert_url: cdktf.stringToTerraform(this._insightsInsertUrl),
|
|
281
|
+
insights_query_url: cdktf.stringToTerraform(this._insightsQueryUrl),
|
|
282
|
+
nerdgraph_api_url: cdktf.stringToTerraform(this._nerdgraphApiUrl),
|
|
283
|
+
region: cdktf.stringToTerraform(this._region),
|
|
284
|
+
synthetics_api_url: cdktf.stringToTerraform(this._syntheticsApiUrl),
|
|
285
|
+
alias: cdktf.stringToTerraform(this._alias),
|
|
286
|
+
};
|
|
287
|
+
}
|
|
288
|
+
synthesizeHclAttributes() {
|
|
289
|
+
const attrs = {
|
|
290
|
+
account_id: {
|
|
291
|
+
value: cdktf.numberToHclTerraform(this._accountId),
|
|
292
|
+
isBlock: false,
|
|
293
|
+
type: "simple",
|
|
294
|
+
storageClassType: "number",
|
|
295
|
+
},
|
|
296
|
+
admin_api_key: {
|
|
297
|
+
value: cdktf.stringToHclTerraform(this._adminApiKey),
|
|
298
|
+
isBlock: false,
|
|
299
|
+
type: "simple",
|
|
300
|
+
storageClassType: "string",
|
|
301
|
+
},
|
|
302
|
+
api_key: {
|
|
303
|
+
value: cdktf.stringToHclTerraform(this._apiKey),
|
|
304
|
+
isBlock: false,
|
|
305
|
+
type: "simple",
|
|
306
|
+
storageClassType: "string",
|
|
307
|
+
},
|
|
308
|
+
api_url: {
|
|
309
|
+
value: cdktf.stringToHclTerraform(this._apiUrl),
|
|
310
|
+
isBlock: false,
|
|
311
|
+
type: "simple",
|
|
312
|
+
storageClassType: "string",
|
|
313
|
+
},
|
|
314
|
+
cacert_file: {
|
|
315
|
+
value: cdktf.stringToHclTerraform(this._cacertFile),
|
|
316
|
+
isBlock: false,
|
|
317
|
+
type: "simple",
|
|
318
|
+
storageClassType: "string",
|
|
319
|
+
},
|
|
320
|
+
infrastructure_api_url: {
|
|
321
|
+
value: cdktf.stringToHclTerraform(this._infrastructureApiUrl),
|
|
322
|
+
isBlock: false,
|
|
323
|
+
type: "simple",
|
|
324
|
+
storageClassType: "string",
|
|
325
|
+
},
|
|
326
|
+
insecure_skip_verify: {
|
|
327
|
+
value: cdktf.booleanToHclTerraform(this._insecureSkipVerify),
|
|
328
|
+
isBlock: false,
|
|
329
|
+
type: "simple",
|
|
330
|
+
storageClassType: "boolean",
|
|
331
|
+
},
|
|
332
|
+
insights_insert_key: {
|
|
333
|
+
value: cdktf.stringToHclTerraform(this._insightsInsertKey),
|
|
334
|
+
isBlock: false,
|
|
335
|
+
type: "simple",
|
|
336
|
+
storageClassType: "string",
|
|
337
|
+
},
|
|
338
|
+
insights_insert_url: {
|
|
339
|
+
value: cdktf.stringToHclTerraform(this._insightsInsertUrl),
|
|
340
|
+
isBlock: false,
|
|
341
|
+
type: "simple",
|
|
342
|
+
storageClassType: "string",
|
|
343
|
+
},
|
|
344
|
+
insights_query_url: {
|
|
345
|
+
value: cdktf.stringToHclTerraform(this._insightsQueryUrl),
|
|
346
|
+
isBlock: false,
|
|
347
|
+
type: "simple",
|
|
348
|
+
storageClassType: "string",
|
|
349
|
+
},
|
|
350
|
+
nerdgraph_api_url: {
|
|
351
|
+
value: cdktf.stringToHclTerraform(this._nerdgraphApiUrl),
|
|
352
|
+
isBlock: false,
|
|
353
|
+
type: "simple",
|
|
354
|
+
storageClassType: "string",
|
|
355
|
+
},
|
|
356
|
+
region: {
|
|
357
|
+
value: cdktf.stringToHclTerraform(this._region),
|
|
358
|
+
isBlock: false,
|
|
359
|
+
type: "simple",
|
|
360
|
+
storageClassType: "string",
|
|
361
|
+
},
|
|
362
|
+
synthetics_api_url: {
|
|
363
|
+
value: cdktf.stringToHclTerraform(this._syntheticsApiUrl),
|
|
364
|
+
isBlock: false,
|
|
365
|
+
type: "simple",
|
|
366
|
+
storageClassType: "string",
|
|
367
|
+
},
|
|
368
|
+
alias: {
|
|
369
|
+
value: cdktf.stringToHclTerraform(this._alias),
|
|
370
|
+
isBlock: false,
|
|
371
|
+
type: "simple",
|
|
372
|
+
storageClassType: "string",
|
|
373
|
+
},
|
|
374
|
+
};
|
|
375
|
+
// remove undefined attributes
|
|
376
|
+
return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
|
|
377
|
+
}
|
|
378
|
+
}
|