@types/winston-dynamodb
TypeScript icon, indicating that this package has built-in type declarations

0.0.12 • Public • Published

Installation

npm install --save @types/winston-dynamodb

Summary

This package contains type definitions for winston-dynamodb (https://github.com/inspiredjw/winston-dynamodb).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/winston-dynamodb.

index.d.ts

import * as winston from "winston";
import { TransportInstance } from "winston";
export interface DynamoDBTransportOptions {
    useEnvironment?: boolean | undefined;
    accessKeyId?: string | undefined;
    secretAccessKey?: string | undefined;
    region?: string | undefined;
    tableName: string;
    level: string;
    dynamoDoc?: boolean | undefined;
}
export interface DynamoDBTransportInstance extends TransportInstance {
    new(options?: DynamoDBTransportOptions): DynamoDBTransportInstance;
}
export declare class DynamoDB extends winston.Transport implements DynamoDBTransportInstance {
    regions: string[];
    name: string;
    level: string;
    db: any;
    AWS: any;
    region: string;
    tableName: string;
    dynamoDoc: boolean;
    constructor(options?: DynamoDBTransportOptions);
    log(level: any, msg: any, meta: any, callback: any): any;
}
declare module "winston" {
    interface Transports {
        DynamoDB: DynamoDB;
    }
}

Additional Details

  • Last updated: Tue, 07 Nov 2023 15:11:36 GMT
  • Dependencies: @types/winston

Credits

These definitions were written by nickiannone.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/winston-dynamodb

Weekly Downloads

68

Version

0.0.12

License

MIT

Unpacked Size

4.62 kB

Total Files

5

Last publish

Collaborators

  • types