interface CmafPackageProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.MediaPackage.CfnOriginEndpoint.CmafPackageProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsmediapackage#CfnOriginEndpoint_CmafPackageProperty |
Java | software.amazon.awscdk.services.mediapackage.CfnOriginEndpoint.CmafPackageProperty |
Python | aws_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: {
presetSpeke20Audio: 'presetSpeke20Audio',
presetSpeke20Video: 'presetSpeke20Video',
},
},
// 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
Name | Type | Description |
---|---|---|
encryption? | IResolvable | Cmaf | Parameters for encrypting content. |
hls | IResolvable | IResolvable | Hls [] | A list of HLS manifest configurations that are available from this endpoint. |
segment | number | Duration (in seconds) of each segment. |
segment | string | An optional custom string that is prepended to the name of each segment. |
stream | IResolvable | Stream | Limitations for outputs from the endpoint, based on the video bitrate. |
encryption?
Type:
IResolvable
|
Cmaf
(optional)
Parameters for encrypting content.
hlsManifests?
Type:
IResolvable
|
IResolvable
|
Hls
[]
(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
|
Stream
(optional)
Limitations for outputs from the endpoint, based on the video bitrate.