UNPKG

@shortcm/cloudfront-ip-ranges

Version:

Get Cloudfront IPs for use in trust proxy configurations

11 lines (10 loc) 333 B
import { Application } from 'express'; export declare class CloudfrontService { private _apiUrl; private readonly _logger; constructor(_apiUrl?: string); readonly apiUrl: string; private getJSON; getIpRange(service?: string): Promise<string[]>; updateTrustProxy(expressApp: Application): Promise<void>; }