CfnOriginEndpointPropsMixin

class aws_cdk.mixins_preview.aws_mediapackage.mixins.CfnOriginEndpointPropsMixin(props, *, strategy=None)

Bases: 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.

See:

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

CloudformationResource:

AWS::MediaPackage::OriginEndpoint

Mixin:

true

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.mixins_preview import mixins
from aws_cdk.mixins_preview.aws_mediapackage import mixins as mediapackage_mixins

cfn_origin_endpoint_props_mixin = mediapackage_mixins.CfnOriginEndpointPropsMixin(mediapackage_mixins.CfnOriginEndpointMixinProps(
    authorization=mediapackage_mixins.CfnOriginEndpointPropsMixin.AuthorizationProperty(
        cdn_identifier_secret="cdnIdentifierSecret",
        secrets_role_arn="secretsRoleArn"
    ),
    channel_id="channelId",
    cmaf_package=mediapackage_mixins.CfnOriginEndpointPropsMixin.CmafPackageProperty(
        encryption=mediapackage_mixins.CfnOriginEndpointPropsMixin.CmafEncryptionProperty(
            constant_initialization_vector="constantInitializationVector",
            encryption_method="encryptionMethod",
            key_rotation_interval_seconds=123,
            speke_key_provider=mediapackage_mixins.CfnOriginEndpointPropsMixin.SpekeKeyProviderProperty(
                certificate_arn="certificateArn",
                encryption_contract_configuration=mediapackage_mixins.CfnOriginEndpointPropsMixin.EncryptionContractConfigurationProperty(
                    preset_speke20_audio="presetSpeke20Audio",
                    preset_speke20_video="presetSpeke20Video"
                ),
                resource_id="resourceId",
                role_arn="roleArn",
                system_ids=["systemIds"],
                url="url"
            )
        ),
        hls_manifests=[mediapackage_mixins.CfnOriginEndpointPropsMixin.HlsManifestProperty(
            ad_markers="adMarkers",
            ads_on_delivery_restrictions="adsOnDeliveryRestrictions",
            ad_triggers=["adTriggers"],
            id="id",
            include_iframe_only_stream=False,
            manifest_name="manifestName",
            playlist_type="playlistType",
            playlist_window_seconds=123,
            program_date_time_interval_seconds=123,
            url="url"
        )],
        segment_duration_seconds=123,
        segment_prefix="segmentPrefix",
        stream_selection=mediapackage_mixins.CfnOriginEndpointPropsMixin.StreamSelectionProperty(
            max_video_bits_per_second=123,
            min_video_bits_per_second=123,
            stream_order="streamOrder"
        )
    ),
    dash_package=mediapackage_mixins.CfnOriginEndpointPropsMixin.DashPackageProperty(
        ads_on_delivery_restrictions="adsOnDeliveryRestrictions",
        ad_triggers=["adTriggers"],
        encryption=mediapackage_mixins.CfnOriginEndpointPropsMixin.DashEncryptionProperty(
            key_rotation_interval_seconds=123,
            speke_key_provider=mediapackage_mixins.CfnOriginEndpointPropsMixin.SpekeKeyProviderProperty(
                certificate_arn="certificateArn",
                encryption_contract_configuration=mediapackage_mixins.CfnOriginEndpointPropsMixin.EncryptionContractConfigurationProperty(
                    preset_speke20_audio="presetSpeke20Audio",
                    preset_speke20_video="presetSpeke20Video"
                ),
                resource_id="resourceId",
                role_arn="roleArn",
                system_ids=["systemIds"],
                url="url"
            )
        ),
        include_iframe_only_stream=False,
        manifest_layout="manifestLayout",
        manifest_window_seconds=123,
        min_buffer_time_seconds=123,
        min_update_period_seconds=123,
        period_triggers=["periodTriggers"],
        profile="profile",
        segment_duration_seconds=123,
        segment_template_format="segmentTemplateFormat",
        stream_selection=mediapackage_mixins.CfnOriginEndpointPropsMixin.StreamSelectionProperty(
            max_video_bits_per_second=123,
            min_video_bits_per_second=123,
            stream_order="streamOrder"
        ),
        suggested_presentation_delay_seconds=123,
        utc_timing="utcTiming",
        utc_timing_uri="utcTimingUri"
    ),
    description="description",
    hls_package=mediapackage_mixins.CfnOriginEndpointPropsMixin.HlsPackageProperty(
        ad_markers="adMarkers",
        ads_on_delivery_restrictions="adsOnDeliveryRestrictions",
        ad_triggers=["adTriggers"],
        encryption=mediapackage_mixins.CfnOriginEndpointPropsMixin.HlsEncryptionProperty(
            constant_initialization_vector="constantInitializationVector",
            encryption_method="encryptionMethod",
            key_rotation_interval_seconds=123,
            repeat_ext_xKey=False,
            speke_key_provider=mediapackage_mixins.CfnOriginEndpointPropsMixin.SpekeKeyProviderProperty(
                certificate_arn="certificateArn",
                encryption_contract_configuration=mediapackage_mixins.CfnOriginEndpointPropsMixin.EncryptionContractConfigurationProperty(
                    preset_speke20_audio="presetSpeke20Audio",
                    preset_speke20_video="presetSpeke20Video"
                ),
                resource_id="resourceId",
                role_arn="roleArn",
                system_ids=["systemIds"],
                url="url"
            )
        ),
        include_dvb_subtitles=False,
        include_iframe_only_stream=False,
        playlist_type="playlistType",
        playlist_window_seconds=123,
        program_date_time_interval_seconds=123,
        segment_duration_seconds=123,
        stream_selection=mediapackage_mixins.CfnOriginEndpointPropsMixin.StreamSelectionProperty(
            max_video_bits_per_second=123,
            min_video_bits_per_second=123,
            stream_order="streamOrder"
        ),
        use_audio_rendition_group=False
    ),
    id="id",
    manifest_name="manifestName",
    mss_package=mediapackage_mixins.CfnOriginEndpointPropsMixin.MssPackageProperty(
        encryption=mediapackage_mixins.CfnOriginEndpointPropsMixin.MssEncryptionProperty(
            speke_key_provider=mediapackage_mixins.CfnOriginEndpointPropsMixin.SpekeKeyProviderProperty(
                certificate_arn="certificateArn",
                encryption_contract_configuration=mediapackage_mixins.CfnOriginEndpointPropsMixin.EncryptionContractConfigurationProperty(
                    preset_speke20_audio="presetSpeke20Audio",
                    preset_speke20_video="presetSpeke20Video"
                ),
                resource_id="resourceId",
                role_arn="roleArn",
                system_ids=["systemIds"],
                url="url"
            )
        ),
        manifest_window_seconds=123,
        segment_duration_seconds=123,
        stream_selection=mediapackage_mixins.CfnOriginEndpointPropsMixin.StreamSelectionProperty(
            max_video_bits_per_second=123,
            min_video_bits_per_second=123,
            stream_order="streamOrder"
        )
    ),
    origination="origination",
    startover_window_seconds=123,
    tags=[CfnTag(
        key="key",
        value="value"
    )],
    time_delay_seconds=123,
    whitelist=["whitelist"]
),
    strategy=mixins.PropertyMergeStrategy.OVERRIDE
)

Create a mixin to apply properties to AWS::MediaPackage::OriginEndpoint.

Parameters:

Methods

apply_to(construct)

Apply the mixin properties to the construct.

Parameters:

construct (IConstruct)

Return type:

IConstruct

supports(construct)

Check if this mixin supports the given construct.

Parameters:

construct (IConstruct)

Return type:

bool

Attributes

CFN_PROPERTY_KEYS = ['authorization', 'channelId', 'cmafPackage', 'dashPackage', 'description', 'hlsPackage', 'id', 'manifestName', 'mssPackage', 'origination', 'startoverWindowSeconds', 'tags', 'timeDelaySeconds', 'whitelist']

Static Methods

classmethod is_mixin(x)

(experimental) Checks if x is a Mixin.

Parameters:

x (Any) – Any object.

Return type:

bool

Returns:

true if x is an object created from a class which extends Mixin.

Stability:

experimental

AuthorizationProperty

class CfnOriginEndpointPropsMixin.AuthorizationProperty(*, cdn_identifier_secret=None, secrets_role_arn=None)

