@Stability(value=Stable)
public static interface CfnOriginEndpoint.CmafPackageProperty
extends software.amazon.jsii.JsiiSerializable
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.*;
CmafPackageProperty cmafPackageProperty = CmafPackageProperty.builder()
.encryption(CmafEncryptionProperty.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")
.keyRotationIntervalSeconds(123)
.build())
.hlsManifests(List.of(HlsManifestProperty.builder()
.id("id")
// the properties below are optional
.adMarkers("adMarkers")
.adsOnDeliveryRestrictions("adsOnDeliveryRestrictions")
.adTriggers(List.of("adTriggers"))
.includeIframeOnlyStream(false)
.manifestName("manifestName")
.playlistType("playlistType")
.playlistWindowSeconds(123)
.programDateTimeIntervalSeconds(123)
.url("url")
.build()))
.segmentDurationSeconds(123)
.segmentPrefix("segmentPrefix")
.streamSelection(StreamSelectionProperty.builder()
.maxVideoBitsPerSecond(123)
.minVideoBitsPerSecond(123)
.streamOrder("streamOrder")
.build())
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnOriginEndpoint.CmafPackageProperty.Builder
A builder for
CfnOriginEndpoint.CmafPackageProperty |
static class |
CfnOriginEndpoint.CmafPackageProperty.Jsii$Proxy
An implementation for
CfnOriginEndpoint.CmafPackageProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnOriginEndpoint.CmafPackageProperty.Builder |
builder() |
default Object |
getEncryption()
Parameters for encrypting content.
|
default Object |
getHlsManifests()
A list of HLS manifest configurations that are available from this endpoint.
|
default Number |
getSegmentDurationSeconds()
Duration (in seconds) of each segment.
|
default String |
getSegmentPrefix()
An optional custom string that is prepended to the name of each segment.
|
default Object |
getStreamSelection()
Limitations for outputs from the endpoint, based on the video bitrate.
|
@Stability(value=Stable) @Nullable default Object getEncryption()
@Stability(value=Stable) @Nullable default Object getHlsManifests()
@Stability(value=Stable) @Nullable default Number getSegmentDurationSeconds()
Actual segments are rounded to the nearest multiple of the source segment duration.
@Stability(value=Stable) @Nullable default String getSegmentPrefix()
If not specified, the segment prefix defaults to the ChannelId.
@Stability(value=Stable) @Nullable default Object getStreamSelection()
@Stability(value=Stable) static CfnOriginEndpoint.CmafPackageProperty.Builder builder()
Copyright © 2022. All rights reserved.