UNPKG

nest-aws-sdk

Version:

A thin wrapping layer around the aws-sdk package for clean NestJS dependency injection.

14 lines (13 loc) 791 B
import { DynamicModule } from '@nestjs/common'; import { AwsService, AwsServiceType, AwsServiceWithServiceOptions, AwsServiceConfigurationOptionsFactory, AsyncModuleProvider } from './types'; export declare class AwsSdkModule { static forRoot(options?: { defaultServiceOptions?: AwsServiceConfigurationOptionsFactory; services?: Array<AwsServiceType<AwsService> | AwsServiceWithServiceOptions>; }): DynamicModule; static forRootAsync(options?: { defaultServiceOptions?: AsyncModuleProvider<AwsServiceConfigurationOptionsFactory>; services?: Array<AwsServiceType<AwsService> | AwsServiceWithServiceOptions>; }): DynamicModule; static forFeatures(services: Array<AwsServiceType<AwsService> | AwsServiceWithServiceOptions>): DynamicModule; }