class CfnPackagingConfigurationPropsMixin
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.MediaPackage.Mixins.CfnPackagingConfigurationPropsMixin |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsmediapackage/mixins#CfnPackagingConfigurationPropsMixin |
Java | software.amazon.awscdk.mixins.preview.services.mediapackage.mixins.CfnPackagingConfigurationPropsMixin |
Python | aws_cdk.mixins_preview.aws_mediapackage.mixins.CfnPackagingConfigurationPropsMixin |
TypeScript | @aws-cdk/mixins-preview » aws_mediapackage » mixins » CfnPackagingConfigurationPropsMixin |
Implements
IMixin
Extends
Mixin
Creates a packaging configuration in a packaging group.
The packaging configuration represents a single delivery point for an asset. It determines the format and setting for the egressing content. Specify only one package format per configuration, such as HlsPackage .
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins } from '@aws-cdk/mixins-preview';
import { mixins as mediapackage_mixins } from '@aws-cdk/mixins-preview/aws-mediapackage';
const cfnPackagingConfigurationPropsMixin = new mediapackage_mixins.CfnPackagingConfigurationPropsMixin({
cmafPackage: {
encryption: {
spekeKeyProvider: {
encryptionContractConfiguration: {
presetSpeke20Audio: 'presetSpeke20Audio',
presetSpeke20Video: 'presetSpeke20Video',
},
roleArn: 'roleArn',
systemIds: ['systemIds'],
url: 'url',
},
},
hlsManifests: [{
adMarkers: 'adMarkers',
includeIframeOnlyStream: false,
manifestName: 'manifestName',
programDateTimeIntervalSeconds: 123,
repeatExtXKey: false,
streamSelection: {
maxVideoBitsPerSecond: 123,
minVideoBitsPerSecond: 123,
streamOrder: 'streamOrder',
},
}],
includeEncoderConfigurationInSegments: false,
segmentDurationSeconds: 123,
},
dashPackage: {
dashManifests: [{
manifestLayout: 'manifestLayout',
manifestName: 'manifestName',
minBufferTimeSeconds: 123,
profile: 'profile',
scteMarkersSource: 'scteMarkersSource',
streamSelection: {
maxVideoBitsPerSecond: 123,
minVideoBitsPerSecond: 123,
streamOrder: 'streamOrder',
},
}],
encryption: {
spekeKeyProvider: {
encryptionContractConfiguration: {
presetSpeke20Audio: 'presetSpeke20Audio',
presetSpeke20Video: 'presetSpeke20Video',
},
roleArn: 'roleArn',
systemIds: ['systemIds'],
url: 'url',
},
},
includeEncoderConfigurationInSegments: false,
includeIframeOnlyStream: false,
periodTriggers: ['periodTriggers'],
segmentDurationSeconds: 123,
segmentTemplateFormat: 'segmentTemplateFormat',
},
hlsPackage: {
encryption: {
constantInitializationVector: 'constantInitializationVector',
encryptionMethod: 'encryptionMethod',
spekeKeyProvider: {
encryptionContractConfiguration: {
presetSpeke20Audio: 'presetSpeke20Audio',
presetSpeke20Video: 'presetSpeke20Video',
},
roleArn: 'roleArn',
systemIds: ['systemIds'],
url: 'url',
},
},
hlsManifests: [{
adMarkers: 'adMarkers',
includeIframeOnlyStream: false,
manifestName: 'manifestName',
programDateTimeIntervalSeconds: 123,
repeatExtXKey: false,
streamSelection: {
maxVideoBitsPerSecond: 123,
minVideoBitsPerSecond: 123,
streamOrder: 'streamOrder',
},
}],
includeDvbSubtitles: false,
segmentDurationSeconds: 123,
useAudioRenditionGroup: false,
},
id: 'id',
mssPackage: {
encryption: {
spekeKeyProvider: {
encryptionContractConfiguration: {
presetSpeke20Audio: 'presetSpeke20Audio',
presetSpeke20Video: 'presetSpeke20Video',
},
roleArn: 'roleArn',
systemIds: ['systemIds'],
url: 'url',
},
},
mssManifests: [{
manifestName: 'manifestName',
streamSelection: {
maxVideoBitsPerSecond: 123,
minVideoBitsPerSecond: 123,
streamOrder: 'streamOrder',
},
}],
segmentDurationSeconds: 123,
},
packagingGroupId: 'packagingGroupId',
tags: [{
key: 'key',
value: 'value',
}],
}, /* all optional props */ {
strategy: mixins.PropertyMergeStrategy.OVERRIDE,
});
Initializer
new CfnPackagingConfigurationPropsMixin(props: CfnPackagingConfigurationMixinProps, options?: CfnPropertyMixinOptions)
Parameters
- props
Cfn— L1 properties to apply.Packaging Configuration Mixin Props - options
Cfn— Mixin options.Property Mixin Options
Create a mixin to apply properties to AWS::MediaPackage::PackagingConfiguration.
Properties
| Name | Type | Description |
|---|---|---|
| props | Cfn | |
| strategy | Property | |
| static CFN_PROPERTY_KEYS | string[] |
props
Type:
Cfn
strategy
Type:
Property
static CFN_PROPERTY_KEYS
Type:
string[]
Methods
| Name | Description |
|---|---|
| apply | Apply the mixin properties to the construct. |
| supports(construct) | Check if this mixin supports the given construct. |
applyTo(construct)
public applyTo(construct: IConstruct): IConstruct
Parameters
- construct
IConstruct
Returns
Apply the mixin properties to the construct.
supports(construct)
public supports(construct: IConstruct): boolean
Parameters
- construct
IConstruct
Returns
boolean
Check if this mixin supports the given construct.

.NET
Go
Java
Python
TypeScript