AWS Fundamentals Logo
AWS Fundamentals
L1 ConstructAWS::MediaPackage::OriginEndpoint

CfnOriginEndpoint

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.

Import

import { CfnOriginEndpoint } from 'aws-cdk-lib/aws-mediapackage';

Or use the module namespace:

import * as mediapackage from 'aws-cdk-lib/aws-mediapackage';
// mediapackage.CfnOriginEndpoint

Properties

Configuration passed to the constructor as CfnOriginEndpointProps.

channelIdRequired
string

The ID of the channel associated with this endpoint.

idRequired
string

The manifest ID is required and must be unique within the OriginEndpoint. The ID can't be changed after the endpoint is created.

authorizationOptional
IResolvable | AuthorizationProperty

Parameters for CDN authorization.

cmafPackageOptional
IResolvable | CmafPackageProperty

Parameters for Common Media Application Format (CMAF) packaging.

dashPackageOptional
IResolvable | DashPackageProperty

Parameters for DASH packaging.

descriptionOptional
string

Any descriptive information that you want to add to the endpoint for future identification purposes.

hlsPackageOptional
IResolvable | HlsPackageProperty

Parameters for Apple HLS packaging.

manifestNameOptional
string

A short string that's appended to the end of the endpoint URL to create a unique path to this endpoint.

mssPackageOptional
IResolvable | MssPackageProperty

Parameters for Microsoft Smooth Streaming packaging.

originationOptional
string

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](https://docs.aws.amazon.com/mediapackage/latest/ug/ltov-reqmts.html) .

startoverWindowSecondsOptional
number

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.

tagsOptional
CfnTag[]

The tags to assign to the endpoint.

timeDelaySecondsOptional
number

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.

whitelistOptional
string[]

The IP addresses that can access this endpoint.

CloudFormation Resource

This L1 construct maps directly to the following CloudFormation resource type.

Learn AWS the Practical Way

Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.

Subscribe to Newsletter

Quick Facts

LevelL1 (CloudFormation)
Moduleaws-mediapackage
CFN TypeAWS::MediaPackage::OriginEndpoint
Properties14

External Links