UNPKG

cloudfront-ip-ranges

Version:

Get Cloudfront IPs for use in trust proxy configurations

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