public static interface CfnOriginEndpoint.CmafPackageProperty
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 java.lang.Object |
getEncryption()
Parameters for encrypting content.
|
default java.lang.Object |
getHlsManifests()
A list of HLS manifest configurations that are available from this endpoint.
|
default java.lang.Number |
getSegmentDurationSeconds()
Duration (in seconds) of each segment.
|
default java.lang.String |
getSegmentPrefix()
An optional custom string that is prepended to the name of each segment.
|
default java.lang.Object |
getStreamSelection()
Limitations for outputs from the endpoint, based on the video bitrate.
|
default java.lang.Object getEncryption()
default java.lang.Object getHlsManifests()
default java.lang.Number getSegmentDurationSeconds()
Actual segments are rounded to the nearest multiple of the source segment duration.
default java.lang.String getSegmentPrefix()
If not specified, the segment prefix defaults to the ChannelId.
default java.lang.Object getStreamSelection()
static CfnOriginEndpoint.CmafPackageProperty.Builder builder()