AWS::MediaPackage::OriginEndpointCreate 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 { CfnOriginEndpoint } from 'aws-cdk-lib/aws-mediapackage';Or use the module namespace:
import * as mediapackage from 'aws-cdk-lib/aws-mediapackage';
// mediapackage.CfnOriginEndpointConfiguration passed to the constructor as CfnOriginEndpointProps.
channelIdRequiredstringThe ID of the channel associated with this endpoint.
idRequiredstringThe manifest ID is required and must be unique within the OriginEndpoint. The ID can't be changed after the endpoint is created.
authorizationOptionalIResolvable | AuthorizationPropertyParameters for CDN authorization.
cmafPackageOptionalIResolvable | CmafPackagePropertyParameters for Common Media Application Format (CMAF) packaging.
dashPackageOptionalIResolvable | DashPackagePropertyParameters for DASH packaging.
descriptionOptionalstringAny descriptive information that you want to add to the endpoint for future identification purposes.
hlsPackageOptionalIResolvable | HlsPackagePropertyParameters for Apple HLS packaging.
manifestNameOptionalstringA short string that's appended to the end of the endpoint URL to create a unique path to this endpoint.
mssPackageOptionalIResolvable | MssPackagePropertyParameters for Microsoft Smooth Streaming packaging.
originationOptionalstringControls 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) .
startoverWindowSecondsOptionalnumberMaximum 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[]The tags to assign to the endpoint.
timeDelaySecondsOptionalnumberMinimum 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[]The IP addresses that can access this endpoint.
This L1 construct maps directly to the following CloudFormation resource type.
Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to Newsletteraws-mediapackageAWS::MediaPackage::OriginEndpoint