Bases: object

Parameters for enabling CDN authorization on the endpoint.

Parameters:
  • cdn_identifier_secret (Optional[str]) – The Amazon Resource Name (ARN) for the secret in AWS Secrets Manager that your Content Delivery Network (CDN) uses for authorization to access your endpoint.

  • secrets_role_arn (Optional[str]) – The Amazon Resource Name (ARN) for the IAM role that allows AWS Elemental MediaPackage to communicate with AWS Secrets Manager .

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-originendpoint-authorization.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.mixins_preview.aws_mediapackage import mixins as mediapackage_mixins

authorization_property = mediapackage_mixins.CfnOriginEndpointPropsMixin.AuthorizationProperty(
    cdn_identifier_secret="cdnIdentifierSecret",
    secrets_role_arn="secretsRoleArn"
)

Attributes

cdn_identifier_secret

The Amazon Resource Name (ARN) for the secret in AWS Secrets Manager that your Content Delivery Network (CDN) uses for authorization to access your endpoint.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-originendpoint-authorization.html#cfn-mediapackage-originendpoint-authorization-cdnidentifiersecret

secrets_role_arn

The Amazon Resource Name (ARN) for the IAM role that allows AWS Elemental MediaPackage to communicate with AWS Secrets Manager .

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-originendpoint-authorization.html#cfn-mediapackage-originendpoint-authorization-secretsrolearn

CmafEncryptionProperty

class CfnOriginEndpointPropsMixin.CmafEncryptionProperty(*, constant_initialization_vector=None, encryption_method=None, key_rotation_interval_seconds=None, speke_key_provider=None)

Bases: object

Holds encryption information so that access to the content can be controlled by a DRM solution.

Parameters:
  • constant_initialization_vector (Optional[str]) – 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 AWS Elemental MediaPackage creates the constant initialization vector (IV).

  • encryption_method (Optional[str]) – The encryption method to use.

  • key_rotation_interval_seconds (Union[int, float, None]) – Number of seconds before AWS Elemental MediaPackage rotates to a new key. By default, rotation is set to 60 seconds. Set to 0 to disable key rotation.

  • speke_key_provider (Union[IResolvable, SpekeKeyProviderProperty, Dict[str, Any], None]) – Parameters for the SPEKE key provider.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-originendpoint-cmafencryption.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.mixins_preview.aws_mediapackage import mixins as mediapackage_mixins

cmaf_encryption_property = mediapackage_mixins.CfnOriginEndpointPropsMixin.CmafEncryptionProperty(
    constant_initialization_vector="constantInitializationVector",
    encryption_method="encryptionMethod",
    key_rotation_interval_seconds=123,
    speke_key_provider=mediapackage_mixins.CfnOriginEndpointPropsMixin.SpekeKeyProviderProperty(
        certificate_arn="certificateArn",
        encryption_contract_configuration=mediapackage_mixins.CfnOriginEndpointPropsMixin.EncryptionContractConfigurationProperty(
            preset_speke20_audio="presetSpeke20Audio",
            preset_speke20_video="presetSpeke20Video"
        ),
        resource_id="resourceId",
        role_arn="roleArn",
        system_ids=["systemIds"],
        url="url"
    )
)

Attributes

constant_initialization_vector

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 AWS Elemental MediaPackage creates the constant initialization vector (IV).

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-originendpoint-cmafencryption.html#cfn-mediapackage-originendpoint-cmafencryption-constantinitializationvector

encryption_method

The encryption method to use.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-originendpoint-cmafencryption.html#cfn-mediapackage-originendpoint-cmafencryption-encryptionmethod

key_rotation_interval_seconds

Number of seconds before AWS Elemental MediaPackage rotates to a new key.

By default, rotation is set to 60 seconds. Set to 0 to disable key rotation.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-originendpoint-cmafencryption.html#cfn-mediapackage-originendpoint-cmafencryption-keyrotationintervalseconds

speke_key_provider

Parameters for the SPEKE key provider.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-originendpoint-cmafencryption.html#cfn-mediapackage-originendpoint-cmafencryption-spekekeyprovider

CmafPackageProperty

class CfnOriginEndpointPropsMixin.CmafPackageProperty(*, encryption=None, hls_manifests=None, segment_duration_seconds=None, segment_prefix=None, stream_selection=None)

Bases: object

Parameters for Common Media Application Format (CMAF) packaging.

Parameters:
  • encryption (Union[IResolvable, CmafEncryptionProperty, Dict[str, Any], None]) – Parameters for encrypting content.

  • hls_manifests (Union[IResolvable, Sequence[Union[IResolvable, HlsManifestProperty, Dict[str, Any]]], None]) – A list of HLS manifest configurations that are available from this endpoint.

  • segment_duration_seconds (Union[int, float, None]) – Duration (in seconds) of each segment. Actual segments are rounded to the nearest multiple of the source segment duration.

  • segment_prefix (Optional[str]) – An optional custom string that is prepended to the name of each segment. If not specified, the segment prefix defaults to the ChannelId.

  • stream_selection (Union[IResolvable, StreamSelectionProperty, Dict[str, Any], None]) – Limitations for outputs from the endpoint, based on the video bitrate.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-originendpoint-cmafpackage.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.mixins_preview.aws_mediapackage import mixins as mediapackage_mixins

cmaf_package_property = mediapackage_mixins.CfnOriginEndpointPropsMixin.CmafPackageProperty(
    encryption=mediapackage_mixins.CfnOriginEndpointPropsMixin.CmafEncryptionProperty(
        constant_initialization_vector="constantInitializationVector",
        encryption_method="encryptionMethod",
        key_rotation_interval_seconds=123,
        speke_key_provider=mediapackage_mixins.CfnOriginEndpointPropsMixin.SpekeKeyProviderProperty(
            certificate_arn="certificateArn",
            encryption_contract_configuration=mediapackage_mixins.CfnOriginEndpointPropsMixin.EncryptionContractConfigurationProperty(
                preset_speke20_audio="presetSpeke20Audio",
                preset_speke20_video="presetSpeke20Video"
            ),
            resource_id="resourceId",
            role_arn="roleArn",
            system_ids=["systemIds"],
            url="url"
        )
    ),
    hls_manifests=[mediapackage_mixins.CfnOriginEndpointPropsMixin.HlsManifestProperty(
        ad_markers="adMarkers",
        ads_on_delivery_restrictions="adsOnDeliveryRestrictions",
        ad_triggers=["adTriggers"],
        id="id",
        include_iframe_only_stream=False,
        manifest_name="manifestName",
        playlist_type="playlistType",
        playlist_window_seconds=123,
        program_date_time_interval_seconds=123,
        url="url"
    )],
    segment_duration_seconds=123,
    segment_prefix="segmentPrefix",
    stream_selection=mediapackage_mixins.CfnOriginEndpointPropsMixin.StreamSelectionProperty(
        max_video_bits_per_second=123,
        min_video_bits_per_second=123,
        stream_order="streamOrder"
    )
)

Attributes

encryption

Parameters for encrypting content.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-originendpoint-cmafpackage.html#cfn-mediapackage-originendpoint-cmafpackage-encryption

hls_manifests

A list of HLS manifest configurations that are available from this endpoint.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-originendpoint-cmafpackage.html#cfn-mediapackage-originendpoint-cmafpackage-hlsmanifests

segment_duration_seconds

Duration (in seconds) of each segment.

Actual segments are rounded to the nearest multiple of the source segment duration.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-originendpoint-cmafpackage.html#cfn-mediapackage-originendpoint-cmafpackage-segmentdurationseconds

segment_prefix

An optional custom string that is prepended to the name of each segment.

If not specified, the segment prefix defaults to the ChannelId.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-originendpoint-cmafpackage.html#cfn-mediapackage-originendpoint-cmafpackage-segmentprefix

stream_selection

Limitations for outputs from the endpoint, based on the video bitrate.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-originendpoint-cmafpackage.html#cfn-mediapackage-originendpoint-cmafpackage-streamselection

DashEncryptionProperty

class CfnOriginEndpointPropsMixin.DashEncryptionProperty(*, key_rotation_interval_seconds=None, speke_key_provider=None)

Bases: object

Holds encryption information so that access to the content can be controlled by a DRM solution.

