aws-cdk-lib.aws_mediapackage.CfnOriginEndpoint.CmafPackageProperty

interface CmafPackageProperty

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

Parameters for Common Media Application Format (CMAF) 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 cmafPackageProperty: mediapackage.CfnOriginEndpoint.CmafPackageProperty = {
  encryption: {
    spekeKeyProvider: {
      resourceId: 'resourceId',
      roleArn: 'roleArn',
      systemIds: ['systemIds'],
      url: 'url',

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

    // the properties below are optional
    constantInitializationVector: 'constantInitializationVector',
    encryptionMethod: 'encryptionMethod',
    keyRotationIntervalSeconds: 123,
  },
  hlsManifests: [{
    id: 'id',

    // the properties below are optional
    adMarkers: 'adMarkers',
    adsOnDeliveryRestrictions: 'adsOnDeliveryRestrictions',
    adTriggers: ['adTriggers'],
    includeIframeOnlyStream: false,
    manifestName: 'manifestName',
    playlistType: 'playlistType',
    playlistWindowSeconds: 123,
    programDateTimeIntervalSeconds: 123,
    url: 'url',
  }],
  segmentDurationSeconds: 123,
  segmentPrefix: 'segmentPrefix',
  streamSelection: {
    maxVideoBitsPerSecond: 123,
    minVideoBitsPerSecond: 123,
    streamOrder: 'streamOrder',
  },
};

Properties

NameTypeDescription
encryption?IResolvable | CmafEncryptionPropertyParameters for encrypting content.
hlsManifests?IResolvable | IResolvable | HlsManifestProperty[]A list of HLS manifest configurations that are available from this endpoint.
segmentDurationSeconds?numberDuration (in seconds) of each segment.
segmentPrefix?stringAn optional custom string that is prepended to the name of each segment.
streamSelection?IResolvable | StreamSelectionPropertyLimitations for outputs from the endpoint, based on the video bitrate.

encryption?

Type: IResolvable | CmafEncryptionProperty (optional)

Parameters for encrypting content.


hlsManifests?

Type: IResolvable | IResolvable | HlsManifestProperty[] (optional)

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


segmentDurationSeconds?

Type: number (optional)

Duration (in seconds) of each segment.

Actual segments are rounded to the nearest multiple of the source segment duration.


segmentPrefix?

Type: string (optional)

An optional custom string that is prepended to the name of each segment.

If not specified, the segment prefix defaults to the ChannelId.


streamSelection?

Type: IResolvable | StreamSelectionProperty (optional)

Limitations for outputs from the endpoint, based on the video bitrate.