Class CfnOriginEndpointPropsMixin
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.mixins.preview.core.Mixin
software.amazon.awscdk.mixins.preview.services.mediapackage.mixins.CfnOriginEndpointPropsMixin
- All Implemented Interfaces:
IMixin,software.amazon.jsii.JsiiSerializable
@Generated(value="jsii-pacmak/1.121.0 (build d7af9b9)",
date="2025-12-18T18:20:28.414Z")
@Stability(Stable)
public class CfnOriginEndpointPropsMixin
extends Mixin
implements IMixin
Create an endpoint on an AWS Elemental MediaPackage channel.
An endpoint represents a single delivery point of a channel, and defines content output handling through various components, such as packaging protocols, DRM and encryption integration, and more.
After it's created, an endpoint provides a fixed public URL. This URL remains the same throughout the lifetime of the endpoint, regardless of any failures or upgrades that might occur. Integrate the URL with a downstream CDN (such as Amazon CloudFront) or playback device.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.mixins.preview.mixins.*;
import software.amazon.awscdk.mixins.preview.services.mediapackage.mixins.*;
CfnOriginEndpointPropsMixin cfnOriginEndpointPropsMixin = CfnOriginEndpointPropsMixin.Builder.create(CfnOriginEndpointMixinProps.builder()
.authorization(AuthorizationProperty.builder()
.cdnIdentifierSecret("cdnIdentifierSecret")
.secretsRoleArn("secretsRoleArn")
.build())
.channelId("channelId")
.cmafPackage(CmafPackageProperty.builder()
.encryption(CmafEncryptionProperty.builder()
.constantInitializationVector("constantInitializationVector")
.encryptionMethod("encryptionMethod")
.keyRotationIntervalSeconds(123)
.spekeKeyProvider(SpekeKeyProviderProperty.builder()
.certificateArn("certificateArn")
.encryptionContractConfiguration(EncryptionContractConfigurationProperty.builder()
.presetSpeke20Audio("presetSpeke20Audio")
.presetSpeke20Video("presetSpeke20Video")
.build())
.resourceId("resourceId")
.roleArn("roleArn")
.systemIds(List.of("systemIds"))
.url("url")
.build())
.build())
.hlsManifests(List.of(HlsManifestProperty.builder()
.adMarkers("adMarkers")
.adsOnDeliveryRestrictions("adsOnDeliveryRestrictions")
.adTriggers(List.of("adTriggers"))
.id("id")
.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())
.dashPackage(DashPackageProperty.builder()
.adsOnDeliveryRestrictions("adsOnDeliveryRestrictions")
.adTriggers(List.of("adTriggers"))
.encryption(DashEncryptionProperty.builder()
.keyRotationIntervalSeconds(123)
.spekeKeyProvider(SpekeKeyProviderProperty.builder()
.certificateArn("certificateArn")
.encryptionContractConfiguration(EncryptionContractConfigurationProperty.builder()
.presetSpeke20Audio("presetSpeke20Audio")
.presetSpeke20Video("presetSpeke20Video")
.build())
.resourceId("resourceId")
.roleArn("roleArn")
.systemIds(List.of("systemIds"))
.url("url")
.build())
.build())
.includeIframeOnlyStream(false)
.manifestLayout("manifestLayout")
.manifestWindowSeconds(123)
.minBufferTimeSeconds(123)
.minUpdatePeriodSeconds(123)
.periodTriggers(List.of("periodTriggers"))
.profile("profile")
.segmentDurationSeconds(123)
.segmentTemplateFormat("segmentTemplateFormat")
.streamSelection(StreamSelectionProperty.builder()
.maxVideoBitsPerSecond(123)
.minVideoBitsPerSecond(123)
.streamOrder("streamOrder")
.build())
.suggestedPresentationDelaySeconds(123)
.utcTiming("utcTiming")
.utcTimingUri("utcTimingUri")
.build())
.description("description")
.hlsPackage(HlsPackageProperty.builder()
.adMarkers("adMarkers")
.adsOnDeliveryRestrictions("adsOnDeliveryRestrictions")
.adTriggers(List.of("adTriggers"))
.encryption(HlsEncryptionProperty.builder()
.constantInitializationVector("constantInitializationVector")
.encryptionMethod("encryptionMethod")
.keyRotationIntervalSeconds(123)
.repeatExtXKey(false)
.spekeKeyProvider(SpekeKeyProviderProperty.builder()
.certificateArn("certificateArn")
.encryptionContractConfiguration(EncryptionContractConfigurationProperty.builder()
.presetSpeke20Audio("presetSpeke20Audio")
.presetSpeke20Video("presetSpeke20Video")
.build())
.resourceId("resourceId")
.roleArn("roleArn")
.systemIds(List.of("systemIds"))
.url("url")
.build())
.build())
.includeDvbSubtitles(false)
.includeIframeOnlyStream(false)
.playlistType("playlistType")
.playlistWindowSeconds(123)
.programDateTimeIntervalSeconds(123)
.segmentDurationSeconds(123)
.streamSelection(StreamSelectionProperty.builder()
.maxVideoBitsPerSecond(123)
.minVideoBitsPerSecond(123)
.streamOrder("streamOrder")
.build())
.useAudioRenditionGroup(false)
.build())
.id("id")
.manifestName("manifestName")
.mssPackage(MssPackageProperty.builder()
.encryption(MssEncryptionProperty.builder()
.spekeKeyProvider(SpekeKeyProviderProperty.builder()
.certificateArn("certificateArn")
.encryptionContractConfiguration(EncryptionContractConfigurationProperty.builder()
.presetSpeke20Audio("presetSpeke20Audio")
.presetSpeke20Video("presetSpeke20Video")
.build())
.resourceId("resourceId")
.roleArn("roleArn")
.systemIds(List.of("systemIds"))
.url("url")
.build())
.build())
.manifestWindowSeconds(123)
.segmentDurationSeconds(123)
.streamSelection(StreamSelectionProperty.builder()
.maxVideoBitsPerSecond(123)
.minVideoBitsPerSecond(123)
.streamOrder("streamOrder")
.build())
.build())
.origination("origination")
.startoverWindowSeconds(123)
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.timeDelaySeconds(123)
.whitelist(List.of("whitelist"))
.build())
.strategy(PropertyMergeStrategy.OVERRIDE)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceParameters for enabling CDN authorization on the endpoint.static final classA fluent builder forCfnOriginEndpointPropsMixin.static interfaceHolds encryption information so that access to the content can be controlled by a DRM solution.static interfaceParameters for 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 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 interfaceAn HTTP Live Streaming (HLS) manifest configuration on a CMAF endpoint.static interfaceParameters for Apple HLS packaging.static interfaceHolds encryption information so that access to the content can be controlled by a DRM solution.static interfaceParameters for Microsoft Smooth Streaming packaging.static interfaceKey provider settings for DRM.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.amazon.awscdk.mixins.preview.core.IMixin
IMixin.Jsii$Default, IMixin.Jsii$Proxy -
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionCreate a mixin to apply properties toAWS::MediaPackage::OriginEndpoint.Create a mixin to apply properties toAWS::MediaPackage::OriginEndpoint.protectedCfnOriginEndpointPropsMixin(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnOriginEndpointPropsMixin(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionsoftware.constructs.IConstructapplyTo(software.constructs.IConstruct construct) Apply the mixin properties to the construct.protected CfnOriginEndpointMixinPropsgetProps()protected PropertyMergeStrategysupports(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
-
CfnOriginEndpointPropsMixin
protected CfnOriginEndpointPropsMixin(software.amazon.jsii.JsiiObjectRef objRef) -
CfnOriginEndpointPropsMixin
protected CfnOriginEndpointPropsMixin(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnOriginEndpointPropsMixin
@Stability(Stable) public CfnOriginEndpointPropsMixin(@NotNull CfnOriginEndpointMixinProps props, @Nullable CfnPropertyMixinOptions options) Create a mixin to apply properties toAWS::MediaPackage::OriginEndpoint.- Parameters:
props- L1 properties to apply. This parameter is required.options- Mixin options.
-
CfnOriginEndpointPropsMixin
Create a mixin to apply properties toAWS::MediaPackage::OriginEndpoint.- Parameters:
props- L1 properties to apply. This parameter is required.
-
-
Method Details
-
applyTo
@Stability(Stable) @NotNull public software.constructs.IConstruct 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
-