@pulumi/pulumi 3.124.1-alpha.xf6bdf03 → 3.125.0-alpha.x6215d96

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 (96) hide show
  1. package/asset/archive.d.ts +15 -10
  2. package/asset/archive.js +15 -9
  3. package/asset/archive.js.map +1 -1
  4. package/asset/asset.d.ts +14 -11
  5. package/asset/asset.js +15 -18
  6. package/asset/asset.js.map +1 -1
  7. package/automation/stack.d.ts +10 -2
  8. package/automation/stack.js +10 -2
  9. package/automation/stack.js.map +1 -1
  10. package/dynamic/index.d.ts +67 -35
  11. package/dynamic/index.js +15 -8
  12. package/dynamic/index.js.map +1 -1
  13. package/errors.d.ts +16 -12
  14. package/errors.js +18 -12
  15. package/errors.js.map +1 -1
  16. package/invoke.d.ts +50 -2
  17. package/iterable/index.d.ts +7 -5
  18. package/iterable/index.js +7 -5
  19. package/iterable/index.js.map +1 -1
  20. package/log/index.d.ts +8 -5
  21. package/log/index.js +8 -5
  22. package/log/index.js.map +1 -1
  23. package/metadata.d.ts +3 -3
  24. package/metadata.js +3 -3
  25. package/output.d.ts +119 -91
  26. package/output.js +73 -46
  27. package/output.js.map +1 -1
  28. package/package.json +1 -1
  29. package/provider/internals.js +3 -1
  30. package/provider/internals.js.map +1 -1
  31. package/provider/provider.d.ts +75 -39
  32. package/provider/server.js +13 -7
  33. package/provider/server.js.map +1 -1
  34. package/queryable/index.d.ts +5 -3
  35. package/resource.d.ts +233 -164
  36. package/resource.js +160 -97
  37. package/resource.js.map +1 -1
  38. package/runtime/asyncIterableUtil.js +26 -17
  39. package/runtime/asyncIterableUtil.js.map +1 -1
  40. package/runtime/callbacks.d.ts +5 -0
  41. package/runtime/callbacks.js +92 -2
  42. package/runtime/callbacks.js.map +1 -1
  43. package/runtime/closure/codePaths.d.ts +32 -27
  44. package/runtime/closure/codePaths.js +23 -15
  45. package/runtime/closure/codePaths.js.map +1 -1
  46. package/runtime/closure/createClosure.js +38 -30
  47. package/runtime/closure/createClosure.js.map +1 -1
  48. package/runtime/closure/parseFunction.js +26 -15
  49. package/runtime/closure/parseFunction.js.map +1 -1
  50. package/runtime/closure/rewriteSuper.js +3 -1
  51. package/runtime/closure/rewriteSuper.js.map +1 -1
  52. package/runtime/closure/serializeClosure.d.ts +52 -32
  53. package/runtime/closure/serializeClosure.js +34 -22
  54. package/runtime/closure/serializeClosure.js.map +1 -1
  55. package/runtime/closure/utils.js +6 -2
  56. package/runtime/closure/utils.js.map +1 -1
  57. package/runtime/closure/v8.js +18 -9
  58. package/runtime/closure/v8.js.map +1 -1
  59. package/runtime/closure/v8Hooks.js +8 -4
  60. package/runtime/closure/v8Hooks.js.map +1 -1
  61. package/runtime/config.d.ts +4 -4
  62. package/runtime/config.js +22 -18
  63. package/runtime/config.js.map +1 -1
  64. package/runtime/debuggable.js +17 -6
  65. package/runtime/debuggable.js.map +1 -1
  66. package/runtime/invoke.d.ts +23 -14
  67. package/runtime/invoke.js +27 -18
  68. package/runtime/invoke.js.map +1 -1
  69. package/runtime/mocks.d.ts +37 -23
  70. package/runtime/mocks.js +11 -6
  71. package/runtime/mocks.js.map +1 -1
  72. package/runtime/resource.d.ts +21 -15
  73. package/runtime/resource.js +48 -29
  74. package/runtime/resource.js.map +1 -1
  75. package/runtime/rpc.d.ts +71 -43
  76. package/runtime/rpc.js +85 -47
  77. package/runtime/rpc.js.map +1 -1
  78. package/runtime/settings.d.ts +70 -21
  79. package/runtime/settings.js +85 -42
  80. package/runtime/settings.js.map +1 -1
  81. package/runtime/stack.d.ts +27 -14
  82. package/runtime/stack.js +36 -14
  83. package/runtime/stack.js.map +1 -1
  84. package/runtime/state.js +22 -8
  85. package/runtime/state.js.map +1 -1
  86. package/stackReference.d.ts +49 -32
  87. package/stackReference.js +40 -25
  88. package/stackReference.js.map +1 -1
  89. package/tests/automation/localWorkspace.spec.js +20 -0
  90. package/tests/automation/localWorkspace.spec.js.map +1 -1
  91. package/tsutils.js +6 -2
  92. package/tsutils.js.map +1 -1
  93. package/utils.js +15 -6
  94. package/utils.js.map +1 -1
  95. package/version.d.ts +1 -1
  96. package/version.js +1 -1
