Interface CfnPackagingConfigurationPropsMixin.CmafPackageProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnPackagingConfigurationPropsMixin.CmafPackageProperty.Jsii$Proxy
- Enclosing class:
CfnPackagingConfigurationPropsMixin
@Stability(Stable)
public static interface CfnPackagingConfigurationPropsMixin.CmafPackageProperty
extends software.amazon.jsii.JsiiSerializable
Parameters for a packaging configuration that uses 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 software.amazon.awscdk.cfnpropertymixins.services.mediapackage.*;
CmafPackageProperty cmafPackageProperty = CmafPackageProperty.builder()
.encryption(CmafEncryptionProperty.builder()
.spekeKeyProvider(SpekeKeyProviderProperty.builder()
.encryptionContractConfiguration(EncryptionContractConfigurationProperty.builder()
.presetSpeke20Audio("presetSpeke20Audio")
.presetSpeke20Video("presetSpeke20Video")
.build())
.roleArn("roleArn")
.systemIds(List.of("systemIds"))
.url("url")
.build())
.build())
.hlsManifests(List.of(HlsManifestProperty.builder()
.adMarkers("adMarkers")
.includeIframeOnlyStream(false)
.manifestName("manifestName")
.programDateTimeIntervalSeconds(123)
.repeatExtXKey(false)
.streamSelection(StreamSelectionProperty.builder()
.maxVideoBitsPerSecond(123)
.minVideoBitsPerSecond(123)
.streamOrder("streamOrder")
.build())
.build()))
.includeEncoderConfigurationInSegments(false)
.segmentDurationSeconds(123)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnPackagingConfigurationPropsMixin.CmafPackagePropertystatic final classAn implementation forCfnPackagingConfigurationPropsMixin.CmafPackageProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectParameters for encrypting content.default ObjectA list of HLS manifest configurations that are available from this endpoint.default ObjectWhen includeEncoderConfigurationInSegments is set to true, AWS Elemental MediaPackage places your encoder's Sequence Parameter Set (SPS), Picture Parameter Set (PPS), and Video Parameter Set (VPS) metadata in every video segment instead of in the init fragment.default NumberDuration (in seconds) of each segment.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getEncryption
Parameters for encrypting content.Returns union: either
IResolvableorCfnPackagingConfigurationPropsMixin.CmafEncryptionProperty- See Also:
-
getHlsManifests
A list of HLS manifest configurations that are available from this endpoint.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnPackagingConfigurationPropsMixin.HlsManifestProperty>- See Also:
-
getIncludeEncoderConfigurationInSegments
When includeEncoderConfigurationInSegments is set to true, AWS Elemental MediaPackage places your encoder's Sequence Parameter Set (SPS), Picture Parameter Set (PPS), and Video Parameter Set (VPS) metadata in every video segment instead of in the init fragment.This lets you use different SPS/PPS/VPS settings for your assets during content playback.
Returns union: either
BooleanorIResolvable- See Also:
-
getSegmentDurationSeconds
Duration (in seconds) of each segment.Actual segments are rounded to the nearest multiple of the source fragment duration.
- See Also:
-
builder
-