Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

Subscription

import type { Subscription } from "https://aws-api.deno.dev/v0.3/services/greengrass.ts?docs=full";

Information about a subscription.

interface Subscription {
Id: string;
Source: string;
Subject: string;
Target: string;
}

§Properties

§
Id: string
[src]

A descriptive or arbitrary ID for the subscription. This value must be unique within the subscription definition version. Max length is 128 characters with pattern ''[a-zA-Z0-9:_-]+''.

§
Source: string
[src]

The source of the subscription. Can be a thing ARN, a Lambda function ARN, a connector ARN, 'cloud' (which represents the AWS IoT cloud), or 'GGShadowService'.

§
Subject: string
[src]

The MQTT topic used to route the message.

§
Target: string
[src]

Where the message is sent to. Can be a thing ARN, a Lambda function ARN, a connector ARN, 'cloud' (which represents the AWS IoT cloud), or 'GGShadowService'.