@@ -3,35 +3,76 @@ import { ICallbackServer } from "./callbacks";
3
3
  import * as engrpc from "../proto/engine_grpc_pb";
4
4
  import * as resrpc from "../proto/resource_grpc_pb";
5
5
  /**
6
- * excessiveDebugOutput enables, well, pretty excessive debug output pertaining to resources and properties.
6
+ * excessiveDebugOutput enables, well, pretty excessive debug output pertaining
7
+ * to resources and properties.
7
8
  */
8
9
  export declare const excessiveDebugOutput: boolean;
9
10
  /**
10
- * Options is a bag of settings that controls the behavior of previews and deployments
11
+ * {@link Options} is a bag of settings that controls the behavior of previews
12
+ * and deployments.
11
13
  */
12
14
  export interface Options {
15
+ /**
16
+ * The name of the current project.
17
+ */
13
18
  readonly project?: string;
19
+ /**
20
+ * The name of the current stack being deployed into.
21
+ */
14
22
  readonly stack?: string;
23
+ /**
24
+ * The degree of parallelism for resource operations (default is serial).
25
+ */
15
26
  readonly parallel?: number;
27
+ /**
28
+ * A connection string to the engine's RPC, in case we need to reestablish.
29
+ */
16
30
  readonly engineAddr?: string;
31
+ /**
32
+ * A connection string to the monitor's RPC, in case we need to reestablish.
33
+ */
17
34
  readonly monitorAddr?: string;
35
+ /**
36
+ * Whether we are performing a preview (true) or a real deployment (false).
37
+ */
18
38
  readonly dryRun?: boolean;
39
+ /**
40
+ * True if we're in testing mode (allows execution without the CLI).
41
+ */
19
42
  readonly testModeEnabled?: boolean;
43
+ /**
44
+ * True if we're in query mode (does not allow resource registration).
45
+ */
20
46
  readonly queryMode?: boolean;
47
+ /**
48
+ * True if we will resolve missing outputs to inputs during preview.
49
+ */
21
50
  readonly legacyApply?: boolean;
51
+ /**
52
+ * True if we will cache serialized dynamic providers on the program side.
53
+ */
22
54
  readonly cacheDynamicProviders?: boolean;
55
+ /**
56
+ * The name of the current organization.
57
+ */
23
58
  readonly organization?: string;
24
59
  /**
25
- * Directory containing the send/receive files for making synchronous invokes to the engine.
60
+ * A directory containing the send/receive files for making synchronous
61
+ * invokes to the engine.
26
62
  */
27
63
  readonly syncDir?: string;
28
64
  }
65
+ /**
66
+ * Resets NodeJS runtime global state (such as RPC clients), and sets NodeJS
67
+ * runtime option environment variables to the specified values.
68
+ */
29
69
  export declare function resetOptions(project: string, stack: string, parallel: number, engineAddr: string, monitorAddr: string, preview: boolean, organization: string): void;
30
70
  export declare function setMockOptions(mockMonitor: any, project?: string, stack?: string, preview?: boolean, organization?: string): void;
31
71
  /**
32
- * Returns whether or not we are currently doing a preview.
72
+ * Returns true if we are currently doing a preview.
33
73
  *
34
- * When writing unit tests, you can set this flag via either `setMocks` or `_setIsDryRun`.
74
+ * When writing unit tests, you can set this flag via either `setMocks` or
75
+ * `_setIsDryRun`.
35
76
  */
