Interface CfnOriginEndpointProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnOriginEndpointProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:00.313Z")
@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().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().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().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().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();
-
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. -
getId
The manifest ID is required and must be unique within the OriginEndpoint.The ID can't be changed after the endpoint is created.
-
getAuthorization
Parameters for CDN authorization. -
getCmafPackage
Parameters for Common Media Application Format (CMAF) packaging. -
getDashPackage
Parameters for DASH packaging. -
getDescription
Any descriptive information that you want to add to the endpoint for future identification purposes. -
getHlsPackage
Parameters for Apple HLS packaging. -
getManifestName
A short string that's appended to the end of the endpoint URL to create a unique path to this endpoint. -
getMssPackage
Parameters for Microsoft Smooth Streaming packaging. -
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 .
-
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. -
getTags
The tags to assign to the endpoint. -
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. -
getWhitelist
The IP addresses that can access this endpoint. -
builder
- Returns:
- a
CfnOriginEndpointProps.BuilderofCfnOriginEndpointProps
-