@pulumi/pulumi - v3.256.0
    Preparing search index...

    Interface ErrorHookArgs

    ErrorHookArgs represents the arguments passed to an error hook.

    Depending on the failed operation, only some of the new/old inputs/outputs are set.

    Failed Operation old_inputs new_inputs old_outputs
    create
    update
    delete
    interface ErrorHookArgs {
        errors: string[];
        failedOperation: string;
        id: string;
        name: string;
        newInputs?: Record<string, any>;
        oldInputs?: Record<string, any>;
        oldOutputs?: Record<string, any>;
        type: string;
        urn: string;
    }
    Index

    Properties

    errors: string[]

    The errors that have been seen so far (newest first).

    failedOperation: string

    The operation that failed (create, update, or delete).

    id: string

    The ID of the resource that triggered the hook.

    name: string

    The name of the resource that triggered the hook.

    newInputs?: Record<string, any>

    The new inputs of the resource that triggered the hook.

    oldInputs?: Record<string, any>

    The old inputs of the resource that triggered the hook.

    oldOutputs?: Record<string, any>

    The old outputs of the resource that triggered the hook.

    type: string

    The type of the resource that triggered the hook.

    urn: string

    The URN of the resource that triggered the hook.