Parameters:
  • key_rotation_interval_seconds (Union[int, float, None]) – Number of seconds before AWS Elemental MediaPackage rotates to a new key. By default, rotation is set to 60 seconds. Set to 0 to disable key rotation.

  • speke_key_provider (Union[IResolvable, SpekeKeyProviderProperty, Dict[str, Any], None]) – Parameters for the SPEKE key provider.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-originendpoint-dashencryption.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.mixins_preview.aws_mediapackage import mixins as mediapackage_mixins

dash_encryption_property = mediapackage_mixins.CfnOriginEndpointPropsMixin.DashEncryptionProperty(
    key_rotation_interval_seconds=123,
    speke_key_provider=mediapackage_mixins.CfnOriginEndpointPropsMixin.SpekeKeyProviderProperty(
        certificate_arn="certificateArn",
        encryption_contract_configuration=mediapackage_mixins.CfnOriginEndpointPropsMixin.EncryptionContractConfigurationProperty(
            preset_speke20_audio="presetSpeke20Audio",
            preset_speke20_video="presetSpeke20Video"
        ),
        resource_id="resourceId",
        role_arn="roleArn",
        system_ids=["systemIds"],
        url="url"
    )
)

Attributes

key_rotation_interval_seconds

Number of seconds before AWS Elemental MediaPackage rotates to a new key.

By default, rotation is set to 60 seconds. Set to 0 to disable key rotation.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-originendpoint-dashencryption.html#cfn-mediapackage-originendpoint-dashencryption-keyrotationintervalseconds

speke_key_provider

Parameters for the SPEKE key provider.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-originendpoint-dashencryption.html#cfn-mediapackage-originendpoint-dashencryption-spekekeyprovider

DashPackageProperty

class CfnOriginEndpointPropsMixin.DashPackageProperty(*, ads_on_delivery_restrictions=None, ad_triggers=None, encryption=None, include_iframe_only_stream=None, manifest_layout=None, manifest_window_seconds=None, min_buffer_time_seconds=None, min_update_period_seconds=None, period_triggers=None, profile=None, segment_duration_seconds=None, segment_template_format=None, stream_selection=None, suggested_presentation_delay_seconds=None, utc_timing=None, utc_timing_uri=None)

Bases: object

Parameters for DASH packaging.

Parameters:
  • ads_on_delivery_restrictions (Optional[str]) – The flags on SCTE-35 segmentation descriptors that have to be present for AWS Elemental MediaPackage to insert ad markers in the output manifest. For information about SCTE-35 in AWS Elemental MediaPackage , see SCTE-35 Message Options in AWS Elemental MediaPackage .

  • ad_triggers (Optional[Sequence[str]]) – Specifies the SCTE-35 message types that AWS Elemental MediaPackage treats as ad markers in the output manifest. Valid values: - BREAK - DISTRIBUTOR_ADVERTISEMENT - DISTRIBUTOR_OVERLAY_PLACEMENT_OPPORTUNITY . - DISTRIBUTOR_PLACEMENT_OPPORTUNITY . - PROVIDER_ADVERTISEMENT . - PROVIDER_OVERLAY_PLACEMENT_OPPORTUNITY . - PROVIDER_PLACEMENT_OPPORTUNITY . - SPLICE_INSERT .

  • encryption (Union[IResolvable, DashEncryptionProperty, Dict[str, Any], None]) – Parameters for encrypting content.

  • include_iframe_only_stream (Union[bool, IResolvable, None]) – This applies only to stream sets with a single video track. When true, the stream set includes an additional I-frame trick-play only stream, along with the other tracks. If false, this extra stream is not included.

  • manifest_layout (Optional[str]) – Determines the position of some tags in the manifest. Valid values: - FULL - Elements like SegmentTemplate and ContentProtection are included in each Representation . - COMPACT - Duplicate elements are combined and presented at the AdaptationSet level.

  • manifest_window_seconds (Union[int, float, None]) – Time window (in seconds) contained in each manifest.

  • min_buffer_time_seconds (Union[int, float, None]) – Minimum amount of content (measured in seconds) that a player must keep available in the buffer.

  • min_update_period_seconds (Union[int, float, None]) – Minimum amount of time (in seconds) that the player should wait before requesting updates to the manifest.

  • period_triggers (Optional[Sequence[str]]) – Controls whether AWS Elemental MediaPackage produces single-period or multi-period DASH manifests. For more information about periods, see Multi-period DASH in AWS Elemental MediaPackage . Valid values: - ADS - AWS Elemental MediaPackage will produce multi-period DASH manifests. Periods are created based on the SCTE-35 ad markers present in the input manifest. - No value - AWS Elemental MediaPackage will produce single-period DASH manifests. This is the default setting.

  • profile (Optional[str]) – The DASH profile for the output. Valid values: - NONE - The output doesn’t use a DASH profile. - HBBTV_1_5 - The output is compliant with HbbTV v1.5. - DVB_DASH_2014 - The output is compliant with DVB-DASH 2014.

  • segment_duration_seconds (Union[int, float, None]) – Duration (in seconds) of each fragment. Actual fragments are rounded to the nearest multiple of the source fragment duration.

  • segment_template_format (Optional[str]) – Determines the type of variable used in the media URL of the SegmentTemplate tag in the manifest. Also specifies if segment timeline information is included in SegmentTimeline or SegmentTemplate . Valid values: - NUMBER_WITH_TIMELINE - The $Number$ variable is used in the media URL. The value of this variable is the sequential number of the segment. A full SegmentTimeline object is presented in each SegmentTemplate . - NUMBER_WITH_DURATION - The $Number$ variable is used in the media URL and a duration attribute is added to the segment template. The SegmentTimeline object is removed from the representation. - TIME_WITH_TIMELINE - The $Time$ variable is used in the media URL. The value of this variable is the timestamp of when the segment starts. A full SegmentTimeline object is presented in each SegmentTemplate .

  • stream_selection (Union[IResolvable, StreamSelectionProperty, Dict[str, Any], None]) – Limitations for outputs from the endpoint, based on the video bitrate.

  • suggested_presentation_delay_seconds (Union[int, float, None]) – Amount of time (in seconds) that the player should be from the live point at the end of the manifest.

  • utc_timing (Optional[str]) – Determines the type of UTC timing included in the DASH Media Presentation Description (MPD).

  • utc_timing_uri (Optional[str]) – Specifies the value attribute of the UTC timing field when utcTiming is set to HTTP-ISO or HTTP-HEAD.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-originendpoint-dashpackage.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.mixins_preview.aws_mediapackage import mixins as mediapackage_mixins

dash_package_property = mediapackage_mixins.CfnOriginEndpointPropsMixin.DashPackageProperty(
    ads_on_delivery_restrictions="adsOnDeliveryRestrictions",
    ad_triggers=["adTriggers"],
    encryption=mediapackage_mixins.CfnOriginEndpointPropsMixin.DashEncryptionProperty(
        key_rotation_interval_seconds=123,
        speke_key_provider=mediapackage_mixins.CfnOriginEndpointPropsMixin.SpekeKeyProviderProperty(
            certificate_arn="certificateArn",
            encryption_contract_configuration=mediapackage_mixins.CfnOriginEndpointPropsMixin.EncryptionContractConfigurationProperty(
                preset_speke20_audio="presetSpeke20Audio",
                preset_speke20_video="presetSpeke20Video"
            ),
            resource_id="resourceId",
            role_arn="roleArn",
            system_ids=["systemIds"],
            url="url"
        )
    ),
    include_iframe_only_stream=False,
    manifest_layout="manifestLayout",
    manifest_window_seconds=123,
    min_buffer_time_seconds=123,
    min_update_period_seconds=123,
    period_triggers=["periodTriggers"],
    profile="profile",
    segment_duration_seconds=123,
    segment_template_format="segmentTemplateFormat",
    stream_selection=mediapackage_mixins.CfnOriginEndpointPropsMixin.StreamSelectionProperty(
        max_video_bits_per_second=123,
        min_video_bits_per_second=123,
        stream_order="streamOrder"
    ),
    suggested_presentation_delay_seconds=123,
    utc_timing="utcTiming",
    utc_timing_uri="utcTimingUri"
)

Attributes

ad_triggers

Specifies the SCTE-35 message types that AWS Elemental MediaPackage treats as ad markers in the output manifest.

