Interface CfnOriginEndpoint.HlsPackageProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnOriginEndpoint.HlsPackageProperty.Jsii$Proxy
- Enclosing class:
CfnOriginEndpoint
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.mediapackage.*;
HlsPackageProperty hlsPackageProperty = HlsPackageProperty.builder()
.adMarkers("adMarkers")
.adsOnDeliveryRestrictions("adsOnDeliveryRestrictions")
.adTriggers(List.of("adTriggers"))
.encryption(HlsEncryptionProperty.builder()
.spekeKeyProvider(SpekeKeyProviderProperty.builder()
.resourceId("resourceId")
.roleArn("roleArn")
.systemIds(List.of("systemIds"))
.url("url")
// the properties below are optional
.certificateArn("certificateArn")
.encryptionContractConfiguration(EncryptionContractConfigurationProperty.builder()
.presetSpeke20Audio("presetSpeke20Audio")
.presetSpeke20Video("presetSpeke20Video")
.build())
.build())
// the properties below are optional
.constantInitializationVector("constantInitializationVector")
.encryptionMethod("encryptionMethod")
.keyRotationIntervalSeconds(123)
.repeatExtXKey(false)
.build())
.includeDvbSubtitles(false)
.includeIframeOnlyStream(false)
.playlistType("playlistType")
.playlistWindowSeconds(123)
.programDateTimeIntervalSeconds(123)
.segmentDurationSeconds(123)
.streamSelection(StreamSelectionProperty.builder()
.maxVideoBitsPerSecond(123)
.minVideoBitsPerSecond(123)
.streamOrder("streamOrder")
.build())
.useAudioRenditionGroup(false)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnOriginEndpoint.HlsPackagePropertystatic final classAn implementation forCfnOriginEndpoint.HlsPackageProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringControls how ad markers are included in the packaged endpoint.default StringThe flags on SCTE-35 segmentation descriptors that have to be present for AWS Elemental MediaPackage to insert ad markers in the output manifest.Specifies the SCTE-35 message types that AWS Elemental MediaPackage treats as ad markers in the output manifest.default ObjectParameters for encrypting content.default ObjectWhen enabled, MediaPackage passes through digital video broadcasting (DVB) subtitles into the output.default ObjectOnly applies to stream sets with a single video track.default StringWhen specified as eithereventorvod, a correspondingEXT-X-PLAYLIST-TYPEentry is included in the media playlist.default NumberTime window (in seconds) contained in each parent manifest.default NumberInsertsEXT-X-PROGRAM-DATE-TIMEtags in the output manifest at the interval that you specify.default NumberDuration (in seconds) of each fragment.default ObjectLimitations for outputs from the endpoint, based on the video bitrate.default ObjectWhen true, AWS Elemental MediaPackage bundles all audio tracks in a rendition group.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAdMarkers
Controls how ad markers are included in the packaged endpoint.Valid values:
NONE- Omits all SCTE-35 ad markers from the output.PASSTHROUGH- Creates a copy in the output of the SCTE-35 ad markers (comments) taken directly from the input manifest.SCTE35_ENHANCED- Generates ad markers and blackout tags in the output based on the SCTE-35 messages from the input manifest.
- See Also:
-
getAdsOnDeliveryRestrictions
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 .
- See Also:
-
getAdTriggers
Specifies the SCTE-35 message types that AWS Elemental MediaPackage treats as ad markers in the output manifest.Valid values:
BREAKDISTRIBUTOR_ADVERTISEMENTDISTRIBUTOR_OVERLAY_PLACEMENT_OPPORTUNITYDISTRIBUTOR_PLACEMENT_OPPORTUNITYPROVIDER_ADVERTISEMENTPROVIDER_OVERLAY_PLACEMENT_OPPORTUNITYPROVIDER_PLACEMENT_OPPORTUNITYSPLICE_INSERT
- See Also:
-
getEncryption
Parameters for encrypting content.- See Also:
-
getIncludeDvbSubtitles
When enabled, MediaPackage passes through digital video broadcasting (DVB) subtitles into the output.- See Also:
-
getIncludeIframeOnlyStream
Only applies to stream sets with a single video track.When true, the stream set includes an additional I-frame only stream, along with the other tracks. If false, this extra stream is not included.
- See Also:
-
getPlaylistType
When specified as eithereventorvod, a correspondingEXT-X-PLAYLIST-TYPEentry is included in the media playlist.Indicates if the playlist is live-to-VOD content.
- See Also:
-
getPlaylistWindowSeconds
Time window (in seconds) contained in each parent manifest.- See Also:
-
getProgramDateTimeIntervalSeconds
InsertsEXT-X-PROGRAM-DATE-TIMEtags in the output manifest at the interval that you specify.Irrespective of this parameter, if any ID3Timed metadata is in the HLS input, it is passed through to the HLS output.
Omit this attribute or enter
0to indicate that theEXT-X-PROGRAM-DATE-TIMEtags are not included in the manifest.- See Also:
-
getSegmentDurationSeconds
Duration (in seconds) of each fragment.Actual fragments are rounded to the nearest multiple of the source fragment duration.
- See Also:
-
getStreamSelection
Limitations for outputs from the endpoint, based on the video bitrate.- See Also:
-
getUseAudioRenditionGroup
When true, AWS Elemental MediaPackage bundles all audio tracks in a rendition group.All other tracks in the stream can be used with any audio rendition from the group.
- See Also:
-
builder
-