Class CfnPackagingConfigurationPropsMixin

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.Mixin
software.amazon.awscdk.cfnpropertymixins.services.mediapackage.CfnPackagingConfigurationPropsMixin
All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable, software.constructs.IMixin

@Generated(value="jsii-pacmak/1.127.0 (build 2117ad5)", date="2026-03-11T13:20:01.601Z") @Stability(Stable) public class CfnPackagingConfigurationPropsMixin extends Mixin implements software.constructs.IMixin
Creates a packaging configuration in a packaging group.

The packaging configuration represents a single delivery point for an asset. It determines the format and setting for the egressing content. Specify only one package format per configuration, such as HlsPackage .

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.cfnpropertymixins.services.mediapackage.*;
 import software.amazon.awscdk.*;
 IMergeStrategy mergeStrategy;
 CfnPackagingConfigurationPropsMixin cfnPackagingConfigurationPropsMixin = CfnPackagingConfigurationPropsMixin.Builder.create(CfnPackagingConfigurationMixinProps.builder()
         .cmafPackage(CmafPackageProperty.builder()
                 .encryption(CmafEncryptionProperty.builder()
                         .spekeKeyProvider(SpekeKeyProviderProperty.builder()
                                 .encryptionContractConfiguration(EncryptionContractConfigurationProperty.builder()
                                         .presetSpeke20Audio("presetSpeke20Audio")
                                         .presetSpeke20Video("presetSpeke20Video")
                                         .build())
                                 .roleArn("roleArn")
                                 .systemIds(List.of("systemIds"))
                                 .url("url")
                                 .build())
                         .build())
                 .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()))
                 .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()))
                 .encryption(DashEncryptionProperty.builder()
                         .spekeKeyProvider(SpekeKeyProviderProperty.builder()
                                 .encryptionContractConfiguration(EncryptionContractConfigurationProperty.builder()
                                         .presetSpeke20Audio("presetSpeke20Audio")
                                         .presetSpeke20Video("presetSpeke20Video")
                                         .build())
                                 .roleArn("roleArn")
                                 .systemIds(List.of("systemIds"))
                                 .url("url")
                                 .build())
                         .build())
                 .includeEncoderConfigurationInSegments(false)
                 .includeIframeOnlyStream(false)
                 .periodTriggers(List.of("periodTriggers"))
                 .segmentDurationSeconds(123)
                 .segmentTemplateFormat("segmentTemplateFormat")
                 .build())
         .hlsPackage(HlsPackageProperty.builder()
                 .encryption(HlsEncryptionProperty.builder()
                         .constantInitializationVector("constantInitializationVector")
                         .encryptionMethod("encryptionMethod")
                         .spekeKeyProvider(SpekeKeyProviderProperty.builder()
                                 .encryptionContractConfiguration(EncryptionContractConfigurationProperty.builder()
                                         .presetSpeke20Audio("presetSpeke20Audio")
                                         .presetSpeke20Video("presetSpeke20Video")
                                         .build())
                                 .roleArn("roleArn")
                                 .systemIds(List.of("systemIds"))
                                 .url("url")
                                 .build())
                         .build())
                 .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()))
                 .includeDvbSubtitles(false)
                 .segmentDurationSeconds(123)
                 .useAudioRenditionGroup(false)
                 .build())
         .id("id")
         .mssPackage(MssPackageProperty.builder()
                 .encryption(MssEncryptionProperty.builder()
                         .spekeKeyProvider(SpekeKeyProviderProperty.builder()
                                 .encryptionContractConfiguration(EncryptionContractConfigurationProperty.builder()
                                         .presetSpeke20Audio("presetSpeke20Audio")
                                         .presetSpeke20Video("presetSpeke20Video")
                                         .build())
                                 .roleArn("roleArn")
                                 .systemIds(List.of("systemIds"))
                                 .url("url")
                                 .build())
                         .build())
                 .mssManifests(List.of(MssManifestProperty.builder()
                         .manifestName("manifestName")
                         .streamSelection(StreamSelectionProperty.builder()
                                 .maxVideoBitsPerSecond(123)
                                 .minVideoBitsPerSecond(123)
                                 .streamOrder("streamOrder")
                                 .build())
                         .build()))
                 .segmentDurationSeconds(123)
                 .build())
         .packagingGroupId("packagingGroupId")
         .tags(List.of(CfnTag.builder()
                 .key("key")
                 .value("value")
                 .build()))
         .build())
 .strategy(mergeStrategy)
 .build();
 

See Also:
  • Field Details

    • CFN_PROPERTY_KEYS

      @Stability(Stable) protected static final List<String> CFN_PROPERTY_KEYS
  • Constructor Details

    • CfnPackagingConfigurationPropsMixin

      protected CfnPackagingConfigurationPropsMixin(software.amazon.jsii.JsiiObjectRef objRef)
    • CfnPackagingConfigurationPropsMixin

      protected CfnPackagingConfigurationPropsMixin(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • CfnPackagingConfigurationPropsMixin

      @Stability(Stable) public CfnPackagingConfigurationPropsMixin(@NotNull CfnPackagingConfigurationMixinProps props, @Nullable CfnPropertyMixinOptions options)
      Create a mixin to apply properties to AWS::MediaPackage::PackagingConfiguration.

      Parameters:
      props - L1 properties to apply. This parameter is required.
      options - Mixin options.
    • CfnPackagingConfigurationPropsMixin

      @Stability(Stable) public CfnPackagingConfigurationPropsMixin(@NotNull CfnPackagingConfigurationMixinProps props)
      Create a mixin to apply properties to AWS::MediaPackage::PackagingConfiguration.

      Parameters:
      props - L1 properties to apply. This parameter is required.
  • Method Details

    • applyTo

      @Stability(Stable) public void applyTo(@NotNull software.constructs.IConstruct construct)
      Apply the mixin properties to the construct.

      Specified by:
      applyTo in interface software.constructs.IMixin
      Specified by:
      applyTo in class Mixin
      Parameters:
      construct - This parameter is required.
    • supports

      @Stability(Stable) @NotNull public Boolean supports(@NotNull software.constructs.IConstruct construct)
      Check if this mixin supports the given construct.

      Specified by:
      supports in interface software.constructs.IMixin
      Overrides:
      supports in class Mixin
      Parameters:
      construct - This parameter is required.
    • getProps

      @Stability(Stable) @NotNull protected CfnPackagingConfigurationMixinProps getProps()
    • getStrategy

      @Stability(Stable) @NotNull protected IMergeStrategy getStrategy()