Create a StackReference resource with the given unique name, arguments, and options.
If args is not specified, the name of the referenced stack will be the name of the StackReference resource.
The unique name of the stack reference.
Optional
args: StackReferenceArgsThe arguments to use to populate this resource's properties.
Optional
opts: CustomResourceOptionsA bag of options that control this resource's behavior.
Readonly
idThe provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.
Readonly
nameThe name of the referenced stack.
Readonly
outputsThe outputs of the referenced stack.
Readonly
secretThe names of any stack outputs which contain secrets.
Readonly
urnThe stable logical URN used to distinctly address a resource, both before and after deployments.
Fetches the value of the named stack output and builds a StackReferenceOutputDetails with it.
The returned object has its value
or secretValue
fields set depending
on wehther the output is a secret. Neither field is set if the output was
not found.
The name of the stack output to fetch.
Fetches the value promptly of the named stack output. May return undefined if the value is not known for some reason.
This operation is not supported (and will throw) if the named stack output is a secret.
The name of the stack output to fetch.
Returns the provider for the given module member, if one exists.
Fetches the value promptly of the named stack output. Throws an error if the stack output is not found.
This operation is not supported (and will throw) if the named stack output is a secret.
The name of the stack output to fetch.
Static
isReturns true if the given object is a CustomResource. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.
Generated using TypeDoc
Manages a reference to a Pulumi stack. The referenced stack's outputs are available via the StackReference.outputs property or the StackReference.output method.