Class: AWSCDK::MediaLive::CfnInput::InputSourceRequestProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::MediaLive::CfnInput::InputSourceRequestProperty
- Defined in:
- media_live/cfn_input.rb
Overview
Settings that apply only if the input is a pull type of input.
The parent of this entity is Input.
Instance Attribute Summary collapse
-
#password_param ⇒ String?
readonly
The password parameter that holds the password for accessing the upstream system.
-
#url ⇒ String?
readonly
For a pull input, the URL where MediaLive pulls the source content from.
-
#username ⇒ String?
readonly
The user name to connect to the upstream system.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(password_param: nil, url: nil, username: nil) ⇒ InputSourceRequestProperty
constructor
A new instance of InputSourceRequestProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(password_param: nil, url: nil, username: nil) ⇒ InputSourceRequestProperty
Returns a new instance of InputSourceRequestProperty.
963 964 965 966 967 968 969 970 |
# File 'media_live/cfn_input.rb', line 963 def initialize(password_param: nil, url: nil, username: nil) @password_param = password_param Jsii::Type.check_type(@password_param, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "passwordParam") unless @password_param.nil? @url = url Jsii::Type.check_type(@url, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "url") unless @url.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 upstream system.
The password parameter applies only if the upstream system requires credentials.
978 979 980 |
# File 'media_live/cfn_input.rb', line 978 def password_param @password_param end |
#url ⇒ String? (readonly)
For a pull input, the URL where MediaLive pulls the source content from.
983 984 985 |
# File 'media_live/cfn_input.rb', line 983 def url @url end |
#username ⇒ String? (readonly)
The user name to connect to the upstream system.
The user name applies only if the upstream system requires credentials.
990 991 992 |
# File 'media_live/cfn_input.rb', line 990 def username @username end |
Class Method Details
.jsii_properties ⇒ Object
992 993 994 995 996 997 998 |
# File 'media_live/cfn_input.rb', line 992 def self.jsii_properties { :password_param => "passwordParam", :url => "url", :username => "username", } end |
Instance Method Details
#to_jsii ⇒ Object
1000 1001 1002 1003 1004 1005 1006 1007 1008 |
# File 'media_live/cfn_input.rb', line 1000 def to_jsii result = {} result.merge!({ "passwordParam" => @password_param, "url" => @url, "username" => @username, }) result.compact end |