Class: AWSCDK::MediaLive::CfnChannel::AudioPidSelectionProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::MediaLive::CfnChannel::AudioPidSelectionProperty
- Defined in:
- media_live/cfn_channel.rb
Overview
Used to extract audio by The PID.
The parent of this entity is AudioSelectorSettings.
Instance Attribute Summary collapse
-
#pid ⇒ Numeric?
readonly
Select the audio by this PID.
- #pids ⇒ AWSCDK::IResolvable, ... readonly
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(pid: nil, pids: nil) ⇒ AudioPidSelectionProperty
constructor
A new instance of AudioPidSelectionProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(pid: nil, pids: nil) ⇒ AudioPidSelectionProperty
Returns a new instance of AudioPidSelectionProperty.
2051 2052 2053 2054 2055 2056 |
# File 'media_live/cfn_channel.rb', line 2051 def initialize(pid: nil, pids: nil) @pid = pid Jsii::Type.check_type(@pid, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "pid") unless @pid.nil? @pids = pids Jsii::Type.check_type(@pids, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfbWVkaWFsaXZlLkNmbkNoYW5uZWwuQXVkaW9QaWRQcm9wZXJ0eSJ9XX19LCJraW5kIjoiYXJyYXkifX1dfX0=")), "pids") unless @pids.nil? end |
Instance Attribute Details
#pid ⇒ Numeric? (readonly)
Select the audio by this PID.
2062 2063 2064 |
# File 'media_live/cfn_channel.rb', line 2062 def pid @pid end |
#pids ⇒ AWSCDK::IResolvable, ... (readonly)
2065 2066 2067 |
# File 'media_live/cfn_channel.rb', line 2065 def pids @pids end |
Class Method Details
.jsii_properties ⇒ Object
2067 2068 2069 2070 2071 2072 |
# File 'media_live/cfn_channel.rb', line 2067 def self.jsii_properties { :pid => "pid", :pids => "pids", } end |
Instance Method Details
#to_jsii ⇒ Object
2074 2075 2076 2077 2078 2079 2080 2081 |
# File 'media_live/cfn_channel.rb', line 2074 def to_jsii result = {} result.merge!({ "pid" => @pid, "pids" => @pids, }) result.compact end |