Interface CfnOriginEndpointProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnOriginEndpointProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.120.0 (build 192dc88)",
date="2025-12-05T22:26:40.440Z")
@Stability(Stable)
public interface CfnOriginEndpointProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnOriginEndpoint.
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.*;
CfnOriginEndpointProps cfnOriginEndpointProps = CfnOriginEndpointProps.builder()
.channelId("channelId")
.id("id")
// the properties below are optional
.authorization(AuthorizationProperty.builder()
.cdnIdentifierSecret("cdnIdentifierSecret")
.secretsRoleArn("secretsRoleArn")
.build())
.cmafPackage(CmafPackageProperty.builder()
.encryption(CmafEncryptionProperty.builder()
.spekeKeyProvider(SpekeKeyProviderProperty.builder()
.resourceId("resourceId")
.roleArn("roleArn")
.systemIds(List.of("systemIds"))
.url("url")
// the properties below are optional
.certificateArn("certificateArn")
.encryptionContractConfiguration(EncryptionContractConfigurationProperty.builder()
.presetSpeke20Audio("presetSpeke20Audio")
.presetSpeke20Video("presetSpeke20Video")
.build())
.build())
// the properties below are optional
.constantInitializationVector("constantInitializationVector")
.encryptionMethod("encryptionMethod")
.keyRotationIntervalSeconds(123)
.build())
.hlsManifests(List.of(HlsManifestProperty.builder()
.id("id")
// the properties below are optional
.adMarkers("adMarkers")
.adsOnDeliveryRestrictions("adsOnDeliveryRestrictions")
.adTriggers(List.of("adTriggers"))
.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()
.spekeKeyProvider(SpekeKeyProviderProperty.builder()
.resourceId("resourceId")
.roleArn("roleArn")
.systemIds(List.of("systemIds"))
.url("url")
// the properties below are optional
.certificateArn("certificateArn")
.encryptionContractConfiguration(EncryptionContractConfigurationProperty.builder()
.presetSpeke20Audio("presetSpeke20Audio")
.presetSpeke20Video("presetSpeke20Video")
.build())
.build())
// the properties below are optional
.keyRotationIntervalSeconds(123)
.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()
.spekeKeyProvider(SpekeKeyProviderProperty.builder()
.resourceId("resourceId")
.roleArn("roleArn")
.systemIds(List.of("systemIds"))
.url("url")
// the properties below are optional
.certificateArn("certificateArn")
.encryptionContractConfiguration(EncryptionContractConfigurationProperty.builder()
.presetSpeke20Audio("presetSpeke20Audio")
.presetSpeke20Video("presetSpeke20Video")
.build())
.build())
// the properties below are optional
.constantInitializationVector("constantInitializationVector")
.encryptionMethod("encryptionMethod")
.keyRotationIntervalSeconds(123)
.repeatExtXKey(false)
.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())
.manifestName("manifestName")
.mssPackage(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()
.presetSpeke20Audio("presetSpeke20Audio")
.presetSpeke20Video("presetSpeke20Video")
.build())
.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();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnOriginEndpointPropsstatic final classAn implementation forCfnOriginEndpointProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectParameters for CDN authorization.The ID of the channel associated with this endpoint.default ObjectParameters for Common Media Application Format (CMAF) packaging.default ObjectParameters for DASH packaging.default StringAny descriptive information that you want to add to the endpoint for future identification purposes.default ObjectParameters for Apple HLS packaging.getId()The manifest ID is required and must be unique within the OriginEndpoint.default StringA short string that's appended to the end of the endpoint URL to create a unique path to this endpoint.default ObjectParameters for Microsoft Smooth Streaming packaging.default StringControls video origination from this endpoint.default NumberMaximum duration (seconds) of content to retain for startover playback.getTags()The tags to assign to the endpoint.default NumberMinimum duration (seconds) of delay to enforce on the playback of live content.The IP addresses that can access this endpoint.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getChannelId
The ID of the channel associated with this endpoint.- See Also:
-
getId
The manifest ID is required and must be unique within the OriginEndpoint.The ID can't be changed after the endpoint is created.
- See Also:
-
getAuthorization
Parameters for CDN authorization.Returns union: either
IResolvableorCfnOriginEndpoint.AuthorizationProperty- See Also:
-
getCmafPackage
Parameters for Common Media Application Format (CMAF) packaging.Returns union: either
IResolvableorCfnOriginEndpoint.CmafPackageProperty- See Also:
-
getDashPackage
Parameters for DASH packaging.Returns union: either
IResolvableorCfnOriginEndpoint.DashPackageProperty- See Also:
-
getDescription
Any descriptive information that you want to add to the endpoint for future identification purposes.- See Also:
-
getHlsPackage
Parameters for Apple HLS packaging.Returns union: either
IResolvableorCfnOriginEndpoint.HlsPackageProperty- See Also:
-
getManifestName
A short string that's appended to the end of the endpoint URL to create a unique path to this endpoint.- See Also:
-
getMssPackage
Parameters for Microsoft Smooth Streaming packaging.Returns union: either
IResolvableorCfnOriginEndpoint.MssPackageProperty- See Also:
-
getOrigination
Controls video origination from this endpoint.Valid values:
ALLOW- enables this endpoint to serve content to requesting devices.DENY- prevents this endpoint from serving content. Denying origination is helpful for harvesting live-to-VOD assets. For more information about harvesting and origination, see Live-to-VOD Requirements .
- See Also:
-
getStartoverWindowSeconds
Maximum duration (seconds) of content to retain for startover playback.Omit this attribute or enter
0to indicate that startover playback is disabled for this endpoint.- See Also:
-
getTags
The tags to assign to the endpoint.- See Also:
-
getTimeDelaySeconds
Minimum duration (seconds) of delay to enforce on the playback of live content.Omit this attribute or enter
0to indicate that there is no time delay in effect for this endpoint.- See Also:
-
getWhitelist
The IP addresses that can access this endpoint.- See Also:
-
builder
- Returns:
- a
CfnOriginEndpointProps.BuilderofCfnOriginEndpointProps
-