Class: AWSCDK::MediaLive::CfnChannel::VideoSelectorPidProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
media_live/cfn_channel.rb

Overview

Selects a specific PID from within a video source.

The parent of this entity is VideoSelectorSettings.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(pid: nil) ⇒ VideoSelectorPidProperty

Returns a new instance of VideoSelectorPidProperty.

Parameters:

  • pid (Numeric, nil) (defaults to: nil)

    Selects a specific PID from within a video source.



14080
14081
14082
14083
# File 'media_live/cfn_channel.rb', line 14080

def initialize(pid: nil)
  @pid = pid
  Jsii::Type.check_type(@pid, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "pid") unless @pid.nil?
end

Instance Attribute Details

#pidNumeric? (readonly)

Selects a specific PID from within a video source.



14089
14090
14091
# File 'media_live/cfn_channel.rb', line 14089

def pid
  @pid
end

Class Method Details

.jsii_propertiesObject



14091
14092
14093
14094
14095
# File 'media_live/cfn_channel.rb', line 14091

def self.jsii_properties
  {
    :pid => "pid",
  }
end

Instance Method Details

#to_jsiiObject



14097
14098
14099
14100
14101
14102
14103
# File 'media_live/cfn_channel.rb', line 14097

def to_jsii
  result = {}
  result.merge!({
    "pid" => @pid,
  })
  result.compact
end