constructor()

in src/providers/ram_role_arn.ts [161:173]


  constructor(builder: RAMRoleARNCredentialsProviderBuilder) {
    super(STALE_TIME);
    this.refresher = this.getCredentialsInternal;
    this.credentialsProvider = builder.credentialsProvider;
    this.stsEndpoint = builder.stsEndpoint;
    this.roleSessionName = builder.roleSessionName;
    this.policy = builder.policy;
    this.durationSeconds = builder.durationSeconds;
    this.roleArn = builder.roleArn;
    this.externalId = builder.externalId;
    this.readTimeout = builder.readTimeout;
    this.connectTimeout = builder.connectTimeout;
  }