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();
 
  • Method Details

    • getEncryption

      @Stability(Stable) @Nullable default Object getEncryption()
      Parameters for encrypting content.
    • getHlsManifests

      @Stability(Stable) @Nullable default Object getHlsManifests()
      A list of HLS manifest configurations that are available from this endpoint.
    • getSegmentDurationSeconds

      @Stability(Stable) @Nullable default Number getSegmentDurationSeconds()
      Duration (in seconds) of each segment.

      Actual segments are rounded to the nearest multiple of the source segment duration.

    • getSegmentPrefix

      @Stability(Stable) @Nullable default String 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

      @Stability(Stable) @Nullable default Object getStreamSelection()
      Limitations for outputs from the endpoint, based on the video bitrate.
    • builder

      @Stability(Stable) static CfnOriginEndpoint.CmafPackageProperty.Builder builder()
      Returns:
      a CfnOriginEndpoint.CmafPackageProperty.Builder of CfnOriginEndpoint.CmafPackageProperty