class Aws::MediaPackage::Types::CmafPackageCreateOrUpdateParameters

A Common Media Application Format (CMAF) packaging configuration.

@note When making an API call, you may pass CmafPackageCreateOrUpdateParameters

data as a hash:

    {
      encryption: {
        constant_initialization_vector: "__string",
        key_rotation_interval_seconds: 1,
        speke_key_provider: { # required
          certificate_arn: "__string",
          encryption_contract_configuration: {
            preset_speke_20_audio: "PRESET-AUDIO-1", # required, accepts PRESET-AUDIO-1
            preset_speke_20_video: "PRESET-VIDEO-1", # required, accepts PRESET-VIDEO-1
          },
          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, DATERANGE
          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
      },
    }

@!attribute [rw] encryption

A Common Media Application Format (CMAF) encryption configuration.
@return [Types::CmafEncryption]

@!attribute [rw] hls_manifests

A list of HLS manifest configurations
@return [Array<Types::HlsManifestCreateOrUpdateParameters>]

@!attribute [rw] segment_duration_seconds

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

@!attribute [rw] segment_prefix

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

@!attribute [rw] stream_selection

A StreamSelection configuration.
@return [Types::StreamSelection]

@see docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/CmafPackageCreateOrUpdateParameters AWS API Documentation

Constants

SENSITIVE