Interface CognitoCredentialsProviderConfig

Definition for the configuration needed to create a Cognito-based Credentials Provider

Hierarchy

  • CognitoCredentialsProviderConfig

Properties

bootstrap?: ClientBootstrap

Client bootstrap to use. In almost all cases, this can be left undefined.

customRoleArn?: string

Optional ARN of the role to be assumed when multiple roles were received in the token from the identity provider.

endpoint: string

Cognito service regional endpoint to source credentials from.

httpProxyOptions?: HttpProxyOptions

Proxy configuration if connecting through an HTTP proxy is desired

identity: string

Cognito identity to fetch credentials relative to.

Optional set of identity provider token pairs to allow for authenticated identity access.

tlsContext?: ClientTlsContext

TLS context for secure socket connections. If undefined, then a default tls context will be created and used.

Generated using TypeDoc