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

CognitoStreams

import type { CognitoStreams } from "https://aws-api.deno.dev/v0.4/services/cognitosync.ts?docs=full";

Configuration options for configure Cognito streams.

interface CognitoStreams {
RoleArn?: string | null;
StreamingStatus?: StreamingStatus | null;
StreamName?: string | null;
}

§Properties

§
RoleArn?: string | null
[src]

The ARN of the role Amazon Cognito can assume in order to publish to the stream. This role must grant access to Amazon Cognito (cognito-sync) to invoke PutRecord on your Cognito stream.

§
StreamingStatus?: StreamingStatus | null
[src]

Status of the Cognito streams. Valid values are:

ENABLED - Streaming of updates to identity pool is enabled.

DISABLED - Streaming of updates to identity pool is disabled. Bulk publish will also fail if StreamingStatus is DISABLED.

§
StreamName?: string | null
[src]

The name of the Cognito stream to receive updates. This stream must be in the developers account and in the same region as the identity pool.