Class: AWSCDK::MediaLive::CfnChannel::VideoSelectorProgramIdProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::MediaLive::CfnChannel::VideoSelectorProgramIdProperty
- Defined in:
- media_live/cfn_channel.rb
Overview
Used to extract video by the program ID.
The parent of this entity is VideoSelectorSettings.
Instance Attribute Summary collapse
-
#program_id ⇒ Numeric?
readonly
Selects a specific program from within a multi-program transport stream.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(program_id: nil) ⇒ VideoSelectorProgramIdProperty
constructor
A new instance of VideoSelectorProgramIdProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(program_id: nil) ⇒ VideoSelectorProgramIdProperty
Returns a new instance of VideoSelectorProgramIdProperty.
14115 14116 14117 14118 |
# File 'media_live/cfn_channel.rb', line 14115 def initialize(program_id: nil) @program_id = program_id Jsii::Type.check_type(@program_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "programId") unless @program_id.nil? end |
Instance Attribute Details
#program_id ⇒ Numeric? (readonly)
Selects a specific program from within a multi-program transport stream.
If the program doesn't exist, MediaLive selects the first program within the transport stream by default.
14126 14127 14128 |
# File 'media_live/cfn_channel.rb', line 14126 def program_id @program_id end |
Class Method Details
.jsii_properties ⇒ Object
14128 14129 14130 14131 14132 |
# File 'media_live/cfn_channel.rb', line 14128 def self.jsii_properties { :program_id => "programId", } end |
Instance Method Details
#to_jsii ⇒ Object
14134 14135 14136 14137 14138 14139 14140 |
# File 'media_live/cfn_channel.rb', line 14134 def to_jsii result = {} result.merge!({ "programId" => @program_id, }) result.compact end |