# Functions
All returns a CustomizeDiffFunc that runs all of the given CustomizeDiffFuncs and returns all of the errors produced.
ComputedIf returns a CustomizeDiffFunc that sets the given key's new value as computed if the given condition function returns true.
ForceNewIf returns a CustomizeDiffFunc that flags the given key as requiring a new resource if the given condition function returns true.
ForceNewIfChange returns a CustomizeDiffFunc that flags the given key as requiring a new resource if the given condition function returns true.
If returns a CustomizeDiffFunc that calls the given condition function and then calls the given CustomizeDiffFunc only if the condition function returns true.
IfValue returns a CustomizeDiffFunc that calls the given condition function with the new values of the given key and then calls the given CustomizeDiffFunc only if the condition function returns true.
IfValueChange returns a CustomizeDiffFunc that calls the given condition function with the old and new values of the given key and then calls the given CustomizeDiffFunc only if the condition function returns true.
Sequence returns a CustomizeDiffFunc that runs all of the given CustomizeDiffFuncs in sequence, stopping at the first one that returns an error and returning that error.
ValidateChange returns a CustomizeDiffFunc that applies the given validation function to the change for the given key, returning any error produced.
ValidateValue returns a CustomizeDiffFunc that applies the given validation function to value of the given key, returning any error produced.
# Type aliases
ResourceConditionFunc is a function type that makes a boolean decision based on an entire resource diff.
ValueChangeConditionFunc is a function type that makes a boolean decision by comparing two values.
ValueChangeValidationFunc is a function type that validates the difference (or lack thereof) between two values, returning an error if the change is invalid.
ValueConditionFunc is a function type that makes a boolean decision based on a given value.
ValueValidationFunc is a function type that validates a particular value, returning an error if the value is invalid.