Class: AWSCDK::MediaLive::CfnChannel::FollowerChannelSettingsProperty

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, primary_channel_arn: nil) ⇒ FollowerChannelSettingsProperty

Returns a new instance of FollowerChannelSettingsProperty.

Parameters:

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


5750
5751
5752
5753
5754
5755
# File 'media_live/cfn_channel.rb', line 5750

def initialize(linked_channel_type: nil, primary_channel_arn: 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?
  @primary_channel_arn = primary_channel_arn
  Jsii::Type.check_type(@primary_channel_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "primaryChannelArn") unless @primary_channel_arn.nil?
end

Instance Attribute Details

#linked_channel_typeString? (readonly)



5759
5760
5761
# File 'media_live/cfn_channel.rb', line 5759

def linked_channel_type
  @linked_channel_type
end

#primary_channel_arnString? (readonly)



5762
5763
5764
# File 'media_live/cfn_channel.rb', line 5762

def primary_channel_arn
  @primary_channel_arn
end

Class Method Details

.jsii_propertiesObject



5764
5765
5766
5767
5768
5769
# File 'media_live/cfn_channel.rb', line 5764

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

Instance Method Details

#to_jsiiObject



5771
5772
5773
5774
5775
5776
5777
5778
# File 'media_live/cfn_channel.rb', line 5771

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