Class: AWSCDK::MediaLive::CfnChannel::MultiplexProgramChannelDestinationSettingsProperty

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

Overview

Destination settings for a Multiplex output.

The parent of this entity is OutputDestination.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(multiplex_id: nil, program_name: nil) ⇒ MultiplexProgramChannelDestinationSettingsProperty

Returns a new instance of MultiplexProgramChannelDestinationSettingsProperty.

Parameters:

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

    The ID of the Multiplex that the encoder is providing output to.

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

    The program name of the Multiplex program that the encoder is providing output to.



11469
11470
11471
11472
11473
11474
# File 'media_live/cfn_channel.rb', line 11469

def initialize(multiplex_id: nil, program_name: nil)
  @multiplex_id = multiplex_id
  Jsii::Type.check_type(@multiplex_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "multiplexId") unless @multiplex_id.nil?
  @program_name = program_name
  Jsii::Type.check_type(@program_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "programName") unless @program_name.nil?
end

Instance Attribute Details

#multiplex_idString? (readonly)

The ID of the Multiplex that the encoder is providing output to.

You do not need to specify the individual inputs to the Multiplex; MediaLive will handle the connection of the two MediaLive pipelines to the two Multiplex instances. The Multiplex must be in the same region as the Channel.



11483
11484
11485
# File 'media_live/cfn_channel.rb', line 11483

def multiplex_id
  @multiplex_id
end

#program_nameString? (readonly)

The program name of the Multiplex program that the encoder is providing output to.



11488
11489
11490
# File 'media_live/cfn_channel.rb', line 11488

def program_name
  @program_name
end

Class Method Details

.jsii_propertiesObject



11490
11491
11492
11493
11494
11495
# File 'media_live/cfn_channel.rb', line 11490

def self.jsii_properties
  {
    :multiplex_id => "multiplexId",
    :program_name => "programName",
  }
end

Instance Method Details

#to_jsiiObject



11497
11498
11499
11500
11501
11502
11503
11504
# File 'media_live/cfn_channel.rb', line 11497

def to_jsii
  result = {}
  result.merge!({
    "multiplexId" => @multiplex_id,
    "programName" => @program_name,
  })
  result.compact
end