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

    Interface ResourceHookArgs

    ResourceHookArgs represents the arguments passed to a resource hook Depending on the hook type, only some of the new/old inputs/outputs are set.

    Hook Type old_inputs new_inputs old_outputs new_outputs
    before_create
    after_create
    before_update
    after_update
    before_delete
    after_delete
    interface ResourceHookArgs {
        id: string;
        name: string;
        newInputs?: Record<string, any>;
        newOutputs?: Record<string, any>;
        oldInputs?: Record<string, any>;
        oldOutputs?: Record<string, any>;
        type: string;
        urn: string;
    }
    Index

    Properties

    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.

    newOutputs?: Record<string, any>

    The new outputs 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.