Interface IResourceMiddlewareExecutionInput<TResourceConfig, TResourceOutput>

interface IResourceMiddlewareExecutionInput<TResourceConfig, TResourceOutput> {
    next: ((resourceConfig?: TResourceConfig) => Promise<TResourceOutput>);
    resource: {
        config: TResourceConfig;
        definition: IResource<TResourceConfig, any, any, any, any, TagType[], ResourceMiddlewareAttachmentType[]>;
    };
}

Type Parameters

  • TResourceConfig = any
  • TResourceOutput = any

Properties

Properties

next: ((resourceConfig?: TResourceConfig) => Promise<TResourceOutput>)
resource: {
    config: TResourceConfig;
    definition: IResource<TResourceConfig, any, any, any, any, TagType[], ResourceMiddlewareAttachmentType[]>;
}

Resource hook