@pulumi/pulumi 3.124.0 → 3.124.1-alpha.x47fa329

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.
@@ -1,8 +1,9 @@
1
1
  import { Input, Output } from "./output";
2
2
  import { CustomResource, CustomResourceOptions } from "./resource";
3
3
  /**
4
- * Manages a reference to a Pulumi stack. The referenced stack's outputs are available via the
5
- * `outputs` property or the `output` method.
4
+ * Manages a reference to a Pulumi stack. The referenced stack's outputs are
5
+ * available via the {@link StackReference.outputs} property or the
6
+ * {@link StackReference.output} method.
6
7
  */
7
8
  export declare class StackReference extends CustomResource {
8
9
  /**
@@ -20,60 +21,74 @@ export declare class StackReference extends CustomResource {
20
21
  */
21
22
  readonly secretOutputNames: Output<string[]>;
22
23
  /**
23
- * Create a StackReference resource with the given unique name, arguments, and options.
24
+ * Create a {@link StackReference} resource with the given unique name,
25
+ * arguments, and options.
24
26
  *
25
- * If args is not specified, the name of the referenced stack will be the name of the StackReference resource.
27
+ * If args is not specified, the name of the referenced stack will be the
28
+ * name of the {@link StackReference} resource.
26
29
  *
27
- * @param name The _unique_ name of the stack reference.
28
- * @param args The arguments to use to populate this resource's properties.
29
- * @param opts A bag of options that control this resource's behavior.
30
+ * @param name
31
+ * The _unique_ name of the stack reference.
32
+ * @param args
33
+ * The arguments to use to populate this resource's properties.
34
+ * @param opts
35
+ * A bag of options that control this resource's behavior.
30
36
  */
31
37
  constructor(name: string, args?: StackReferenceArgs, opts?: CustomResourceOptions);
32
38
  /**
33
- * Fetches the value of the named stack output, or undefined if the stack output was not found.
39
+ * Fetches the value of the named stack output, or `undefined` if the stack
40
+ * output was not found.
34
41
  *
35
- * @param name The name of the stack output to fetch.
42
+ * @param name
43
+ * The name of the stack output to fetch.
36
44
  */
37
45
  getOutput(name: Input<string>): Output<any>;
38
46
  /**
39
- * Fetches the value of the named stack output, or throws an error if the output was not found.
47
+ * Fetches the value of the named stack output, or throws an error if the
48
+ * output was not found.
40
49
  *
41
- * @param name The name of the stack output to fetch.
50
+ * @param name
51
+ * The name of the stack output to fetch.
42
52
  */
43
53
  requireOutput(name: Input<string>): Output<any>;
44
54
  /**
45
- * Fetches the value of the named stack output
46
- * and builds a StackReferenceOutputDetails with it.
55
+ * Fetches the value of the named stack output and builds a
56
+ * {@link StackReferenceOutputDetails} with it.
47
57
  *
48
- * The returned object has its `value` or `secretValue` fields set
49
- * depending on wehther the output is a secret.
50
- * Neither field is set if the output was not found.
58
+ * The returned object has its `value` or `secretValue` fields set depending
59
+ * on wehther the output is a secret. Neither field is set if the output was
60
+ * not found.
51
61
  *
52
- * @param name The name of the stack output to fetch.
62
+ * @param name
63
+ * The name of the stack output to fetch.
53
64
  */
54
65
  getOutputDetails(name: string): Promise<StackReferenceOutputDetails>;
55
66
  /**
56
- * Fetches the value promptly of the named stack output. May return undefined if the value is
57
- * not known for some reason.
67
+ * Fetches the value promptly of the named stack output. May return
68
+ * undefined if the value is not known for some reason.
58
69
  *
59
- * This operation is not supported (and will throw) if the named stack output is a secret.
70
+ * This operation is not supported (and will throw) if the named stack
71
+ * output is a secret.
60
72
  *
61
- * @param name The name of the stack output to fetch.
73
+ * @param name
74
+ * The name of the stack output to fetch.
62
75
  */
63
76
  getOutputValue(name: string): Promise<any>;
64
77
  /**
65
- * Fetches the value promptly of the named stack output. Throws an error if the stack output is
66
- * not found.
78
+ * Fetches the value promptly of the named stack output. Throws an error if
79
+ * the stack output is not found.
67
80
  *
68
- * This operation is not supported (and will throw) if the named stack output is a secret.
81
+ * This operation is not supported (and will throw) if the named stack
82
+ * output is a secret.
69
83
  *
70
- * @param name The name of the stack output to fetch.
84
+ * @param name
85
+ * The name of the stack output to fetch.
71
86
  */
72
87
  requireOutputValue(name: string): Promise<any>;
73
88
  private readOutputValue;
74
89
  }
