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

AppResourceV3

    ResourceV3 is the third version of the Resource API type. It absorbs a few breaking changes:

    1. It adds a map from input property names to the dependencies that affect that input property. This is used to improve the precision of delete-before-create operations.
    2. It adds a new boolean field, PendingReplacement, that marks resources that have been deleted as part of a delete-before-create operation but have not yet been recreated. Migrating from ResourceV2 to ResourceV3 involves:
    3. Populating the map from input property names to dependencies by assuming that every dependency listed in Dependencies affects every input property.

    Properties

    • urn string required
      URN uniquely identifying this resource.
    • custom boolean required
      Custom is true when it is managed by a plugin.
    • delete boolean optional
      Delete is true when the resource should be deleted during the next update.
    • id string optional
      ID is the provider-assigned resource, if any, for custom resources.
    • type string required
      Type is the resource’s full type token.
    • inputs map[string]object optional
      Inputs are the input properties supplied to the provider.
    • outputs map[string]object optional
      Outputs are the output properties returned by the provider after provisioning.
    • parent string optional
      Parent is an optional parent URN if this resource is a child of it.
    • protect boolean optional
      Protect is set to true when this resource is “protected” and may not be deleted.
    • taint boolean optional
      Taint is set to true when we wish to force it to be replaced upon the next update.
    • external boolean optional
      External is set to true when the lifecycle of this resource is not managed by Pulumi.
    • dependencies array[string] optional
      Dependencies contains the dependency edges to other resources that this depends on.
    • initErrors array[string] optional
      InitErrors is the set of errors encountered in the process of initializing resource (i.e., during create or update).
    • provider string optional
      Provider is a reference to the provider that is associated with this resource.
    • propertyDependencies map[string]array optional
      PropertyDependencies maps from an input property name to the set of resources that property depends on.
    • pendingReplacement boolean optional
      PendingReplacement is used to track delete-before-replace resources that have been deleted but not yet recreated.
    • additionalSecretOutputs array[string] optional
      AdditionalSecretOutputs is a list of outputs that were explicitly marked as secret when the resource was created.
    • aliases array[string] optional
      Aliases is a list of previous URNs that this resource may have had in previous deployments.
    • customTimeouts AppResCustomTimeouts optional
      CustomTimeouts is a configuration block that can be used to control timeouts of CRUD operations.
    • create number optional
      Timeout in seconds for resource creation operations.
    • update number optional
      Timeout in seconds for resource update operations.
    • delete number optional
      Timeout in seconds for resource deletion operations.
    • importID string optional
      ImportID is the import input used for imported resources.
    • retainOnDelete boolean optional
      If set to True, the providers Delete method will not be called for this resource. Pulumi simply stops tracking the deleted resource.
    • deletedWith string optional
      If set, the providers Delete method will not be called for this resource if specified resource is being deleted as well.
    • replaceWith array[string] optional
      ReplaceWith is a list of resources whose replaces will also trigger this resource’s replace.
    • created string optional
      Created tracks when the remote resource was first added to state by pulumi. Checkpoints prior to early 2023 do not include this.
    • modified string optional
      Modified tracks when the resource state was last altered. Checkpoints prior to early 2023 do not include this.
    • sourcePosition string optional
      SourcePosition tracks the source location of this resource’s registration
    • stackTrace array[AppStackFrameV1] optional
      StackTrace records the stack at the time this resource was registered
    • sourcePosition string optional
      SourcePosition contains the source position associated with the stack frame.
    • ignoreChanges array[string] optional
      IgnoreChanges is a list of properties to ignore changes for.
    • hideDiff array[string] optional
      HideDiff is a list of properties to hide the diff for.
    • replaceOnChanges array[string] optional
      ReplaceOnChanges is a list of properties that if changed trigger a replace.
    • replacementTrigger object optional
      If set, the engine will diff this with the last recorded value, and trigger a replace if they are not equal.
    • refreshBeforeUpdate boolean optional
      RefreshBeforeUpdate indicates that this resource should always be refreshed prior to updates.
    • viewOf string optional
      ViewOf is a reference to the resource that this resource is a view of.
    • resourceHooks map[string]array optional
      ResourceHooks is a map of hook types to lists of hook names for the given type.