Class: AWSCDK::MediaLive::CfnChannel::InputAttachmentProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::MediaLive::CfnChannel::InputAttachmentProperty
- Defined in:
- media_live/cfn_channel.rb
Overview
An input to attach to this channel.
This entity is at the top level in the channel.
Instance Attribute Summary collapse
-
#automatic_input_failover_settings ⇒ AWSCDK::IResolvable, ...
readonly
Settings to implement automatic input failover in this input.
-
#input_attachment_name ⇒ String?
readonly
A name for the attachment.
-
#input_id ⇒ String?
readonly
The ID of the input to attach.
-
#input_settings ⇒ AWSCDK::IResolvable, ...
readonly
Information about the content to extract from the input and about the general handling of the content.
- #logical_interface_names ⇒ Array<String>? readonly
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(automatic_input_failover_settings: nil, input_attachment_name: nil, input_id: nil, input_settings: nil, logical_interface_names: nil) ⇒ InputAttachmentProperty
constructor
A new instance of InputAttachmentProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(automatic_input_failover_settings: nil, input_attachment_name: nil, input_id: nil, input_settings: nil, logical_interface_names: nil) ⇒ InputAttachmentProperty
Returns a new instance of InputAttachmentProperty.
8560 8561 8562 8563 8564 8565 8566 8567 8568 8569 8570 8571 |
# File 'media_live/cfn_channel.rb', line 8560 def initialize(automatic_input_failover_settings: nil, input_attachment_name: nil, input_id: nil, input_settings: nil, logical_interface_names: nil) @automatic_input_failover_settings = automatic_input_failover_settings.is_a?(Hash) ? ::AWSCDK::MediaLive::CfnChannel::AutomaticInputFailoverSettingsProperty.new(**automatic_input_failover_settings.transform_keys(&:to_sym)) : automatic_input_failover_settings Jsii::Type.check_type(@automatic_input_failover_settings, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19tZWRpYWxpdmUuQ2ZuQ2hhbm5lbC5BdXRvbWF0aWNJbnB1dEZhaWxvdmVyU2V0dGluZ3NQcm9wZXJ0eSJ9XX19")), "automaticInputFailoverSettings") unless @automatic_input_failover_settings.nil? @input_attachment_name = Jsii::Type.check_type(@input_attachment_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "inputAttachmentName") unless @input_attachment_name.nil? @input_id = input_id Jsii::Type.check_type(@input_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "inputId") unless @input_id.nil? @input_settings = input_settings.is_a?(Hash) ? ::AWSCDK::MediaLive::CfnChannel::InputSettingsProperty.new(**input_settings.transform_keys(&:to_sym)) : input_settings Jsii::Type.check_type(@input_settings, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19tZWRpYWxpdmUuQ2ZuQ2hhbm5lbC5JbnB1dFNldHRpbmdzUHJvcGVydHkifV19fQ==")), "inputSettings") unless @input_settings.nil? @logical_interface_names = logical_interface_names Jsii::Type.check_type(@logical_interface_names, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7InByaW1pdGl2ZSI6InN0cmluZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "logicalInterfaceNames") unless @logical_interface_names.nil? end |
Instance Attribute Details
#automatic_input_failover_settings ⇒ AWSCDK::IResolvable, ... (readonly)
Settings to implement automatic input failover in this input.
8577 8578 8579 |
# File 'media_live/cfn_channel.rb', line 8577 def automatic_input_failover_settings @automatic_input_failover_settings end |
#input_attachment_name ⇒ String? (readonly)
A name for the attachment.
This is required if you want to use this input in an input switch action.
8584 8585 8586 |
# File 'media_live/cfn_channel.rb', line 8584 def @input_attachment_name end |
#input_id ⇒ String? (readonly)
The ID of the input to attach.
8589 8590 8591 |
# File 'media_live/cfn_channel.rb', line 8589 def input_id @input_id end |
#input_settings ⇒ AWSCDK::IResolvable, ... (readonly)
Information about the content to extract from the input and about the general handling of the content.
8594 8595 8596 |
# File 'media_live/cfn_channel.rb', line 8594 def input_settings @input_settings end |
#logical_interface_names ⇒ Array<String>? (readonly)
8597 8598 8599 |
# File 'media_live/cfn_channel.rb', line 8597 def logical_interface_names @logical_interface_names end |
Class Method Details
.jsii_properties ⇒ Object
8599 8600 8601 8602 8603 8604 8605 8606 8607 |
# File 'media_live/cfn_channel.rb', line 8599 def self.jsii_properties { :automatic_input_failover_settings => "automaticInputFailoverSettings", :input_attachment_name => "inputAttachmentName", :input_id => "inputId", :input_settings => "inputSettings", :logical_interface_names => "logicalInterfaceNames", } end |
Instance Method Details
#to_jsii ⇒ Object
8609 8610 8611 8612 8613 8614 8615 8616 8617 8618 8619 |
# File 'media_live/cfn_channel.rb', line 8609 def to_jsii result = {} result.merge!({ "automaticInputFailoverSettings" => @automatic_input_failover_settings, "inputAttachmentName" => @input_attachment_name, "inputId" => @input_id, "inputSettings" => @input_settings, "logicalInterfaceNames" => @logical_interface_names, }) result.compact end |