in src/providers/ecs_ram_role.ts [23:35]
constructor(builder: ECSRAMRoleCredentialsProviderBuilder) {
super(STALE_TIME, PREFETCH_TIME);
this.refresher = this.getCredentialsInternal;
this.roleName = builder.roleName;
this.disableIMDSv1 = builder.disableIMDSv1;
this.readTimeout = builder.readTimeout;
this.connectTimeout = builder.connectTimeout;
this.checker = null;
this.shouldRefreshCred = false;
if(builder.asyncCredentialUpdateEnabled) {
this.checker = this.checkCredentialsUpdateAsynchronously();
}
}