Skip to content
v2.273.0

Experimental

@aws-cdk/aws-medialive-alpha is an experimental (alpha) package: its API may change in any release, without a major version bump.

ArchiveOutputDefinition Struct ​

Output definition for an Archive output group.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as medialive_alpha from '@aws-cdk/aws-medialive-alpha';

declare const archiveContainer: medialive_alpha.ArchiveContainer;
declare const encodeConfiguration: medialive_alpha.EncodeConfiguration;
const archiveOutputDefinition: medialive_alpha.ArchiveOutputDefinition = {
  encodes: [encodeConfiguration],
  outputName: 'outputName',

  // the properties below are optional
  container: archiveContainer,
  extension: 'extension',
  nameModifier: 'nameModifier',
};

Properties ​

containerArchiveContainercontainerArchiveContainercontainerArchiveContainerContainerArchiveContainerContainerArchiveContainer= ArchiveContainer.m2ts() with ser…#
The container (transport stream) for this output — an MPEG-TS (M2TS) or raw container.

Use the ArchiveContainer factory methods.

default

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

encodesEncodeConfiguration[]encodestyping.List[EncodeConfiguration]encodesList<EncodeConfiguration>EncodesEncodeConfiguration[]Encodes*[]EncodeConfigurationrequired#
The encode configurations to wire to this output.
extensionstringextensionstrextensionStringExtensionstringExtension*string= auto-selected from container typ…#
The output file extension.
default

Default: auto-selected from container type

nameModifierstringname_modifierstrnameModifierStringNameModifierstringNameModifier*string= no name modifier#
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.

outputNamestringoutput_namestroutputNameStringOutputNamestringOutputName*stringrequired#
The name of this output.

Must be unique across all outputs in the channel.