Package com.pulumi.resources
Interface ResourceTransformation
-
public interface ResourceTransformation
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
ResourceTransformation.Args
static class
ResourceTransformation.Result
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Optional<ResourceTransformation.Result>
apply(ResourceTransformation.Args args)
ResourceTransformation#apply is the callback signature for @seeResourceOptions.getResourceTransformations()
.
-
-
-
Method Detail
-
apply
java.util.Optional<ResourceTransformation.Result> apply(ResourceTransformation.Args args)
ResourceTransformation#apply is the callback signature for @seeResourceOptions.getResourceTransformations()
. A transformation is passed the same set of inputs provided to the @seeResource
constructor, and can optionally return back alternate values for the "properties" and/or "options" prior to the resource actually being created. The effect will be as though those "properties" and/or "options" were passed in place of the original call to the @seeResource
constructor.- Returns:
- The new values to use for the "args" and "options" of the @see
Resource
in place of the originally provided values. Returns @seeOptional.empty()
if the resource will not be transformed.
-
-