class CfnOriginEndpointPropsMixin (mixin)
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.MediaPackageV2.CfnOriginEndpointPropsMixin |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awsmediapackagev2#CfnOriginEndpointPropsMixin |
Java | software.amazon.awscdk.cfnpropertymixins.services.mediapackagev2.CfnOriginEndpointPropsMixin |
Python | aws_cdk.cfn_property_mixins.aws_mediapackagev2.CfnOriginEndpointPropsMixin |
TypeScript | @aws-cdk/cfn-property-mixins » aws_mediapackagev2 » CfnOriginEndpointPropsMixin |
Implements
IMixin
Extends
Mixin
Specifies the configuration parameters for a MediaPackage V2 origin endpoint.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_mediapackagev2 as mediapackagev2 } from '@aws-cdk/cfn-property-mixins';
import * as cdk from 'aws-cdk-lib';
declare const mergeStrategy: cdk.IMergeStrategy;
const cfnOriginEndpointPropsMixin = new mediapackagev2.CfnOriginEndpointPropsMixin({
channelGroupName: 'channelGroupName',
channelName: 'channelName',
containerType: 'containerType',
dashManifests: [{
baseUrls: [{
dvbPriority: 123,
dvbWeight: 123,
serviceLocation: 'serviceLocation',
url: 'url',
}],
compactness: 'compactness',
drmSignaling: 'drmSignaling',
dvbSettings: {
errorMetrics: [{
probability: 123,
reportingUrl: 'reportingUrl',
}],
fontDownload: {
fontFamily: 'fontFamily',
mimeType: 'mimeType',
url: 'url',
},
},
filterConfiguration: {
clipStartTime: 'clipStartTime',
drmSettings: 'drmSettings',
end: 'end',
manifestFilter: 'manifestFilter',
start: 'start',
timeDelaySeconds: 123,
},
manifestName: 'manifestName',
manifestWindowSeconds: 123,
minBufferTimeSeconds: 123,
minUpdatePeriodSeconds: 123,
periodTriggers: ['periodTriggers'],
profiles: ['profiles'],
programInformation: {
copyright: 'copyright',
languageCode: 'languageCode',
moreInformationUrl: 'moreInformationUrl',
source: 'source',
title: 'title',
},
scteDash: {
adMarkerDash: 'adMarkerDash',
},
segmentTemplateFormat: 'segmentTemplateFormat',
subtitleConfiguration: {
ttmlConfiguration: {
ttmlProfile: 'ttmlProfile',
},
},
suggestedPresentationDelaySeconds: 123,
utcTiming: {
timingMode: 'timingMode',
timingSource: 'timingSource',
},
}],
description: 'description',
forceEndpointErrorConfiguration: {
endpointErrorConditions: ['endpointErrorConditions'],
},
hlsManifests: [{
childManifestName: 'childManifestName',
filterConfiguration: {
clipStartTime: 'clipStartTime',
drmSettings: 'drmSettings',
end: 'end',
manifestFilter: 'manifestFilter',
start: 'start',
timeDelaySeconds: 123,
},
manifestName: 'manifestName',
manifestWindowSeconds: 123,
programDateTimeIntervalSeconds: 123,
scteHls: {
adMarkerHls: 'adMarkerHls',
},
startTag: {
precise: false,
timeOffset: 123,
},
url: 'url',
urlEncodeChildManifest: false,
}],
lowLatencyHlsManifests: [{
childManifestName: 'childManifestName',
filterConfiguration: {
clipStartTime: 'clipStartTime',
drmSettings: 'drmSettings',
end: 'end',
manifestFilter: 'manifestFilter',
start: 'start',
timeDelaySeconds: 123,
},
manifestName: 'manifestName',
manifestWindowSeconds: 123,
programDateTimeIntervalSeconds: 123,
scteHls: {
adMarkerHls: 'adMarkerHls',
},
startTag: {
precise: false,
timeOffset: 123,
},
url: 'url',
urlEncodeChildManifest: false,
}],
mssManifests: [{
filterConfiguration: {
clipStartTime: 'clipStartTime',
drmSettings: 'drmSettings',
end: 'end',
manifestFilter: 'manifestFilter',
start: 'start',
timeDelaySeconds: 123,
},
manifestLayout: 'manifestLayout',
manifestName: 'manifestName',
manifestWindowSeconds: 123,
}],
originEndpointName: 'originEndpointName',
segment: {
encryption: {
cmafExcludeSegmentDrmMetadata: false,
constantInitializationVector: 'constantInitializationVector',
encryptionMethod: {
cmafEncryptionMethod: 'cmafEncryptionMethod',
ismEncryptionMethod: 'ismEncryptionMethod',
tsEncryptionMethod: 'tsEncryptionMethod',
},
keyRotationIntervalSeconds: 123,
spekeKeyProvider: {
certificateArn: 'certificateArn',
drmSystems: ['drmSystems'],
encryptionContractConfiguration: {
presetSpeke20Audio: 'presetSpeke20Audio',
presetSpeke20Video: 'presetSpeke20Video',
},
resourceId: 'resourceId',
roleArn: 'roleArn',
url: 'url',
},
},
includeIframeOnlyStreams: false,
scte: {
scteFilter: ['scteFilter'],
scteInSegments: 'scteInSegments',
},
segmentDurationSeconds: 123,
segmentName: 'segmentName',
tsIncludeDvbSubtitles: false,
tsUseAudioRenditionGroup: false,
},
startoverWindowSeconds: 123,
tags: [{
key: 'key',
value: 'value',
}],
}, /* 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::MediaPackageV2::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