UNPKG

cdk-amazon-chime-resources

Version:

![Experimental](https://img.shields.io/badge/experimental-important.svg?style=for-the-badge)

15 lines (14 loc) 590 B
import {Credentials} from '../credentials'; import {AWSError} from '../error'; import {ClientConfiguration} from '../../clients/sts'; export class TokenFileWebIdentityCredentials extends Credentials { /** * Creates a new credentials object with optional configuraion. * @param {Object} clientConfig - a map of configuration options to pass to the underlying STS client. */ constructor(clientConfig?: ClientConfiguration); /** * Refreshes credentials using AWS.STS.assumeRoleWithWebIdentity(). */ refresh(callback: (err?: AWSError) => void): void; }