36
77
  export declare function isDryRun(): boolean;
37
78
  /**
@@ -39,11 +80,13 @@ export declare function isDryRun(): boolean;
39
80
  */
40
81
  export declare function isQueryMode(): boolean;
41
82
  /**
42
- * Returns true if we will resolve missing outputs to inputs during preview (PULUMI_ENABLE_LEGACY_APPLY).
83
+ * Returns true if we will resolve missing outputs to inputs during preview
84
+ * (`PULUMI_ENABLE_LEGACY_APPLY`).
43
85
  */
44
86
  export declare function isLegacyApplyEnabled(): boolean;
45
87
  /**
46
- * Returns true (default) if we will cache serialized dynamic providers on the program side
88
+ * Returns true if we will cache serialized dynamic providers on the program
89
+ * side (the default is true).
47
90
  */
48
91
  export declare function cacheDynamicProviders(): boolean;
49
92
  /**
@@ -59,11 +102,12 @@ export declare function getProject(): string;
59
102
  */
60
103
  export declare function getStack(): string;
61
104
  /**
62
- * hasMonitor returns true if we are currently connected to a resource monitoring service.
105
+ * Returns true if we are currently connected to a resource monitoring service.
63
106
  */
64
107
  export declare function hasMonitor(): boolean;
65
108
  /**
66
- * getMonitor returns the current resource monitoring service client for RPC communications.
109
+ * Returns the current resource monitoring service client for RPC
110
+ * communications.
67
111
  */
68
112
  export declare function getMonitor(): resrpc.IResourceMonitorClient | undefined;
69
113
  /**
@@ -71,42 +115,47 @@ export declare function getMonitor(): resrpc.IResourceMonitorClient | undefined;
71
115
  */
72
116
  export declare function awaitStackRegistrations(): Promise<void>;
73
117
  /**
74
- * getCallbacks returns the current callbacks for RPC communications.
118
+ * Returns the current callbacks for RPC communications.
75
119
  */
76
120
  export declare function getCallbacks(): ICallbackServer | undefined;
77
121
  /**
78
- * hasEngine returns true if we are currently connected to an engine.
122
+ * Returns true if we are currently connected to an engine.
79
123
  */
80
124
  export declare function hasEngine(): boolean;
81
125
  /**
82
- * getEngine returns the current engine, if any, for RPC communications back to the resource engine.
126
+ * Returns the current engine, if any, for RPC communications back to the
127
+ * resource engine.
83
128
  */
84
129
  export declare function getEngine(): engrpc.IEngineClient | undefined;
85
130
  export declare function terminateRpcs(): void;
86
131
  /**
87
- * serialize returns true if resource operations should be serialized.
132
+ * Returns true if resource operations should be serialized.
88
133
  */
89
134
  export declare function serialize(): boolean;
90
135
  /**
91
- * disconnect permanently disconnects from the server, closing the connections. It waits for the existing RPC
92
- * queue to drain. If any RPCs come in afterwards, however, they will crash the process.
136
+ * Permanently disconnects from the server, closing the connections. It waits
137
+ * for the existing RPC queue to drain. If any RPCs come in afterwards,
138
+ * however, they will crash the process.
93
139
  */
94
140
  export declare function disconnect(): Promise<void>;
95
141
  /**
96
- * getMaximumListeners returns the configured number of process listeners available
142
+ * Returns the configured number of process listeners available.
97
143
  */
98
144
  export declare function getMaximumListeners(): number;
99
145
  /**
100
- * disconnectSync permanently disconnects from the server, closing the connections. Unlike `disconnect`. it does not
101
- * wait for the existing RPC queue to drain. Any RPCs that come in after this call will crash the process.
146
+ * Permanently disconnects from the server, closing the connections. Unlike
147
+ * `disconnect`. it does not wait for the existing RPC queue to drain. Any RPCs
148
+ * that come in after this call will crash the process.
102
149
  */
103
150
  export declare function disconnectSync(): void;
104
151
  /**
105
- * rpcKeepAlive registers a pending call to ensure that we don't prematurely disconnect from the server. It returns
106
- * a function that, when invoked, signals that the RPC has completed.
152
+ * Registers a pending call to ensure that we don't prematurely disconnect from
153
+ * the server. It returns a function that, when invoked, signals that the RPC
154
+ * has completed.
107
155
  */
