HlsManifestConfiguration

class aws_cdk.aws_mediapackagev2_alpha.HlsManifestConfiguration(*, manifest_name, child_manifest_name=None, filter_configuration=None, manifest_window=None, program_date_time_interval=None, scte_ad_marker_hls=None, start_tag=None, url_encode_child_manifest=None)

Bases: object

(experimental) The HLS manifest configuration associated with the origin endpoint.

Parameters:
  • manifest_name (str) – (experimental) The name of the manifest associated with the HLS manifest configuration.

  • child_manifest_name (Optional[str]) – (experimental) The name of the child manifest associated with the HLS manifest configuration. Default: - No child manifest name specified

  • filter_configuration (Union[FilterConfiguration, Dict[str, Any], None]) – (experimental) Filter configuration includes settings for manifest filtering, start and end times, and time delay that apply to all of your egress requests for this manifest. https://docs.aws.amazon.com/mediapackage/latest/userguide/manifest-filter-query-parameters.html Default: - No filter configuration

  • manifest_window (Optional[Duration]) – (experimental) The total duration (in seconds) of the manifest’s content. Default: 60

  • program_date_time_interval (Optional[Duration]) – (experimental) Inserts EXT-X-PROGRAM-DATE-TIME tags in the output manifest at the interval that you specify. If you don’t enter an interval, EXT-X-PROGRAM-DATE-TIME tags aren’t included in the manifest. The tags sync the stream to the wall clock so that viewers can seek to a specific time in the playback timeline on the player. Default: - No program date time interval

  • scte_ad_marker_hls (Optional[AdMarkerHls]) – (experimental) The SCTE-35 HLS configuration associated with the HLS manifest configuration of the origin endpoint. Default: - No SCTE ad marker configuration

  • start_tag (Optional[StartTag]) – (experimental) Insert EXT-X-START tag in the manifest with the configured settings. Default: - No start tag

  • url_encode_child_manifest (Optional[bool]) – (experimental) When enabled, MediaPackage URL-encodes the query string for API requests for HLS child manifests to comply with AWS Signature Version 4 (SigV4) signature signing protocol. For more information, see AWS Signature Version 4 for API requests in AWS Identity and Access Management User Guide. Default: false

Stability:

experimental

ExampleMetadata:

infused

Example:

# channel: Channel
# speke_role: iam.IRole


OriginEndpoint(self, "TsEndpoint",
    channel=channel,
    segment=Segment.ts(
        encryption=TsEncryption.speke(
            method=TsEncryptionMethod.SAMPLE_AES,
            resource_id="my-content-id",
            url="https://example.com/speke",
            role=speke_role
        )
    ),
    manifests=[Manifest.hls(manifest_name="index")]
)

Attributes

child_manifest_name

(experimental) The name of the child manifest associated with the HLS manifest configuration.

Default:
  • No child manifest name specified

Stability:

experimental

filter_configuration

(experimental) Filter configuration includes settings for manifest filtering, start and end times, and time delay that apply to all of your egress requests for this manifest.

https://docs.aws.amazon.com/mediapackage/latest/userguide/manifest-filter-query-parameters.html

Default:
  • No filter configuration

Stability:

experimental

manifest_name

(experimental) The name of the manifest associated with the HLS manifest configuration.

Stability:

experimental

manifest_window

(experimental) The total duration (in seconds) of the manifest’s content.

Default:

60

Stability:

experimental

program_date_time_interval

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

If you don’t enter an interval, EXT-X-PROGRAM-DATE-TIME tags aren’t included in the manifest. The tags sync the stream to the wall clock so that viewers can seek to a specific time in the playback timeline on the player.

Default:
  • No program date time interval

Stability:

experimental

scte_ad_marker_hls

(experimental) The SCTE-35 HLS configuration associated with the HLS manifest configuration of the origin endpoint.

Default:
  • No SCTE ad marker configuration

Stability:

experimental

start_tag

(experimental) Insert EXT-X-START tag in the manifest with the configured settings.

Default:
  • No start tag

Stability:

experimental

url_encode_child_manifest

(experimental) When enabled, MediaPackage URL-encodes the query string for API requests for HLS child manifests to comply with AWS Signature Version 4 (SigV4) signature signing protocol.

For more information, see AWS Signature Version 4 for API requests in AWS Identity and Access Management User Guide.

Default:

false

Stability:

experimental

External:

https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_sigv.html