Interface CfnPackagingConfigurationProps

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnPackagingConfigurationProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:00.326Z") @Stability(Stable) public interface CfnPackagingConfigurationProps extends software.amazon.jsii.JsiiSerializable
Properties for defining a CfnPackagingConfiguration.

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.*;
 CfnPackagingConfigurationProps cfnPackagingConfigurationProps = CfnPackagingConfigurationProps.builder()
         .id("id")
         .packagingGroupId("packagingGroupId")
         // the properties below are optional
         .cmafPackage(CmafPackageProperty.builder()
                 .hlsManifests(List.of(HlsManifestProperty.builder()
                         .adMarkers("adMarkers")
                         .includeIframeOnlyStream(false)
                         .manifestName("manifestName")
                         .programDateTimeIntervalSeconds(123)
                         .repeatExtXKey(false)
                         .streamSelection(StreamSelectionProperty.builder()
                                 .maxVideoBitsPerSecond(123)
                                 .minVideoBitsPerSecond(123)
                                 .streamOrder("streamOrder")
                                 .build())
                         .build()))
                 // the properties below are optional
                 .encryption(CmafEncryptionProperty.builder()
                         .spekeKeyProvider(SpekeKeyProviderProperty.builder()
                                 .roleArn("roleArn")
                                 .systemIds(List.of("systemIds"))
                                 .url("url")
                                 // the properties below are optional
                                 .encryptionContractConfiguration(EncryptionContractConfigurationProperty.builder().build())
                                 .build())
                         .build())
                 .includeEncoderConfigurationInSegments(false)
                 .segmentDurationSeconds(123)
                 .build())
         .dashPackage(DashPackageProperty.builder()
                 .dashManifests(List.of(DashManifestProperty.builder()
                         .manifestLayout("manifestLayout")
                         .manifestName("manifestName")
                         .minBufferTimeSeconds(123)
                         .profile("profile")
                         .scteMarkersSource("scteMarkersSource")
                         .streamSelection(StreamSelectionProperty.builder()
                                 .maxVideoBitsPerSecond(123)
                                 .minVideoBitsPerSecond(123)
                                 .streamOrder("streamOrder")
                                 .build())
                         .build()))
                 // the properties below are optional
                 .encryption(DashEncryptionProperty.builder()
                         .spekeKeyProvider(SpekeKeyProviderProperty.builder()
                                 .roleArn("roleArn")
                                 .systemIds(List.of("systemIds"))
                                 .url("url")
                                 // the properties below are optional
                                 .encryptionContractConfiguration(EncryptionContractConfigurationProperty.builder().build())
                                 .build())
                         .build())
                 .includeEncoderConfigurationInSegments(false)
                 .includeIframeOnlyStream(false)
                 .periodTriggers(List.of("periodTriggers"))
                 .segmentDurationSeconds(123)
                 .segmentTemplateFormat("segmentTemplateFormat")
                 .build())
         .hlsPackage(HlsPackageProperty.builder()
                 .hlsManifests(List.of(HlsManifestProperty.builder()
                         .adMarkers("adMarkers")
                         .includeIframeOnlyStream(false)
                         .manifestName("manifestName")
                         .programDateTimeIntervalSeconds(123)
                         .repeatExtXKey(false)
                         .streamSelection(StreamSelectionProperty.builder()
                                 .maxVideoBitsPerSecond(123)
                                 .minVideoBitsPerSecond(123)
                                 .streamOrder("streamOrder")
                                 .build())
                         .build()))
                 // the properties below are optional
                 .encryption(HlsEncryptionProperty.builder()
                         .spekeKeyProvider(SpekeKeyProviderProperty.builder()
                                 .roleArn("roleArn")
                                 .systemIds(List.of("systemIds"))
                                 .url("url")
                                 // the properties below are optional
                                 .encryptionContractConfiguration(EncryptionContractConfigurationProperty.builder().build())
                                 .build())
                         // the properties below are optional
                         .constantInitializationVector("constantInitializationVector")
                         .encryptionMethod("encryptionMethod")
                         .build())
                 .includeDvbSubtitles(false)
                 .segmentDurationSeconds(123)
                 .useAudioRenditionGroup(false)
                 .build())
         .mssPackage(MssPackageProperty.builder()
                 .mssManifests(List.of(MssManifestProperty.builder()
                         .manifestName("manifestName")
                         .streamSelection(StreamSelectionProperty.builder()
                                 .maxVideoBitsPerSecond(123)
                                 .minVideoBitsPerSecond(123)
                                 .streamOrder("streamOrder")
                                 .build())
                         .build()))
                 // the properties below are optional
                 .encryption(MssEncryptionProperty.builder()
                         .spekeKeyProvider(SpekeKeyProviderProperty.builder()
                                 .roleArn("roleArn")
                                 .systemIds(List.of("systemIds"))
                                 .url("url")
                                 // the properties below are optional
                                 .encryptionContractConfiguration(EncryptionContractConfigurationProperty.builder().build())
                                 .build())
                         .build())
                 .segmentDurationSeconds(123)
                 .build())
         .tags(List.of(CfnTag.builder()
                 .key("key")
                 .value("value")
                 .build()))
         .build();
 
  • Method Details

    • getId

      @Stability(Stable) @NotNull String getId()
      Unique identifier that you assign to the packaging configuration.
    • getPackagingGroupId

      @Stability(Stable) @NotNull String getPackagingGroupId()
      The ID of the packaging group associated with this packaging configuration.
    • getCmafPackage

      @Stability(Stable) @Nullable default Object getCmafPackage()
      Parameters for CMAF packaging.
    • getDashPackage

      @Stability(Stable) @Nullable default Object getDashPackage()
      Parameters for DASH-ISO packaging.
    • getHlsPackage

      @Stability(Stable) @Nullable default Object getHlsPackage()
      Parameters for Apple HLS packaging.
    • getMssPackage

      @Stability(Stable) @Nullable default Object getMssPackage()
      Parameters for Microsoft Smooth Streaming packaging.
    • getTags

      @Stability(Stable) @Nullable default List<CfnTag> getTags()
      The tags to assign to the packaging configuration.
    • builder

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