You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::MediaPackage::Types::CmafPackageCreateOrUpdateParameters

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing CmafPackageCreateOrUpdateParameters as input to an Aws::Client method, you can use a vanilla Hash:

{
  encryption: {
    key_rotation_interval_seconds: 1,
    speke_key_provider: { # required
      certificate_arn: "__string",
      resource_id: "__string", # required
      role_arn: "__string", # required
      system_ids: ["__string"], # required
      url: "__string", # required
    },
  },
  hls_manifests: [
    {
      ad_markers: "NONE", # accepts NONE, SCTE35_ENHANCED, PASSTHROUGH
      ad_triggers: ["SPLICE_INSERT"], # accepts SPLICE_INSERT, BREAK, PROVIDER_ADVERTISEMENT, DISTRIBUTOR_ADVERTISEMENT, PROVIDER_PLACEMENT_OPPORTUNITY, DISTRIBUTOR_PLACEMENT_OPPORTUNITY, PROVIDER_OVERLAY_PLACEMENT_OPPORTUNITY, DISTRIBUTOR_OVERLAY_PLACEMENT_OPPORTUNITY
      ads_on_delivery_restrictions: "NONE", # accepts NONE, RESTRICTED, UNRESTRICTED, BOTH
      id: "__string", # required
      include_iframe_only_stream: false,
      manifest_name: "__string",
      playlist_type: "NONE", # accepts NONE, EVENT, VOD
      playlist_window_seconds: 1,
      program_date_time_interval_seconds: 1,
    },
  ],
  segment_duration_seconds: 1,
  segment_prefix: "__string",
  stream_selection: {
    max_video_bits_per_second: 1,
    min_video_bits_per_second: 1,
    stream_order: "ORIGINAL", # accepts ORIGINAL, VIDEO_BITRATE_ASCENDING, VIDEO_BITRATE_DESCENDING
  },
}

A Common Media Application Format (CMAF) packaging configuration.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#encryptionTypes::CmafEncryption

A Common Media Application Format (CMAF) encryption configuration.

Returns:

#hls_manifestsArray<Types::HlsManifestCreateOrUpdateParameters>

A list of HLS manifest configurations

Returns:

#segment_duration_secondsInteger

Duration (in seconds) of each segment. Actual segments will be rounded to the nearest multiple of the source segment duration.

Returns:

  • (Integer)

    Duration (in seconds) of each segment.

#segment_prefixString

An optional custom string that is prepended to the name of each segment. If not specified, it defaults to the ChannelId.

Returns:

  • (String)

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

#stream_selectionTypes::StreamSelection

A StreamSelection configuration.

Returns: