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:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA fluent builder forCfnPackagingConfigurationPropsMixin.static interfaceHolds encryption information so that access to the content can be controlled by a DRM solution.static interfaceParameters for a packaging configuration that uses Common Media Application Format (CMAF) packaging.static interfaceHolds encryption information so that access to the content can be controlled by a DRM solution.static interfaceParameters for a DASH manifest.static interfaceParameters for a packaging configuration that uses Dynamic Adaptive Streaming over HTTP (DASH) packaging.static interfaceUseencryptionContractConfigurationto configure one or more content encryption keys for your endpoints that use SPEKE Version 2.0.static interfaceHolds encryption information so that access to the content can be controlled by a DRM solution.static interfaceParameters for an HLS manifest.static interfaceParameters for a packaging configuration that uses HTTP Live Streaming (HLS) packaging.static interfaceHolds encryption information so that access to the content can be controlled by a DRM solution.static interfaceParameters for a Microsoft Smooth manifest.static interfaceParameters for a packaging configuration that uses Microsoft Smooth Streaming (MSS) packaging.static interfaceA configuration for accessing an external Secure Packager and Encoder Key Exchange (SPEKE) service that provides encryption keys.static interfaceLimitations for outputs from the endpoint, based on the video bitrate.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IMixin
software.constructs.IMixin.Jsii$Default, software.constructs.IMixin.Jsii$Proxy -
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionCreate a mixin to apply properties toAWS::MediaPackage::PackagingConfiguration.CfnPackagingConfigurationPropsMixin(CfnPackagingConfigurationMixinProps props, CfnPropertyMixinOptions options) Create a mixin to apply properties toAWS::MediaPackage::PackagingConfiguration.protectedCfnPackagingConfigurationPropsMixin(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnPackagingConfigurationPropsMixin(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionvoidapplyTo(software.constructs.IConstruct construct) Apply the mixin properties to the construct.protected CfnPackagingConfigurationMixinPropsgetProps()protected IMergeStrategysupports(software.constructs.IConstruct construct) Check if this mixin supports the given construct.Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
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 toAWS::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 toAWS::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. -
supports
@Stability(Stable) @NotNull public Boolean supports(@NotNull software.constructs.IConstruct construct) Check if this mixin supports the given construct. -
getProps
-
getStrategy
-