@aws-cdk/aws-ivs-alpha
Version:
The CDK Construct Library for AWS::IVS
39 lines (38 loc) • 1.03 kB
TypeScript
import * as core from 'aws-cdk-lib/core';
import { Construct } from 'constructs';
import { IChannel } from './channel';
/**
* Represents an IVS Stream Key
*/
export interface IStreamKey extends core.IResource {
/**
* The stream-key ARN. For example: arn:aws:ivs:us-west-2:123456789012:stream-key/g1H2I3j4k5L6
*
* @attribute
*/
readonly streamKeyArn: string;
}
/**
* Properties for creating a new Stream Key
*/
export interface StreamKeyProps {
/**
* Channel ARN for the stream.
*/
readonly channel: IChannel;
}
/**
* A new IVS Stream Key
*/
export declare class StreamKey extends core.Resource implements IStreamKey {
/** Uniquely identifies this class. */
static readonly PROPERTY_INJECTION_ID: string;
readonly streamKeyArn: string;
/**
* The stream-key value. For example: sk_us-west-2_abcdABCDefgh_567890abcdef
*
* @attribute
*/
readonly streamKeyValue: string;
constructor(scope: Construct, id: string, props: StreamKeyProps);
}