git-off

git off handles large files in git repos
git clone https://noulin.net/git/git-off.git
Log | Files | Refs | README

ec2_metadata_credentials.d.ts (531B)


      1 import {Credentials} from '../credentials';
      2 export class EC2MetadataCredentials extends Credentials {
      3 		/**
      4 		 * Creates credentials from the metadata service on an EC2 instance.
      5 		 * @param {object} options - Override the default (1s) timeout period.
      6 		 */
      7 		constructor(options?: EC2MetadataCredentialsOptions);
      8 	}
      9     interface EC2MetadataCredentialsOptions {
     10         httpOptions?: {
     11             /**
     12              * Timeout in milliseconds.
     13              */
     14             timeout?: number
     15         }
     16         maxRetries?: number
     17     }