Class: AWSCDK::MediaLive::CfnChannel::PrimaryChannelSettingsProperty

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

Overview

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(linked_channel_type: nil) ⇒ PrimaryChannelSettingsProperty

Returns a new instance of PrimaryChannelSettingsProperty.

Parameters:

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


12477
12478
12479
12480
# File 'media_live/cfn_channel.rb', line 12477

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

Instance Attribute Details

#linked_channel_typeString? (readonly)



12484
12485
12486
# File 'media_live/cfn_channel.rb', line 12484

def linked_channel_type
  @linked_channel_type
end

Class Method Details

.jsii_propertiesObject



12486
12487
12488
12489
12490
# File 'media_live/cfn_channel.rb', line 12486

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

Instance Method Details

#to_jsiiObject



12492
12493
12494
12495
12496
12497
12498
# File 'media_live/cfn_channel.rb', line 12492

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