Class: AWSCDK::MediaLive::CfnChannel::FollowerChannelSettingsProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::MediaLive::CfnChannel::FollowerChannelSettingsProperty
- Defined in:
- media_live/cfn_channel.rb
Overview
Instance Attribute Summary collapse
- #linked_channel_type ⇒ String? readonly
- #primary_channel_arn ⇒ String? readonly
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(linked_channel_type: nil, primary_channel_arn: nil) ⇒ FollowerChannelSettingsProperty
constructor
A new instance of FollowerChannelSettingsProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(linked_channel_type: nil, primary_channel_arn: nil) ⇒ FollowerChannelSettingsProperty
Returns a new instance of FollowerChannelSettingsProperty.
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_type ⇒ String? (readonly)
5759 5760 5761 |
# File 'media_live/cfn_channel.rb', line 5759 def linked_channel_type @linked_channel_type end |
#primary_channel_arn ⇒ String? (readonly)
5762 5763 5764 |
# File 'media_live/cfn_channel.rb', line 5762 def primary_channel_arn @primary_channel_arn end |
Class Method Details
.jsii_properties ⇒ Object
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_jsii ⇒ Object
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 |