class Aws::MediaPackage::Types::CreateOriginEndpointRequest

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

data as a hash:

    {
      authorization: {
        cdn_identifier_secret: "__string", # required
        secrets_role_arn: "__string", # required
      },
      channel_id: "__string", # required
      cmaf_package: {
        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
        },
      },
      dash_package: {
        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
        encryption: {
          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
          },
        },
        manifest_layout: "FULL", # accepts FULL, COMPACT
        manifest_window_seconds: 1,
        min_buffer_time_seconds: 1,
        min_update_period_seconds: 1,
        period_triggers: ["ADS"], # accepts ADS
        profile: "NONE", # accepts NONE, HBBTV_1_5
        segment_duration_seconds: 1,
        segment_template_format: "NUMBER_WITH_TIMELINE", # accepts NUMBER_WITH_TIMELINE, TIME_WITH_TIMELINE, NUMBER_WITH_DURATION
        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
        },
        suggested_presentation_delay_seconds: 1,
        utc_timing: "NONE", # accepts NONE, HTTP-HEAD, HTTP-ISO
        utc_timing_uri: "__string",
      },
      description: "__string",
      hls_package: {
        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
        encryption: {
          constant_initialization_vector: "__string",
          encryption_method: "AES_128", # accepts AES_128, SAMPLE_AES
          key_rotation_interval_seconds: 1,
          repeat_ext_x_key: false,
          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
          },
        },
        include_iframe_only_stream: false,
        playlist_type: "NONE", # accepts NONE, EVENT, VOD
        playlist_window_seconds: 1,
        program_date_time_interval_seconds: 1,
        segment_duration_seconds: 1,
        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
        },
        use_audio_rendition_group: false,
      },
      id: "__string", # required
      manifest_name: "__string",
      mss_package: {
        encryption: {
          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
          },
        },
        manifest_window_seconds: 1,
        segment_duration_seconds: 1,
        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
        },
      },
      origination: "ALLOW", # accepts ALLOW, DENY
      startover_window_seconds: 1,
      tags: {
        "__string" => "__string",
      },
      time_delay_seconds: 1,
      whitelist: ["__string"],
    }

@!attribute [rw] authorization

CDN Authorization credentials
@return [Types::Authorization]

@!attribute [rw] channel_id

@return [String]

@!attribute [rw] cmaf_package

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

@!attribute [rw] dash_package

A Dynamic Adaptive Streaming over HTTP (DASH) packaging
configuration.
@return [Types::DashPackage]

@!attribute [rw] description

@return [String]

@!attribute [rw] hls_package

An HTTP Live Streaming (HLS) packaging configuration.
@return [Types::HlsPackage]

@!attribute [rw] id

@return [String]

@!attribute [rw] manifest_name

@return [String]

@!attribute [rw] mss_package

A Microsoft Smooth Streaming (MSS) packaging configuration.
@return [Types::MssPackage]

@!attribute [rw] origination

@return [String]

@!attribute [rw] startover_window_seconds

@return [Integer]

@!attribute [rw] tags

A collection of tags associated with a resource
@return [Hash<String,String>]

@!attribute [rw] time_delay_seconds

@return [Integer]

@!attribute [rw] whitelist

@return [Array<String>]

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

Constants

SENSITIVE