Provides API to register resource providers and get access to the provided resources.

Constructors

Properties

Methods

Constructors

Properties

blueprintProps: EksBlueprintProps
scope: Construct

Methods

  • Adds a new resource provider and specifies the name under which the provided resource will be registered,

    Type Parameters

    • T extends IConstruct

    Parameters

    • name: string

      Specifies the name key under which the provided resources will be registered for subsequent look-ups.

    • provider: ResourceProvider<T>

      Implementation of the resource provider interface

    Returns T

    the provided resource

  • Gets the provided resource by the supplied name.

    Type Parameters

    • T extends IConstruct = IConstruct

    Parameters

    • name: string

      under which the resource provider was registered

    Returns undefined | T

    the resource or undefined if the specified resource was not found