RtmpOutputDefinition

class aws_cdk.aws_medialive_alpha.RtmpOutputDefinition(*, encodes, output_name, destinations, certificate_mode=None, connection_retry_interval=None, num_retries=None)

Bases: OutputDefinition

(experimental) Output definition for an RTMP output group.

outputName is normalised (underscores → hyphens) for use as the destination reference ID.

Parameters:
  • encodes (Sequence[EncodeConfiguration]) – (experimental) The encode configurations to wire to this output.

  • output_name (str) – (experimental) The name of this output. Must be unique across all outputs in the channel.

  • destinations (Sequence[RtmpDestination]) – (experimental) The RTMP destination(s) for this output — one per channel pipeline. MediaLive publishes each RTMP output to one destination per pipeline (the console calls these “Destination A” and “Destination B”). Provide a single destination for a SINGLE_PIPELINE channel, or two (A then B) for a STANDARD channel.

  • certificate_mode (Optional[RtmpCertificateMode]) – (experimental) The TLS certificate verification mode. Default: - service default

  • connection_retry_interval (Optional[Duration]) – (experimental) The interval between connection retry attempts. Default: - service default

  • num_retries (Union[int, float, None]) – (experimental) The number of retry attempts. Default: - service default

Stability:

experimental

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_medialive_alpha as medialive_alpha
import aws_cdk as cdk

# encode_configuration: medialive_alpha.EncodeConfiguration
# rtmp_certificate_mode: medialive_alpha.RtmpCertificateMode
# rtmp_destination: medialive_alpha.RtmpDestination

rtmp_output_definition = medialive_alpha.RtmpOutputDefinition(
    destinations=[rtmp_destination],
    encodes=[encode_configuration],
    output_name="outputName",

    # the properties below are optional
    certificate_mode=rtmp_certificate_mode,
    connection_retry_interval=cdk.Duration.minutes(30),
    num_retries=123
)

Attributes

certificate_mode

(experimental) The TLS certificate verification mode.

Default:
  • service default

Stability:

experimental

connection_retry_interval

(experimental) The interval between connection retry attempts.

Default:
  • service default

Stability:

experimental

destinations

(experimental) The RTMP destination(s) for this output — one per channel pipeline.

MediaLive publishes each RTMP output to one destination per pipeline (the console calls these “Destination A” and “Destination B”). Provide a single destination for a SINGLE_PIPELINE channel, or two (A then B) for a STANDARD channel.

Stability:

experimental

encodes

(experimental) The encode configurations to wire to this output.

Stability:

experimental

num_retries

(experimental) The number of retry attempts.

Default:
  • service default

Stability:

experimental

output_name

(experimental) The name of this output.

Must be unique across all outputs in the channel.

Stability:

experimental