HlsOutputDefinition

class aws_cdk.aws_medialive_alpha.HlsOutputDefinition(*, encodes, output_name, h265_packaging_type=None, hls_settings=None, name_modifier=None, segment_modifier=None)

Bases: OutputDefinition

(experimental) Output definition for an HLS output group.

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.

  • h265_packaging_type (Optional[H265PackagingType]) – (experimental) For H.265 video, whether to package as HEV1 or HVC1. Default: - service default

  • hls_settings (Optional[HlsSettings]) – (experimental) The per-output HLS settings (standard, audio-only, fMP4, or frame-capture). Use the HlsSettings factory methods. Standard outputs additionally configure the M3U8 container via HlsSettings.standard({ m3u8Settings }). Default: - HlsSettings.standard() with service-default M3U8 settings

  • name_modifier (Optional[str]) – (experimental) A string concatenated to the end of the destination file name. Default: - service default

  • segment_modifier (Optional[str]) – (experimental) A string concatenated to the end of segment file names. Default: - no segment modifier

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

# encode_configuration: medialive_alpha.EncodeConfiguration
# h265_packaging_type: medialive_alpha.H265PackagingType
# hls_settings: medialive_alpha.HlsSettings

hls_output_definition = medialive_alpha.HlsOutputDefinition(
    encodes=[encode_configuration],
    output_name="outputName",

    # the properties below are optional
    h265_packaging_type=h265_packaging_type,
    hls_settings=hls_settings,
    name_modifier="nameModifier",
    segment_modifier="segmentModifier"
)

Attributes

encodes

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

Stability:

experimental

h265_packaging_type

(experimental) For H.265 video, whether to package as HEV1 or HVC1.

Default:
  • service default

Stability:

experimental

hls_settings

(experimental) The per-output HLS settings (standard, audio-only, fMP4, or frame-capture).

Use the HlsSettings factory methods. Standard outputs additionally configure the M3U8 container via HlsSettings.standard({ m3u8Settings }).

Default:
  • HlsSettings.standard() with service-default M3U8 settings

Stability:

experimental

name_modifier

(experimental) A string concatenated to the end of the destination file name.

Default:
  • service default

Stability:

experimental

output_name

(experimental) The name of this output.

Must be unique across all outputs in the channel.

Stability:

experimental

segment_modifier

(experimental) A string concatenated to the end of segment file names.

Default:
  • no segment modifier

Stability:

experimental