CfnOriginEndpointProps

class aws_cdk.aws_mediapackagev2.CfnOriginEndpointProps(*, channel_group_name, channel_name, origin_endpoint_name, container_type=None, description=None, hls_manifests=None, low_latency_hls_manifests=None, segment=None, startover_window_seconds=None, tags=None)

Bases: object

Properties for defining a CfnOriginEndpoint.

Parameters:
  • channel_group_name (str) – The name of the channel group associated with the origin endpoint configuration.

  • channel_name (str) – The channel name associated with the origin endpoint.

  • origin_endpoint_name (str) – The name of the origin endpoint associated with the origin endpoint configuration.

  • container_type (Optional[str]) – The container type associated with the origin endpoint configuration.

  • description (Optional[str]) – The description associated with the origin endpoint.

  • hls_manifests (Union[IResolvable, Sequence[Union[IResolvable, HlsManifestConfigurationProperty, Dict[str, Any]]], None]) – The HLS manfiests associated with the origin endpoint configuration.

  • low_latency_hls_manifests (Union[IResolvable, Sequence[Union[IResolvable, LowLatencyHlsManifestConfigurationProperty, Dict[str, Any]]], None]) – The low-latency HLS (LL-HLS) manifests associated with the origin endpoint.

  • segment (Union[IResolvable, SegmentProperty, Dict[str, Any], None]) – The segment associated with the origin endpoint.

  • startover_window_seconds (Union[int, float, None]) – The size of the window (in seconds) to specify 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.

  • tags (Optional[Sequence[Union[CfnTag, Dict[str, Any]]]]) – The tags associated with the origin endpoint.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediapackagev2-originendpoint.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_mediapackagev2 as mediapackagev2

cfn_origin_endpoint_props = mediapackagev2.CfnOriginEndpointProps(
    channel_group_name="channelGroupName",
    channel_name="channelName",
    origin_endpoint_name="originEndpointName",

    # the properties below are optional
    container_type="containerType",
    description="description",
    hls_manifests=[mediapackagev2.CfnOriginEndpoint.HlsManifestConfigurationProperty(
        manifest_name="manifestName",

        # the properties below are optional
        child_manifest_name="childManifestName",
        filter_configuration=mediapackagev2.CfnOriginEndpoint.FilterConfigurationProperty(
            end="end",
            manifest_filter="manifestFilter",
            start="start",
            time_delay_seconds=123
        ),
        manifest_window_seconds=123,
        program_date_time_interval_seconds=123,
        scte_hls=mediapackagev2.CfnOriginEndpoint.ScteHlsProperty(
            ad_marker_hls="adMarkerHls"
        ),
        url="url"
    )],
    low_latency_hls_manifests=[mediapackagev2.CfnOriginEndpoint.LowLatencyHlsManifestConfigurationProperty(
        manifest_name="manifestName",

        # the properties below are optional
        child_manifest_name="childManifestName",
        filter_configuration=mediapackagev2.CfnOriginEndpoint.FilterConfigurationProperty(
            end="end",
            manifest_filter="manifestFilter",
            start="start",
            time_delay_seconds=123
        ),
        manifest_window_seconds=123,
        program_date_time_interval_seconds=123,
        scte_hls=mediapackagev2.CfnOriginEndpoint.ScteHlsProperty(
            ad_marker_hls="adMarkerHls"
        ),
        url="url"
    )],
    segment=mediapackagev2.CfnOriginEndpoint.SegmentProperty(
        encryption=mediapackagev2.CfnOriginEndpoint.EncryptionProperty(
            encryption_method=mediapackagev2.CfnOriginEndpoint.EncryptionMethodProperty(
                cmaf_encryption_method="cmafEncryptionMethod",
                ts_encryption_method="tsEncryptionMethod"
            ),
            speke_key_provider=mediapackagev2.CfnOriginEndpoint.SpekeKeyProviderProperty(
                drm_systems=["drmSystems"],
                encryption_contract_configuration=mediapackagev2.CfnOriginEndpoint.EncryptionContractConfigurationProperty(
                    preset_speke20_audio="presetSpeke20Audio",
                    preset_speke20_video="presetSpeke20Video"
                ),
                resource_id="resourceId",
                role_arn="roleArn",
                url="url"
            ),

            # the properties below are optional
            constant_initialization_vector="constantInitializationVector",
            key_rotation_interval_seconds=123
        ),
        include_iframe_only_streams=False,
        scte=mediapackagev2.CfnOriginEndpoint.ScteProperty(
            scte_filter=["scteFilter"]
        ),
        segment_duration_seconds=123,
        segment_name="segmentName",
        ts_include_dvb_subtitles=False,
        ts_use_audio_rendition_group=False
    ),
    startover_window_seconds=123,
    tags=[CfnTag(
        key="key",
        value="value"
    )]
)

Attributes

channel_group_name

The name of the channel group associated with the origin endpoint configuration.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediapackagev2-originendpoint.html#cfn-mediapackagev2-originendpoint-channelgroupname

channel_name

The channel name associated with the origin endpoint.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediapackagev2-originendpoint.html#cfn-mediapackagev2-originendpoint-channelname

container_type

The container type associated with the origin endpoint configuration.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediapackagev2-originendpoint.html#cfn-mediapackagev2-originendpoint-containertype

description

The description associated with the origin endpoint.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediapackagev2-originendpoint.html#cfn-mediapackagev2-originendpoint-description

hls_manifests

The HLS manfiests associated with the origin endpoint configuration.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediapackagev2-originendpoint.html#cfn-mediapackagev2-originendpoint-hlsmanifests

low_latency_hls_manifests

The low-latency HLS (LL-HLS) manifests associated with the origin endpoint.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediapackagev2-originendpoint.html#cfn-mediapackagev2-originendpoint-lowlatencyhlsmanifests

origin_endpoint_name

The name of the origin endpoint associated with the origin endpoint configuration.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediapackagev2-originendpoint.html#cfn-mediapackagev2-originendpoint-originendpointname

segment

The segment associated with the origin endpoint.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediapackagev2-originendpoint.html#cfn-mediapackagev2-originendpoint-segment

startover_window_seconds

The size of the window (in seconds) to specify 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.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediapackagev2-originendpoint.html#cfn-mediapackagev2-originendpoint-startoverwindowseconds

tags

The tags associated with the origin endpoint.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediapackagev2-originendpoint.html#cfn-mediapackagev2-originendpoint-tags