1. Docs
  2. Reference
  3. REST API Docs
  4. Schema
  5. AppResourcePreEvent

AppResourcePreEvent

    ResourcePreEvent is emitted before a resource is modified.

    Properties

    • metadata AppStepEventMetadata required
      The metadata
    • op enum required
      Op is the operation being performed.
      Values: same, create, update, delete, replace, create-replacement, delete-replaced, read, read-replacement, refresh, discard, discard-replaced, remove-pending-replace, import, import-replacement
    • urn string required
      The Pulumi URN
    • type string required
      The type
    • old AppStepEventStateMetadata required
      Old is the state of the resource before performing the step.
    • new AppStepEventStateMetadata required
      New is the state of the resource after performing the step.
    • keys array[string] optional
      Keys causing a replacement (only applicable for create and replace Ops).
    • diffs array[string] optional
      Keys that changed with this step.
    • detailedDiff map[string]AppPropertyDiff required
      The diff for this step as a map of property paths to difference types. An empty map indicates no detailed property-level diff is available; if this field is omitted or null, the diff was not computed.
    • logical boolean optional
      Logical is set if the step is a logical operation in the program.
    • provider string required
      Provider actually performing the step.
    • planning boolean optional
      Whether planning is enabled