---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "awscc_mediapackage_origin_endpoint Data Source - terraform-provider-awscc"
subcategory: ""
description: |-
Data Source schema for AWS::MediaPackage::OriginEndpoint
---
# awscc_mediapackage_origin_endpoint (Data Source)
Data Source schema for AWS::MediaPackage::OriginEndpoint
## Schema
### Required
- `id` (String) Uniquely identifies the resource.
### Read-Only
- `arn` (String) The Amazon Resource Name (ARN) assigned to the OriginEndpoint.
- `authorization` (Attributes) CDN Authorization credentials (see [below for nested schema](#nestedatt--authorization))
- `channel_id` (String) The ID of the Channel the OriginEndpoint is associated with.
- `cmaf_package` (Attributes) A Common Media Application Format (CMAF) packaging configuration. (see [below for nested schema](#nestedatt--cmaf_package))
- `dash_package` (Attributes) A Dynamic Adaptive Streaming over HTTP (DASH) packaging configuration. (see [below for nested schema](#nestedatt--dash_package))
- `description` (String) A short text description of the OriginEndpoint.
- `hls_package` (Attributes) An HTTP Live Streaming (HLS) packaging configuration. (see [below for nested schema](#nestedatt--hls_package))
- `manifest_name` (String) A short string appended to the end of the OriginEndpoint URL.
- `mss_package` (Attributes) A Microsoft Smooth Streaming (MSS) packaging configuration. (see [below for nested schema](#nestedatt--mss_package))
- `origination` (String) Control whether origination of video is allowed for this OriginEndpoint. If set to ALLOW, the OriginEndpoint may by requested, pursuant to any other form of access control. If set to DENY, the OriginEndpoint may not be requested. This can be helpful for Live to VOD harvesting, or for temporarily disabling origination
- `startover_window_seconds` (Number) Maximum duration (seconds) of content to retain for startover playback. If not specified, startover playback will be disabled for the OriginEndpoint.
- `tags` (Attributes List) A collection of tags associated with a resource (see [below for nested schema](#nestedatt--tags))
- `time_delay_seconds` (Number) Amount of delay (seconds) to enforce on the playback of live content. If not specified, there will be no time delay in effect for the OriginEndpoint.
- `url` (String) The URL of the packaged OriginEndpoint for consumption.
- `whitelist` (List of String) A list of source IP CIDR blocks that will be allowed to access the OriginEndpoint.
### Nested Schema for `authorization`
Read-Only:
- `cdn_identifier_secret` (String) The Amazon Resource Name (ARN) for the secret in Secrets Manager that your Content Distribution Network (CDN) uses for authorization to access your endpoint.
- `secrets_role_arn` (String) The Amazon Resource Name (ARN) for the IAM role that allows MediaPackage to communicate with AWS Secrets Manager.
### Nested Schema for `cmaf_package`
Read-Only:
- `encryption` (Attributes) A Common Media Application Format (CMAF) encryption configuration. (see [below for nested schema](#nestedatt--cmaf_package--encryption))
- `hls_manifests` (Attributes List) A list of HLS manifest configurations (see [below for nested schema](#nestedatt--cmaf_package--hls_manifests))
- `segment_duration_seconds` (Number) Duration (in seconds) of each segment. Actual segments will be rounded to the nearest multiple of the source segment duration.
- `segment_prefix` (String) An optional custom string that is prepended to the name of each segment. If not specified, it defaults to the ChannelId.
- `stream_selection` (Attributes) A StreamSelection configuration. (see [below for nested schema](#nestedatt--cmaf_package--stream_selection))
### Nested Schema for `cmaf_package.encryption`
Read-Only:
- `constant_initialization_vector` (String) An optional 128-bit, 16-byte hex value represented by a 32-character string, used in conjunction with the key for encrypting blocks. If you don't specify a value, then MediaPackage creates the constant initialization vector (IV).
- `key_rotation_interval_seconds` (Number) Time (in seconds) between each encryption key rotation.
- `speke_key_provider` (Attributes) A configuration for accessing an external Secure Packager and Encoder Key Exchange (SPEKE) service that will provide encryption keys. (see [below for nested schema](#nestedatt--cmaf_package--encryption--speke_key_provider))
### Nested Schema for `cmaf_package.encryption.speke_key_provider`
Read-Only:
- `certificate_arn` (String) An Amazon Resource Name (ARN) of a Certificate Manager certificate that MediaPackage will use for enforcing secure end-to-end data transfer with the key provider service.
- `encryption_contract_configuration` (Attributes) The configuration to use for encrypting one or more content tracks separately for endpoints that use SPEKE 2.0. (see [below for nested schema](#nestedatt--cmaf_package--encryption--speke_key_provider--encryption_contract_configuration))
- `resource_id` (String) The resource ID to include in key requests.
- `role_arn` (String) An Amazon Resource Name (ARN) of an IAM role that AWS Elemental MediaPackage will assume when accessing the key provider service.
- `system_ids` (List of String) The system IDs to include in key requests.
- `url` (String) The URL of the external key provider service.
### Nested Schema for `cmaf_package.encryption.speke_key_provider.url`
Read-Only:
- `preset_speke_20_audio` (String) A collection of audio encryption presets.
- `preset_speke_20_video` (String) A collection of video encryption presets.
### Nested Schema for `cmaf_package.hls_manifests`
Read-Only:
- `ad_markers` (String) This setting controls how ad markers are included in the packaged OriginEndpoint. "NONE" will omit all SCTE-35 ad markers from the output. "PASSTHROUGH" causes the manifest to contain a copy of the SCTE-35 ad markers (comments) taken directly from the input HTTP Live Streaming (HLS) manifest. "SCTE35_ENHANCED" generates ad markers and blackout tags based on SCTE-35 messages in the input source. "DATERANGE" inserts EXT-X-DATERANGE tags to signal ad and program transition events in HLS and CMAF manifests. For this option, you must set a programDateTimeIntervalSeconds value that is greater than 0.
- `ad_triggers` (List of String) A list of SCTE-35 message types that are treated as ad markers in the output. If empty, no ad markers are output. Specify multiple items to create ad markers for all of the included message types.
- `ads_on_delivery_restrictions` (String) This setting allows the delivery restriction flags on SCTE-35 segmentation descriptors to determine whether a message signals an ad. Choosing "NONE" means no SCTE-35 messages become ads. Choosing "RESTRICTED" means SCTE-35 messages of the types specified in AdTriggers that contain delivery restrictions will be treated as ads. Choosing "UNRESTRICTED" means SCTE-35 messages of the types specified in AdTriggers that do not contain delivery restrictions will be treated as ads. Choosing "BOTH" means all SCTE-35 messages of the types specified in AdTriggers will be treated as ads. Note that Splice Insert messages do not have these flags and are always treated as ads if specified in AdTriggers.
- `id` (String) The ID of the manifest. The ID must be unique within the OriginEndpoint and it cannot be changed after it is created.
- `include_iframe_only_stream` (Boolean) When enabled, an I-Frame only stream will be included in the output.
- `manifest_name` (String) An optional short string appended to the end of the OriginEndpoint URL. If not specified, defaults to the manifestName for the OriginEndpoint.
- `playlist_type` (String) The HTTP Live Streaming (HLS) playlist type. When either "EVENT" or "VOD" is specified, a corresponding EXT-X-PLAYLIST-TYPE entry will be included in the media playlist.
- `playlist_window_seconds` (Number) Time window (in seconds) contained in each parent manifest.
- `program_date_time_interval_seconds` (Number) The interval (in seconds) between each EXT-X-PROGRAM-DATE-TIME tag inserted into manifests. Additionally, when an interval is specified ID3Timed Metadata messages will be generated every 5 seconds using the ingest time of the content. If the interval is not specified, or set to 0, then no EXT-X-PROGRAM-DATE-TIME tags will be inserted into manifests and no ID3Timed Metadata messages will be generated. Note that irrespective of this parameter, if any ID3 Timed Metadata is found in HTTP Live Streaming (HLS) input, it will be passed through to HLS output.
- `url` (String) The URL of the packaged OriginEndpoint for consumption.
### Nested Schema for `cmaf_package.stream_selection`
Read-Only:
- `max_video_bits_per_second` (Number) The maximum video bitrate (bps) to include in output.
- `min_video_bits_per_second` (Number) The minimum video bitrate (bps) to include in output.
- `stream_order` (String) A directive that determines the order of streams in the output.
### Nested Schema for `dash_package`
Read-Only:
- `ad_triggers` (List of String) A list of SCTE-35 message types that are treated as ad markers in the output. If empty, no ad markers are output. Specify multiple items to create ad markers for all of the included message types.
- `ads_on_delivery_restrictions` (String) This setting allows the delivery restriction flags on SCTE-35 segmentation descriptors to determine whether a message signals an ad. Choosing "NONE" means no SCTE-35 messages become ads. Choosing "RESTRICTED" means SCTE-35 messages of the types specified in AdTriggers that contain delivery restrictions will be treated as ads. Choosing "UNRESTRICTED" means SCTE-35 messages of the types specified in AdTriggers that do not contain delivery restrictions will be treated as ads. Choosing "BOTH" means all SCTE-35 messages of the types specified in AdTriggers will be treated as ads. Note that Splice Insert messages do not have these flags and are always treated as ads if specified in AdTriggers.
- `encryption` (Attributes) A Dynamic Adaptive Streaming over HTTP (DASH) encryption configuration. (see [below for nested schema](#nestedatt--dash_package--encryption))
- `manifest_layout` (String) Determines the position of some tags in the Media Presentation Description (MPD). When set to FULL, elements like SegmentTemplate and ContentProtection are included in each Representation. When set to COMPACT, duplicate elements are combined and presented at the AdaptationSet level.
- `manifest_window_seconds` (Number) Time window (in seconds) contained in each manifest.
- `min_buffer_time_seconds` (Number) Minimum duration (in seconds) that a player will buffer media before starting the presentation.
- `min_update_period_seconds` (Number) Minimum duration (in seconds) between potential changes to the Dynamic Adaptive Streaming over HTTP (DASH) Media Presentation Description (MPD).
- `period_triggers` (List of String) A list of triggers that controls when the outgoing Dynamic Adaptive Streaming over HTTP (DASH) Media Presentation Description (MPD) will be partitioned into multiple periods. If empty, the content will not be partitioned into more than one period. If the list contains "ADS", new periods will be created where the Channel source contains SCTE-35 ad markers.
- `profile` (String) The Dynamic Adaptive Streaming over HTTP (DASH) profile type. When set to "HBBTV_1_5", HbbTV 1.5 compliant output is enabled.
- `segment_duration_seconds` (Number) Duration (in seconds) of each segment. Actual segments will be rounded to the nearest multiple of the source segment duration.
- `segment_template_format` (String) Determines the type of SegmentTemplate included in the Media Presentation Description (MPD). When set to NUMBER_WITH_TIMELINE, a full timeline is presented in each SegmentTemplate, with $Number$ media URLs. When set to TIME_WITH_TIMELINE, a full timeline is presented in each SegmentTemplate, with $Time$ media URLs. When set to NUMBER_WITH_DURATION, only a duration is included in each SegmentTemplate, with $Number$ media URLs.
- `stream_selection` (Attributes) A StreamSelection configuration. (see [below for nested schema](#nestedatt--dash_package--stream_selection))
- `suggested_presentation_delay_seconds` (Number) Duration (in seconds) to delay live content before presentation.
- `utc_timing` (String) Determines the type of UTCTiming included in the Media Presentation Description (MPD)
- `utc_timing_uri` (String) Specifies the value attribute of the UTCTiming field when utcTiming is set to HTTP-ISO or HTTP-HEAD
### Nested Schema for `dash_package.encryption`
Read-Only:
- `key_rotation_interval_seconds` (Number) Time (in seconds) between each encryption key rotation.
- `speke_key_provider` (Attributes) A configuration for accessing an external Secure Packager and Encoder Key Exchange (SPEKE) service that will provide encryption keys. (see [below for nested schema](#nestedatt--dash_package--encryption--speke_key_provider))
### Nested Schema for `dash_package.encryption.speke_key_provider`
Read-Only:
- `certificate_arn` (String) An Amazon Resource Name (ARN) of a Certificate Manager certificate that MediaPackage will use for enforcing secure end-to-end data transfer with the key provider service.
- `encryption_contract_configuration` (Attributes) The configuration to use for encrypting one or more content tracks separately for endpoints that use SPEKE 2.0. (see [below for nested schema](#nestedatt--dash_package--encryption--speke_key_provider--encryption_contract_configuration))
- `resource_id` (String) The resource ID to include in key requests.
- `role_arn` (String) An Amazon Resource Name (ARN) of an IAM role that AWS Elemental MediaPackage will assume when accessing the key provider service.
- `system_ids` (List of String) The system IDs to include in key requests.
- `url` (String) The URL of the external key provider service.
### Nested Schema for `dash_package.encryption.speke_key_provider.url`
Read-Only:
- `preset_speke_20_audio` (String) A collection of audio encryption presets.
- `preset_speke_20_video` (String) A collection of video encryption presets.
### Nested Schema for `dash_package.stream_selection`
Read-Only:
- `max_video_bits_per_second` (Number) The maximum video bitrate (bps) to include in output.
- `min_video_bits_per_second` (Number) The minimum video bitrate (bps) to include in output.
- `stream_order` (String) A directive that determines the order of streams in the output.
### Nested Schema for `hls_package`
Read-Only:
- `ad_markers` (String) This setting controls how ad markers are included in the packaged OriginEndpoint. "NONE" will omit all SCTE-35 ad markers from the output. "PASSTHROUGH" causes the manifest to contain a copy of the SCTE-35 ad markers (comments) taken directly from the input HTTP Live Streaming (HLS) manifest. "SCTE35_ENHANCED" generates ad markers and blackout tags based on SCTE-35 messages in the input source. "DATERANGE" inserts EXT-X-DATERANGE tags to signal ad and program transition events in HLS and CMAF manifests. For this option, you must set a programDateTimeIntervalSeconds value that is greater than 0.
- `ad_triggers` (List of String) A list of SCTE-35 message types that are treated as ad markers in the output. If empty, no ad markers are output. Specify multiple items to create ad markers for all of the included message types.
- `ads_on_delivery_restrictions` (String) This setting allows the delivery restriction flags on SCTE-35 segmentation descriptors to determine whether a message signals an ad. Choosing "NONE" means no SCTE-35 messages become ads. Choosing "RESTRICTED" means SCTE-35 messages of the types specified in AdTriggers that contain delivery restrictions will be treated as ads. Choosing "UNRESTRICTED" means SCTE-35 messages of the types specified in AdTriggers that do not contain delivery restrictions will be treated as ads. Choosing "BOTH" means all SCTE-35 messages of the types specified in AdTriggers will be treated as ads. Note that Splice Insert messages do not have these flags and are always treated as ads if specified in AdTriggers.
- `encryption` (Attributes) An HTTP Live Streaming (HLS) encryption configuration. (see [below for nested schema](#nestedatt--hls_package--encryption))
- `include_iframe_only_stream` (Boolean) When enabled, an I-Frame only stream will be included in the output.
- `playlist_type` (String) The HTTP Live Streaming (HLS) playlist type. When either "EVENT" or "VOD" is specified, a corresponding EXT-X-PLAYLIST-TYPE entry will be included in the media playlist.
- `playlist_window_seconds` (Number) Time window (in seconds) contained in each parent manifest.
- `program_date_time_interval_seconds` (Number) The interval (in seconds) between each EXT-X-PROGRAM-DATE-TIME tag inserted into manifests. Additionally, when an interval is specified ID3Timed Metadata messages will be generated every 5 seconds using the ingest time of the content. If the interval is not specified, or set to 0, then no EXT-X-PROGRAM-DATE-TIME tags will be inserted into manifests and no ID3Timed Metadata messages will be generated. Note that irrespective of this parameter, if any ID3 Timed Metadata is found in HTTP Live Streaming (HLS) input, it will be passed through to HLS output.
- `segment_duration_seconds` (Number) Duration (in seconds) of each fragment. Actual fragments will be rounded to the nearest multiple of the source fragment duration.
- `stream_selection` (Attributes) A StreamSelection configuration. (see [below for nested schema](#nestedatt--hls_package--stream_selection))
- `use_audio_rendition_group` (Boolean) When enabled, audio streams will be placed in rendition groups in the output.
### Nested Schema for `hls_package.encryption`
Read-Only:
- `constant_initialization_vector` (String) A constant initialization vector for encryption (optional). When not specified the initialization vector will be periodically rotated.
- `encryption_method` (String) The encryption method to use.
- `key_rotation_interval_seconds` (Number) Interval (in seconds) between each encryption key rotation.
- `repeat_ext_x_key` (Boolean) When enabled, the EXT-X-KEY tag will be repeated in output manifests.
- `speke_key_provider` (Attributes) A configuration for accessing an external Secure Packager and Encoder Key Exchange (SPEKE) service that will provide encryption keys. (see [below for nested schema](#nestedatt--hls_package--encryption--speke_key_provider))
### Nested Schema for `hls_package.encryption.speke_key_provider`
Read-Only:
- `certificate_arn` (String) An Amazon Resource Name (ARN) of a Certificate Manager certificate that MediaPackage will use for enforcing secure end-to-end data transfer with the key provider service.
- `encryption_contract_configuration` (Attributes) The configuration to use for encrypting one or more content tracks separately for endpoints that use SPEKE 2.0. (see [below for nested schema](#nestedatt--hls_package--encryption--speke_key_provider--encryption_contract_configuration))
- `resource_id` (String) The resource ID to include in key requests.
- `role_arn` (String) An Amazon Resource Name (ARN) of an IAM role that AWS Elemental MediaPackage will assume when accessing the key provider service.
- `system_ids` (List of String) The system IDs to include in key requests.
- `url` (String) The URL of the external key provider service.
### Nested Schema for `hls_package.encryption.speke_key_provider.url`
Read-Only:
- `preset_speke_20_audio` (String) A collection of audio encryption presets.
- `preset_speke_20_video` (String) A collection of video encryption presets.
### Nested Schema for `hls_package.stream_selection`
Read-Only:
- `max_video_bits_per_second` (Number) The maximum video bitrate (bps) to include in output.
- `min_video_bits_per_second` (Number) The minimum video bitrate (bps) to include in output.
- `stream_order` (String) A directive that determines the order of streams in the output.
### Nested Schema for `mss_package`
Read-Only:
- `encryption` (Attributes) A Microsoft Smooth Streaming (MSS) encryption configuration. (see [below for nested schema](#nestedatt--mss_package--encryption))
- `manifest_window_seconds` (Number) The time window (in seconds) contained in each manifest.
- `segment_duration_seconds` (Number) The duration (in seconds) of each segment.
- `stream_selection` (Attributes) A StreamSelection configuration. (see [below for nested schema](#nestedatt--mss_package--stream_selection))
### Nested Schema for `mss_package.encryption`
Read-Only:
- `speke_key_provider` (Attributes) A configuration for accessing an external Secure Packager and Encoder Key Exchange (SPEKE) service that will provide encryption keys. (see [below for nested schema](#nestedatt--mss_package--encryption--speke_key_provider))
### Nested Schema for `mss_package.encryption.speke_key_provider`
Read-Only:
- `certificate_arn` (String) An Amazon Resource Name (ARN) of a Certificate Manager certificate that MediaPackage will use for enforcing secure end-to-end data transfer with the key provider service.
- `encryption_contract_configuration` (Attributes) The configuration to use for encrypting one or more content tracks separately for endpoints that use SPEKE 2.0. (see [below for nested schema](#nestedatt--mss_package--encryption--speke_key_provider--encryption_contract_configuration))
- `resource_id` (String) The resource ID to include in key requests.
- `role_arn` (String) An Amazon Resource Name (ARN) of an IAM role that AWS Elemental MediaPackage will assume when accessing the key provider service.
- `system_ids` (List of String) The system IDs to include in key requests.
- `url` (String) The URL of the external key provider service.
### Nested Schema for `mss_package.encryption.speke_key_provider.url`
Read-Only:
- `preset_speke_20_audio` (String) A collection of audio encryption presets.
- `preset_speke_20_video` (String) A collection of video encryption presets.
### Nested Schema for `mss_package.stream_selection`
Read-Only:
- `max_video_bits_per_second` (Number) The maximum video bitrate (bps) to include in output.
- `min_video_bits_per_second` (Number) The minimum video bitrate (bps) to include in output.
- `stream_order` (String) A directive that determines the order of streams in the output.
### Nested Schema for `tags`
Read-Only:
- `key` (String)
- `value` (String)