@Generated(value="jsii-pacmak/1.58.0 (build f8ba112)", date="2022-05-27T16:27:55.845Z") 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 . |
IChannel.Jsii$Default, IChannel.Jsii$Proxy
Modifier | Constructor and Description |
---|---|
protected |
Channel(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
Channel(software.amazon.jsii.JsiiObjectRef objRef) |
|
Channel(software.constructs.Construct scope,
java.lang.String id) |
|
Channel(software.constructs.Construct scope,
java.lang.String id,
ChannelProps props) |
Modifier and Type | Method and Description |
---|---|
StreamKey |
addStreamKey(java.lang.String id)
(experimental) Adds a stream key for this IVS Channel.
|
static IChannel |
fromChannelArn(software.constructs.Construct scope,
java.lang.String id,
java.lang.String channelArn)
(experimental) Import an existing channel.
|
java.lang.String |
getChannelArn()
(experimental) The channel ARN.
|
java.lang.String |
getChannelIngestEndpoint()
(experimental) Channel ingest endpoint, part of the definition of an ingest server, used when you set up streaming software.
|
java.lang.String |
getChannelPlaybackUrl()
(experimental) Channel playback URL.
|
applyRemovalPolicy, generatePhysicalName, getEnv, getPhysicalName, getResourceArnAttribute, getResourceNameAttribute, getStack, isResource
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
applyRemovalPolicy, getEnv, getStack
getNode
protected Channel(software.amazon.jsii.JsiiObjectRef objRef)
protected Channel(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
public Channel(software.constructs.Construct scope, java.lang.String id, ChannelProps props)
scope
- This parameter is required.id
- This parameter is required.props
- public Channel(software.constructs.Construct scope, java.lang.String id)
scope
- This parameter is required.id
- This parameter is required.public static IChannel fromChannelArn(software.constructs.Construct scope, java.lang.String id, java.lang.String channelArn)
scope
- This parameter is required.id
- This parameter is required.channelArn
- This parameter is required.public StreamKey addStreamKey(java.lang.String id)
addStreamKey
in interface IChannel
id
- This parameter is required.public java.lang.String getChannelArn()
For example: arn:aws:ivs:us-west-2:123456789012:channel/abcdABCDefgh
getChannelArn
in interface IChannel
public java.lang.String getChannelIngestEndpoint()
For example: a1b2c3d4e5f6.global-contribute.live-video.net
public java.lang.String getChannelPlaybackUrl()
For example: https://a1b2c3d4e5f6.us-west-2.playback.live-video.net/api/video/v1/us-west-2.123456789012.channel.abcdEFGH.m3u8