Class: AWSCDK::MediaLive::CfnChannel::OutputDestinationSettingsProperty

Inherits:
Jsii::Struct
  • Object
show all
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

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(password_param: nil, stream_name: nil, url: nil, username: nil) ⇒ OutputDestinationSettingsProperty

Returns a new instance of OutputDestinationSettingsProperty.

Parameters:

  • password_param (String, nil) (defaults to: nil)

    The password parameter that holds the password for accessing the downstream system.

  • stream_name (String, nil) (defaults to: nil)

    The stream name for the content.

  • url (String, nil) (defaults to: nil)

    The URL for the destination.

  • username (String, nil) (defaults to: nil)

    The user name to connect to the downstream system.



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_paramString? (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_nameString? (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

#urlString? (readonly)

The URL for the destination.



11902
11903
11904
# File 'media_live/cfn_channel.rb', line 11902

def url
  @url
end

#usernameString? (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_propertiesObject



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_jsiiObject



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