Interface CfnOriginEndpoint.MssPackageProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnOriginEndpoint.MssPackageProperty.Jsii$Proxy
Enclosing class:
CfnOriginEndpoint

@Stability(Stable) public static interface CfnOriginEndpoint.MssPackageProperty extends software.amazon.jsii.JsiiSerializable
Parameters for Microsoft Smooth Streaming 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.*;
 MssPackageProperty mssPackageProperty = MssPackageProperty.builder()
         .encryption(MssEncryptionProperty.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())
                 .build())
         .manifestWindowSeconds(123)
         .segmentDurationSeconds(123)
         .streamSelection(StreamSelectionProperty.builder()
                 .maxVideoBitsPerSecond(123)
                 .minVideoBitsPerSecond(123)
                 .streamOrder("streamOrder")
                 .build())
         .build();
 
  • Method Details

    • getEncryption

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

      @Stability(Stable) @Nullable default Number getManifestWindowSeconds()
      Time window (in seconds) contained in each manifest.
    • getSegmentDurationSeconds

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

      Actual fragments are rounded to the nearest multiple of the source fragment duration.

    • getStreamSelection

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

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