interface Route {
    createdAt?: Date;
    dbConfig?: RouteDatabaseConfig;
    hubId: string;
    id: string;
    name: string;
    restConfig?: RouteRestConfig;
    s3Config?: RouteS3Config;
    topic: string;
    type: RouteRouteType;
    updatedAt?: Date;
}

Properties

createdAt?: Date

Date at which the route was created.

When using Database Route, DB-specific configuration fields.

One-of ('config'): at most one of 's3Config', 'dbConfig', 'restConfig' could be set.

hubId: string

Hub ID of the route.

id: string

Route ID.

name: string

Route name.

restConfig?: RouteRestConfig

When using Rest Route, Rest-specific configuration fields.

One-of ('config'): at most one of 's3Config', 'dbConfig', 'restConfig' could be set.

s3Config?: RouteS3Config

When using Amazon S3 Routes, Amazon S3-specific configuration fields.

One-of ('config'): at most one of 's3Config', 'dbConfig', 'restConfig' could be set.

topic: string

Topic the route subscribes to. It must be a valid MQTT topic and up to 65535 characters.

Route type.

updatedAt?: Date

Date at which the route was last updated.