Class: AWSCDK::MediaLive::CfnChannel::OutputDestinationSettingsProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::MediaLive::CfnChannel::OutputDestinationSettingsProperty
- Defined in:
- media_live/cfn_channel.rb
Overview
The configuration information for this output.
The parent of this entity is OutputDestination.
Instance Attribute Summary collapse
-
#password_param ⇒ String?
readonly
The password parameter that holds the password for accessing the downstream system.
-
#stream_name ⇒ String?
readonly
The stream name for the content.
-
#url ⇒ String?
readonly
The URL for the destination.
-
#username ⇒ String?
readonly
The user name to connect to the downstream system.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(password_param: nil, stream_name: nil, url: nil, username: nil) ⇒ OutputDestinationSettingsProperty
constructor
A new instance of OutputDestinationSettingsProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(password_param: nil, stream_name: nil, url: nil, username: nil) ⇒ OutputDestinationSettingsProperty
Returns a new instance of OutputDestinationSettingsProperty.
11873 11874 11875 11876 11877 11878 11879 11880 11881 11882 |
# File 'media_live/cfn_channel.rb', line 11873 def initialize(password_param: nil, stream_name: 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? @stream_name = stream_name Jsii::Type.check_type(@stream_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "streamName") unless @stream_name.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 downstream system.
This password parameter applies only if the downstream system requires credentials.
11890 11891 11892 |
# File 'media_live/cfn_channel.rb', line 11890 def password_param @password_param end |
#stream_name ⇒ String? (readonly)
The stream name for the content.
This applies only to RTMP outputs.
11897 11898 11899 |
# File 'media_live/cfn_channel.rb', line 11897 def stream_name @stream_name end |
#url ⇒ String? (readonly)
The URL for the destination.
11902 11903 11904 |
# File 'media_live/cfn_channel.rb', line 11902 def url @url end |
#username ⇒ String? (readonly)
The user name to connect to the downstream system.
This applies only if the downstream system requires credentials.
11909 11910 11911 |
# File 'media_live/cfn_channel.rb', line 11909 def username @username end |
Class Method Details
.jsii_properties ⇒ Object
11911 11912 11913 11914 11915 11916 11917 11918 |
# File 'media_live/cfn_channel.rb', line 11911 def self.jsii_properties { :password_param => "passwordParam", :stream_name => "streamName", :url => "url", :username => "username", } end |
Instance Method Details
#to_jsii ⇒ Object
11920 11921 11922 11923 11924 11925 11926 11927 11928 11929 |
# File 'media_live/cfn_channel.rb', line 11920 def to_jsii result = {} result.merge!({ "passwordParam" => @password_param, "streamName" => @stream_name, "url" => @url, "username" => @username, }) result.compact end |