Valid values:

  • BREAK

  • DISTRIBUTOR_ADVERTISEMENT

  • DISTRIBUTOR_OVERLAY_PLACEMENT_OPPORTUNITY .

  • DISTRIBUTOR_PLACEMENT_OPPORTUNITY .

  • PROVIDER_ADVERTISEMENT .

  • PROVIDER_OVERLAY_PLACEMENT_OPPORTUNITY .

  • PROVIDER_PLACEMENT_OPPORTUNITY .

  • SPLICE_INSERT .

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-originendpoint-dashpackage.html#cfn-mediapackage-originendpoint-dashpackage-adtriggers

ads_on_delivery_restrictions

The flags on SCTE-35 segmentation descriptors that have to be present for AWS Elemental MediaPackage to insert ad markers in the output manifest.

For information about SCTE-35 in AWS Elemental MediaPackage , see SCTE-35 Message Options in AWS Elemental MediaPackage .

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-originendpoint-dashpackage.html#cfn-mediapackage-originendpoint-dashpackage-adsondeliveryrestrictions

encryption

Parameters for encrypting content.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-originendpoint-dashpackage.html#cfn-mediapackage-originendpoint-dashpackage-encryption

include_iframe_only_stream

This applies only to stream sets with a single video track.

When true, the stream set includes an additional I-frame trick-play only stream, along with the other tracks. If false, this extra stream is not included.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-originendpoint-dashpackage.html#cfn-mediapackage-originendpoint-dashpackage-includeiframeonlystream

manifest_layout

Determines the position of some tags in the manifest.

Valid values:

  • FULL - Elements like SegmentTemplate and ContentProtection are included in each Representation .

  • COMPACT - Duplicate elements are combined and presented at the AdaptationSet level.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-originendpoint-dashpackage.html#cfn-mediapackage-originendpoint-dashpackage-manifestlayout

manifest_window_seconds

Time window (in seconds) contained in each manifest.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-originendpoint-dashpackage.html#cfn-mediapackage-originendpoint-dashpackage-manifestwindowseconds

min_buffer_time_seconds

Minimum amount of content (measured in seconds) that a player must keep available in the buffer.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-originendpoint-dashpackage.html#cfn-mediapackage-originendpoint-dashpackage-minbuffertimeseconds

min_update_period_seconds

Minimum amount of time (in seconds) that the player should wait before requesting updates to the manifest.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-originendpoint-dashpackage.html#cfn-mediapackage-originendpoint-dashpackage-minupdateperiodseconds

period_triggers

Controls whether AWS Elemental MediaPackage produces single-period or multi-period DASH manifests.

For more information about periods, see Multi-period DASH in AWS Elemental MediaPackage .

Valid values:

  • ADS - AWS Elemental MediaPackage will produce multi-period DASH manifests. Periods are created based on the SCTE-35 ad markers present in the input manifest.

  • No value - AWS Elemental MediaPackage will produce single-period DASH manifests. This is the default setting.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-originendpoint-dashpackage.html#cfn-mediapackage-originendpoint-dashpackage-periodtriggers

profile

The DASH profile for the output.

Valid values:

  • NONE - The output doesn’t use a DASH profile.

  • HBBTV_1_5 - The output is compliant with HbbTV v1.5.

  • DVB_DASH_2014 - The output is compliant with DVB-DASH 2014.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-originendpoint-dashpackage.html#cfn-mediapackage-originendpoint-dashpackage-profile

segment_duration_seconds

Duration (in seconds) of each fragment.

Actual fragments are rounded to the nearest multiple of the source fragment duration.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-originendpoint-dashpackage.html#cfn-mediapackage-originendpoint-dashpackage-segmentdurationseconds

segment_template_format

Determines the type of variable used in the media URL of the SegmentTemplate tag in the manifest.

Also specifies if segment timeline information is included in SegmentTimeline or SegmentTemplate .

Valid values:

  • NUMBER_WITH_TIMELINE - The $Number$ variable is used in the media URL. The value of this variable is the sequential number of the segment. A full SegmentTimeline object is presented in each SegmentTemplate .

  • NUMBER_WITH_DURATION - The $Number$ variable is used in the media URL and a duration attribute is added to the segment template. The SegmentTimeline object is removed from the representation.

  • TIME_WITH_TIMELINE - The $Time$ variable is used in the media URL. The value of this variable is the timestamp of when the segment starts. A full SegmentTimeline object is presented in each SegmentTemplate .

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-originendpoint-dashpackage.html#cfn-mediapackage-originendpoint-dashpackage-segmenttemplateformat

stream_selection

Limitations for outputs from the endpoint, based on the video bitrate.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-originendpoint-dashpackage.html#cfn-mediapackage-originendpoint-dashpackage-streamselection

suggested_presentation_delay_seconds

Amount of time (in seconds) that the player should be from the live point at the end of the manifest.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-originendpoint-dashpackage.html#cfn-mediapackage-originendpoint-dashpackage-suggestedpresentationdelayseconds

utc_timing

Determines the type of UTC timing included in the DASH Media Presentation Description (MPD).

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-originendpoint-dashpackage.html#cfn-mediapackage-originendpoint-dashpackage-utctiming

utc_timing_uri

Specifies the value attribute of the UTC timing field when utcTiming is set to HTTP-ISO or HTTP-HEAD.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-originendpoint-dashpackage.html#cfn-mediapackage-originendpoint-dashpackage-utctiminguri

EncryptionContractConfigurationProperty

class CfnOriginEndpointPropsMixin.EncryptionContractConfigurationProperty(*, preset_speke20_audio=None, preset_speke20_video=None)

Bases: object

Use encryptionContractConfiguration to configure one or more content encryption keys for your endpoints that use SPEKE Version 2.0. The encryption contract defines the content keys 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. For more information about these presets, see SPEKE Version 2.0 Presets .

Note the following considerations when using encryptionContractConfiguration :

  • You can use encryptionContractConfiguration for DASH endpoints that use SPEKE Version 2.0. SPEKE Version 2.0 relies on the CPIX Version 2.3 specification.

  • You cannot combine an UNENCRYPTED preset with UNENCRYPTED or SHARED presets across presetSpeke20Audio and presetSpeke20Video .

  • When you use a SHARED preset, you must use it for both presetSpeke20Audio and presetSpeke20Video .

Parameters:
  • preset_speke20_audio (Optional[str]) – A collection of audio encryption presets. Value description: - PRESET-AUDIO-1 - Use one content key to encrypt all of the audio tracks in your stream. - PRESET-AUDIO-2 - Use one content key to encrypt all of the stereo audio tracks and one content key to encrypt all of the multichannel audio tracks. - PRESET-AUDIO-3 - Use one content key to encrypt all of the stereo audio tracks, one content key to encrypt all of the multichannel audio tracks with 3 to 6 channels, and one content key to encrypt all of the multichannel audio tracks with more than 6 channels. - SHARED - Use the same content key for all of the audio and video tracks in your stream. - UNENCRYPTED - Don’t encrypt any of the audio tracks in your stream.

  • preset_speke20_video (Optional[str]) – A collection of video encryption presets. Value description: - PRESET-VIDEO-1 - Use one content key to encrypt all of the video tracks in your stream. - PRESET-VIDEO-2 - Use one content key to encrypt all of the SD video tracks and one content key for all HD and higher resolutions video tracks. - PRESET-VIDEO-3 - Use one content key to encrypt all of the SD video tracks, one content key for HD video tracks and one content key for all UHD video tracks. - PRESET-VIDEO-4 - Use one content key to encrypt all of the SD video tracks, one content key for HD video tracks, one content key for all UHD1 video tracks and one content key for all UHD2 video tracks. - PRESET-VIDEO-5 - Use one content key to encrypt all of the SD video tracks, one content key for HD1 video tracks, one content key for HD2 video tracks, one content key for all UHD1 video tracks and one content key for all UHD2 video tracks. - PRESET-VIDEO-6 - Use one content key to encrypt all of the SD video tracks, one content key for HD1 video tracks, one content key for HD2 video tracks and one content key for all UHD video tracks. - PRESET-VIDEO-7 - Use one content key to encrypt all of the SD+HD1 video tracks, one content key for HD2 video tracks and one content key for all UHD video tracks. - PRESET-VIDEO-8 - Use one content key to encrypt all of the SD+HD1 video tracks, one content key for HD2 video tracks, one content key for all UHD1 video tracks and one content key for all UHD2 video tracks. - SHARED - Use the same content key for all of the video and audio tracks in your stream. - UNENCRYPTED - Don’t encrypt any of the video tracks in your stream.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-originendpoint-encryptioncontractconfiguration.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.mixins_preview.aws_mediapackage import mixins as mediapackage_mixins