75
90
  /**
76
- * The set of arguments for constructing a StackReference resource.
91
+ * The set of arguments for constructing a {@link StackReference} resource.
77
92
  */
78
93
  export interface StackReferenceArgs {
79
94
  /**
@@ -82,18 +97,20 @@ export interface StackReferenceArgs {
82
97
  readonly name?: Input<string>;
83
98
  }
84
99
  /**
85
- * Records the output of a StackReference.
86
- * At most one of th evalue and secretValue fields will be set.
100
+ * Records the output of a {@link StackReference}. Exactly one of `value` or
101
+ * `secretValue` will be set.
87
102
  */
88
103
  export interface StackReferenceOutputDetails {
89
104
  /**
90
- * Output value returned by the StackReference.
91
- * This is null if the value is a secret or it does not exist.
105
+ * An output value returned by the {@link StackReference}.
106
+ *
107
+ * This is `null` if the value is a secret or it does not exist.
92
108
  */
93
109
  readonly value?: any;
94
110
  /**
95
- * Secret value returned by the StackReference.
96
- * This is null if the value is not a secret or it does not exist.
111
+ * A secret value returned by the {@link StackReference}.
112
+ *
113
+ * This is `null` if the value is not a secret or it does not exist.
97
114
  */
98
115
  readonly secretValue?: any;
99
116
  }
package/stackReference.js CHANGED
@@ -25,18 +25,24 @@ Object.defineProperty(exports, "__esModule", { value: true });
25
25
  const output_1 = require("./output");
26
26
  const resource_1 = require("./resource");
27
27
  /**
28
- * Manages a reference to a Pulumi stack. The referenced stack's outputs are available via the
29
- * `outputs` property or the `output` method.
28
+ * Manages a reference to a Pulumi stack. The referenced stack's outputs are
29
+ * available via the {@link StackReference.outputs} property or the
30
+ * {@link StackReference.output} method.
30
31
  */
31
32
  class StackReference extends resource_1.CustomResource {
32
33
  /**
33
- * Create a StackReference resource with the given unique name, arguments, and options.
34
+ * Create a {@link StackReference} resource with the given unique name,
35
+ * arguments, and options.
34
36
  *
35
- * If args is not specified, the name of the referenced stack will be the name of the StackReference resource.
37
+ * If args is not specified, the name of the referenced stack will be the
38
+ * name of the {@link StackReference} resource.
36
39
  *
37
- * @param name The _unique_ name of the stack reference.
38
- * @param args The arguments to use to populate this resource's properties.
39
- * @param opts A bag of options that control this resource's behavior.
40
+ * @param name
41
+ * The _unique_ name of the stack reference.
42
+ * @param args
43
+ * The arguments to use to populate this resource's properties.
44
+ * @param opts
45
+ * A bag of options that control this resource's behavior.
40
46
  */
41
47
  constructor(name, args, opts) {
42
48
  args = args || {};
@@ -48,9 +54,11 @@ class StackReference extends resource_1.CustomResource {
48
54
  }, Object.assign(Object.assign({}, opts), { id: stackReferenceName }));
49
55
  }
50
56
  /**
51
- * Fetches the value of the named stack output, or undefined if the stack output was not found.
57
+ * Fetches the value of the named stack output, or `undefined` if the stack
58
+ * output was not found.
52
59
  *
53
- * @param name The name of the stack output to fetch.
60
+ * @param name
61
+ * The name of the stack output to fetch.
54
62
  */
55
63
  getOutput(name) {
56
64
  // Note that this is subtly different from "apply" here. A default "apply" will set the secret bit if any
@@ -62,9 +70,11 @@ class StackReference extends resource_1.CustomResource {
62
70
  return new output_1.Output(value.resources(), value.promise(), value.isKnown, isSecretOutputName(this, output_1.output(name)), value.allResources());
63
71
  }
64
72
  /**
65
- * Fetches the value of the named stack output, or throws an error if the output was not found.
73
+ * Fetches the value of the named stack output, or throws an error if the
74
+ * output was not found.
66
75
  *
67
- * @param name The name of the stack output to fetch.
76
+ * @param name
77
+ * The name of the stack output to fetch.
68
78
  */
69
79
  requireOutput(name) {
70
80
  const value = output_1.all([output_1.output(this.name), output_1.output(name), this.outputs]).apply(([stackname, n, os]) => {
@@ -76,14 +86,15 @@ class StackReference extends resource_1.CustomResource {
76
86
  return new output_1.Output(value.resources(), value.promise(), value.isKnown, isSecretOutputName(this, output_1.output(name)), value.allResources());
77
87
  }
78
88
  /**
79
- * Fetches the value of the named stack output
80
- * and builds a StackReferenceOutputDetails with it.
89
+ * Fetches the value of the named stack output and builds a
90
+ * {@link StackReferenceOutputDetails} with it.
81
91
  *
82
- * The returned object has its `value` or `secretValue` fields set
83
- * depending on wehther the output is a secret.
84
- * Neither field is set if the output was not found.
92
+ * The returned object has its `value` or `secretValue` fields set depending
93
+ * on wehther the output is a secret. Neither field is set if the output was
94
+ * not found.
85
95
  *
86
- * @param name The name of the stack output to fetch.
96
+ * @param name
97
+ * The name of the stack output to fetch.
87
98
  */
88
99
  getOutputDetails(name) {
89
100
  return __awaiter(this, void 0, void 0, function* () {
@@ -97,12 +108,14 @@ class StackReference extends resource_1.CustomResource {
97
108
  });
98
109
  }
99
110
  /**
100
- * Fetches the value promptly of the named stack output. May return undefined if the value is
101
- * not known for some reason.
111
+ * Fetches the value promptly of the named stack output. May return
112
+ * undefined if the value is not known for some reason.
102
113
  *
103
- * This operation is not supported (and will throw) if the named stack output is a secret.
114
+ * This operation is not supported (and will throw) if the named stack
115
+ * output is a secret.
104
116
  *
105
- * @param name The name of the stack output to fetch.
117
+ * @param name
118
+ * The name of the stack output to fetch.
106
119
  */
107
120
  getOutputValue(name) {
108
121
  return __awaiter(this, void 0, void 0, function* () {
@@ -114,12 +127,14 @@ class StackReference extends resource_1.CustomResource {
114
127
  });
115
128
  }
116
129
  /**
117
- * Fetches the value promptly of the named stack output. Throws an error if the stack output is
118
- * not found.
130
+ * Fetches the value promptly of the named stack output. Throws an error if
131
+ * the stack output is not found.
119
132
  *
120
- * This operation is not supported (and will throw) if the named stack output is a secret.
133
+ * This operation is not supported (and will throw) if the named stack
134
+ * output is a secret.
121
135
  *
122
- * @param name The name of the stack output to fetch.
136
+ * @param name
137
+ * The name of the stack output to fetch.
123
138
  */
124
139
  requireOutputValue(name) {
125
140
  return __awaiter(this, void 0, void 0, function* () {
@@ -1 +1 @@
1
- {"version":3,"file":"stackReference.js","sourceRoot":"","sources":["../stackReference.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,qCAAsD;AACtD,yCAAmE;AAEnE;;;GAGG;AACH,MAAa,cAAe,SAAQ,yBAAc;IAgB9C;;;;;;;;OAQG;IACH,YAAY,IAAY,EAAE,IAAyB,EAAE,IAA4B;QAC7E,IAAI,GAAG,IAAI,IA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E,IAAI,CAAC,YAAY,CAAC,CAAC;YACjG,IAAI,QAAQ,EAAE;gBACV,MAAM,IAAI,KAAK,CACX,2GAA2G,CAC9G,CAAC;aACL;YACD,OAAO,GAAG,CAAC;QACf,CAAC;KAAA;IAEa,eAAe,CAAC,UAAkB,EAAE,UAAkB,EAAE,QAAiB;;YACnF,MAAM,GAAG,GAAG,QAAQ,CAAC,CAAC,CAAC,IAAI,CAAC,aAAa,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,UAAU,CAAC,CAAC;YACnF,OAAO,OAAO,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,OAAO,EAAE,EAAE,GAAG,CAAC,QAAQ,CAAC,CAAC,CAAC;QACtD,CAAC;KAAA;CACJ;AA9JD,wCA8JC;AA+BD,SAAe,kBAAkB,CAAC,EAAkB,EAAE,IAAmB;;QACrE,MAAM,UAAU,GAAG,eAAM,CAAC,IAAI,CAAC,CAAC;QAEhC,0GAA0G;QAC1G,4CAA4C;QAC5C,IAAI,CAAC,CAAC,CAAC,MAAM,UAAU,CAAC,OAAO,CAAC,IAAI,CAAC,MAAM,EAAE,CAAC,iBAAiB,CAAC,OAAO,CAAC,CAAC,EAAE;YACvE,OAAO,MAAM,EAAE,CAAC,OAAO,CAAC,QAAQ,CAAC;SACpC;QAED,wGAAwG;QACxG,uGAAuG;QACvG,mGAAmG;QACnG,MAAM,KAAK,GAAG,MAAM,EAAE,CAAC,iBAAiB,CAAC,OAAO,EAAE,CAAC;QACnD,IAAI,CAAC,KAAK,EAAE;YACR,OAAO,MAAM,EAAE,CAAC,OAAO,CAAC,QAAQ,CAAC;SACpC;QAED,OAAO,KAAK,CAAC,QAAQ,CAAC,MAAM,UAAU,CAAC,OAAO,EAAE,CAAC,CAAC;IACtD,CAAC;CAAA"}
package/tsutils.js CHANGED
@@ -23,7 +23,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
23
23
  const fs = __importStar(require("fs"));
24
24
  const path = __importStar(require("path"));
25
25
  const log = __importStar(require("./log"));
26
- /** @internal */
26
+ /**
27
+ * @internal
28
+ */
27
29
  function loadTypeScriptCompilerOptions(tsConfigPath) {
28
30
  var _a;
29
31
  try {
@@ -41,7 +43,9 @@ function loadTypeScriptCompilerOptions(tsConfigPath) {
41
43
  }
42
44
  exports.loadTypeScriptCompilerOptions = loadTypeScriptCompilerOptions;
43
45
  /**
44
- * @internal Determine the strings used for requiring typescript and ts-node.
46
+ * Determine the strings used for requiring `typescript` and `ts-node`.
47
+ *
48
+ * @internal
45
49
  */
46
50
  function typeScriptRequireStrings() {
47
51
  let typescriptRequire = "typescript";
package/tsutils.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"tsutils.js","sourceRoot":"","sources":["../tsutils.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;;;;;;;;;AAKjC,uCAAyB;AACzB,2CAA6B;AAC7B,2CAA6B;AAE7B,gBAAgB;AAChB,SAAgB,6BAA6B,CAAC,YAAoB;;IAC9D,IAAI;QACA,MAAM,cAAc,GAAG,EAAE,CAAC,YAAY,CAAC,YAAY,CAAC,CAAC,QAAQ,EAAE,CAAC;QAChE,qEAAqE;QACrE,sEAAsE;QACtE,MAAM,EAAE,GAAsB,OAAO,CAAC,mBAAmB,CAAC,CAAC;QAC3D,MAAM,QAAQ,GAAG,EAAE,CAAC,yBAAyB,CAAC,YAAY,EAAE,cAAc,CAAC,CAAC,MAAM,CAAC;QACnF,aAAO,QAAQ,CAAC,iBAAiB,CAAC,mCAAI,EAAE,CAAC;KAC5C;IAAC,OAAO,GAAG,EAAE;QACV,GAAG,CAAC,KAAK,CAAC,yCAAyC,YAAY,OAAO,GAAG,EAAE,CAAC,CAAC;QAC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AC,iCAAiC,CAAC,CAAC;KAChD;IACD,IAAI;QACA,wCAAwC;QACxC,MAAM,GAAG,GAAkB,OAAO,CAAC,aAAa,CAAC,CAAC;QAClD,MAAM,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC;QAC3C,GAAG,CAAC,KAAK,CAAC,0BAA0B,GAAG,CAAC,OAAO,OAAO,OAAO,EAAE,CAAC,CAAC;KACpE;IAAC,OAAO,KAAK,EAAE;QACZ,mCAAmC;QACnC,aAAa,GAAG,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE,QAAQ,EAAE,eAAe,CAAC,CAAC;QAChE,GAAG,CAAC,KAAK,CAAC,8BAA8B,CAAC,CAAC;KAC7C;IAED,OAAO;QACH,iBAAiB;QACjB,aAAa;KAChB,CAAC;AACN,CAAC;AA7BD,4DA6BC"}
package/utils.js CHANGED
@@ -29,7 +29,9 @@ function isInstance(obj, name) {
29
29
  return hasTrueBooleanMember(obj, name);
30
30
  }
31
31
  exports.isInstance = isInstance;
32
- /** @internal */
32
+ /**
33
+ * @internal
34
+ */
33
35
  function hasTrueBooleanMember(obj, memberName) {
34
36
  if (obj === undefined || obj === null) {
35
37
  return false;
@@ -41,7 +43,9 @@ function hasTrueBooleanMember(obj, memberName) {
41
43
  return val === true;
42
44
  }
43
45
  exports.hasTrueBooleanMember = hasTrueBooleanMember;
44
- /** @internal */
46
+ /**
47
+ * @internal
48
+ */
45
49
  function hasFunctionMember(obj, memberName) {
46
50
  if (obj === undefined || obj === null) {
47
51
  return false;
@@ -53,7 +57,6 @@ function hasFunctionMember(obj, memberName) {
53
57
  return true;
54
58
  }
55
59
  exports.hasFunctionMember = hasFunctionMember;
56
- // Workaround errors we sometimes get on some machines saying that Object.values is not available.
57
60
  /**
58
61
  * A polyfill for Object.values
59
62
  *
@@ -67,14 +70,20 @@ function values(obj) {
67
70
  return result;
68
71
  }
69
72
  exports.values = values;
70
- /** @internal */
73
+ /**
74
+ * @internal
75
+ */
71
76
  function union(set1, set2) {
72
77
  return new Set([...set1, ...set2]);
73
78
  }
74
79
  exports.union = union;
75
- /** @internal */
80
+ /**
81
+ * @internal
82
+ */
76
83
  exports.disableResourceReferences = process.env.PULUMI_DISABLE_RESOURCE_REFERENCES === "1" ||
77
84
  ((_a = process.env.PULUMI_DISABLE_RESOURCE_REFERENCES) !== null && _a !== void 0 ? _a : "").toUpperCase() === "TRUE";
78
- /** @internal */
85
+ /**
86
+ * @internal
87
+ */
79
88
  exports.errorOutputString = process.env.PULUMI_ERROR_OUTPUT_STRING === "1" || ((_b = process.env.PULUMI_ERROR_OUTPUT_STRING) === null || _b === void 0 ? void 0 : _b.toUpperCase()) === "TRUE";
80
89
  //# sourceMappingURL=utils.js.map
package/utils.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"utils.js","sourceRoot":"","sources":["../utils.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;;;;;;;;;;GAUG;AACH,SAAgB,UAAU,CAAI,GAAQ,EAAE,IAAa;IACjD,OAAO,oBAAoB,CAAC,GAAG,EAAE,IAAI,CAAC,CAAC;AAC3C,CAAC;AAFD,gCAEC;AAED,gBAAgB;AAChB,SAAgB,oBAAoB,CAAC,GAAQ,EAAE,UAAoC;IAC/E,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;QACnC,OAAO,KAAK,CAAC;KAChB;IAED,MAAM,GAAG,GAAG,GAAG,CAAC,UAAU,CAAC,CAAC;IAC5B,IAAI,OAAO,GAAG,KAAK,SAAS,EAAE;QAC1B,OAAO,KAAK,CAAC;KAChB;IAED,OAAO,GAAG,KAAK,IAAI,CAAC;AACxB,CAAC;AAXD,oDAWC;AAED,gBAA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;AACH,SAAgB,KAAK,CAAI,IAAY,EAAE,IAAY;IAC/C,OAAO,IAAI,GAAG,CAAC,CAAC,GAAG,IAAI,EAAE,GAAG,IAAI,CAAC,CAAC,CAAC;AACvC,CAAC;AAFD,sBAEC;AAED;;GAEG;AACU,QAAA,yBAAyB,GAClC,OAAO,CAAC,GAAG,CAAC,kCAAkC,KAAK,GAAG;IACtD,OAAC,OAAO,CAAC,GAAG,CAAC,kCAAkC,mCAAI,EAAE,CAAC,CAAC,WAAW,EAAE,KAAK,MAAM,CAAC;AAEpF;;GAEG;AACU,QAAA,iBAAiB,GAC1B,OAAO,CAAC,GAAG,CAAC,0BAA0B,KAAK,GAAG,IAAI,OAAA,OAAO,CAAC,GAAG,CAAC,0BAA0B,0CAAE,WAAW,QAAO,MAAM,CAAC"}
package/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const version = "3.124.0";
1
+ export declare const version = "3.124.1";
package/version.js CHANGED
@@ -13,5 +13,5 @@
13
13
  // See the License for the specific language governing permissions and
14
14
  // limitations under the License.
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.version = "3.124.0";
16
+ exports.version = "3.124.1-alpha.x47fa329";
17
17
  //# sourceMappingURL=version.js.map