Class: AWSCDK::MediaLive::CfnChannel::InputLocationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::MediaLive::CfnChannel::InputLocationProperty
- Defined in:
- media_live/cfn_channel.rb
Overview
The input location.
The parent of this entity is InputLossBehavior.
Instance Attribute Summary collapse
-
#password_param ⇒ String?
readonly
The password parameter that holds the password for accessing the downstream system.
-
#uri ⇒ String?
readonly
The URI should be a path to a file that is accessible to the Live system (for example, an http:// URI) depending on the output type.
-
#username ⇒ String?
readonly
The user name to connect to the downstream system.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(password_param: nil, uri: nil, username: nil) ⇒ InputLocationProperty
constructor
A new instance of InputLocationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(password_param: nil, uri: nil, username: nil) ⇒ InputLocationProperty
Returns a new instance of InputLocationProperty.
8680 8681 8682 8683 8684 8685 8686 8687 |
# File 'media_live/cfn_channel.rb', line 8680 def initialize(password_param: nil, uri: nil, username: nil) @password_param = password_param Jsii::Type.check_type(@password_param, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "passwordParam") unless @password_param.nil? @uri = uri Jsii::Type.check_type(@uri, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "uri") unless @uri.nil? @username = username Jsii::Type.check_type(@username, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "username") unless @username.nil? end |
Instance Attribute Details
#password_param ⇒ String? (readonly)
The password parameter that holds the password for accessing the downstream system.
This applies only if the downstream system requires credentials.
8695 8696 8697 |
# File 'media_live/cfn_channel.rb', line 8695 def password_param @password_param end |
#uri ⇒ String? (readonly)
The URI should be a path to a file that is accessible to the Live system (for example, an http:// URI) depending on the output type.
For example, an RTMP destination should have a URI similar to rtmp://fmsserver/live.
8702 8703 8704 |
# File 'media_live/cfn_channel.rb', line 8702 def uri @uri end |
#username ⇒ String? (readonly)
The user name to connect to the downstream system.
This applies only if the downstream system requires credentials.
8709 8710 8711 |
# File 'media_live/cfn_channel.rb', line 8709 def username @username end |
Class Method Details
.jsii_properties ⇒ Object
8711 8712 8713 8714 8715 8716 8717 |
# File 'media_live/cfn_channel.rb', line 8711 def self.jsii_properties { :password_param => "passwordParam", :uri => "uri", :username => "username", } end |
Instance Method Details
#to_jsii ⇒ Object
8719 8720 8721 8722 8723 8724 8725 8726 8727 |
# File 'media_live/cfn_channel.rb', line 8719 def to_jsii result = {} result.merge!({ "passwordParam" => @password_param, "uri" => @uri, "username" => @username, }) result.compact end |