StreamKey
Source:
src/AWS/IVS/StreamKey.ts
An Amazon IVS stream key — the secret credential broadcast software uses to authenticate against a channel’s ingest endpoint.
IVS allows at most one stream key per channel, and CreateChannel
provisions one automatically. This resource therefore manages the
channel’s stream key: if the channel already has its auto-created key,
the resource takes ownership of it (tagging it with Alchemy’s internal
tags) instead of failing the per-channel quota.
Creating Stream Keys
Section titled “Creating Stream Keys”import * as IVS from "alchemy/AWS/IVS";
const channel = yield* IVS.Channel("LiveChannel");const streamKey = yield* IVS.StreamKey("LiveKey", { channelArn: channel.channelArn,});