@pulumi/ec 0.4.3-alpha.1673556028 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/deployment.d.ts +51 -9
- package/deployment.js +42 -3
- package/deployment.js.map +1 -1
- package/deploymentElasticsearchKeystore.d.ts +1 -1
- package/deploymentElasticsearchKeystore.js +4 -2
- package/deploymentElasticsearchKeystore.js.map +1 -1
- package/deploymentExtension.d.ts +2 -6
- package/deploymentExtension.js +2 -6
- package/deploymentExtension.js.map +1 -1
- package/deploymentTrafficFilter.d.ts +2 -1
- package/deploymentTrafficFilter.js.map +1 -1
- package/getAwsPrivatelinkEndpoint.d.ts +75 -0
- package/getAwsPrivatelinkEndpoint.js +51 -0
- package/getAwsPrivatelinkEndpoint.js.map +1 -0
- package/getAzurePrivatelinkEndpoint.d.ts +71 -0
- package/getAzurePrivatelinkEndpoint.js +51 -0
- package/getAzurePrivatelinkEndpoint.js.map +1 -0
- package/getDeployment.d.ts +27 -9
- package/getDeployment.js +18 -7
- package/getDeployment.js.map +1 -1
- package/getDeployments.d.ts +35 -3
- package/getDeployments.js +35 -7
- package/getDeployments.js.map +1 -1
- package/getGcpPrivateServiceConnectEndpoint.d.ts +71 -0
- package/getGcpPrivateServiceConnectEndpoint.js +51 -0
- package/getGcpPrivateServiceConnectEndpoint.js.map +1 -0
- package/getStack.d.ts +25 -5
- package/getStack.js +26 -9
- package/getStack.js.map +1 -1
- package/index.d.ts +36 -9
- package/index.js +37 -38
- package/index.js.map +1 -1
- package/package.json +4 -3
- package/package.json.bak +2 -1
- package/package.json.dev +4 -3
- package/provider.js +4 -2
- package/provider.js.map +1 -1
- package/types/index.js.map +1 -1
- package/types/input.d.ts +64 -52
- package/types/output.d.ts +64 -52
- package/utilities.js +13 -1
- package/utilities.js.map +1 -1
package/types/output.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import * as outputs from "../types/output";
|
|
2
2
|
export interface DeploymentApm {
|
|
3
3
|
/**
|
|
4
4
|
* APM settings applied to all topologies unless overridden in the `topology` element.
|
|
@@ -22,38 +22,38 @@ export interface DeploymentApm {
|
|
|
22
22
|
/**
|
|
23
23
|
* Can be set multiple times to compose complex topologies.
|
|
24
24
|
*/
|
|
25
|
-
|
|
25
|
+
topology: outputs.DeploymentApmTopology;
|
|
26
26
|
}
|
|
27
27
|
export interface DeploymentApmConfig {
|
|
28
28
|
/**
|
|
29
|
-
* Enable debug mode for
|
|
29
|
+
* Enable debug mode for APM servers. Defaults to `false`.
|
|
30
30
|
*/
|
|
31
31
|
debugEnabled?: boolean;
|
|
32
32
|
dockerImage?: string;
|
|
33
33
|
/**
|
|
34
|
-
* JSON-formatted user level `
|
|
34
|
+
* JSON-formatted user level `enterprise_search.yml` setting overrides.
|
|
35
35
|
*/
|
|
36
36
|
userSettingsJson?: string;
|
|
37
37
|
/**
|
|
38
|
-
* JSON-formatted admin (ECE) level `
|
|
38
|
+
* JSON-formatted admin (ECE) level `enterprise_search.yml` setting overrides.
|
|
39
39
|
*/
|
|
40
40
|
userSettingsOverrideJson?: string;
|
|
41
41
|
/**
|
|
42
|
-
* YAML-formatted admin (ECE) level `
|
|
42
|
+
* YAML-formatted admin (ECE) level `enterprise_search.yml` setting overrides.
|
|
43
43
|
*/
|
|
44
44
|
userSettingsOverrideYaml?: string;
|
|
45
45
|
/**
|
|
46
|
-
* YAML-formatted user level `
|
|
46
|
+
* YAML-formatted user level `enterprise_search.yml` setting overrides.
|
|
47
47
|
*/
|
|
48
48
|
userSettingsYaml?: string;
|
|
49
49
|
}
|
|
50
50
|
export interface DeploymentApmTopology {
|
|
51
51
|
/**
|
|
52
|
-
* Default instance configuration of the deployment template.
|
|
52
|
+
* Default instance configuration of the deployment template. To change it, use the [full list](https://www.elastic.co/guide/en/cloud/current/ec-regions-templates-instances.html) of regions and deployment templates available in ESS.
|
|
53
53
|
*/
|
|
54
54
|
instanceConfigurationId: string;
|
|
55
55
|
/**
|
|
56
|
-
* Amount
|
|
56
|
+
* Amount of memory (RAM) per `topology` element in the "<size in GB>g" notation. When omitted, it defaults to the deployment template value.
|
|
57
57
|
*/
|
|
58
58
|
size: string;
|
|
59
59
|
/**
|
|
@@ -61,7 +61,7 @@ export interface DeploymentApmTopology {
|
|
|
61
61
|
*/
|
|
62
62
|
sizeResource?: string;
|
|
63
63
|
/**
|
|
64
|
-
* Number of zones the
|
|
64
|
+
* Number of zones that the Enterprise Search deployment will span. This is used to set HA. When omitted, it defaults to the deployment template value.
|
|
65
65
|
*/
|
|
66
66
|
zoneCount: number;
|
|
67
67
|
}
|
|
@@ -82,7 +82,7 @@ export interface DeploymentElasticsearch {
|
|
|
82
82
|
httpEndpoint: string;
|
|
83
83
|
httpsEndpoint: string;
|
|
84
84
|
/**
|
|
85
|
-
*
|
|
85
|
+
* Can be set on the Elasticsearch resource. The default value `main-elasticsearch` is recommended.
|
|
86
86
|
*/
|
|
87
87
|
refId?: string;
|
|
88
88
|
/**
|
|
@@ -98,6 +98,10 @@ export interface DeploymentElasticsearch {
|
|
|
98
98
|
* Restores data from a snapshot of another deployment.
|
|
99
99
|
*/
|
|
100
100
|
snapshotSource?: outputs.DeploymentElasticsearchSnapshotSource;
|
|
101
|
+
/**
|
|
102
|
+
* Choose the configuration strategy used to apply the changes.
|
|
103
|
+
*/
|
|
104
|
+
strategy?: outputs.DeploymentElasticsearchStrategy;
|
|
101
105
|
/**
|
|
102
106
|
* Can be set multiple times to compose complex topologies.
|
|
103
107
|
*/
|
|
@@ -118,25 +122,25 @@ export interface DeploymentElasticsearchConfig {
|
|
|
118
122
|
*/
|
|
119
123
|
plugins?: string[];
|
|
120
124
|
/**
|
|
121
|
-
* JSON-formatted user level `
|
|
125
|
+
* JSON-formatted user level `enterprise_search.yml` setting overrides.
|
|
122
126
|
*/
|
|
123
127
|
userSettingsJson?: string;
|
|
124
128
|
/**
|
|
125
|
-
* JSON-formatted admin (ECE) level `
|
|
129
|
+
* JSON-formatted admin (ECE) level `enterprise_search.yml` setting overrides.
|
|
126
130
|
*/
|
|
127
131
|
userSettingsOverrideJson?: string;
|
|
128
132
|
/**
|
|
129
|
-
* YAML-formatted admin (ECE) level `
|
|
133
|
+
* YAML-formatted admin (ECE) level `enterprise_search.yml` setting overrides.
|
|
130
134
|
*/
|
|
131
135
|
userSettingsOverrideYaml?: string;
|
|
132
136
|
/**
|
|
133
|
-
* YAML-formatted user level `
|
|
137
|
+
* YAML-formatted user level `enterprise_search.yml` setting overrides.
|
|
134
138
|
*/
|
|
135
139
|
userSettingsYaml?: string;
|
|
136
140
|
}
|
|
137
141
|
export interface DeploymentElasticsearchExtension {
|
|
138
142
|
/**
|
|
139
|
-
*
|
|
143
|
+
* Extension name.
|
|
140
144
|
*/
|
|
141
145
|
name: string;
|
|
142
146
|
/**
|
|
@@ -148,13 +152,13 @@ export interface DeploymentElasticsearchExtension {
|
|
|
148
152
|
*/
|
|
149
153
|
url: string;
|
|
150
154
|
/**
|
|
151
|
-
*
|
|
155
|
+
* Elasticsearch compatibility version. Bundles should specify major or minor versions with wildcards, such as `7.*` or `*` but **plugins must use full version notation down to the patch level**, such as `7.10.1` and wildcards are not allowed.
|
|
152
156
|
*/
|
|
153
157
|
version: string;
|
|
154
158
|
}
|
|
155
159
|
export interface DeploymentElasticsearchRemoteCluster {
|
|
156
160
|
/**
|
|
157
|
-
*
|
|
161
|
+
* Alias for the Cross Cluster Search binding.
|
|
158
162
|
*/
|
|
159
163
|
alias: string;
|
|
160
164
|
/**
|
|
@@ -162,7 +166,7 @@ export interface DeploymentElasticsearchRemoteCluster {
|
|
|
162
166
|
*/
|
|
163
167
|
deploymentId: string;
|
|
164
168
|
/**
|
|
165
|
-
*
|
|
169
|
+
* Remote Elasticsearch `refId`. The default value `main-elasticsearch` is recommended.
|
|
166
170
|
*/
|
|
167
171
|
refId?: string;
|
|
168
172
|
/**
|
|
@@ -180,6 +184,12 @@ export interface DeploymentElasticsearchSnapshotSource {
|
|
|
180
184
|
*/
|
|
181
185
|
sourceElasticsearchClusterId: string;
|
|
182
186
|
}
|
|
187
|
+
export interface DeploymentElasticsearchStrategy {
|
|
188
|
+
/**
|
|
189
|
+
* Set the type of configuration strategy [autodetect, grow_and_shrink, rolling_grow_and_shrink, rollingAll].
|
|
190
|
+
*/
|
|
191
|
+
type: string;
|
|
192
|
+
}
|
|
183
193
|
export interface DeploymentElasticsearchTopology {
|
|
184
194
|
/**
|
|
185
195
|
* Autoscaling policy defining the maximum and / or minimum total size for this topology element. For more information refer to the `autoscaling` block.
|
|
@@ -194,7 +204,7 @@ export interface DeploymentElasticsearchTopology {
|
|
|
194
204
|
*/
|
|
195
205
|
id: string;
|
|
196
206
|
/**
|
|
197
|
-
* Default instance configuration of the deployment template.
|
|
207
|
+
* Default instance configuration of the deployment template. To change it, use the [full list](https://www.elastic.co/guide/en/cloud/current/ec-regions-templates-instances.html) of regions and deployment templates available in ESS.
|
|
198
208
|
*/
|
|
199
209
|
instanceConfigurationId: string;
|
|
200
210
|
nodeRoles: string[];
|
|
@@ -215,7 +225,7 @@ export interface DeploymentElasticsearchTopology {
|
|
|
215
225
|
*/
|
|
216
226
|
nodeTypeMl: string;
|
|
217
227
|
/**
|
|
218
|
-
* Amount
|
|
228
|
+
* Amount of memory (RAM) per `topology` element in the "<size in GB>g" notation. When omitted, it defaults to the deployment template value.
|
|
219
229
|
*/
|
|
220
230
|
size: string;
|
|
221
231
|
/**
|
|
@@ -223,7 +233,7 @@ export interface DeploymentElasticsearchTopology {
|
|
|
223
233
|
*/
|
|
224
234
|
sizeResource?: string;
|
|
225
235
|
/**
|
|
226
|
-
* Number of zones the
|
|
236
|
+
* Number of zones that the Enterprise Search deployment will span. This is used to set HA. When omitted, it defaults to the deployment template value.
|
|
227
237
|
*/
|
|
228
238
|
zoneCount: number;
|
|
229
239
|
}
|
|
@@ -252,19 +262,19 @@ export interface DeploymentElasticsearchTopologyConfig {
|
|
|
252
262
|
*/
|
|
253
263
|
plugins: string[];
|
|
254
264
|
/**
|
|
255
|
-
* JSON-formatted user level `
|
|
265
|
+
* JSON-formatted user level `enterprise_search.yml` setting overrides.
|
|
256
266
|
*/
|
|
257
267
|
userSettingsJson: string;
|
|
258
268
|
/**
|
|
259
|
-
* JSON-formatted admin (ECE) level `
|
|
269
|
+
* JSON-formatted admin (ECE) level `enterprise_search.yml` setting overrides.
|
|
260
270
|
*/
|
|
261
271
|
userSettingsOverrideJson: string;
|
|
262
272
|
/**
|
|
263
|
-
* YAML-formatted admin (ECE) level `
|
|
273
|
+
* YAML-formatted admin (ECE) level `enterprise_search.yml` setting overrides.
|
|
264
274
|
*/
|
|
265
275
|
userSettingsOverrideYaml: string;
|
|
266
276
|
/**
|
|
267
|
-
* YAML-formatted user level `
|
|
277
|
+
* YAML-formatted user level `enterprise_search.yml` setting overrides.
|
|
268
278
|
*/
|
|
269
279
|
userSettingsYaml: string;
|
|
270
280
|
}
|
|
@@ -288,7 +298,7 @@ export interface DeploymentElasticsearchTrustExternal {
|
|
|
288
298
|
*/
|
|
289
299
|
relationshipId: string;
|
|
290
300
|
/**
|
|
291
|
-
* If true, all clusters in this
|
|
301
|
+
* If true, all clusters in this external entity will be trusted and the `trustAllowlist` is ignored.
|
|
292
302
|
*/
|
|
293
303
|
trustAll: boolean;
|
|
294
304
|
/**
|
|
@@ -319,37 +329,37 @@ export interface DeploymentEnterpriseSearch {
|
|
|
319
329
|
/**
|
|
320
330
|
* Can be set multiple times to compose complex topologies.
|
|
321
331
|
*/
|
|
322
|
-
|
|
332
|
+
topology: outputs.DeploymentEnterpriseSearchTopology;
|
|
323
333
|
}
|
|
324
334
|
export interface DeploymentEnterpriseSearchConfig {
|
|
325
335
|
dockerImage?: string;
|
|
326
336
|
/**
|
|
327
|
-
* JSON-formatted user level `
|
|
337
|
+
* JSON-formatted user level `enterprise_search.yml` setting overrides.
|
|
328
338
|
*/
|
|
329
339
|
userSettingsJson?: string;
|
|
330
340
|
/**
|
|
331
|
-
* JSON-formatted admin (ECE) level `
|
|
341
|
+
* JSON-formatted admin (ECE) level `enterprise_search.yml` setting overrides.
|
|
332
342
|
*/
|
|
333
343
|
userSettingsOverrideJson?: string;
|
|
334
344
|
/**
|
|
335
|
-
* YAML-formatted admin (ECE) level `
|
|
345
|
+
* YAML-formatted admin (ECE) level `enterprise_search.yml` setting overrides.
|
|
336
346
|
*/
|
|
337
347
|
userSettingsOverrideYaml?: string;
|
|
338
348
|
/**
|
|
339
|
-
* YAML-formatted user level `
|
|
349
|
+
* YAML-formatted user level `enterprise_search.yml` setting overrides.
|
|
340
350
|
*/
|
|
341
351
|
userSettingsYaml?: string;
|
|
342
352
|
}
|
|
343
353
|
export interface DeploymentEnterpriseSearchTopology {
|
|
344
354
|
/**
|
|
345
|
-
* Default instance configuration of the deployment template.
|
|
355
|
+
* Default instance configuration of the deployment template. To change it, use the [full list](https://www.elastic.co/guide/en/cloud/current/ec-regions-templates-instances.html) of regions and deployment templates available in ESS.
|
|
346
356
|
*/
|
|
347
357
|
instanceConfigurationId: string;
|
|
348
358
|
nodeTypeAppserver: boolean;
|
|
349
359
|
nodeTypeConnector: boolean;
|
|
350
360
|
nodeTypeWorker: boolean;
|
|
351
361
|
/**
|
|
352
|
-
* Amount
|
|
362
|
+
* Amount of memory (RAM) per `topology` element in the "<size in GB>g" notation. When omitted, it defaults to the deployment template value.
|
|
353
363
|
*/
|
|
354
364
|
size: string;
|
|
355
365
|
/**
|
|
@@ -357,11 +367,12 @@ export interface DeploymentEnterpriseSearchTopology {
|
|
|
357
367
|
*/
|
|
358
368
|
sizeResource?: string;
|
|
359
369
|
/**
|
|
360
|
-
* Number of zones the
|
|
370
|
+
* Number of zones that the Enterprise Search deployment will span. This is used to set HA. When omitted, it defaults to the deployment template value.
|
|
361
371
|
*/
|
|
362
372
|
zoneCount: number;
|
|
363
373
|
}
|
|
364
374
|
export interface DeploymentIntegrationsServer {
|
|
375
|
+
apmHttpsEndpoint: string;
|
|
365
376
|
/**
|
|
366
377
|
* Integrations Server settings applied to all topologies unless overridden in the `topology` element.
|
|
367
378
|
*/
|
|
@@ -370,6 +381,7 @@ export interface DeploymentIntegrationsServer {
|
|
|
370
381
|
* This field references the `refId` of the deployment Elasticsearch cluster. The default value `main-elasticsearch` is recommended.
|
|
371
382
|
*/
|
|
372
383
|
elasticsearchClusterRefId?: string;
|
|
384
|
+
fleetHttpsEndpoint: string;
|
|
373
385
|
httpEndpoint: string;
|
|
374
386
|
httpsEndpoint: string;
|
|
375
387
|
/**
|
|
@@ -384,38 +396,38 @@ export interface DeploymentIntegrationsServer {
|
|
|
384
396
|
/**
|
|
385
397
|
* Can be set multiple times to compose complex topologies.
|
|
386
398
|
*/
|
|
387
|
-
|
|
399
|
+
topology: outputs.DeploymentIntegrationsServerTopology;
|
|
388
400
|
}
|
|
389
401
|
export interface DeploymentIntegrationsServerConfig {
|
|
390
402
|
/**
|
|
391
|
-
* Enable debug mode for
|
|
403
|
+
* Enable debug mode for APM servers. Defaults to `false`.
|
|
392
404
|
*/
|
|
393
405
|
debugEnabled?: boolean;
|
|
394
406
|
dockerImage?: string;
|
|
395
407
|
/**
|
|
396
|
-
* JSON-formatted user level `
|
|
408
|
+
* JSON-formatted user level `enterprise_search.yml` setting overrides.
|
|
397
409
|
*/
|
|
398
410
|
userSettingsJson?: string;
|
|
399
411
|
/**
|
|
400
|
-
* JSON-formatted admin (ECE) level `
|
|
412
|
+
* JSON-formatted admin (ECE) level `enterprise_search.yml` setting overrides.
|
|
401
413
|
*/
|
|
402
414
|
userSettingsOverrideJson?: string;
|
|
403
415
|
/**
|
|
404
|
-
* YAML-formatted admin (ECE) level `
|
|
416
|
+
* YAML-formatted admin (ECE) level `enterprise_search.yml` setting overrides.
|
|
405
417
|
*/
|
|
406
418
|
userSettingsOverrideYaml?: string;
|
|
407
419
|
/**
|
|
408
|
-
* YAML-formatted user level `
|
|
420
|
+
* YAML-formatted user level `enterprise_search.yml` setting overrides.
|
|
409
421
|
*/
|
|
410
422
|
userSettingsYaml?: string;
|
|
411
423
|
}
|
|
412
424
|
export interface DeploymentIntegrationsServerTopology {
|
|
413
425
|
/**
|
|
414
|
-
* Default instance configuration of the deployment template.
|
|
426
|
+
* Default instance configuration of the deployment template. To change it, use the [full list](https://www.elastic.co/guide/en/cloud/current/ec-regions-templates-instances.html) of regions and deployment templates available in ESS.
|
|
415
427
|
*/
|
|
416
428
|
instanceConfigurationId: string;
|
|
417
429
|
/**
|
|
418
|
-
* Amount
|
|
430
|
+
* Amount of memory (RAM) per `topology` element in the "<size in GB>g" notation. When omitted, it defaults to the deployment template value.
|
|
419
431
|
*/
|
|
420
432
|
size: string;
|
|
421
433
|
/**
|
|
@@ -423,7 +435,7 @@ export interface DeploymentIntegrationsServerTopology {
|
|
|
423
435
|
*/
|
|
424
436
|
sizeResource?: string;
|
|
425
437
|
/**
|
|
426
|
-
* Number of zones the
|
|
438
|
+
* Number of zones that the Enterprise Search deployment will span. This is used to set HA. When omitted, it defaults to the deployment template value.
|
|
427
439
|
*/
|
|
428
440
|
zoneCount: number;
|
|
429
441
|
}
|
|
@@ -450,34 +462,34 @@ export interface DeploymentKibana {
|
|
|
450
462
|
/**
|
|
451
463
|
* Can be set multiple times to compose complex topologies.
|
|
452
464
|
*/
|
|
453
|
-
|
|
465
|
+
topology: outputs.DeploymentKibanaTopology;
|
|
454
466
|
}
|
|
455
467
|
export interface DeploymentKibanaConfig {
|
|
456
468
|
dockerImage?: string;
|
|
457
469
|
/**
|
|
458
|
-
* JSON-formatted user level `
|
|
470
|
+
* JSON-formatted user level `enterprise_search.yml` setting overrides.
|
|
459
471
|
*/
|
|
460
472
|
userSettingsJson?: string;
|
|
461
473
|
/**
|
|
462
|
-
* JSON-formatted admin (ECE) level `
|
|
474
|
+
* JSON-formatted admin (ECE) level `enterprise_search.yml` setting overrides.
|
|
463
475
|
*/
|
|
464
476
|
userSettingsOverrideJson?: string;
|
|
465
477
|
/**
|
|
466
|
-
* YAML-formatted admin (ECE) level `
|
|
478
|
+
* YAML-formatted admin (ECE) level `enterprise_search.yml` setting overrides.
|
|
467
479
|
*/
|
|
468
480
|
userSettingsOverrideYaml?: string;
|
|
469
481
|
/**
|
|
470
|
-
* YAML-formatted user level `
|
|
482
|
+
* YAML-formatted user level `enterprise_search.yml` setting overrides.
|
|
471
483
|
*/
|
|
472
484
|
userSettingsYaml?: string;
|
|
473
485
|
}
|
|
474
486
|
export interface DeploymentKibanaTopology {
|
|
475
487
|
/**
|
|
476
|
-
* Default instance configuration of the deployment template.
|
|
488
|
+
* Default instance configuration of the deployment template. To change it, use the [full list](https://www.elastic.co/guide/en/cloud/current/ec-regions-templates-instances.html) of regions and deployment templates available in ESS.
|
|
477
489
|
*/
|
|
478
490
|
instanceConfigurationId: string;
|
|
479
491
|
/**
|
|
480
|
-
* Amount
|
|
492
|
+
* Amount of memory (RAM) per `topology` element in the "<size in GB>g" notation. When omitted, it defaults to the deployment template value.
|
|
481
493
|
*/
|
|
482
494
|
size: string;
|
|
483
495
|
/**
|
|
@@ -485,7 +497,7 @@ export interface DeploymentKibanaTopology {
|
|
|
485
497
|
*/
|
|
486
498
|
sizeResource?: string;
|
|
487
499
|
/**
|
|
488
|
-
* Number of zones the
|
|
500
|
+
* Number of zones that the Enterprise Search deployment will span. This is used to set HA. When omitted, it defaults to the deployment template value.
|
|
489
501
|
*/
|
|
490
502
|
zoneCount: number;
|
|
491
503
|
}
|
package/utilities.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
exports.resourceOptsDefaults = exports.getVersion = exports.getEnvNumber = exports.getEnvBoolean = exports.getEnv = void 0;
|
|
5
|
+
exports.lazyLoad = exports.resourceOptsDefaults = exports.getVersion = exports.getEnvNumber = exports.getEnvBoolean = exports.getEnv = void 0;
|
|
6
6
|
function getEnv(...vars) {
|
|
7
7
|
for (const v of vars) {
|
|
8
8
|
const value = process.env[v];
|
|
@@ -54,4 +54,16 @@ function resourceOptsDefaults() {
|
|
|
54
54
|
return { version: getVersion() };
|
|
55
55
|
}
|
|
56
56
|
exports.resourceOptsDefaults = resourceOptsDefaults;
|
|
57
|
+
/** @internal */
|
|
58
|
+
function lazyLoad(exports, props, loadModule) {
|
|
59
|
+
for (let property of props) {
|
|
60
|
+
Object.defineProperty(exports, property, {
|
|
61
|
+
enumerable: true,
|
|
62
|
+
get: function () {
|
|
63
|
+
return loadModule()[property];
|
|
64
|
+
},
|
|
65
|
+
});
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
exports.lazyLoad = lazyLoad;
|
|
57
69
|
//# sourceMappingURL=utilities.js.map
|
package/utilities.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utilities.js","sourceRoot":"","sources":["../utilities.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAGjF,SAAgB,MAAM,CAAC,GAAG,IAAc;IACpC,KAAK,MAAM,CAAC,IAAI,IAAI,EAAE;QAClB,MAAM,KAAK,GAAG,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;QAC7B,IAAI,KAAK,EAAE;YACP,OAAO,KAAK,CAAC;SAChB;KACJ;IACD,OAAO,SAAS,CAAC;AACrB,CAAC;AARD,wBAQC;AAED,SAAgB,aAAa,CAAC,GAAG,IAAc;IAC3C,MAAM,CAAC,GAAG,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC;IAC1B,IAAI,CAAC,KAAK,SAAS,EAAE;QACjB,uGAAuG;QACvG,yDAAyD;QACzD,IAAI,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,KAAK,SAAS,EAAE;YAC1E,O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