public static final class CfnChannel.Builder
extends java.lang.Object
CfnChannel
.Modifier and Type | Method and Description |
---|---|
CfnChannel.Builder |
authorized(java.lang.Boolean authorized)
Whether the channel is authorized.
|
CfnChannel.Builder |
authorized(IResolvable authorized)
Whether the channel is authorized.
|
CfnChannel |
build() |
static CfnChannel.Builder |
create(Construct scope,
java.lang.String id) |
CfnChannel.Builder |
latencyMode(java.lang.String latencyMode)
Channel latency mode.
|
CfnChannel.Builder |
name(java.lang.String name)
Channel name.
|
CfnChannel.Builder |
recordingConfigurationArn(java.lang.String recordingConfigurationArn)
The ARN of a RecordingConfiguration resource.
|
CfnChannel.Builder |
tags(java.util.List<? extends CfnTag> tags)
An array of key-value pairs to apply to this resource.
|
CfnChannel.Builder |
type(java.lang.String type)
The channel type, which determines the allowable resolution and bitrate.
|
public static CfnChannel.Builder create(Construct scope, java.lang.String id)
scope
- - scope in which this resource is defined. This parameter is required.id
- - scoped id of the resource. This parameter is required.CfnChannel.Builder
.public CfnChannel.Builder authorized(java.lang.Boolean authorized)
Default : false
authorized
- Whether the channel is authorized. This parameter is required.this
public CfnChannel.Builder authorized(IResolvable authorized)
Default : false
authorized
- Whether the channel is authorized. This parameter is required.this
public CfnChannel.Builder latencyMode(java.lang.String latencyMode)
NORMAL
: Use NORMAL to broadcast and deliver live video up to Full HD.LOW
: Use LOW for near real-time interactions with viewers.
In the console,
LOW
andNORMAL
correspond toUltra-low
andStandard
, respectively.
Default : LOW
latencyMode
- Channel latency mode. Valid values:. This parameter is required.this
public CfnChannel.Builder name(java.lang.String name)
name
- Channel name. This parameter is required.this
public CfnChannel.Builder recordingConfigurationArn(java.lang.String recordingConfigurationArn)
An empty string indicates that recording is disabled for the channel. A RecordingConfiguration ARN indicates that recording is enabled using the specified recording configuration. See the RecordingConfiguration resource for more information and an example.
Default : "" (empty string, recording is disabled)
recordingConfigurationArn
- The ARN of a RecordingConfiguration resource. This parameter is required.this
public CfnChannel.Builder tags(java.util.List<? extends CfnTag> tags)
For more information, see Tag .
tags
- An array of key-value pairs to apply to this resource. This parameter is required.this
public CfnChannel.Builder type(java.lang.String type)
If you exceed the allowable resolution or bitrate, the stream probably will disconnect immediately. Valid values:
STANDARD
: Video is transcoded: multiple qualities are generated from the original input to automatically give viewers the best experience for their devices and network conditions. Transcoding allows higher playback quality across a range of download speeds. Resolution can be up to 1080p and bitrate can be up to 8.5 Mbps. Audio is transcoded only for renditions 360p and below; above that, audio is passed through.BASIC
: Video is transmuxed: Amazon IVS delivers the original input to viewers. The viewer’s video-quality choice is limited to the original input. Resolution can be up to 1080p and bitrate can be up to 1.5 Mbps for 480p and up to 3.5 Mbps for resolutions between 480p and 1080p.
Default : STANDARD
type
- The channel type, which determines the allowable resolution and bitrate. This parameter is required.this
public CfnChannel build()