Package com.pulumi.resources
Class Stash
java.lang.Object
com.pulumi.resources.Resource
com.pulumi.resources.CustomResource
com.pulumi.resources.Stash
Stash stores an arbitrary value in the stack's state for later retrieval.
The output property preserves the initial input value even when the input is updated.
-
Nested Class Summary
Nested classes/interfaces inherited from class com.pulumi.resources.CustomResource
CustomResource.CustomResourceInternalNested classes/interfaces inherited from class com.pulumi.resources.Resource
Resource.LazyField<T>, Resource.LazyFields, Resource.ResourceInternal -
Field Summary
Fields inherited from class com.pulumi.resources.Resource
childResources, remote -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.pulumi.resources.CustomResource
id, idFutureMethods inherited from class com.pulumi.resources.Resource
pulumiChildResources, pulumiResourceName, pulumiResourceType, urn
-
Constructor Details
-
Stash
Create aStashresource with the given unique name and arguments.- Parameters:
name- The unique name of the stash resource.args- The arguments to use to populate this resource's properties.
-
Stash
Create aStashresource with the given unique name, arguments, and options.- Parameters:
name- The unique name of the stash resource.args- The arguments to use to populate this resource's properties.options- A bag of options that control this resource's behavior.
-
-
Method Details
-
input
The most recent value passed to the stash resource.- Returns:
- the input value
-
output
The value saved in the state for the stash. This preserves the initial input value even when the input is updated in future deployments.- Returns:
- the output value
-