@Generated(value="jsii-pacmak/1.71.0 (build f1f58ae)", date="2022-12-07T17:24:36.405Z") @Stability(value=Experimental) public class Channel extends Resource implements IChannel
Example:
Channel myChannel = new Channel(this, "Channel");
| Modifier and Type | Class and Description |
|---|---|
static class |
Channel.Builder
(experimental) A fluent builder for
Channel. |
software.amazon.jsii.JsiiObject.InitializationModeIChannel.Jsii$Default, IChannel.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
|
Channel(software.constructs.Construct scope,
String id) |
|
Channel(software.constructs.Construct scope,
String id,
ChannelProps props) |
protected |
Channel(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
Channel(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
StreamKey |
addStreamKey(String id)
(experimental) Adds a stream key for this IVS Channel.
|
static IChannel |
fromChannelArn(software.constructs.Construct scope,
String id,
String channelArn)
(experimental) Import an existing channel.
|
String |
getChannelArn()
(experimental) The channel ARN.
|
String |
getChannelIngestEndpoint()
(experimental) Channel ingest endpoint, part of the definition of an ingest server, used when you set up streaming software.
|
String |
getChannelPlaybackUrl()
(experimental) Channel playback URL.
|
applyRemovalPolicy, generatePhysicalName, getEnv, getPhysicalName, getResourceArnAttribute, getResourceNameAttribute, getStack, isResourcegetNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validatejsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitapplyRemovalPolicy, getEnv, getStackgetNodeprotected Channel(software.amazon.jsii.JsiiObjectRef objRef)
protected Channel(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Experimental)
public Channel(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@Nullable
ChannelProps props)
scope - This parameter is required.id - This parameter is required.props - @Stability(value=Experimental)
public Channel(@NotNull
software.constructs.Construct scope,
@NotNull
String id)
scope - This parameter is required.id - This parameter is required.@Stability(value=Experimental) @NotNull public static IChannel fromChannelArn(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull String channelArn)
scope - This parameter is required.id - This parameter is required.channelArn - This parameter is required.@Stability(value=Experimental) @NotNull public StreamKey addStreamKey(@NotNull String id)
addStreamKey in interface IChannelid - This parameter is required.@Stability(value=Experimental) @NotNull public String getChannelArn()
For example: arn:aws:ivs:us-west-2:123456789012:channel/abcdABCDefgh
getChannelArn in interface IChannel@Stability(value=Experimental) @NotNull public String getChannelIngestEndpoint()
For example: a1b2c3d4e5f6.global-contribute.live-video.net
@Stability(value=Experimental) @NotNull public String getChannelPlaybackUrl()
For example: https://a1b2c3d4e5f6.us-west-2.playback.live-video.net/api/video/v1/us-west-2.123456789012.channel.abcdEFGH.m3u8
Copyright © 2022. All rights reserved.