encryption_contract_configuration_property = mediapackage_mixins.CfnOriginEndpointPropsMixin.EncryptionContractConfigurationProperty(
    preset_speke20_audio="presetSpeke20Audio",
    preset_speke20_video="presetSpeke20Video"
)

Attributes

preset_speke20_audio

A collection of audio encryption presets.

Value description:

  • PRESET-AUDIO-1 - Use one content key to encrypt all of the audio tracks in your stream.

  • PRESET-AUDIO-2 - Use one content key to encrypt all of the stereo audio tracks and one content key to encrypt all of the multichannel audio tracks.

  • PRESET-AUDIO-3 - Use one content key to encrypt all of the stereo audio tracks, one content key to encrypt all of the multichannel audio tracks with 3 to 6 channels, and one content key to encrypt all of the multichannel audio tracks with more than 6 channels.

  • SHARED - Use the same content key for all of the audio and video tracks in your stream.

  • UNENCRYPTED - Don’t encrypt any of the audio tracks in your stream.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-originendpoint-encryptioncontractconfiguration.html#cfn-mediapackage-originendpoint-encryptioncontractconfiguration-presetspeke20audio

preset_speke20_video

A collection of video encryption presets.

Value description:

  • PRESET-VIDEO-1 - Use one content key to encrypt all of the video tracks in your stream.

  • PRESET-VIDEO-2 - Use one content key to encrypt all of the SD video tracks and one content key for all HD and higher resolutions video tracks.

  • PRESET-VIDEO-3 - Use one content key to encrypt all of the SD video tracks, one content key for HD video tracks and one content key for all UHD video tracks.

  • PRESET-VIDEO-4 - Use one content key to encrypt all of the SD video tracks, one content key for HD video tracks, one content key for all UHD1 video tracks and one content key for all UHD2 video tracks.

  • PRESET-VIDEO-5 - Use one content key to encrypt all of the SD video tracks, one content key for HD1 video tracks, one content key for HD2 video tracks, one content key for all UHD1 video tracks and one content key for all UHD2 video tracks.

  • PRESET-VIDEO-6 - Use one content key to encrypt all of the SD video tracks, one content key for HD1 video tracks, one content key for HD2 video tracks and one content key for all UHD video tracks.

  • PRESET-VIDEO-7 - Use one content key to encrypt all of the SD+HD1 video tracks, one content key for HD2 video tracks and one content key for all UHD video tracks.

  • PRESET-VIDEO-8 - Use one content key to encrypt all of the SD+HD1 video tracks, one content key for HD2 video tracks, one content key for all UHD1 video tracks and one content key for all UHD2 video tracks.

  • SHARED - Use the same content key for all of the video and audio tracks in your stream.

  • UNENCRYPTED - Don’t encrypt any of the video tracks in your stream.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-originendpoint-encryptioncontractconfiguration.html#cfn-mediapackage-originendpoint-encryptioncontractconfiguration-presetspeke20video

HlsEncryptionProperty

class CfnOriginEndpointPropsMixin.HlsEncryptionProperty(*, constant_initialization_vector=None, encryption_method=None, key_rotation_interval_seconds=None, repeat_ext_x_key=None, speke_key_provider=None)

Bases: object

Holds encryption information so that access to the content can be controlled by a DRM solution.

Parameters:
  • constant_initialization_vector (Optional[str]) – A 128-bit, 16-byte hex value represented by a 32-character string, used with the key for encrypting blocks.

  • encryption_method (Optional[str]) – HLS encryption type.

  • key_rotation_interval_seconds (Union[int, float, None]) – Number of seconds before AWS Elemental MediaPackage rotates to a new key. By default, rotation is set to 60 seconds. Set to 0 to disable key rotation.

  • repeat_ext_x_key (Union[bool, IResolvable, None]) – Repeat the EXT-X-KEY directive for every media segment. This might result in an increase in client requests to the DRM server.

  • speke_key_provider (Union[IResolvable, SpekeKeyProviderProperty, Dict[str, Any], None]) – Parameters for the SPEKE key provider.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-originendpoint-hlsencryption.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.mixins_preview.aws_mediapackage import mixins as mediapackage_mixins

hls_encryption_property = mediapackage_mixins.CfnOriginEndpointPropsMixin.HlsEncryptionProperty(
    constant_initialization_vector="constantInitializationVector",
    encryption_method="encryptionMethod",
    key_rotation_interval_seconds=123,
    repeat_ext_xKey=False,
    speke_key_provider=mediapackage_mixins.CfnOriginEndpointPropsMixin.SpekeKeyProviderProperty(
        certificate_arn="certificateArn",
        encryption_contract_configuration=mediapackage_mixins.CfnOriginEndpointPropsMixin.EncryptionContractConfigurationProperty(
            preset_speke20_audio="presetSpeke20Audio",
            preset_speke20_video="presetSpeke20Video"
        ),
        resource_id="resourceId",
        role_arn="roleArn",
        system_ids=["systemIds"],
        url="url"
    )
)

Attributes

constant_initialization_vector

A 128-bit, 16-byte hex value represented by a 32-character string, used with the key for encrypting blocks.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-originendpoint-hlsencryption.html#cfn-mediapackage-originendpoint-hlsencryption-constantinitializationvector

encryption_method

HLS encryption type.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-originendpoint-hlsencryption.html#cfn-mediapackage-originendpoint-hlsencryption-encryptionmethod

key_rotation_interval_seconds

Number of seconds before AWS Elemental MediaPackage rotates to a new key.

By default, rotation is set to 60 seconds. Set to 0 to disable key rotation.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-originendpoint-hlsencryption.html#cfn-mediapackage-originendpoint-hlsencryption-keyrotationintervalseconds

repeat_ext_x_key

Repeat the EXT-X-KEY directive for every media segment.

This might result in an increase in client requests to the DRM server.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-originendpoint-hlsencryption.html#cfn-mediapackage-originendpoint-hlsencryption-repeatextxkey

speke_key_provider

Parameters for the SPEKE key provider.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-originendpoint-hlsencryption.html#cfn-mediapackage-originendpoint-hlsencryption-spekekeyprovider

HlsManifestProperty

class CfnOriginEndpointPropsMixin.HlsManifestProperty(*, ad_markers=None, ads_on_delivery_restrictions=None, ad_triggers=None, id=None, include_iframe_only_stream=None, manifest_name=None, playlist_type=None, playlist_window_seconds=None, program_date_time_interval_seconds=None, url=None)

Bases: object

An HTTP Live Streaming (HLS) manifest configuration on a CMAF endpoint.

