Represents an origin endpoint that is associated with a channel, offering a dynamically repackaged version of its content through various streaming media protocols. The content can be efficiently disseminated to end-users via a Content Delivery Network (CDN), like Amazon CloudFront.
channel_group_name
(String)channel_name
(String)origin_endpoint_name
(String)container_type
(String)description
(String) Enter any descriptive text that helps you to identify the origin endpoint.
hls_manifests
(Attributes List) An HTTP live streaming (HLS) manifest configuration.
(see below for nested schema)low_latency_hls_manifests
(Attributes List) A low-latency HLS manifest configuration.
(see below for nested schema)segment
(Attributes) The segment configuration, including the segment name, duration, and other configuration values.
(see below for nested schema)startover_window_seconds
(Number) The size of the window (in seconds) to create a window of the live stream that's available for on-demand viewing. Viewers can start-over or catch-up on content that falls within the window. The maximum startover window is 1,209,600 seconds (14 days).
tags
(Attributes List) (see below for nested schema)arn
(String) The Amazon Resource Name (ARN) associated with the resource.
created_at
(String) The date and time the origin endpoint was created.
id
(String) Uniquely identifies the resource.modified_at
(String) The date and time the origin endpoint was modified.
hls_manifests
Required:
manifest_name
(String) A short short string that's appended to the endpoint URL. The manifest name creates a unique path to this endpoint. If you don't enter a value, MediaPackage uses the default manifest name, index. MediaPackage automatically inserts the format extension, such as .m3u8. You can't use the same manifest name if you use HLS manifest and low-latency HLS manifest. The manifestName on the HLSManifest object overrides the manifestName you provided on the originEndpoint object.
Optional:
child_manifest_name
(String) A short string that's appended to the endpoint URL. The child manifest name creates a unique path to this endpoint. If you don't enter a value, MediaPackage uses the default child manifest name, index_1. The manifestName on the HLSManifest object overrides the manifestName you provided on the originEndpoint object.
filter_configuration
(Attributes) Filter configuration includes settings for manifest filtering, start and end times, and time delay that apply to all of your egress requests for this manifest.
(see below for nested schema)manifest_window_seconds
(Number) The total duration (in seconds) of the manifest's content.
program_date_time_interval_seconds
(Number) Inserts EXT-X-PROGRAM-DATE-TIME tags in the output manifest at the interval that you specify. If you don't enter an interval, EXT-X-PROGRAM-DATE-TIME tags aren't included in the manifest. The tags sync the stream to the wall clock so that viewers can seek to a specific time in the playback timeline on the player. ID3Timed metadata messages generate every 5 seconds whenever the content is ingested.
Irrespective of this parameter, if any ID3Timed metadata is in the HLS input, it is passed through to the HLS output.
scte_hls
(Attributes) The SCTE configuration.
(see below for nested schema)url
(String) The egress domain URL for stream delivery from MediaPackage.
hls_manifests.filter_configuration
Optional:
end
(String) Optionally specify the end time for all of your manifest egress requests. When you include end time, note that you cannot use end time query parameters for this manifest's endpoint URL.
manifest_filter
(String) Optionally specify one or more manifest filters for all of your manifest egress requests. When you include a manifest filter, note that you cannot use an identical manifest filter query parameter for this manifest's endpoint URL.
start
(String) Optionally specify the start time for all of your manifest egress requests. When you include start time, note that you cannot use start time query parameters for this manifest's endpoint URL.
time_delay_seconds
(Number) Optionally specify the time delay for all of your manifest egress requests. Enter a value that is smaller than your endpoint's startover window. When you include time delay, note that you cannot use time delay query parameters for this manifest's endpoint URL.
hls_manifests.scte_hls
Optional:
ad_marker_hls
(String)low_latency_hls_manifests
Required:
manifest_name
(String) A short short string that's appended to the endpoint URL. The manifest name creates a unique path to this endpoint. If you don't enter a value, MediaPackage uses the default manifest name, index. MediaPackage automatically inserts the format extension, such as .m3u8. You can't use the same manifest name if you use HLS manifest and low-latency HLS manifest. The manifestName on the HLSManifest object overrides the manifestName you provided on the originEndpoint object.
Optional:
child_manifest_name
(String) A short string that's appended to the endpoint URL. The child manifest name creates a unique path to this endpoint. If you don't enter a value, MediaPackage uses the default child manifest name, index_1. The manifestName on the HLSManifest object overrides the manifestName you provided on the originEndpoint object.
filter_configuration
(Attributes) Filter configuration includes settings for manifest filtering, start and end times, and time delay that apply to all of your egress requests for this manifest.
(see below for nested schema)manifest_window_seconds
(Number) The total duration (in seconds) of the manifest's content.
program_date_time_interval_seconds
(Number) Inserts EXT-X-PROGRAM-DATE-TIME tags in the output manifest at the interval that you specify. If you don't enter an interval, EXT-X-PROGRAM-DATE-TIME tags aren't included in the manifest. The tags sync the stream to the wall clock so that viewers can seek to a specific time in the playback timeline on the player. ID3Timed metadata messages generate every 5 seconds whenever the content is ingested.
Irrespective of this parameter, if any ID3Timed metadata is in the HLS input, it is passed through to the HLS output.
scte_hls
(Attributes) The SCTE configuration.
(see below for nested schema)url
(String) The egress domain URL for stream delivery from MediaPackage.
low_latency_hls_manifests.filter_configuration
Optional:
end
(String) Optionally specify the end time for all of your manifest egress requests. When you include end time, note that you cannot use end time query parameters for this manifest's endpoint URL.
manifest_filter
(String) Optionally specify one or more manifest filters for all of your manifest egress requests. When you include a manifest filter, note that you cannot use an identical manifest filter query parameter for this manifest's endpoint URL.
start
(String) Optionally specify the start time for all of your manifest egress requests. When you include start time, note that you cannot use start time query parameters for this manifest's endpoint URL.
time_delay_seconds
(Number) Optionally specify the time delay for all of your manifest egress requests. Enter a value that is smaller than your endpoint's startover window. When you include time delay, note that you cannot use time delay query parameters for this manifest's endpoint URL.
low_latency_hls_manifests.scte_hls
Optional:
ad_marker_hls
(String)segment
Optional:
encryption
(Attributes) The parameters for encrypting content.
(see below for nested schema)include_iframe_only_streams
(Boolean) When selected, the stream set includes an additional I-frame only stream, along with the other tracks. If false, this extra stream is not included. MediaPackage generates an I-frame only stream from the first rendition in the manifest. The service inserts EXT-I-FRAMES-ONLY tags in the output manifest, and then generates and includes an I-frames only playlist in the stream. This playlist permits player functionality like fast forward and rewind.
scte
(Attributes) The SCTE configuration.
(see below for nested schema)segment_duration_seconds
(Number) The duration (in seconds) of each segment. Enter a value equal to, or a multiple of, the input segment duration. If the value that you enter is different from the input segment duration, MediaPackage rounds segments to the nearest multiple of the input segment duration.
segment_name
(String) The name that describes the segment. The name is the base name of the segment used in all content manifests inside of the endpoint. You can't use spaces in the name.
ts_include_dvb_subtitles
(Boolean) By default, MediaPackage excludes all digital video broadcasting (DVB) subtitles from the output. When selected, MediaPackage passes through DVB subtitles into the output.
ts_use_audio_rendition_group
(Boolean) When selected, MediaPackage bundles all audio tracks in a rendition group. All other tracks in the stream can be used with any audio rendition from the group.
segment.encryption
Required:
encryption_method
(Attributes) The encryption type.
(see below for nested schema)speke_key_provider
(Attributes) The parameters for the SPEKE key provider.
(see below for nested schema)Optional:
constant_initialization_vector
(String) A 128-bit, 16-byte hex value represented by a 32-character string, used in conjunction with the key for encrypting content. If you don't specify a value, then MediaPackage creates the constant initialization vector (IV).
key_rotation_interval_seconds
(Number) The frequency (in seconds) of key changes for live workflows, in which content is streamed real time. The service retrieves content keys before the live content begins streaming, and then retrieves them as needed over the lifetime of the workflow. By default, key rotation is set to 300 seconds (5 minutes), the minimum rotation interval, which is equivalent to setting it to 300. If you don't enter an interval, content keys aren't rotated.
The following example setting causes the service to rotate keys every thirty minutes: 1800
segment.encryption.encryption_method
Optional:
cmaf_encryption_method
(String)ts_encryption_method
(String)segment.encryption.speke_key_provider
Required:
drm_systems
(List of String) The DRM solution provider you're using to protect your content during distribution.
encryption_contract_configuration
(Attributes) Configure one or more content encryption keys for your endpoints that use SPEKE Version 2.0. The encryption contract defines which content keys are used to encrypt the audio and video tracks in your stream. To configure the encryption contract, specify which audio and video encryption presets to use.
(see below for nested schema)resource_id
(String) The unique identifier for the content. The service sends this to the key server to identify the current endpoint. How unique you make this depends on how fine-grained you want access controls to be. The service does not permit you to use the same ID for two simultaneous encryption processes. The resource ID is also known as the content ID.
The following example shows a resource ID: MovieNight20171126093045
role_arn
(String) The ARN for the IAM role granted by the key provider that provides access to the key provider API. This role must have a trust policy that allows MediaPackage to assume the role, and it must have a sufficient permissions policy to allow access to the specific key retrieval URL. Get this from your DRM solution provider.
Valid format: arn:aws:iam::{accountID}:role/{name}
. The following example shows a role ARN: arn:aws:iam::444455556666:role/SpekeAccess
url
(String) The URL of the API Gateway proxy that you set up to talk to your key server. The API Gateway proxy must reside in the same AWS Region as MediaPackage and must start with https://.
The following example shows a URL: https://1wm2dx1f33.execute-api.us-west-2.amazonaws.com/SpekeSample/copyProtection
segment.encryption.speke_key_provider.encryption_contract_configuration
Required:
preset_speke_20_audio
(String)preset_speke_20_video
(String)segment.scte
Optional:
scte_filter
(List of String) The SCTE-35 message types that you want to be treated as ad markers in the output.
tags
Optional:
key
(String)value
(String)Import is supported using the following syntax:
$ terraform import awscc_mediapackagev2_origin_endpoint.example <resource ID>