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

Class: Aws::MediaLive::Types::InputAttachment

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

Overview

Note:

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

{
  automatic_input_failover_settings: {
    error_clear_time_msec: 1,
    failover_conditions: [
      {
        failover_condition_settings: {
          input_loss_settings: {
            input_loss_threshold_msec: 1,
          },
        },
      },
    ],
    input_preference: "EQUAL_INPUT_PREFERENCE", # accepts EQUAL_INPUT_PREFERENCE, PRIMARY_INPUT_PREFERRED
    secondary_input_id: "__string", # required
  },
  input_attachment_name: "__string",
  input_id: "__string",
  input_settings: {
    audio_selectors: [
      {
        name: "__stringMin1", # required
        selector_settings: {
          audio_language_selection: {
            language_code: "__string", # required
            language_selection_policy: "LOOSE", # accepts LOOSE, STRICT
          },
          audio_pid_selection: {
            pid: 1, # required
          },
          audio_track_selection: {
            tracks: [ # required
              {
                track: 1, # required
              },
            ],
          },
        },
      },
    ],
    caption_selectors: [
      {
        language_code: "__string",
        name: "__stringMin1", # required
        selector_settings: {
          ancillary_source_settings: {
            source_ancillary_channel_number: 1,
          },
          arib_source_settings: {
          },
          dvb_sub_source_settings: {
            pid: 1,
          },
          embedded_source_settings: {
            convert_608_to_708: "DISABLED", # accepts DISABLED, UPCONVERT
            scte_20_detection: "AUTO", # accepts AUTO, OFF
            source_608_channel_number: 1,
            source_608_track_number: 1,
          },
          scte_20_source_settings: {
            convert_608_to_708: "DISABLED", # accepts DISABLED, UPCONVERT
            source_608_channel_number: 1,
          },
          scte_27_source_settings: {
            pid: 1,
          },
          teletext_source_settings: {
            page_number: "__string",
          },
        },
      },
    ],
    deblock_filter: "DISABLED", # accepts DISABLED, ENABLED
    denoise_filter: "DISABLED", # accepts DISABLED, ENABLED
    filter_strength: 1,
    input_filter: "AUTO", # accepts AUTO, DISABLED, FORCED
    network_input_settings: {
      hls_input_settings: {
        bandwidth: 1,
        buffer_segments: 1,
        retries: 1,
        retry_interval: 1,
      },
      server_validation: "CHECK_CRYPTOGRAPHY_AND_VALIDATE_NAME", # accepts CHECK_CRYPTOGRAPHY_AND_VALIDATE_NAME, CHECK_CRYPTOGRAPHY_ONLY
    },
    smpte_2038_data_preference: "IGNORE", # accepts IGNORE, PREFER
    source_end_behavior: "CONTINUE", # accepts CONTINUE, LOOP
    video_selector: {
      color_space: "FOLLOW", # accepts FOLLOW, REC_601, REC_709
      color_space_usage: "FALLBACK", # accepts FALLBACK, FORCE
      selector_settings: {
        video_selector_pid: {
          pid: 1,
        },
        video_selector_program_id: {
          program_id: 1,
        },
      },
    },
  },
}

Instance Attribute Summary collapse

Instance Attribute Details

#automatic_input_failover_settingsTypes::AutomaticInputFailoverSettings

User-specified settings for defining what the conditions are for declaring the input unhealthy and failing over to a different input.

Returns:

#input_attachment_nameString

User-specified name for the attachment. This is required if the user wants to use this input in an input switch action.

Returns:

  • (String)

    User-specified name for the attachment.

#input_idString

The ID of the input

Returns:

  • (String)

    The ID of the input.

#input_settingsTypes::InputSettings

Settings of an input (caption selector, etc.)

Returns: