Class: AWSCDK::MediaLive::CfnInput::InputDestinationRequestProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
media_live/cfn_input.rb

Overview

Settings that apply only if the input is a push type of input.

The parent of this entity is Input.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(network: nil, network_routes: nil, static_ip_address: nil, stream_name: nil) ⇒ InputDestinationRequestProperty

Returns a new instance of InputDestinationRequestProperty.

Parameters:



767
768
769
770
771
772
773
774
775
776
# File 'media_live/cfn_input.rb', line 767

def initialize(network: nil, network_routes: nil, static_ip_address: nil, stream_name: nil)
  @network = network
  Jsii::Type.check_type(@network, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "network") unless @network.nil?
  @network_routes = network_routes
  Jsii::Type.check_type(@network_routes, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfbWVkaWFsaXZlLkNmbklucHV0LklucHV0UmVxdWVzdERlc3RpbmF0aW9uUm91dGVQcm9wZXJ0eSJ9XX19LCJraW5kIjoiYXJyYXkifX1dfX0=")), "networkRoutes") unless @network_routes.nil?
  @static_ip_address = static_ip_address
  Jsii::Type.check_type(@static_ip_address, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "staticIpAddress") unless @static_ip_address.nil?
  @stream_name = stream_name
  Jsii::Type.check_type(@stream_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "streamName") unless @stream_name.nil?
end

Instance Attribute Details

#networkString? (readonly)



780
781
782
# File 'media_live/cfn_input.rb', line 780

def network
  @network
end

#static_ip_addressString? (readonly)



786
787
788
# File 'media_live/cfn_input.rb', line 786

def static_ip_address
  @static_ip_address
end

#stream_nameString? (readonly)

The stream name (application name/application instance) for the location the RTMP source content will be pushed to in MediaLive.



791
792
793
# File 'media_live/cfn_input.rb', line 791

def stream_name
  @stream_name
end

Class Method Details

.jsii_propertiesObject



793
794
795
796
797
798
799
800
# File 'media_live/cfn_input.rb', line 793

def self.jsii_properties
  {
    :network => "network",
    :network_routes => "networkRoutes",
    :static_ip_address => "staticIpAddress",
    :stream_name => "streamName",
  }
end

Instance Method Details

#to_jsiiObject



802
803
804
805
806
807
808
809
810
811
# File 'media_live/cfn_input.rb', line 802

def to_jsii
  result = {}
  result.merge!({
    "network" => @network,
    "networkRoutes" => @network_routes,
    "staticIpAddress" => @static_ip_address,
    "streamName" => @stream_name,
  })
  result.compact
end