Node SDK

Class ObjectConfiguration

Legend

  • Namespace
  • Variable
  • Function
  • Function with type parameter
  • Type alias
  • Type alias with type parameter
  • Class
  • Constructor
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Inherited property
  • Inherited method
  • Enumeration

Hierarchy

Index

Constructors

Properties

LeoCron: string
LeoEvent: string
LeoFirehoseStream: string
LeoKinesisStream: string
LeoS3: string
LeoSettings: string
LeoStream: string
LeoSystem?: string
Region: string
expireTime: number = 0
expired: boolean = false
expiryWindow: number = 15
returns

the number of seconds before {expireTime} during which the configuration will be considered expired.

field: string
root: any

Methods

  • getSync(): void
  • Gets the existing configuration, refreshing them if they are not yet loaded or have expired. Users should call this method before using {refresh}, as this will not attempt to reload configuration when they are already loaded into the object.

    Returns void

  • needsRefresh(): boolean
  • resolveSync(): { LeoCron: string; LeoEvent: string; LeoFirehoseStream: string; LeoKinesisStream: string; LeoS3: string; LeoSettings: string; LeoStream: string; LeoSystem: string; Region: string }
  • Returns { LeoCron: string; LeoEvent: string; LeoFirehoseStream: string; LeoKinesisStream: string; LeoS3: string; LeoSettings: string; LeoStream: string; LeoSystem: string; Region: string }

    • LeoCron: string
    • LeoEvent: string
    • LeoFirehoseStream: string
    • LeoKinesisStream: string
    • LeoS3: string
    • LeoSettings: string
    • LeoStream: string
    • LeoSystem: string
    • Region: string
  • update(config?: any): void

Generated using TypeDoc