108
156
  export declare function rpcKeepAlive(): () => void;
109
157
  /**
110
- * setRootResource registers a resource that will become the default parent for all resources without explicit parents.
158
+ * Registers a resource that will become the default parent for all resources
159
+ * without explicit parents.
111
160
  */
112
161
  export declare function setRootResource(res: ComponentResource): Promise<void>;
@@ -39,18 +39,24 @@ const engrpc = __importStar(require("../proto/engine_grpc_pb"));
39
39
  const engproto = __importStar(require("../proto/engine_pb"));
40
40
  const resrpc = __importStar(require("../proto/resource_grpc_pb"));
41
41
  const resproto = __importStar(require("../proto/resource_pb"));
42
- // maxRPCMessageSize raises the gRPC Max Message size from `4194304` (4mb) to `419430400` (400mb)
43
- /** @internal */
42
+ /**
43
+ * Raises the gRPC Max Message size from `4194304` (4mb) to `419430400` (400mb).
44
+ *
45
+ * @internal
46
+ */
44
47
  exports.maxRPCMessageSize = 1024 * 1024 * 400;
45
48
  const grpcChannelOptions = { "grpc.max_receive_message_length": exports.maxRPCMessageSize };
46
49
  /**
47
- * excessiveDebugOutput enables, well, pretty excessive debug output pertaining to resources and properties.
50
+ * excessiveDebugOutput enables, well, pretty excessive debug output pertaining
51
+ * to resources and properties.
48
52
  */
49
53
  exports.excessiveDebugOutput = false;
50
54
  let monitor;
51
55
  let engine;
52
- // reset options resets nodejs runtime global state (such as rpc clients),
53
- // and sets nodejs runtime option env vars to the specified values.
56
+ /**
57
+ * Resets NodeJS runtime global state (such as RPC clients), and sets NodeJS
58
+ * runtime option environment variables to the specified values.
59
+ */
54
60
  function resetOptions(project, stack, parallel, engineAddr, monitorAddr, preview, organization) {
55
61
  const store = state_1.getStore();
56
62
  monitor = undefined;
@@ -77,6 +83,7 @@ function resetOptions(project, stack, parallel, engineAddr, monitorAddr, preview
77
83
  store.supportsDeletedWith = false;
78
84
  store.supportsAliasSpecs = false;
79
85
  store.supportsTransforms = false;
86
+ store.supportsInvokeTransforms = false;
80
87
  store.callbacks = undefined;
81
88
  }
82
89
  exports.resetOptions = resetOptions;
@@ -86,24 +93,28 @@ function setMockOptions(mockMonitor, project, stack, preview, organization) {
86
93
  monitor = mockMonitor;
87
94
  }
88
95
  exports.setMockOptions = setMockOptions;
89
- /** @internal Used only for testing purposes. */
96
+ /**
97
+ * @internal
98
+ * Used only for testing purposes.
99
+ */
90
100
  function _setIsDryRun(val) {
91
101
  const { settings } = state_1.getStore();
92
102
  settings.options.dryRun = val;
93
103
  }
94
104
  exports._setIsDryRun = _setIsDryRun;
95
105
  /**
96
- * Returns whether or not we are currently doing a preview.
106
+ * Returns true if we are currently doing a preview.
97
107
  *
98
- * When writing unit tests, you can set this flag via either `setMocks` or `_setIsDryRun`.
108
+ * When writing unit tests, you can set this flag via either `setMocks` or
109
+ * `_setIsDryRun`.
99
110
  */
100
111
  function isDryRun() {
101
112
  return options().dryRun === true;
102
113
  }
103
114
  exports.isDryRun = isDryRun;
104
115
  /**
105
- * monitorSupportsFeature returns a promise that when resolved tells you if the resource monitor we are connected
106
- * to is able to support a particular feature.
116
+ * Returns a promise that when resolved tells you if the resource monitor we are
117
+ * connected to is able to support a particular feature.
107
118
  *
108
119
  * @internal
109
120
  */
@@ -131,7 +142,8 @@ function monitorSupportsFeature(monitorClient, feature) {
131
142
  });
132
143
  }
