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.

HlsOutputDefinition Struct ​

Output definition for an HLS 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 encodeConfiguration: medialive_alpha.EncodeConfiguration;
declare const h265PackagingType: medialive_alpha.H265PackagingType;
declare const hlsSettings: medialive_alpha.HlsSettings;
const hlsOutputDefinition: medialive_alpha.HlsOutputDefinition = {
  encodes: [encodeConfiguration],
  outputName: 'outputName',

  // the properties below are optional
  h265PackagingType: h265PackagingType,
  hlsSettings: hlsSettings,
  nameModifier: 'nameModifier',
  segmentModifier: 'segmentModifier',
};

Properties ​

encodesEncodeConfiguration[]encodestyping.List[EncodeConfiguration]encodesList<EncodeConfiguration>EncodesEncodeConfiguration[]Encodes*[]EncodeConfigurationrequired#
The encode configurations to wire to this output.
h265PackagingTypeH265PackagingTypeh265_packaging_typeH265PackagingTypeh265PackagingTypeH265PackagingTypeH265PackagingTypeH265PackagingTypeH265PackagingTypeH265PackagingType= service default#
For H.265 video, whether to package as HEV1 or HVC1.
hlsSettingsHlsSettingshls_settingsHlsSettingshlsSettingsHlsSettingsHlsSettingsHlsSettingsHlsSettingsHlsSettings= HlsSettings.standard() with serv…#
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

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

nameModifierstringname_modifierstrnameModifierStringNameModifierstringNameModifier*string= service default#
A string concatenated to the end of the destination file name.
outputNamestringoutput_namestroutputNameStringOutputNamestringOutputName*stringrequired#
The name of this output.

Must be unique across all outputs in the channel.

segmentModifierstringsegment_modifierstrsegmentModifierStringSegmentModifierstringSegmentModifier*string= no segment modifier#
A string concatenated to the end of segment file names.