Parameters:
  • ad_markers (Optional[str]) – Controls how ad markers are included in the packaged endpoint. Valid values: - NONE - Omits all SCTE-35 ad markers from the output. - PASSTHROUGH - Creates a copy in the output of the SCTE-35 ad markers (comments) taken directly from the input manifest. - SCTE35_ENHANCED - Generates ad markers and blackout tags in the output based on the SCTE-35 messages from the input manifest.

  • ads_on_delivery_restrictions (Optional[str]) –

    The flags on SCTE-35 segmentation descriptors that have to be present for AWS Elemental MediaPackage to insert ad markers in the output manifest. For information about SCTE-35 in AWS Elemental MediaPackage , see SCTE-35 Message Options in AWS Elemental MediaPackage .

  • ad_triggers (Optional[Sequence[str]]) – Specifies the SCTE-35 message types that AWS Elemental MediaPackage treats as ad markers in the output manifest. Valid values: - BREAK - DISTRIBUTOR_ADVERTISEMENT - DISTRIBUTOR_OVERLAY_PLACEMENT_OPPORTUNITY - DISTRIBUTOR_PLACEMENT_OPPORTUNITY - PROVIDER_ADVERTISEMENT - PROVIDER_OVERLAY_PLACEMENT_OPPORTUNITY - PROVIDER_PLACEMENT_OPPORTUNITY - SPLICE_INSERT

  • id (Optional[str]) – The manifest ID is required and must be unique within the OriginEndpoint. The ID can’t be changed after the endpoint is created.

  • include_iframe_only_stream (Union[bool, IResolvable, None]) – Applies to stream sets with a single video track only. When true, the stream set includes an additional I-frame only stream, along with the other tracks. If false, this extra stream is not included.

  • manifest_name (Optional[str]) – A short string that’s appended to the end of the endpoint URL to create a unique path to this endpoint. The manifestName on the HLSManifest object overrides the manifestName that you provided on the originEndpoint object.

  • playlist_type (Optional[str]) – When specified as either event or vod , a corresponding EXT-X-PLAYLIST-TYPE entry is included in the media playlist. Indicates if the playlist is live-to-VOD content.

  • playlist_window_seconds (Union[int, float, None]) – Time window (in seconds) contained in each parent manifest.

  • program_date_time_interval_seconds (Union[int, float, None]) – Inserts EXT-X-PROGRAM-DATE-TIME tags in the output manifest at the interval that you specify. Irrespective of this parameter, if any ID3Timed metadata is in the HLS input, it is passed through to the HLS output. Omit this attribute or enter 0 to indicate that the EXT-X-PROGRAM-DATE-TIME tags are not included in the manifest.

  • url (Optional[str]) – The URL that’s used to request this manifest from this endpoint.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-originendpoint-hlsmanifest.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.mixins_preview.aws_mediapackage import mixins as mediapackage_mixins

hls_manifest_property = mediapackage_mixins.CfnOriginEndpointPropsMixin.HlsManifestProperty(
    ad_markers="adMarkers",
    ads_on_delivery_restrictions="adsOnDeliveryRestrictions",
    ad_triggers=["adTriggers"],
    id="id",
    include_iframe_only_stream=False,
    manifest_name="manifestName",
    playlist_type="playlistType",
    playlist_window_seconds=123,
    program_date_time_interval_seconds=123,
    url="url"
)

Attributes

ad_markers

Controls how ad markers are included in the packaged endpoint.

Valid values:

  • NONE - Omits all SCTE-35 ad markers from the output.

  • PASSTHROUGH - Creates a copy in the output of the SCTE-35 ad markers (comments) taken directly from the input manifest.

  • SCTE35_ENHANCED - Generates ad markers and blackout tags in the output based on the SCTE-35 messages from the input manifest.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-originendpoint-hlsmanifest.html#cfn-mediapackage-originendpoint-hlsmanifest-admarkers

ad_triggers

Specifies the SCTE-35 message types that AWS Elemental MediaPackage treats as ad markers in the output manifest.

Valid values:

  • BREAK

  • DISTRIBUTOR_ADVERTISEMENT

  • DISTRIBUTOR_OVERLAY_PLACEMENT_OPPORTUNITY

  • DISTRIBUTOR_PLACEMENT_OPPORTUNITY

  • PROVIDER_ADVERTISEMENT

  • PROVIDER_OVERLAY_PLACEMENT_OPPORTUNITY

  • PROVIDER_PLACEMENT_OPPORTUNITY

  • SPLICE_INSERT

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-originendpoint-hlsmanifest.html#cfn-mediapackage-originendpoint-hlsmanifest-adtriggers

ads_on_delivery_restrictions

The flags on SCTE-35 segmentation descriptors that have to be present for AWS Elemental MediaPackage to insert ad markers in the output manifest.

For information about SCTE-35 in AWS Elemental MediaPackage , see SCTE-35 Message Options in AWS Elemental MediaPackage .

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-originendpoint-hlsmanifest.html#cfn-mediapackage-originendpoint-hlsmanifest-adsondeliveryrestrictions

id

The manifest ID is required and must be unique within the OriginEndpoint.

The ID can’t be changed after the endpoint is created.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-originendpoint-hlsmanifest.html#cfn-mediapackage-originendpoint-hlsmanifest-id

include_iframe_only_stream

Applies to stream sets with a single video track only.

When true, the stream set includes an additional I-frame only stream, along with the other tracks. If false, this extra stream is not included.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-originendpoint-hlsmanifest.html#cfn-mediapackage-originendpoint-hlsmanifest-includeiframeonlystream

manifest_name

A short string that’s appended to the end of the endpoint URL to create a unique path to this endpoint.

The manifestName on the HLSManifest object overrides the manifestName that you provided on the originEndpoint object.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-originendpoint-hlsmanifest.html#cfn-mediapackage-originendpoint-hlsmanifest-manifestname

playlist_type

When specified as either event or vod , a corresponding EXT-X-PLAYLIST-TYPE entry is included in the media playlist.

Indicates if the playlist is live-to-VOD content.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-originendpoint-hlsmanifest.html#cfn-mediapackage-originendpoint-hlsmanifest-playlisttype

playlist_window_seconds

Time window (in seconds) contained in each parent manifest.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-originendpoint-hlsmanifest.html#cfn-mediapackage-originendpoint-hlsmanifest-playlistwindowseconds

program_date_time_interval_seconds

Inserts EXT-X-PROGRAM-DATE-TIME tags in the output manifest at the interval that you specify.

Irrespective of this parameter, if any ID3Timed metadata is in the HLS input, it is passed through to the HLS output.

Omit this attribute or enter 0 to indicate that the EXT-X-PROGRAM-DATE-TIME tags are not included in the manifest.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-originendpoint-hlsmanifest.html#cfn-mediapackage-originendpoint-hlsmanifest-programdatetimeintervalseconds

url

The URL that’s used to request this manifest from this endpoint.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-originendpoint-hlsmanifest.html#cfn-mediapackage-originendpoint-hlsmanifest-url

HlsPackageProperty

class CfnOriginEndpointPropsMixin.HlsPackageProperty(*, ad_markers=None, ads_on_delivery_restrictions=None, ad_triggers=None, encryption=None, include_dvb_subtitles=None, include_iframe_only_stream=None, playlist_type=None, playlist_window_seconds=None, program_date_time_interval_seconds=None, segment_duration_seconds=None, stream_selection=None, use_audio_rendition_group=None)

Bases: object

Parameters for Apple HLS packaging.

Parameters:
  • ad_markers (Optional[str]) – Controls how ad markers are included in the packaged endpoint. Valid values: - NONE - Omits all SCTE-35 ad markers from the output. - PASSTHROUGH - Creates a copy in the output of the SCTE-35 ad markers (comments) taken directly from the input manifest. - SCTE35_ENHANCED - Generates ad markers and blackout tags in the output based on the SCTE-35 messages from the input manifest.

  • ads_on_delivery_restrictions (Optional[str]) –

    The flags on SCTE-35 segmentation descriptors that have to be present for AWS Elemental MediaPackage to insert ad markers in the output manifest. For information about SCTE-35 in AWS Elemental MediaPackage , see SCTE-35 Message Options in AWS Elemental MediaPackage .

  • ad_triggers (Optional[Sequence[str]]) – Specifies the SCTE-35 message types that AWS Elemental MediaPackage treats as ad markers in the output manifest. Valid values: - BREAK - DISTRIBUTOR_ADVERTISEMENT - DISTRIBUTOR_OVERLAY_PLACEMENT_OPPORTUNITY - DISTRIBUTOR_PLACEMENT_OPPORTUNITY - PROVIDER_ADVERTISEMENT - PROVIDER_OVERLAY_PLACEMENT_OPPORTUNITY - PROVIDER_PLACEMENT_OPPORTUNITY - SPLICE_INSERT

  • encryption (Union[IResolvable, HlsEncryptionProperty, Dict[str, Any], None]) – Parameters for encrypting content.

  • include_dvb_subtitles (Union[bool, IResolvable, None]) – When enabled, MediaPackage passes through digital video broadcasting (DVB) subtitles into the output.

  • include_iframe_only_stream (Union[bool, IResolvable, None]) – Only applies to stream sets with a single video track. When true, the stream set includes an additional I-frame only stream, along with the other tracks. If false, this extra stream is not included.

  • playlist_type (Optional[str]) – When specified as either event or vod , a corresponding EXT-X-PLAYLIST-TYPE entry is included in the media playlist. Indicates if the playlist is live-to-VOD content.

  • playlist_window_seconds (Union[int, float, None]) – Time window (in seconds) contained in each parent manifest.

  • program_date_time_interval_seconds (Union[int, float, None]) – Inserts EXT-X-PROGRAM-DATE-TIME tags in the output manifest at the interval that you specify. Irrespective of this parameter, if any ID3Timed metadata is in the HLS input, it is passed through to the HLS output. Omit this attribute or enter 0 to indicate that the EXT-X-PROGRAM-DATE-TIME tags are not included in the manifest.

  • segment_duration_seconds (Union[int, float, None]) – Duration (in seconds) of each fragment. Actual fragments are rounded to the nearest multiple of the source fragment duration.

  • stream_selection (Union[IResolvable, StreamSelectionProperty, Dict[str, Any], None]) – Limitations for outputs from the endpoint, based on the video bitrate.

  • use_audio_rendition_group (Union[bool, IResolvable, None]) – When true, AWS Elemental 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.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-originendpoint-hlspackage.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.mixins_preview.aws_mediapackage import mixins as mediapackage_mixins

