class CfnOriginEndpointPropsMixin (mixin)
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.MediaPackage.CfnOriginEndpointPropsMixin |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awsmediapackage#CfnOriginEndpointPropsMixin |
Java | software.amazon.awscdk.cfnpropertymixins.services.mediapackage.CfnOriginEndpointPropsMixin |
Python | aws_cdk.cfn_property_mixins.aws_mediapackage.CfnOriginEndpointPropsMixin |
TypeScript | @aws-cdk/cfn-property-mixins » aws_mediapackage » CfnOriginEndpointPropsMixin |
Implements
IMixin
Extends
Mixin
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.
Example
// 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/cfn-property-mixins';
import * as cdk from 'aws-cdk-lib';
declare const mergeStrategy: cdk.IMergeStrategy;
const cfnOriginEndpointPropsMixin = new mediapackage.CfnOriginEndpointPropsMixin({
authorization: {
cdnIdentifierSecret: 'cdnIdentifierSecret',
secretsRoleArn: 'secretsRoleArn',
},
channelId: 'channelId',
cmafPackage: {
encryption: {
constantInitializationVector: 'constantInitializationVector',
encryptionMethod: 'encryptionMethod',
keyRotationIntervalSeconds: 123,
spekeKeyProvider: {
certificateArn: 'certificateArn',
encryptionContractConfiguration: {
presetSpeke20Audio: 'presetSpeke20Audio',
presetSpeke20Video: 'presetSpeke20Video',
},
resourceId: 'resourceId',
roleArn: 'roleArn',
systemIds: ['systemIds'],
url: 'url',
},
},
hlsManifests: [{
adMarkers: 'adMarkers',
adsOnDeliveryRestrictions: 'adsOnDeliveryRestrictions',
adTriggers: ['adTriggers'],
id: 'id',
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: {
keyRotationIntervalSeconds: 123,
spekeKeyProvider: {
certificateArn: 'certificateArn',
encryptionContractConfiguration: {
presetSpeke20Audio: 'presetSpeke20Audio',
presetSpeke20Video: 'presetSpeke20Video',
},
resourceId: 'resourceId',
roleArn: 'roleArn',
systemIds: ['systemIds'],
url: 'url',
},
},
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: {
constantInitializationVector: 'constantInitializationVector',
encryptionMethod: 'encryptionMethod',
keyRotationIntervalSeconds: 123,
repeatExtXKey: false,
spekeKeyProvider: {
certificateArn: 'certificateArn',
encryptionContractConfiguration: {
presetSpeke20Audio: 'presetSpeke20Audio',
presetSpeke20Video: 'presetSpeke20Video',
},
resourceId: 'resourceId',
roleArn: 'roleArn',
systemIds: ['systemIds'],
url: 'url',
},
},
includeDvbSubtitles: false,
includeIframeOnlyStream: false,
playlistType: 'playlistType',
playlistWindowSeconds: 123,
programDateTimeIntervalSeconds: 123,
segmentDurationSeconds: 123,
streamSelection: {
maxVideoBitsPerSecond: 123,
minVideoBitsPerSecond: 123,
streamOrder: 'streamOrder',
},
useAudioRenditionGroup: false,
},
id: 'id',
manifestName: 'manifestName',
mssPackage: {
encryption: {
spekeKeyProvider: {
certificateArn: 'certificateArn',
encryptionContractConfiguration: {
presetSpeke20Audio: 'presetSpeke20Audio',
presetSpeke20Video: 'presetSpeke20Video',
},
resourceId: 'resourceId',
roleArn: 'roleArn',
systemIds: ['systemIds'],
url: 'url',
},
},
manifestWindowSeconds: 123,
segmentDurationSeconds: 123,
streamSelection: {
maxVideoBitsPerSecond: 123,
minVideoBitsPerSecond: 123,
streamOrder: 'streamOrder',
},
},
origination: 'origination',
startoverWindowSeconds: 123,
tags: [{
key: 'key',
value: 'value',
}],
timeDelaySeconds: 123,
whitelist: ['whitelist'],
}, /* all optional props */ {
strategy: mergeStrategy,
});
Initializer
new CfnOriginEndpointPropsMixin(props: CfnOriginEndpointMixinProps, options?: CfnPropertyMixinOptions)
Parameters
- props
Cfn— L1 properties to apply.Origin Endpoint Mixin Props - options
Cfn— Mixin options.Property Mixin Options
Create a mixin to apply properties to AWS::MediaPackage::OriginEndpoint.
Properties
| Name | Type | Description |
|---|---|---|
| props | Cfn | |
| strategy | IMerge | |
| static CFN_PROPERTY_KEYS | string[] |
props
Type:
Cfn
strategy
Type:
IMerge
static CFN_PROPERTY_KEYS
Type:
string[]
Methods
| Name | Description |
|---|---|
| apply | Apply the mixin properties to the construct. |
| supports(construct) | Check if this mixin supports the given construct. |
applyTo(construct)
public applyTo(construct: IConstruct): void
Parameters
- construct
IConstruct
Apply the mixin properties to the construct.
supports(construct)
public supports(construct: IConstruct): boolean
Parameters
- construct
IConstruct
Returns
boolean
Check if this mixin supports the given construct.

.NET
Go
Java
Python
TypeScript