Class: AWSCDK::MediaLive::CfnMultiplexprogram::MultiplexProgramPipelineDetailProperty

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

Overview

The current source for one of the pipelines in the multiplex.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(active_channel_pipeline: nil, pipeline_id: nil) ⇒ MultiplexProgramPipelineDetailProperty

Returns a new instance of MultiplexProgramPipelineDetailProperty.

Parameters:

  • active_channel_pipeline (String, nil) (defaults to: nil)

    Identifies the channel pipeline that is currently active for the pipeline (identified by PipelineId) in the multiplex.

  • pipeline_id (String, nil) (defaults to: nil)

    Identifies a specific pipeline in the multiplex.



695
696
697
698
699
700
# File 'media_live/cfn_multiplexprogram.rb', line 695

def initialize(active_channel_pipeline: nil, pipeline_id: nil)
  @active_channel_pipeline = active_channel_pipeline
  Jsii::Type.check_type(@active_channel_pipeline, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "activeChannelPipeline") unless @active_channel_pipeline.nil?
  @pipeline_id = pipeline_id
  Jsii::Type.check_type(@pipeline_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "pipelineId") unless @pipeline_id.nil?
end

Instance Attribute Details

#active_channel_pipelineString? (readonly)

Identifies the channel pipeline that is currently active for the pipeline (identified by PipelineId) in the multiplex.



706
707
708
# File 'media_live/cfn_multiplexprogram.rb', line 706

def active_channel_pipeline
  @active_channel_pipeline
end

#pipeline_idString? (readonly)

Identifies a specific pipeline in the multiplex.



711
712
713
# File 'media_live/cfn_multiplexprogram.rb', line 711

def pipeline_id
  @pipeline_id
end

Class Method Details

.jsii_propertiesObject



713
714
715
716
717
718
# File 'media_live/cfn_multiplexprogram.rb', line 713

def self.jsii_properties
  {
    :active_channel_pipeline => "activeChannelPipeline",
    :pipeline_id => "pipelineId",
  }
end

Instance Method Details

#to_jsiiObject



720
721
722
723
724
725
726
727
# File 'media_live/cfn_multiplexprogram.rb', line 720

def to_jsii
  result = {}
  result.merge!({
    "activeChannelPipeline" => @active_channel_pipeline,
    "pipelineId" => @pipeline_id,
  })
  result.compact
end