133
144
  /**
134
- * Queries the resource monitor for its capabilities and sets the appropriate flags in the store.
145
+ * Queries the resource monitor for its capabilities and sets the appropriate
146
+ * flags in the store.
135
147
  *
136
148
  * @internal
137
149
  **/
@@ -146,17 +158,24 @@ function awaitFeatureSupport() {
146
158
  store.supportsDeletedWith = yield monitorSupportsFeature(monitorRef, "deletedWith");
147
159
  store.supportsAliasSpecs = yield monitorSupportsFeature(monitorRef, "aliasSpecs");
148
160
  store.supportsTransforms = yield monitorSupportsFeature(monitorRef, "transforms");
161
+ store.supportsInvokeTransforms = yield monitorSupportsFeature(monitorRef, "invokeTransforms");
149
162
  }
150
163
  });
151
164
  }
152
165
  exports.awaitFeatureSupport = awaitFeatureSupport;
153
- /** @internal Used only for testing purposes. */
166
+ /**
167
+ * @internal
168
+ * Used only for testing purposes.
169
+ */
154
170
  function _setQueryMode(val) {
155
171
  const { settings } = state_1.getStore();
156
172
  settings.options.queryMode = val;
157
173
  }
158
174
  exports._setQueryMode = _setQueryMode;
159
- /** @internal Used only for testing purposes */
175
+ /**
176
+ * @internal
177
+ * Used only for testing purposes.
178
+ */
160
179
  function _reset() {
161
180
  resetOptions("", "", -1, "", "", false, "");
162
181
  }
@@ -169,14 +188,16 @@ function isQueryMode() {
169
188
  }
170
189
  exports.isQueryMode = isQueryMode;
171
190
  /**
172
- * Returns true if we will resolve missing outputs to inputs during preview (PULUMI_ENABLE_LEGACY_APPLY).
191
+ * Returns true if we will resolve missing outputs to inputs during preview
192
+ * (`PULUMI_ENABLE_LEGACY_APPLY`).
173
193
  */
174
194
  function isLegacyApplyEnabled() {
175
195
  return options().legacyApply === true;
176
196
  }
177
197
  exports.isLegacyApplyEnabled = isLegacyApplyEnabled;
178
198
  /**
179
- * Returns true (default) if we will cache serialized dynamic providers on the program side
199
+ * Returns true if we will cache serialized dynamic providers on the program
200
+ * side (the default is true).
180
201
  */
