Interface TopicConstructor

interface TopicConstructor {
    new TopicConstructornew <T>(name, opts?): Topic<T>;
}

Constructors

Constructors

  • Allocate a new Topic with a given name.

    Type Parameters

    • T

    Parameters

    • name: string

      The unique name of the Topic.

    • Optional opts: ResourceOptions

      A bag of options that controls how this resource behaves.

    Returns Topic<T>

Generated using TypeDoc