Class: AWSCDK::MediaLive::CfnChannel::LinkedChannelSettingsProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::MediaLive::CfnChannel::LinkedChannelSettingsProperty
- Defined in:
- media_live/cfn_channel.rb
Overview
Instance Attribute Summary collapse
- #follower_channel_settings ⇒ AWSCDK::IResolvable, ... readonly
- #primary_channel_settings ⇒ AWSCDK::IResolvable, ... readonly
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(follower_channel_settings: nil, primary_channel_settings: nil) ⇒ LinkedChannelSettingsProperty
constructor
A new instance of LinkedChannelSettingsProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(follower_channel_settings: nil, primary_channel_settings: nil) ⇒ LinkedChannelSettingsProperty
Returns a new instance of LinkedChannelSettingsProperty.
9088 9089 9090 9091 9092 9093 |
# File 'media_live/cfn_channel.rb', line 9088 def initialize(follower_channel_settings: nil, primary_channel_settings: nil) @follower_channel_settings = follower_channel_settings.is_a?(Hash) ? ::AWSCDK::MediaLive::CfnChannel::FollowerChannelSettingsProperty.new(**follower_channel_settings.transform_keys(&:to_sym)) : follower_channel_settings Jsii::Type.check_type(@follower_channel_settings, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19tZWRpYWxpdmUuQ2ZuQ2hhbm5lbC5Gb2xsb3dlckNoYW5uZWxTZXR0aW5nc1Byb3BlcnR5In1dfX0=")), "followerChannelSettings") unless @follower_channel_settings.nil? @primary_channel_settings = primary_channel_settings.is_a?(Hash) ? ::AWSCDK::MediaLive::CfnChannel::PrimaryChannelSettingsProperty.new(**primary_channel_settings.transform_keys(&:to_sym)) : primary_channel_settings Jsii::Type.check_type(@primary_channel_settings, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19tZWRpYWxpdmUuQ2ZuQ2hhbm5lbC5QcmltYXJ5Q2hhbm5lbFNldHRpbmdzUHJvcGVydHkifV19fQ==")), "primaryChannelSettings") unless @primary_channel_settings.nil? end |
Instance Attribute Details
#follower_channel_settings ⇒ AWSCDK::IResolvable, ... (readonly)
9097 9098 9099 |
# File 'media_live/cfn_channel.rb', line 9097 def follower_channel_settings @follower_channel_settings end |
#primary_channel_settings ⇒ AWSCDK::IResolvable, ... (readonly)
9100 9101 9102 |
# File 'media_live/cfn_channel.rb', line 9100 def primary_channel_settings @primary_channel_settings end |
Class Method Details
.jsii_properties ⇒ Object
9102 9103 9104 9105 9106 9107 |
# File 'media_live/cfn_channel.rb', line 9102 def self.jsii_properties { :follower_channel_settings => "followerChannelSettings", :primary_channel_settings => "primaryChannelSettings", } end |
Instance Method Details
#to_jsii ⇒ Object
9109 9110 9111 9112 9113 9114 9115 9116 |
# File 'media_live/cfn_channel.rb', line 9109 def to_jsii result = {} result.merge!({ "followerChannelSettings" => @follower_channel_settings, "primaryChannelSettings" => @primary_channel_settings, }) result.compact end |