aws-cdk-lib.aws_mediapackage.CfnOriginEndpoint.DashPackageProperty

interface DashPackageProperty

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

Parameters for DASH 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 dashPackageProperty: mediapackage.CfnOriginEndpoint.DashPackageProperty = {
  adsOnDeliveryRestrictions: 'adsOnDeliveryRestrictions',
  adTriggers: ['adTriggers'],
  encryption: {
    spekeKeyProvider: {
      resourceId: 'resourceId',
      roleArn: 'roleArn',
      systemIds: ['systemIds'],
      url: 'url',

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

    // the properties below are optional
    keyRotationIntervalSeconds: 123,
  },
  includeIframeOnlyStream: false,
  manifestLayout: 'manifestLayout',
  manifestWindowSeconds: 123,
  minBufferTimeSeconds: 123,
  minUpdatePeriodSeconds: 123,
  periodTriggers: ['periodTriggers'],
  profile: 'profile',
  segmentDurationSeconds: 123,
  segmentTemplateFormat: 'segmentTemplateFormat',
  streamSelection: {
    maxVideoBitsPerSecond: 123,
    minVideoBitsPerSecond: 123,
    streamOrder: 'streamOrder',
  },
  suggestedPresentationDelaySeconds: 123,
  utcTiming: 'utcTiming',
  utcTimingUri: 'utcTimingUri',
};

Properties

NameTypeDescription
adTriggers?string[]Specifies the SCTE-35 message types that AWS Elemental MediaPackage treats as ad markers in the output manifest.
adsOnDeliveryRestrictions?stringThe flags on SCTE-35 segmentation descriptors that have to be present for AWS Elemental MediaPackage to insert ad markers in the output manifest.
encryption?IResolvable | DashEncryptionPropertyParameters for encrypting content.
includeIframeOnlyStream?boolean | IResolvableThis applies only to stream sets with a single video track.
manifestLayout?stringDetermines the position of some tags in the manifest.
manifestWindowSeconds?numberTime window (in seconds) contained in each manifest.
minBufferTimeSeconds?numberMinimum amount of content (measured in seconds) that a player must keep available in the buffer.
minUpdatePeriodSeconds?numberMinimum amount of time (in seconds) that the player should wait before requesting updates to the manifest.
periodTriggers?string[]Controls whether AWS Elemental MediaPackage produces single-period or multi-period DASH manifests.
profile?stringThe DASH profile for the output.
segmentDurationSeconds?numberDuration (in seconds) of each fragment.
segmentTemplateFormat?stringDetermines the type of variable used in the media URL of the SegmentTemplate tag in the manifest.
streamSelection?IResolvable | StreamSelectionPropertyLimitations for outputs from the endpoint, based on the video bitrate.
suggestedPresentationDelaySeconds?numberAmount of time (in seconds) that the player should be from the live point at the end of the manifest.
utcTiming?stringDetermines the type of UTC timing included in the DASH Media Presentation Description (MPD).
utcTimingUri?stringSpecifies the value attribute of the UTC timing field when utcTiming is set to HTTP-ISO or HTTP-HEAD.

adTriggers?

Type: string[] (optional)

Specifies the SCTE-35 message types that AWS Elemental MediaPackage treats as ad markers in the output manifest.

Valid values:

  • BREAK
  • DISTRIBUTOR_ADVERTISEMENT
  • DISTRIBUTOR_OVERLAY_PLACEMENT_OPPORTUNITY .
  • DISTRIBUTOR_PLACEMENT_OPPORTUNITY .
  • PROVIDER_ADVERTISEMENT .
  • PROVIDER_OVERLAY_PLACEMENT_OPPORTUNITY .
  • PROVIDER_PLACEMENT_OPPORTUNITY .
  • SPLICE_INSERT .

adsOnDeliveryRestrictions?

Type: string (optional)

The flags on SCTE-35 segmentation descriptors that have to be present for AWS Elemental MediaPackage to insert ad markers in the output manifest.

For information about SCTE-35 in AWS Elemental MediaPackage , see SCTE-35 Message Options in AWS Elemental MediaPackage .


encryption?

Type: IResolvable | DashEncryptionProperty (optional)

Parameters for encrypting content.


includeIframeOnlyStream?

Type: boolean | IResolvable (optional)

This applies only to stream sets with a single video track.

When true, the stream set includes an additional I-frame trick-play only stream, along with the other tracks. If false, this extra stream is not included.


manifestLayout?

Type: string (optional)

Determines the position of some tags in the manifest.

Valid values:

  • FULL - Elements like SegmentTemplate and ContentProtection are included in each Representation .
  • COMPACT - Duplicate elements are combined and presented at the AdaptationSet level.

manifestWindowSeconds?

Type: number (optional)

Time window (in seconds) contained in each manifest.


minBufferTimeSeconds?

Type: number (optional)

Minimum amount of content (measured in seconds) that a player must keep available in the buffer.


minUpdatePeriodSeconds?

Type: number (optional)

Minimum amount of time (in seconds) that the player should wait before requesting updates to the manifest.


periodTriggers?

Type: string[] (optional)

Controls whether AWS Elemental MediaPackage produces single-period or multi-period DASH manifests.

For more information about periods, see Multi-period DASH in AWS Elemental MediaPackage .

Valid values:

  • ADS - AWS Elemental MediaPackage will produce multi-period DASH manifests. Periods are created based on the SCTE-35 ad markers present in the input manifest.
  • No value - AWS Elemental MediaPackage will produce single-period DASH manifests. This is the default setting.

profile?

Type: string (optional)

The DASH profile for the output.

Valid values:

  • NONE - The output doesn't use a DASH profile.
  • HBBTV_1_5 - The output is compliant with HbbTV v1.5.
  • DVB_DASH_2014 - The output is compliant with DVB-DASH 2014.

segmentDurationSeconds?

Type: number (optional)

Duration (in seconds) of each fragment.

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


segmentTemplateFormat?

Type: string (optional)

Determines the type of variable used in the media URL of the SegmentTemplate tag in the manifest.

Also specifies if segment timeline information is included in SegmentTimeline or SegmentTemplate .

Valid values:

  • NUMBER_WITH_TIMELINE - The $Number$ variable is used in the media URL. The value of this variable is the sequential number of the segment. A full SegmentTimeline object is presented in each SegmentTemplate .
  • NUMBER_WITH_DURATION - The $Number$ variable is used in the media URL and a duration attribute is added to the segment template. The SegmentTimeline object is removed from the representation.
  • TIME_WITH_TIMELINE - The $Time$ variable is used in the media URL. The value of this variable is the timestamp of when the segment starts. A full SegmentTimeline object is presented in each SegmentTemplate .

streamSelection?

Type: IResolvable | StreamSelectionProperty (optional)

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


suggestedPresentationDelaySeconds?

Type: number (optional)

Amount of time (in seconds) that the player should be from the live point at the end of the manifest.


utcTiming?

Type: string (optional)

Determines the type of UTC timing included in the DASH Media Presentation Description (MPD).


utcTimingUri?

Type: string (optional)

Specifies the value attribute of the UTC timing field when utcTiming is set to HTTP-ISO or HTTP-HEAD.