Show / Hide Table of Contents

Delegate ResourceTransformation

ResourceTransformation is the callback signature for ResourceTransformations. A transformation is passed the same set of inputs provided to the Resource 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 Resource constructor. If the transformation returns null, this indicates that the resource will not be transformed.

Namespace: Pulumi
Assembly: Pulumi.dll
Syntax
public delegate ResourceTransformationResult? ResourceTransformation(ResourceTransformationArgs args);
Parameters
Type Name Description
ResourceTransformationArgs args
Returns
Type Description
System.Nullable<ResourceTransformationResult>

The new values to use for the args and options of the Resource in place of the originally provided values.

  • View Source
Back to top Copyright 2016-2022, Pulumi Corporation.