ArchiveOutputDefinition

class aws_cdk.aws_medialive_alpha.ArchiveOutputDefinition(*, encodes, output_name, container=None, extension=None, name_modifier=None)

Bases: OutputDefinition

(experimental) Output definition for an Archive 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.

  • container (Optional[ArchiveContainer]) – (experimental) The container (transport stream) for this output — an MPEG-TS (M2TS) or raw container. Use the ArchiveContainer factory methods. Default: - ArchiveContainer.m2ts() with service-default M2TS settings

  • extension (Optional[str]) – (experimental) The output file extension. Default: - auto-selected from container type

  • name_modifier (Optional[str]) – (experimental) A string concatenated to the end of the destination file name. Required if the output group contains more than one output of the same container type. Default: - no name 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

# archive_container: medialive_alpha.ArchiveContainer
# encode_configuration: medialive_alpha.EncodeConfiguration

archive_output_definition = medialive_alpha.ArchiveOutputDefinition(
    encodes=[encode_configuration],
    output_name="outputName",

    # the properties below are optional
    container=archive_container,
    extension="extension",
    name_modifier="nameModifier"
)

Attributes

container

(experimental) The container (transport stream) for this output — an MPEG-TS (M2TS) or raw container.

Use the ArchiveContainer factory methods.

Default:
  • ArchiveContainer.m2ts() with service-default M2TS settings

Stability:

experimental

encodes

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

Stability:

experimental

extension

(experimental) The output file extension.

Default:
  • auto-selected from container type

Stability:

experimental

name_modifier

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

Required if the output group contains more than one output of the same container type.

Default:
  • no name modifier

Stability:

experimental

output_name

(experimental) The name of this output.

Must be unique across all outputs in the channel.

Stability:

experimental