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

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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-mediapackage/lib/aws-sdk-mediapackage/types.rb

Overview

Note:

When making an API call, you may pass CmafPackageCreateOrUpdateParameters data as a 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.

Instance Attribute Summary collapse

Instance Attribute Details

#encryptionTypes::CmafEncryption

A Common Media Application Format (CMAF) encryption configuration.



231
232
233
234
235
236
237
238
# File 'gems/aws-sdk-mediapackage/lib/aws-sdk-mediapackage/types.rb', line 231

class CmafPackageCreateOrUpdateParameters < Struct.new(
  :encryption,
  :hls_manifests,
  :segment_duration_seconds,
  :segment_prefix,
  :stream_selection)
  include Aws::Structure
end

#hls_manifestsArray<Types::HlsManifestCreateOrUpdateParameters>

A list of HLS manifest configurations



231
232
233
234
235
236
237
238
# File 'gems/aws-sdk-mediapackage/lib/aws-sdk-mediapackage/types.rb', line 231

class CmafPackageCreateOrUpdateParameters < Struct.new(
  :encryption,
  :hls_manifests,
  :segment_duration_seconds,
  :segment_prefix,
  :stream_selection)
  include Aws::Structure
end

#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)


231
232
233
234
235
236
237
238
# File 'gems/aws-sdk-mediapackage/lib/aws-sdk-mediapackage/types.rb', line 231

class CmafPackageCreateOrUpdateParameters < Struct.new(
  :encryption,
  :hls_manifests,
  :segment_duration_seconds,
  :segment_prefix,
  :stream_selection)
  include Aws::Structure
end

#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)


231
232
233
234
235
236
237
238
# File 'gems/aws-sdk-mediapackage/lib/aws-sdk-mediapackage/types.rb', line 231

class CmafPackageCreateOrUpdateParameters < Struct.new(
  :encryption,
  :hls_manifests,
  :segment_duration_seconds,
  :segment_prefix,
  :stream_selection)
  include Aws::Structure
end

#stream_selectionTypes::StreamSelection

A StreamSelection configuration.



231
232
233
234
235
236
237
238
# File 'gems/aws-sdk-mediapackage/lib/aws-sdk-mediapackage/types.rb', line 231

class CmafPackageCreateOrUpdateParameters < Struct.new(
  :encryption,
  :hls_manifests,
  :segment_duration_seconds,
  :segment_prefix,
  :stream_selection)
  include Aws::Structure
end