aws-cdk-lib.aws_mediapackage.CfnPackagingConfiguration.HlsPackageProperty

interface HlsPackageProperty

LanguageType name
.NETAmazon.CDK.AWS.MediaPackage.CfnPackagingConfiguration.HlsPackageProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsmediapackage#CfnPackagingConfiguration_HlsPackageProperty
Javasoftware.amazon.awscdk.services.mediapackage.CfnPackagingConfiguration.HlsPackageProperty
Pythonaws_cdk.aws_mediapackage.CfnPackagingConfiguration.HlsPackageProperty
TypeScript aws-cdk-lib » aws_mediapackage » CfnPackagingConfiguration » HlsPackageProperty

Parameters for a packaging configuration that uses HTTP Live Streaming (HLS) packaging.

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_mediapackage as mediapackage } from 'aws-cdk-lib';
const hlsPackageProperty: mediapackage.CfnPackagingConfiguration.HlsPackageProperty = {
  hlsManifests: [{
    adMarkers: 'adMarkers',
    includeIframeOnlyStream: false,
    manifestName: 'manifestName',
    programDateTimeIntervalSeconds: 123,
    repeatExtXKey: false,
    streamSelection: {
      maxVideoBitsPerSecond: 123,
      minVideoBitsPerSecond: 123,
      streamOrder: 'streamOrder',
    },
  }],

  // the properties below are optional
  encryption: {
    spekeKeyProvider: {
      roleArn: 'roleArn',
      systemIds: ['systemIds'],
      url: 'url',

      // the properties below are optional
      encryptionContractConfiguration: { },
    },

    // the properties below are optional
    constantInitializationVector: 'constantInitializationVector',
    encryptionMethod: 'encryptionMethod',
  },
  includeDvbSubtitles: false,
  segmentDurationSeconds: 123,
  useAudioRenditionGroup: false,
};

Properties

NameTypeDescription
hlsManifestsIResolvable | IResolvable | HlsManifestProperty[]A list of HLS manifest configurations that are available from this endpoint.
encryption?IResolvable | HlsEncryptionPropertyParameters for encrypting content.
includeDvbSubtitles?boolean | IResolvableWhen enabled, MediaPackage passes through digital video broadcasting (DVB) subtitles into the output.
segmentDurationSeconds?numberDuration (in seconds) of each fragment.
useAudioRenditionGroup?boolean | IResolvableWhen true, AWS Elemental MediaPackage bundles all audio tracks in a rendition group.

hlsManifests

Type: IResolvable | IResolvable | HlsManifestProperty[]

A list of HLS manifest configurations that are available from this endpoint.


encryption?

Type: IResolvable | HlsEncryptionProperty (optional)

Parameters for encrypting content.


includeDvbSubtitles?

Type: boolean | IResolvable (optional)

When enabled, MediaPackage passes through digital video broadcasting (DVB) subtitles into the output.


segmentDurationSeconds?

Type: number (optional)

Duration (in seconds) of each fragment.

Actual fragments are rounded to the nearest multiple of the source fragment duration.


useAudioRenditionGroup?

Type: boolean | IResolvable (optional)

When true, AWS Elemental MediaPackage bundles all audio tracks in a rendition group.

All other tracks in the stream can be used with any audio rendition from the group.