Interface CfnOriginEndpoint.CmafPackageProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnOriginEndpoint.CmafPackageProperty.Jsii$Proxy
- Enclosing class:
CfnOriginEndpoint
@Stability(Stable)
public static interface CfnOriginEndpoint.CmafPackageProperty
extends software.amazon.jsii.JsiiSerializable
Parameters for 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.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().build()) .build()) // the properties below are optional .constantInitializationVector("constantInitializationVector") .encryptionMethod("encryptionMethod") .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();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnOriginEndpoint.CmafPackageProperty
static final class
An implementation forCfnOriginEndpoint.CmafPackageProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default Object
Parameters for encrypting content.default Object
A list of HLS manifest configurations that are available from this endpoint.default Number
Duration (in seconds) of each segment.default String
An optional custom string that is prepended to the name of each segment.default Object
Limitations for outputs from the endpoint, based on the video bitrate.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getEncryption
Parameters for encrypting content. -
getHlsManifests
A list of HLS manifest configurations that are available from this endpoint. -
getSegmentDurationSeconds
Duration (in seconds) of each segment.Actual segments are rounded to the nearest multiple of the source segment duration.
-
getSegmentPrefix
An optional custom string that is prepended to the name of each segment.If not specified, the segment prefix defaults to the ChannelId.
-
getStreamSelection
Limitations for outputs from the endpoint, based on the video bitrate. -
builder
-