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().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();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnOriginEndpoint.HlsPackageProperty
static final class
An implementation forCfnOriginEndpoint.HlsPackageProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default String
Controls how ad markers are included in the packaged endpoint.default String
The 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 Object
Parameters for encrypting content.default Object
When enabled, MediaPackage passes through digital video broadcasting (DVB) subtitles into the output.default Object
Only applies to stream sets with a single video track.default String
When specified as eitherevent
orvod
, a correspondingEXT-X-PLAYLIST-TYPE
entry is included in the media playlist.default Number
Time window (in seconds) contained in each parent manifest.default Number
InsertsEXT-X-PROGRAM-DATE-TIME
tags in the output manifest at the interval that you specify.default Number
Duration (in seconds) of each fragment.default Object
Limitations for outputs from the endpoint, based on the video bitrate.default Object
When 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.
-
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 .
-
getAdTriggers
Specifies the SCTE-35 message types that AWS Elemental MediaPackage treats as ad markers in the output manifest.Valid values:
BREAK
DISTRIBUTOR_ADVERTISEMENT
DISTRIBUTOR_OVERLAY_PLACEMENT_OPPORTUNITY
DISTRIBUTOR_PLACEMENT_OPPORTUNITY
PROVIDER_ADVERTISEMENT
PROVIDER_OVERLAY_PLACEMENT_OPPORTUNITY
PROVIDER_PLACEMENT_OPPORTUNITY
SPLICE_INSERT
-
getEncryption
Parameters for encrypting content. -
getIncludeDvbSubtitles
When enabled, MediaPackage passes through digital video broadcasting (DVB) subtitles into the output. -
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.
-
getPlaylistType
When specified as eitherevent
orvod
, a correspondingEXT-X-PLAYLIST-TYPE
entry is included in the media playlist.Indicates if the playlist is live-to-VOD content.
-
getPlaylistWindowSeconds
Time window (in seconds) contained in each parent manifest. -
getProgramDateTimeIntervalSeconds
InsertsEXT-X-PROGRAM-DATE-TIME
tags in the output manifest at the interval that you specify.Additionally, ID3Timed metadata messages are generated every 5 seconds starting when the content was ingested.
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
0
to indicate that theEXT-X-PROGRAM-DATE-TIME
tags are not included in the manifest. -
getSegmentDurationSeconds
Duration (in seconds) of each fragment.Actual fragments are rounded to the nearest multiple of the source fragment duration.
-
getStreamSelection
Limitations for outputs from the endpoint, based on the video bitrate. -
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.
-
builder
-