aws-cdk-lib.aws_mediapackage.CfnPackagingConfigurationProps

interface CfnPackagingConfigurationProps

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

Properties for defining a CfnPackagingConfiguration.

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 cfnPackagingConfigurationProps: mediapackage.CfnPackagingConfigurationProps = {
  id: 'id',
  packagingGroupId: 'packagingGroupId',

  // the properties below are optional
  cmafPackage: {
    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: { },
      },
    },
    includeEncoderConfigurationInSegments: false,
    segmentDurationSeconds: 123,
  },
  dashPackage: {
    dashManifests: [{
      manifestLayout: 'manifestLayout',
      manifestName: 'manifestName',
      minBufferTimeSeconds: 123,
      profile: 'profile',
      scteMarkersSource: 'scteMarkersSource',
      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: { },
      },
    },
    includeEncoderConfigurationInSegments: false,
    includeIframeOnlyStream: false,
    periodTriggers: ['periodTriggers'],
    segmentDurationSeconds: 123,
    segmentTemplateFormat: 'segmentTemplateFormat',
  },
  hlsPackage: {
    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,
  },
  mssPackage: {
    mssManifests: [{
      manifestName: 'manifestName',
      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: { },
      },
    },
    segmentDurationSeconds: 123,
  },
  tags: [{
    key: 'key',
    value: 'value',
  }],
};

Properties

NameTypeDescription
idstringUnique identifier that you assign to the packaging configuration.
packagingGroupIdstringThe ID of the packaging group associated with this packaging configuration.
cmafPackage?IResolvable | CmafPackagePropertyParameters for CMAF packaging.
dashPackage?IResolvable | DashPackagePropertyParameters for DASH-ISO packaging.
hlsPackage?IResolvable | HlsPackagePropertyParameters for Apple HLS packaging.
mssPackage?IResolvable | MssPackagePropertyParameters for Microsoft Smooth Streaming packaging.
tags?CfnTag[]The tags to assign to the packaging configuration.

id

Type: string

Unique identifier that you assign to the packaging configuration.


packagingGroupId

Type: string

The ID of the packaging group associated with this packaging configuration.


cmafPackage?

Type: IResolvable | CmafPackageProperty (optional)

Parameters for CMAF packaging.


dashPackage?

Type: IResolvable | DashPackageProperty (optional)

Parameters for DASH-ISO packaging.


hlsPackage?

Type: IResolvable | HlsPackageProperty (optional)

Parameters for Apple HLS packaging.


mssPackage?

Type: IResolvable | MssPackageProperty (optional)

Parameters for Microsoft Smooth Streaming packaging.


tags?

Type: CfnTag[] (optional)

The tags to assign to the packaging configuration.