181
202
  function cacheDynamicProviders() {
182
203
  return options().cacheDynamicProviders === true;
@@ -195,7 +216,10 @@ function getOrganization() {
195
216
  throw new Error("Missing organization name; for test mode, please call `pulumi.runtime.setMocks`");
196
217
  }
197
218
  exports.getOrganization = getOrganization;
198
- /** @internal Used only for testing purposes. */
219
+ /**
220
+ * @internal
221
+ * Used only for testing purposes.
222
+ */
199
223
  function _setOrganization(val) {
200
224
  const { settings } = state_1.getStore();
201
225
  settings.options.organization = val;
@@ -210,7 +234,10 @@ function getProject() {
210
234
  return project || "";
211
235
  }
212
236
  exports.getProject = getProject;
213
- /** @internal Used only for testing purposes. */
237
+ /**
238
+ * @internal
239
+ * Used only for testing purposes.
240
+ */
214
241
  function _setProject(val) {
215
242
  const { settings } = state_1.getStore();
216
243
  settings.options.project = val;
@@ -225,7 +252,10 @@ function getStack() {
225
252
  return stack || "";
226
253
  }
227
254
  exports.getStack = getStack;
228
- /** @internal Used only for testing purposes. */
255
+ /**
256
+ * @internal
257
+ * Used only for testing purposes.
258
+ */
229
259
  function _setStack(val) {
230
260
  const { settings } = state_1.getStore();
231
261
  settings.options.stack = val;
@@ -233,14 +263,15 @@ function _setStack(val) {
233
263
  }
234
264
  exports._setStack = _setStack;
235
265
  /**
236
- * hasMonitor returns true if we are currently connected to a resource monitoring service.
266
+ * Returns true if we are currently connected to a resource monitoring service.
237
267
  */
238
268
  function hasMonitor() {
239
269
  return !!monitor && !!options().monitorAddr;
240
270
  }
241
271
  exports.hasMonitor = hasMonitor;
242
272
  /**
243
- * getMonitor returns the current resource monitoring service client for RPC communications.
273
+ * Returns the current resource monitoring service client for RPC
274
+ * communications.
244
275
  */
245
276
  function getMonitor() {
246
277
  const { settings } = state_1.getStore();
@@ -282,7 +313,7 @@ function awaitStackRegistrations() {
282
313
  }
283
314
  exports.awaitStackRegistrations = awaitStackRegistrations;
284
315
  /**
285
- * getCallbacks returns the current callbacks for RPC communications.
316
+ * Returns the current callbacks for RPC communications.
286
317
  */
287
318
  function getCallbacks() {
288
319
  const store = state_1.getStore();
@@ -300,7 +331,9 @@ function getCallbacks() {
300
331
  }
301
332
  exports.getCallbacks = getCallbacks;
302
333
  let syncInvokes;
303
- /** @internal */
334
+ /**
335
+ * @internal
336
+ */
304
337
  function tryGetSyncInvokes() {
305
338
  const syncDir = options().syncDir;
306
339
  if (syncInvokes === undefined && syncDir) {
@@ -312,14 +345,15 @@ function tryGetSyncInvokes() {
312
345
  }
313
346
  exports.tryGetSyncInvokes = tryGetSyncInvokes;
314
347
  /**
315
- * hasEngine returns true if we are currently connected to an engine.
348
+ * Returns true if we are currently connected to an engine.
316
349
  */
317
350
  function hasEngine() {
318
351
  return !!engine && !!options().engineAddr;
319
352
  }
320
353
  exports.hasEngine = hasEngine;
321
354
  /**
322
- * getEngine returns the current engine, if any, for RPC communications back to the resource engine.
355
+ * Returns the current engine, if any, for RPC communications back to the
356
+ * resource engine.
323
357
  */
324
358
  function getEngine() {
325
359
  const { settings } = state_1.getStore();
@@ -350,36 +384,42 @@ function terminateRpcs() {
350
384
  }
351
385
  exports.terminateRpcs = terminateRpcs;
352
386
  /**
353
- * serialize returns true if resource operations should be serialized.
387
+ * Returns true if resource operations should be serialized.
354
388
  */
355
389
  function serialize() {
356
390
  return options().parallel === 1;
357
391
  }
358
392
  exports.serialize = serialize;
359
393
  /**
360
- * options returns the options from the environment, which is the source of truth. Options are global per process.
361
- * For CLI driven programs, pulumi-language-nodejs sets environment variables prior to the user program loading,
362
- * meaning that options could be loaded up front and cached.
363
- * Automation API and multi-language components introduced more complex lifecycles for runtime options().
364
- * These language hosts manage the lifecycle of options manually throughout the lifetime of the nodejs process.
365
- * In addition, node module resolution can lead to duplicate copies of @pulumi/pulumi and thus duplicate options
366
- * objects that may not be synced if options are cached upfront. Mutating options must write to the environment
394
+ * Returns the options from the environment, which is the source of truth.
395
+ * Options are global per process.
396
+ *
397
+ * For CLI driven programs, `pulumi-language-nodejs` sets environment variables
398
+ * prior to the user program loading, meaning that options could be loaded up
399
+ * front and cached. Automation API and multi-language components introduced
400
+ * more complex lifecycles for runtime `options()`. These language hosts manage
401
+ * the lifecycle of options manually throughout the lifetime of the NodeJS
402
+ * process. In addition, NodeJS module resolution can lead to duplicate copies
403
+ * of `@pulumi/pulumi` and thus duplicate options objects that may not be synced
404
+ * if options are cached upfront. Mutating options must write to the environment
367
405
  * and reading options must always read directly from the environment.
368
-
369
406
  */
370
407
  function options() {
371
408
  const { settings } = state_1.getStore();
372
409
  return settings.options;
373
410
  }
374
411
  /**
375
- * disconnect permanently disconnects from the server, closing the connections. It waits for the existing RPC
376
- * queue to drain. If any RPCs come in afterwards, however, they will crash the process.
412
+ * Permanently disconnects from the server, closing the connections. It waits
413
+ * for the existing RPC queue to drain. If any RPCs come in afterwards,
414
+ * however, they will crash the process.
377
415
  */
378
416
  function disconnect() {
379
417
  return waitForRPCs(/*disconnectFromServers*/ true);
380
418
  }
381
419
  exports.disconnect = disconnect;
382
- /** @internal */
420
+ /**
421
+ * @internal
422
+ */
383
423
  function waitForRPCs(disconnectFromServers = false) {
384
424
  const localStore = state_1.getStore();
385
425
  let done;
@@ -398,7 +438,7 @@ function waitForRPCs(disconnectFromServers = false) {
398
438
  }
399
439
  exports.waitForRPCs = waitForRPCs;
400
440
  /**
401
- * getMaximumListeners returns the configured number of process listeners available
441
+ * Returns the configured number of process listeners available.
402
442
  */
403
443
  function getMaximumListeners() {
404
444
  const { settings } = state_1.getStore();
@@ -406,8 +446,9 @@ function getMaximumListeners() {
406
446
  }
407
447
  exports.getMaximumListeners = getMaximumListeners;
408
448
  /**
409
- * disconnectSync permanently disconnects from the server, closing the connections. Unlike `disconnect`. it does not
410
- * wait for the existing RPC queue to drain. Any RPCs that come in after this call will crash the process.
449
+ * Permanently disconnects from the server, closing the connections. Unlike
450
+ * `disconnect`. it does not wait for the existing RPC queue to drain. Any RPCs
451
+ * that come in after this call will crash the process.
411
452
  */
412
453
  function disconnectSync() {
413
454
  // Otherwise, actually perform the close activities (ignoring errors and crashes).
@@ -437,8 +478,9 @@ function disconnectSync() {
437
478
  }
438
479
  exports.disconnectSync = disconnectSync;
439
480
  /**
440
- * rpcKeepAlive registers a pending call to ensure that we don't prematurely disconnect from the server. It returns
441
- * a function that, when invoked, signals that the RPC has completed.
481
+ * Registers a pending call to ensure that we don't prematurely disconnect from
482
+ * the server. It returns a function that, when invoked, signals that the RPC
483
+ * has completed.
442
484
  */
443
485
  function rpcKeepAlive() {
444
486
  const localStore = state_1.getStore();
@@ -452,7 +494,8 @@ function rpcKeepAlive() {
452
494
  }
453
495
  exports.rpcKeepAlive = rpcKeepAlive;
454
496
  /**
455
- * setRootResource registers a resource that will become the default parent for all resources without explicit parents.
497
+ * Registers a resource that will become the default parent for all resources
498
+ * without explicit parents.
456
499
  */
457
500
  function setRootResource(res) {
458
501
  return __awaiter(this, void 0, void 0, function* () {
@@ -1 +1 @@
1
- {"version":3,"file":"settings.js","sourceRoot":"","sources":["../../runtime/settings.ts"],"names":[],"mappings":";AAAA,2CAA2C;AAC3C,EAAE;AACF,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,iDAAiD;AACjD,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;;;;;;;;;;;;;;;;;;AAEjC,oDAAsC;AACtC,uCAAyB;AACzB,2CAA6B;AAE7B,2CAA8D;AAC9D,6CAAiD;AACjD,mCAAkD;AAElD,gEAAkD;AAClD,6DAA+C;AAC/C,kEAAoD;AACpD,+DAAiD;AAEjD,iGAAiG;AACjG,gBAAgB;AACH,QAAA,iBAAiB,GAAW,IAAI,GAAG,IAAI,GAAG,GAAG,CAAC;AAC3D,MAAM,kBAAkB,GAAG,EAAE,iCAAiC,EAAE,yBAAiB,EAAE,CAAC;AAEpF;;GAEG;AACU,QAAA,oBAAoB,GAAY,KAAK,CAAC;AAwBnD,IAAI,OAAiD,CAAC;AACtD,IAAI,MAAuC,CAAC;AAE5C,0EAA0E;AAC1E,mEAAmE;AACnE,SAAgB,YAAY,CACxB,OAAe,EACf,KAAa,EACb,QAAgB,EAChB,UAAkB,EAClB,WAAmB,EACnB,OAAgB,EAChB,YAAoB;IAEpB,MAAM,KAAK,GAAG,gBAAQ,EAAE,CAAC;IAEzB,OAAO,GAAG,SAAS,CAAC;IACpB,MAAM,GAAG,SAAS,CAAC;IAEnB,KAAK,CAAC,QAAQ,CAAC,OAAO,GAAG,SAAS,CAAC;IACnC,KAAK,CAAC,QAAQ,CAAC,MAAM,GAAG,SAAS,CAAC;IAClC,KAAK,CAAC,QAAQ,CAAC,OAAO,GAAG,OAAO,CAAC,OAAO,EAAE,CAAC;IAC3C,KAAK,CAAC,QAAQ,CAAC,cAAc,GAAG,EAAE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2
  import { ComponentResource, ResourceTransform, ResourceTransformation } from "../resource";
3
+ import { InvokeTransform } from "../invoke";
3
4
  /**
4
- * rootPulumiStackTypeName is the type name that should be used to construct the root component in the tree of Pulumi
5
- * resources allocated by a deployment. This must be kept up to date with
6
- * `github.com/pulumi/pulumi/sdk/v3/go/common/resource/stack.RootStackType`.
5
+ * The type name that should be used to construct the root component in the tree
6
+ * of Pulumi resources allocated by a deployment. This must be kept up to date
7
+ * with `github.com/pulumi/pulumi/sdk/v3/go/common/resource/stack.RootStackType`.
7
8
  */
8
9
  export declare const rootPulumiStackTypeName = "pulumi:pulumi:Stack";
9
10
  /**
10
- * runInPulumiStack creates a new Pulumi stack resource and executes the callback inside of it. Any outputs
11
- * returned by the callback will be stored as output properties on this resulting Stack object.
11
+ * Creates a new Pulumi stack resource and executes the callback inside of it.
12
+ * Any outputs returned by the callback will be stored as output properties on
13
+ * this resulting Stack object.
12
14
  */
13
15
  export declare function runInPulumiStack(init: () => Promise<any>): Promise<Inputs | undefined>;
14
16
  /**
15
- * Stack is the root resource for a Pulumi stack. Before invoking the `init` callback, it registers itself as the root
16
- * resource with the Pulumi engine.
17
+ * {@link Stack} is the root resource for a Pulumi stack. Before invoking the
18
+ * `init` callback, it registers itself as the root resource with the Pulumi
19
+ * engine.
17
20
  */
18
21
  export declare class Stack extends ComponentResource<Inputs> {
19
22
  /**
@@ -22,27 +25,37 @@ export declare class Stack extends ComponentResource<Inputs> {
22
25
  readonly outputs: Output<Inputs>;
23
26
  constructor(init: () => Promise<Inputs>);
24
27
  /**
25
- * runInit invokes the given init callback with this resource set as the root resource. The return value of init is
26
- * used as the stack's output properties.
28
+ * Invokes the given `init` callback with this resource set as the root
29
+ * resource. The return value of init is used as the stack's output
30
+ * properties.
27
31
  *
28
- * @param args.init The callback to run in the context of this Pulumi stack
32
+ * @param args.init
33
+ * The callback to run in the context of this Pulumi stack
29
34
  */
30
35
  initialize(args: {
31
36
  init: () => Promise<Inputs>;
32
37
  }): Promise<Inputs>;
33
38
  }
34
39
  /**
35
- * Add a transformation to all future resources constructed in this Pulumi stack.
40
+ * Add a transformation to all future resources constructed in this Pulumi
41
+ * stack.
36
42
  */
37
43
  export declare function registerStackTransformation(t: ResourceTransformation): void;
38
44
  /**
39
- * Add a transformation to all future resources constructed in this Pulumi stack.
45
+ * Add a transformation to all future resources constructed in this Pulumi
46
+ * stack.
40
47
  */
41
48
  export declare function registerResourceTransform(t: ResourceTransform): void;
42
49
  /**
43
- * Add a transformation to all future resources constructed in this Pulumi stack.
50
+ * Add a transformation to all future resources constructed in this Pulumi
51
+ * stack.
44
52
  *
45
- * @deprecated Use `registerResourceTransform` instead.
53
+ * @deprecated
54
+ * Use `registerResourceTransform` instead.
46
55
  */
47
56
  export declare function registerStackTransform(t: ResourceTransform): void;
57
+ /**
58
+ * Add a transformation to all future invoke calls in this Pulumi stack.
59
+ */
60
+ export declare function registerInvokeTransform(t: InvokeTransform): void;
48
61
  export declare function getStackResource(): Stack | undefined;