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()containerFormat(String containerFormat) Indicates which content-packaging format is used (MPEG-TS or fMP4).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.multitrackInputConfiguration(IResolvable multitrackInputConfiguration) Object specifying multitrack input configuration.multitrackInputConfiguration(CfnChannel.MultitrackInputConfigurationProperty multitrackInputConfiguration) Object specifying multitrack input configuration.Channel name.An optional transcode preset for the channel.recordingConfigurationArn(String recordingConfigurationArn) The ARN of a RecordingConfiguration resource.recordingConfigurationArn(IRecordingConfigurationRef 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:
-
containerFormat
Indicates which content-packaging format is used (MPEG-TS or fMP4).If
multitrackInputConfigurationis specified andenabledistrue, thencontainerFormatis required and must be set toFRAGMENTED_MP4. Otherwise,containerFormatmay be set toTSorFRAGMENTED_MP4. Default:TS.Default: - "TS"
- Parameters:
containerFormat- Indicates which content-packaging format is used (MPEG-TS or fMP4). 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:
-
multitrackInputConfiguration
@Stability(Stable) public CfnChannel.Builder multitrackInputConfiguration(IResolvable multitrackInputConfiguration) Object specifying multitrack input configuration.Default: no multitrack input configuration is specified.
- Parameters:
multitrackInputConfiguration- Object specifying multitrack input configuration. This parameter is required.- Returns:
this- See Also:
-
multitrackInputConfiguration
@Stability(Stable) public CfnChannel.Builder multitrackInputConfiguration(CfnChannel.MultitrackInputConfigurationProperty multitrackInputConfiguration) Object specifying multitrack input configuration.Default: no multitrack input configuration is specified.
- Parameters:
multitrackInputConfiguration- Object specifying multitrack input configuration. 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:
-
recordingConfigurationArn
@Stability(Stable) public CfnChannel.Builder recordingConfigurationArn(IRecordingConfigurationRef 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. For details, see Channel Types .
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.
-