Interface ChannelProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
ChannelProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:29:58.046Z")
@Stability(Experimental)
public interface ChannelProps
extends software.amazon.jsii.JsiiSerializable
(experimental) Properties for creating a new Channel.
Example:
Channel myChannel = Channel.Builder.create(this, "Channel")
.authorized(true)
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forChannelPropsstatic final classAn implementation forChannelProps -
Method Summary
Modifier and TypeMethodDescriptionstatic ChannelProps.Builderbuilder()default Boolean(experimental) Whether the channel is authorized.default LatencyMode(experimental) Channel latency mode.default StringgetName()(experimental) Channel name.default ChannelTypegetType()(experimental) The channel type, which determines the allowable resolution and bitrate.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAuthorized
(experimental) Whether the channel is authorized.If you wish to make an authorized channel, you will need to ensure that a PlaybackKeyPair has been uploaded to your account as this is used to validate the signed JWT that is required for authorization
Default: false
-
getLatencyMode
(experimental) Channel latency mode.Default: LatencyMode.LOW
-
getName
(experimental) Channel name.Default: - None
-
getType
(experimental) The channel type, which determines the allowable resolution and bitrate.If you exceed the allowable resolution or bitrate, the stream will disconnect immediately
Default: ChannelType.STANDARD
-
builder
- Returns:
- a
ChannelProps.BuilderofChannelProps
-