ecs_credentials.d.ts (523B)
1 import {Credentials} from '../credentials'; 2 export class ECSCredentials extends Credentials { 3 /** 4 * Represents credentials received from relative URI specified in the ECS container. 5 * @param {object} options - Override the default (1s) timeout period. 6 */ 7 constructor(options?: ECSCredentialsOptions); 8 } 9 interface ECSCredentialsOptions { 10 httpOptions?: { 11 /** 12 * Timeout in milliseconds. 13 */ 14 timeout?: number 15 } 16 maxRetries?: number 17 }