Class StackOptions

java.lang.Object
com.pulumi.resources.StackOptions

@ParametersAreNonnullByDefault public class StackOptions extends Object
See Also:
  • Field Details

  • Constructor Details

  • Method Details

    • resourceTransformations

      public List<ResourceTransformation> resourceTransformations()
      Optional list of transformations to apply to this stack's resources during construction. The transformations are applied in order, and are applied after all the transformations of custom and component resources in the stack.
      Returns:
      list of transformations to apply to children resources
    • builder

      public static StackOptions.Builder builder()
      Returns:
      a StackOptions builder instance
    • merge

      public static StackOptions merge(@Nullable StackOptions options1, @Nullable StackOptions options2)
      Takes two StackOptions values and produces a new StackOptions with the respective properties of "options2" merged over the same properties in "options1".

      The original options objects will be unchanged. A new instance will always be returned.

      Parameters:
      options1 - first options to merge
      options2 - second options to merge
      Returns:
      a new StackOptions with merged values