interface CfnPackagingConfigurationProps
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.MediaPackage.CfnPackagingConfigurationProps |
Java | software.amazon.awscdk.services.mediapackage.CfnPackagingConfigurationProps |
Python | aws_cdk.aws_mediapackage.CfnPackagingConfigurationProps |
TypeScript | @aws-cdk/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 * as mediapackage from '@aws-cdk/aws-mediapackage';
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
Name | Type | Description |
---|---|---|
id | string | Unique identifier that you assign to the packaging configuration. |
packaging | string | The ID of the packaging group associated with this packaging configuration. |
cmaf | IResolvable | Cmaf | Parameters for CMAF packaging. |
dash | IResolvable | Dash | Parameters for DASH-ISO packaging. |
hls | IResolvable | Hls | Parameters for Apple HLS packaging. |
mss | IResolvable | Mss | Parameters for Microsoft Smooth Streaming packaging. |
tags? | Cfn [] | 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
|
Cmaf
(optional)
Parameters for CMAF packaging.
dashPackage?
Type:
IResolvable
|
Dash
(optional)
Parameters for DASH-ISO packaging.
hlsPackage?
Type:
IResolvable
|
Hls
(optional)
Parameters for Apple HLS packaging.
mssPackage?
Type:
IResolvable
|
Mss
(optional)
Parameters for Microsoft Smooth Streaming packaging.
tags?
Type:
Cfn
[]
(optional)
The tags to assign to the packaging configuration.