Class CfnChannel.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnChannel>
- Enclosing class:
CfnChannel
CfnChannel.-
Method Summary
Modifier and TypeMethodDescriptionauthorized(Boolean authorized) Whether the channel is authorized.authorized(IResolvable authorized) Whether the channel is authorized.build()static CfnChannel.BuilderinsecureIngest(Boolean insecureIngest) Whether the channel allows insecure RTMP ingest.insecureIngest(IResolvable insecureIngest) Whether the channel allows insecure RTMP ingest.latencyMode(String latencyMode) Channel latency mode.Channel name.An optional transcode preset for the channel.recordingConfigurationArn(String recordingConfigurationArn) The ARN of a RecordingConfiguration resource.An array of key-value pairs to apply to this resource.The channel type, which determines the allowable resolution and bitrate.
-
Method Details
-
create
@Stability(Stable) public static CfnChannel.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnChannel.Builder.
-
authorized
Whether the channel is authorized.Default :
falseDefault: - false
- Parameters:
authorized- Whether the channel is authorized. This parameter is required.- Returns:
this- See Also:
-
authorized
Whether the channel is authorized.Default :
falseDefault: - false
- Parameters:
authorized- Whether the channel is authorized. This parameter is required.- Returns:
this- See Also:
-
insecureIngest
Whether the channel allows insecure RTMP ingest.Default :
falseDefault: - false
- Parameters:
insecureIngest- Whether the channel allows insecure RTMP ingest. This parameter is required.- Returns:
this- See Also:
-
insecureIngest
Whether the channel allows insecure RTMP ingest.Default :
falseDefault: - false
- Parameters:
insecureIngest- Whether the channel allows insecure RTMP ingest. This parameter is required.- Returns:
this- See Also:
-
latencyMode
Channel latency mode. Valid values:.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,
LOWandNORMALcorrespond toUltra-lowandStandard, respectively.Default :
LOWDefault: - "LOW"
- Parameters:
latencyMode- Channel latency mode. Valid values:. This parameter is required.- Returns:
this- See Also:
-
name
Channel name.Default: - "-"
- Parameters:
name- Channel name. This parameter is required.- Returns:
this- See Also:
-
preset
An optional transcode preset for the channel.This is selectable only for
ADVANCED_HDandADVANCED_SDchannel types. For those channel types, the default preset isHIGHER_BANDWIDTH_DELIVERY. For other channel types (BASICandSTANDARD),presetis the empty string ("").- Parameters:
preset- An optional transcode preset for the channel. This parameter is required.- Returns:
this- See Also:
-
recordingConfigurationArn
@Stability(Stable) public CfnChannel.Builder recordingConfigurationArn(String recordingConfigurationArn) The ARN of a RecordingConfiguration resource.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)
Default: - ""
- Parameters:
recordingConfigurationArn- The ARN of a RecordingConfiguration resource. This parameter is required.- Returns:
this- See Also:
-
tags
An array of key-value pairs to apply to this resource.For more information, see Tag .
- Parameters:
tags- An array of key-value pairs to apply to this resource. This parameter is required.- Returns:
this- See Also:
-
type
The channel type, which determines the allowable resolution and bitrate.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.ADVANCED_SD: Video is transcoded; multiple qualities are generated from the original input, to automatically give viewers the best experience for their devices and network conditions. Input resolution can be up to 1080p and bitrate can be up to 8.5 Mbps; output is capped at SD quality (480p). You can select an optional transcode preset (see below). Audio for all renditions is transcoded, and an audio-only rendition is available.ADVANCED_HD: Video is transcoded; multiple qualities are generated from the original input, to automatically give viewers the best experience for their devices and network conditions. Input resolution can be up to 1080p and bitrate can be up to 8.5 Mbps; output is capped at HD quality (720p). You can select an optional transcode preset (see below). Audio for all renditions is transcoded, and an audio-only rendition is available.
Optional transcode presets (available for the
ADVANCEDtypes) allow you to trade off available download bandwidth and video quality, to optimize the viewing experience. There are two presets:- Constrained bandwidth delivery uses a lower bitrate for each quality level. Use it if you have low download bandwidth and/or simple video content (e.g., talking heads)
- Higher bandwidth delivery uses a higher bitrate for each quality level. Use it if you have high download bandwidth and/or complex video content (e.g., flashes and quick scene changes).
Default :
STANDARDDefault: - "STANDARD"
- Parameters:
type- The channel type, which determines the allowable resolution and bitrate. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnChannel>- Returns:
- a newly built instance of
CfnChannel.
-