Class: AWSCDK::MediaConnect::CfnBridge::BridgeNetworkSourceProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
media_connect/cfn_bridge.rb

Overview

The source of the bridge.

A network source originates at your premises.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(multicast_ip:, name:, network_name:, port:, protocol:, multicast_source_settings: nil) ⇒ BridgeNetworkSourceProperty

Returns a new instance of BridgeNetworkSourceProperty.

Parameters:

  • multicast_ip (String)

    The network source multicast IP.

  • name (String)

    The name of the network source.

  • network_name (String)

    The network source's gateway network name.

  • port (Numeric)

    The network source port.

  • protocol (String)

    The network source protocol.

  • multicast_source_settings (AWSCDK::IResolvable, AWSCDK::MediaConnect::CfnBridge::MulticastSourceSettingsProperty, nil) (defaults to: nil)

    The settings related to the multicast source.



749
750
751
752
753
754
755
756
757
758
759
760
761
762
# File 'media_connect/cfn_bridge.rb', line 749

def initialize(multicast_ip:, name:, network_name:, port:, protocol:, multicast_source_settings: nil)
  @multicast_ip = multicast_ip
  Jsii::Type.check_type(@multicast_ip, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "multicastIp")
  @name = name
  Jsii::Type.check_type(@name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "name")
  @network_name = network_name
  Jsii::Type.check_type(@network_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "networkName")
  @port = port
  Jsii::Type.check_type(@port, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "port")
  @protocol = protocol
  Jsii::Type.check_type(@protocol, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "protocol")
  @multicast_source_settings = multicast_source_settings.is_a?(Hash) ? ::AWSCDK::MediaConnect::CfnBridge::MulticastSourceSettingsProperty.new(**multicast_source_settings.transform_keys(&:to_sym)) : multicast_source_settings
  Jsii::Type.check_type(@multicast_source_settings, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19tZWRpYWNvbm5lY3QuQ2ZuQnJpZGdlLk11bHRpY2FzdFNvdXJjZVNldHRpbmdzUHJvcGVydHkifV19fQ==")), "multicastSourceSettings") unless @multicast_source_settings.nil?
end

Instance Attribute Details

#multicast_ipString (readonly)

The network source multicast IP.



768
769
770
# File 'media_connect/cfn_bridge.rb', line 768

def multicast_ip
  @multicast_ip
end

#multicast_source_settingsAWSCDK::IResolvable, ... (readonly)

The settings related to the multicast source.



795
796
797
# File 'media_connect/cfn_bridge.rb', line 795

def multicast_source_settings
  @multicast_source_settings
end

#nameString (readonly)

The name of the network source.



773
774
775
# File 'media_connect/cfn_bridge.rb', line 773

def name
  @name
end

#network_nameString (readonly)

The network source's gateway network name.



778
779
780
# File 'media_connect/cfn_bridge.rb', line 778

def network_name
  @network_name
end

#portNumeric (readonly)

The network source port.



783
784
785
# File 'media_connect/cfn_bridge.rb', line 783

def port
  @port
end

#protocolString (readonly)

The network source protocol.

AWS Elemental MediaConnect no longer supports the Fujitsu QoS protocol. This reference is maintained for legacy purposes only.



790
791
792
# File 'media_connect/cfn_bridge.rb', line 790

def protocol
  @protocol
end

Class Method Details

.jsii_propertiesObject



797
798
799
800
801
802
803
804
805
806
# File 'media_connect/cfn_bridge.rb', line 797

def self.jsii_properties
  {
    :multicast_ip => "multicastIp",
    :name => "name",
    :network_name => "networkName",
    :port => "port",
    :protocol => "protocol",
    :multicast_source_settings => "multicastSourceSettings",
  }
end

Instance Method Details

#to_jsiiObject



808
809
810
811
812
813
814
815
816
817
818
819
# File 'media_connect/cfn_bridge.rb', line 808

def to_jsii
  result = {}
  result.merge!({
    "multicastIp" => @multicast_ip,
    "name" => @name,
    "networkName" => @network_name,
    "port" => @port,
    "protocol" => @protocol,
    "multicastSourceSettings" => @multicast_source_settings,
  })
  result.compact
end