CfnOriginEndpointProps Struct
Properties for defining a CfnOriginEndpoint.
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_mediapackage as mediapackage } from 'aws-cdk-lib';
const cfnOriginEndpointProps: mediapackage.CfnOriginEndpointProps = {
channelId: 'channelId',
id: 'id',
// the properties below are optional
authorization: {
cdnIdentifierSecret: 'cdnIdentifierSecret',
secretsRoleArn: 'secretsRoleArn',
},
cmafPackage: {
encryption: {
spekeKeyProvider: {
resourceId: 'resourceId',
roleArn: 'roleArn',
systemIds: ['systemIds'],
url: 'url',
// the properties below are optional
certificateArn: 'certificateArn',
encryptionContractConfiguration: {
presetSpeke20Audio: 'presetSpeke20Audio',
presetSpeke20Video: 'presetSpeke20Video',
},
},
// the properties below are optional
constantInitializationVector: 'constantInitializationVector',
encryptionMethod: 'encryptionMethod',
keyRotationIntervalSeconds: 123,
},
hlsManifests: [{
id: 'id',
// the properties below are optional
adMarkers: 'adMarkers',
adsOnDeliveryRestrictions: 'adsOnDeliveryRestrictions',
adTriggers: ['adTriggers'],
includeIframeOnlyStream: false,
manifestName: 'manifestName',
playlistType: 'playlistType',
playlistWindowSeconds: 123,
programDateTimeIntervalSeconds: 123,
url: 'url',
}],
segmentDurationSeconds: 123,
segmentPrefix: 'segmentPrefix',
streamSelection: {
maxVideoBitsPerSecond: 123,
minVideoBitsPerSecond: 123,
streamOrder: 'streamOrder',
},
},
dashPackage: {
adsOnDeliveryRestrictions: 'adsOnDeliveryRestrictions',
adTriggers: ['adTriggers'],
encryption: {
spekeKeyProvider: {
resourceId: 'resourceId',
roleArn: 'roleArn',
systemIds: ['systemIds'],
url: 'url',
// the properties below are optional
certificateArn: 'certificateArn',
encryptionContractConfiguration: {
presetSpeke20Audio: 'presetSpeke20Audio',
presetSpeke20Video: 'presetSpeke20Video',
},
},
// the properties below are optional
keyRotationIntervalSeconds: 123,
},
includeIframeOnlyStream: false,
manifestLayout: 'manifestLayout',
manifestWindowSeconds: 123,
minBufferTimeSeconds: 123,
minUpdatePeriodSeconds: 123,
periodTriggers: ['periodTriggers'],
profile: 'profile',
segmentDurationSeconds: 123,
segmentTemplateFormat: 'segmentTemplateFormat',
streamSelection: {
maxVideoBitsPerSecond: 123,
minVideoBitsPerSecond: 123,
streamOrder: 'streamOrder',
},
suggestedPresentationDelaySeconds: 123,
utcTiming: 'utcTiming',
utcTimingUri: 'utcTimingUri',
},
description: 'description',
hlsPackage: {
adMarkers: 'adMarkers',
adsOnDeliveryRestrictions: 'adsOnDeliveryRestrictions',
adTriggers: ['adTriggers'],
encryption: {
spekeKeyProvider: {
resourceId: 'resourceId',
roleArn: 'roleArn',
systemIds: ['systemIds'],
url: 'url',
// the properties below are optional
certificateArn: 'certificateArn',
encryptionContractConfiguration: {
presetSpeke20Audio: 'presetSpeke20Audio',
presetSpeke20Video: 'presetSpeke20Video',
},
},
// the properties below are optional
constantInitializationVector: 'constantInitializationVector',
encryptionMethod: 'encryptionMethod',
keyRotationIntervalSeconds: 123,
repeatExtXKey: false,
},
includeDvbSubtitles: false,
includeIframeOnlyStream: false,
playlistType: 'playlistType',
playlistWindowSeconds: 123,
programDateTimeIntervalSeconds: 123,
segmentDurationSeconds: 123,
streamSelection: {
maxVideoBitsPerSecond: 123,
minVideoBitsPerSecond: 123,
streamOrder: 'streamOrder',
},
useAudioRenditionGroup: false,
},
manifestName: 'manifestName',
mssPackage: {
encryption: {
spekeKeyProvider: {
resourceId: 'resourceId',
roleArn: 'roleArn',
systemIds: ['systemIds'],
url: 'url',
// the properties below are optional
certificateArn: 'certificateArn',
encryptionContractConfiguration: {
presetSpeke20Audio: 'presetSpeke20Audio',
presetSpeke20Video: 'presetSpeke20Video',
},
},
},
manifestWindowSeconds: 123,
segmentDurationSeconds: 123,
streamSelection: {
maxVideoBitsPerSecond: 123,
minVideoBitsPerSecond: 123,
streamOrder: 'streamOrder',
},
},
origination: 'origination',
startoverWindowSeconds: 123,
tags: [{
key: 'key',
value: 'value',
}],
timeDelaySeconds: 123,
whitelist: ['whitelist'],
};
Properties
authorizationoptionalIResolvable | CfnOriginEndpoint.AuthorizationPropertyauthorizationoptionaltyping.Union[IResolvable, AuthorizationProperty]authorizationoptionalIResolvableAuthorizationoptionalIResolvableAuthorizationoptionalinterface{}#Parameters for CDN authorization.
The ID of the channel associated with this endpoint.
cmafPackageoptionalIResolvable | CfnOriginEndpoint.CmafPackagePropertycmaf_packageoptionaltyping.Union[IResolvable, CmafPackageProperty]cmafPackageoptionalIResolvableCmafPackageoptionalIResolvableCmafPackageoptionalinterface{}#Parameters for Common Media Application Format (CMAF) packaging.
dashPackageoptionalIResolvable | CfnOriginEndpoint.DashPackagePropertydash_packageoptionaltyping.Union[IResolvable, DashPackageProperty]dashPackageoptionalIResolvableDashPackageoptionalIResolvableDashPackageoptionalinterface{}#Parameters for DASH packaging.
descriptionoptionalstringdescriptionoptionalstrdescriptionoptionalStringDescriptionoptionalstringDescriptionoptional*string#Any descriptive information that you want to add to the endpoint for future identification purposes.
hlsPackageoptionalIResolvable | CfnOriginEndpoint.HlsPackagePropertyhls_packageoptionaltyping.Union[IResolvable, HlsPackageProperty]hlsPackageoptionalIResolvableHlsPackageoptionalIResolvableHlsPackageoptionalinterface{}#Parameters for Apple HLS packaging.
The manifest ID is required and must be unique within the OriginEndpoint.
The ID can't be changed after the endpoint is created.
manifestNameoptionalstringmanifest_nameoptionalstrmanifestNameoptionalStringManifestNameoptionalstringManifestNameoptional*string#A short string that's appended to the end of the endpoint URL to create a unique path to this endpoint.
mssPackageoptionalIResolvable | CfnOriginEndpoint.MssPackagePropertymss_packageoptionaltyping.Union[IResolvable, MssPackageProperty]mssPackageoptionalIResolvableMssPackageoptionalIResolvableMssPackageoptionalinterface{}#Parameters for Microsoft Smooth Streaming packaging.
originationoptionalstringoriginationoptionalstroriginationoptionalStringOriginationoptionalstringOriginationoptional*string#Controls video origination from this endpoint.
notes
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 .
startoverWindowSecondsoptionalnumberstartover_window_secondsoptionalint | floatstartoverWindowSecondsoptionalNumberStartoverWindowSecondsoptionaldoubleStartoverWindowSecondsoptional*float64#Maximum duration (seconds) of content to retain for startover playback.
Omit this attribute or enter 0 to indicate that startover playback is disabled for this endpoint.
tagsoptionalCfnTag[]tagsoptionaltyping.List[CfnTag]tagsoptionalList<CfnTag>TagsoptionalCfnTag[]Tagsoptional*[]CfnTag#The tags to assign to the endpoint.
timeDelaySecondsoptionalnumbertime_delay_secondsoptionalint | floattimeDelaySecondsoptionalNumberTimeDelaySecondsoptionaldoubleTimeDelaySecondsoptional*float64#Minimum duration (seconds) of delay to enforce on the playback of live content.
Omit this attribute or enter 0 to indicate that there is no time delay in effect for this endpoint.
whitelistoptionalstring[]whitelistoptionaltyping.List[str]whitelistoptionalList<String>Whitelistoptionalstring[]Whitelistoptional*[]*string#The IP addresses that can access this endpoint.