hls_package_property = mediapackage_mixins.CfnOriginEndpointPropsMixin.HlsPackageProperty(
    ad_markers="adMarkers",
    ads_on_delivery_restrictions="adsOnDeliveryRestrictions",
    ad_triggers=["adTriggers"],
    encryption=mediapackage_mixins.CfnOriginEndpointPropsMixin.HlsEncryptionProperty(
        constant_initialization_vector="constantInitializationVector",
        encryption_method="encryptionMethod",
        key_rotation_interval_seconds=123,
        repeat_ext_xKey=False,
        speke_key_provider=mediapackage_mixins.CfnOriginEndpointPropsMixin.SpekeKeyProviderProperty(
            certificate_arn="certificateArn",
            encryption_contract_configuration=mediapackage_mixins.CfnOriginEndpointPropsMixin.EncryptionContractConfigurationProperty(
                preset_speke20_audio="presetSpeke20Audio",
                preset_speke20_video="presetSpeke20Video"
            ),
            resource_id="resourceId",
            role_arn="roleArn",
            system_ids=["systemIds"],
            url="url"
        )
    ),
    include_dvb_subtitles=False,
    include_iframe_only_stream=False,
    playlist_type="playlistType",
    playlist_window_seconds=123,
    program_date_time_interval_seconds=123,
    segment_duration_seconds=123,
    stream_selection=mediapackage_mixins.CfnOriginEndpointPropsMixin.StreamSelectionProperty(
        max_video_bits_per_second=123,
        min_video_bits_per_second=123,
        stream_order="streamOrder"
    ),
    use_audio_rendition_group=False
)

Attributes

ad_markers

Controls how ad markers are included in the packaged endpoint.

Valid values:

  • NONE - Omits all SCTE-35 ad markers from the output.

  • PASSTHROUGH - Creates a copy in the output of the SCTE-35 ad markers (comments) taken directly from the input manifest.

  • SCTE35_ENHANCED - Generates ad markers and blackout tags in the output based on the SCTE-35 messages from the input manifest.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-originendpoint-hlspackage.html#cfn-mediapackage-originendpoint-hlspackage-admarkers

ad_triggers

Specifies the SCTE-35 message types that AWS Elemental MediaPackage treats as ad markers in the output manifest.

Valid values:

  • BREAK

  • DISTRIBUTOR_ADVERTISEMENT

  • DISTRIBUTOR_OVERLAY_PLACEMENT_OPPORTUNITY

  • DISTRIBUTOR_PLACEMENT_OPPORTUNITY

  • PROVIDER_ADVERTISEMENT

  • PROVIDER_OVERLAY_PLACEMENT_OPPORTUNITY

  • PROVIDER_PLACEMENT_OPPORTUNITY

  • SPLICE_INSERT

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-originendpoint-hlspackage.html#cfn-mediapackage-originendpoint-hlspackage-adtriggers

ads_on_delivery_restrictions

The flags on SCTE-35 segmentation descriptors that have to be present for AWS Elemental MediaPackage to insert ad markers in the output manifest.

For information about SCTE-35 in AWS Elemental MediaPackage , see SCTE-35 Message Options in AWS Elemental MediaPackage .

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-originendpoint-hlspackage.html#cfn-mediapackage-originendpoint-hlspackage-adsondeliveryrestrictions

encryption

Parameters for encrypting content.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-originendpoint-hlspackage.html#cfn-mediapackage-originendpoint-hlspackage-encryption

include_dvb_subtitles

When enabled, MediaPackage passes through digital video broadcasting (DVB) subtitles into the output.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-originendpoint-hlspackage.html#cfn-mediapackage-originendpoint-hlspackage-includedvbsubtitles

include_iframe_only_stream

Only applies to stream sets with a single video track.

When true, the stream set includes an additional I-frame only stream, along with the other tracks. If false, this extra stream is not included.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-originendpoint-hlspackage.html#cfn-mediapackage-originendpoint-hlspackage-includeiframeonlystream

playlist_type

When specified as either event or vod , a corresponding EXT-X-PLAYLIST-TYPE entry is included in the media playlist.

Indicates if the playlist is live-to-VOD content.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-originendpoint-hlspackage.html#cfn-mediapackage-originendpoint-hlspackage-playlisttype

playlist_window_seconds

Time window (in seconds) contained in each parent manifest.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-originendpoint-hlspackage.html#cfn-mediapackage-originendpoint-hlspackage-playlistwindowseconds

program_date_time_interval_seconds

Inserts EXT-X-PROGRAM-DATE-TIME tags in the output manifest at the interval that you specify.

Irrespective of this parameter, if any ID3Timed metadata is in the HLS input, it is passed through to the HLS output.

Omit this attribute or enter 0 to indicate that the EXT-X-PROGRAM-DATE-TIME tags are not included in the manifest.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-originendpoint-hlspackage.html#cfn-mediapackage-originendpoint-hlspackage-programdatetimeintervalseconds

segment_duration_seconds

Duration (in seconds) of each fragment.

Actual fragments are rounded to the nearest multiple of the source fragment duration.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-originendpoint-hlspackage.html#cfn-mediapackage-originendpoint-hlspackage-segmentdurationseconds

stream_selection

Limitations for outputs from the endpoint, based on the video bitrate.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-originendpoint-hlspackage.html#cfn-mediapackage-originendpoint-hlspackage-streamselection

use_audio_rendition_group

When true, AWS Elemental 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.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-originendpoint-hlspackage.html#cfn-mediapackage-originendpoint-hlspackage-useaudiorenditiongroup

MssEncryptionProperty

class CfnOriginEndpointPropsMixin.MssEncryptionProperty(*, speke_key_provider=None)

Bases: object

Holds encryption information so that access to the content can be controlled by a DRM solution.

Parameters:

speke_key_provider (Union[IResolvable, SpekeKeyProviderProperty, Dict[str, Any], None]) – Parameters for the SPEKE key provider.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-originendpoint-mssencryption.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.mixins_preview.aws_mediapackage import mixins as mediapackage_mixins

mss_encryption_property = mediapackage_mixins.CfnOriginEndpointPropsMixin.MssEncryptionProperty(
    speke_key_provider=mediapackage_mixins.CfnOriginEndpointPropsMixin.SpekeKeyProviderProperty(
        certificate_arn="certificateArn",
        encryption_contract_configuration=mediapackage_mixins.CfnOriginEndpointPropsMixin.EncryptionContractConfigurationProperty(
            preset_speke20_audio="presetSpeke20Audio",
            preset_speke20_video="presetSpeke20Video"
        ),
        resource_id="resourceId",
        role_arn="roleArn",
        system_ids=["systemIds"],
        url="url"
    )
)

Attributes

speke_key_provider

Parameters for the SPEKE key provider.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-originendpoint-mssencryption.html#cfn-mediapackage-originendpoint-mssencryption-spekekeyprovider

MssPackageProperty

class CfnOriginEndpointPropsMixin.MssPackageProperty(*, encryption=None, manifest_window_seconds=None, segment_duration_seconds=None, stream_selection=None)

Bases: object

Parameters for Microsoft Smooth Streaming packaging.

