Skip to main content Link Search Menu Expand Document (external link)

Resource overview

Added in v1.0.0


Table of contents


identifier

Resource (interface)

Signature

export interface Resource {
  readonly _: unique symbol
}

Added in v1.0.0

layer

layer

Signature

export declare const layer: (config: {
  readonly serviceName: string
  readonly serviceVersion?: string
  readonly attributes?: Resources.ResourceAttributes
}) => any

Added in v1.0.0

layerEmpty

Signature

export declare const layerEmpty: any

Added in v2.0.0

layerFromEnv

Signature

export declare const layerFromEnv: (
  additionalAttributes?: Resources.ResourceAttributes | undefined
) => Layer.Layer<Resource>

Added in v1.0.0

tag

Resource

Signature

export declare const Resource: any

Added in v1.0.0