Parameters:
  • encryption (Union[IResolvable, MssEncryptionProperty, Dict[str, Any], None]) – Parameters for encrypting content.

  • manifest_window_seconds (Union[int, float, None]) – Time window (in seconds) contained in each manifest.

  • segment_duration_seconds (Union[int, float, None]) – Duration (in seconds) of each fragment. Actual fragments are rounded to the nearest multiple of the source fragment duration.

  • stream_selection (Union[IResolvable, StreamSelectionProperty, Dict[str, Any], None]) – Limitations for outputs from the endpoint, based on the video bitrate.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-originendpoint-msspackage.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.mixins_preview.aws_mediapackage import mixins as mediapackage_mixins

mss_package_property = mediapackage_mixins.CfnOriginEndpointPropsMixin.MssPackageProperty(
    encryption=mediapackage_mixins.CfnOriginEndpointPropsMixin.MssEncryptionProperty(
        speke_key_provider=mediapackage_mixins.CfnOriginEndpointPropsMixin.SpekeKeyProviderProperty(
            certificate_arn="certificateArn",
            encryption_contract_configuration=mediapackage_mixins.CfnOriginEndpointPropsMixin.EncryptionContractConfigurationProperty(
                preset_speke20_audio="presetSpeke20Audio",
                preset_speke20_video="presetSpeke20Video"
            ),
            resource_id="resourceId",
            role_arn="roleArn",
            system_ids=["systemIds"],
            url="url"
        )
    ),
    manifest_window_seconds=123,
    segment_duration_seconds=123,
    stream_selection=mediapackage_mixins.CfnOriginEndpointPropsMixin.StreamSelectionProperty(
        max_video_bits_per_second=123,
        min_video_bits_per_second=123,
        stream_order="streamOrder"
    )
)

Attributes

encryption

Parameters for encrypting content.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-originendpoint-msspackage.html#cfn-mediapackage-originendpoint-msspackage-encryption

manifest_window_seconds

Time window (in seconds) contained in each manifest.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-originendpoint-msspackage.html#cfn-mediapackage-originendpoint-msspackage-manifestwindowseconds

segment_duration_seconds

Duration (in seconds) of each fragment.

Actual fragments are rounded to the nearest multiple of the source fragment duration.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-originendpoint-msspackage.html#cfn-mediapackage-originendpoint-msspackage-segmentdurationseconds

stream_selection

Limitations for outputs from the endpoint, based on the video bitrate.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-originendpoint-msspackage.html#cfn-mediapackage-originendpoint-msspackage-streamselection

SpekeKeyProviderProperty

class CfnOriginEndpointPropsMixin.SpekeKeyProviderProperty(*, certificate_arn=None, encryption_contract_configuration=None, resource_id=None, role_arn=None, system_ids=None, url=None)

Bases: object

Key provider settings for DRM.

Parameters:
  • certificate_arn (Optional[str]) – The Amazon Resource Name (ARN) for the certificate that you imported to Certificate Manager to add content key encryption to this endpoint. For this feature to work, your DRM key provider must support content key encryption.

  • encryption_contract_configuration (Union[IResolvable, EncryptionContractConfigurationProperty, Dict[str, Any], None]) – Use encryptionContractConfiguration to 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.

  • resource_id (Optional[str]) – Unique identifier for this endpoint, as it is configured in the key provider service.

  • role_arn (Optional[str]) – The ARN for the IAM role that’s granted by the key provider to provide access to the key provider API. This role must have a trust policy that allows AWS Elemental MediaPackage to assume the role, and it must have a sufficient permissions policy to allow access to the specific key retrieval URL. Valid format: arn:aws:iam::{accountID}:role/{name}

  • system_ids (Optional[Sequence[str]]) – List of unique identifiers for the DRM systems to use, as defined in the CPIX specification.

  • url (Optional[str]) – URL for the key provider’s key retrieval API endpoint. Must start with https://.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-originendpoint-spekekeyprovider.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.mixins_preview.aws_mediapackage import mixins as mediapackage_mixins

speke_key_provider_property = mediapackage_mixins.CfnOriginEndpointPropsMixin.SpekeKeyProviderProperty(
    certificate_arn="certificateArn",
    encryption_contract_configuration=mediapackage_mixins.CfnOriginEndpointPropsMixin.EncryptionContractConfigurationProperty(
        preset_speke20_audio="presetSpeke20Audio",
        preset_speke20_video="presetSpeke20Video"
    ),
    resource_id="resourceId",
    role_arn="roleArn",
    system_ids=["systemIds"],
    url="url"
)

Attributes

certificate_arn

The Amazon Resource Name (ARN) for the certificate that you imported to Certificate Manager to add content key encryption to this endpoint.

For this feature to work, your DRM key provider must support content key encryption.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-originendpoint-spekekeyprovider.html#cfn-mediapackage-originendpoint-spekekeyprovider-certificatearn

encryption_contract_configuration

Use encryptionContractConfiguration to 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:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-originendpoint-spekekeyprovider.html#cfn-mediapackage-originendpoint-spekekeyprovider-encryptioncontractconfiguration

resource_id

Unique identifier for this endpoint, as it is configured in the key provider service.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-originendpoint-spekekeyprovider.html#cfn-mediapackage-originendpoint-spekekeyprovider-resourceid

role_arn

The ARN for the IAM role that’s granted by the key provider to provide access to the key provider API.

This role must have a trust policy that allows AWS Elemental MediaPackage to assume the role, and it must have a sufficient permissions policy to allow access to the specific key retrieval URL. Valid format: arn:aws:iam::{accountID}:role/{name}

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-originendpoint-spekekeyprovider.html#cfn-mediapackage-originendpoint-spekekeyprovider-rolearn

system_ids

List of unique identifiers for the DRM systems to use, as defined in the CPIX specification.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-originendpoint-spekekeyprovider.html#cfn-mediapackage-originendpoint-spekekeyprovider-systemids

url

URL for the key provider’s key retrieval API endpoint.

Must start with https://.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-originendpoint-spekekeyprovider.html#cfn-mediapackage-originendpoint-spekekeyprovider-url

StreamSelectionProperty

class CfnOriginEndpointPropsMixin.StreamSelectionProperty(*, max_video_bits_per_second=None, min_video_bits_per_second=None, stream_order=None)

Bases: object

Limitations for outputs from the endpoint, based on the video bitrate.

Parameters:
  • max_video_bits_per_second (Union[int, float, None]) – The upper limit of the bitrates that this endpoint serves. If the video track exceeds this threshold, then AWS Elemental MediaPackage excludes it from output. If you don’t specify a value, it defaults to 2147483647 bits per second.

  • min_video_bits_per_second (Union[int, float, None]) – The lower limit of the bitrates that this endpoint serves. If the video track is below this threshold, then AWS Elemental MediaPackage excludes it from output. If you don’t specify a value, it defaults to 0 bits per second.

  • stream_order (Optional[str]) – Order in which the different video bitrates are presented to the player. Valid values: ORIGINAL , VIDEO_BITRATE_ASCENDING , VIDEO_BITRATE_DESCENDING .

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-originendpoint-streamselection.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.mixins_preview.aws_mediapackage import mixins as mediapackage_mixins

stream_selection_property = mediapackage_mixins.CfnOriginEndpointPropsMixin.StreamSelectionProperty(
    max_video_bits_per_second=123,
    min_video_bits_per_second=123,
    stream_order="streamOrder"
)

Attributes

max_video_bits_per_second

The upper limit of the bitrates that this endpoint serves.

If the video track exceeds this threshold, then AWS Elemental MediaPackage excludes it from output. If you don’t specify a value, it defaults to 2147483647 bits per second.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-originendpoint-streamselection.html#cfn-mediapackage-originendpoint-streamselection-maxvideobitspersecond

min_video_bits_per_second

The lower limit of the bitrates that this endpoint serves.

If the video track is below this threshold, then AWS Elemental MediaPackage excludes it from output. If you don’t specify a value, it defaults to 0 bits per second.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-originendpoint-streamselection.html#cfn-mediapackage-originendpoint-streamselection-minvideobitspersecond

stream_order

Order in which the different video bitrates are presented to the player.

Valid values: ORIGINAL , VIDEO_BITRATE_ASCENDING , VIDEO_BITRATE_DESCENDING .

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediapackage-originendpoint-streamselection.html#cfn-mediapackage-originendpoint-streamselection-streamorder