Class: AWSCDK::MediaPackage::CfnChannel::IngestEndpointProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
media_package/cfn_channel.rb

Overview

An endpoint for ingesting source content for a channel.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(id: nil, password: nil, url: nil, username: nil) ⇒ IngestEndpointProperty

Returns a new instance of IngestEndpointProperty.

Parameters:

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

    The endpoint identifier.

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

    The system-generated password for WebDAV input authentication.

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

    The input URL where the source stream should be sent.

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

    The system-generated username for WebDAV input authentication.



623
624
625
626
627
628
629
630
631
632
# File 'media_package/cfn_channel.rb', line 623

def initialize(id: nil, password: nil, url: nil, username: nil)
  @id = id
  Jsii::Type.check_type(@id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "id") unless @id.nil?
  @password = password
  Jsii::Type.check_type(@password, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "password") unless @password.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

#idString? (readonly)

The endpoint identifier.



638
639
640
# File 'media_package/cfn_channel.rb', line 638

def id
  @id
end

#passwordString? (readonly)

The system-generated password for WebDAV input authentication.



643
644
645
# File 'media_package/cfn_channel.rb', line 643

def password
  @password
end

#urlString? (readonly)

The input URL where the source stream should be sent.



648
649
650
# File 'media_package/cfn_channel.rb', line 648

def url
  @url
end

#usernameString? (readonly)

The system-generated username for WebDAV input authentication.



653
654
655
# File 'media_package/cfn_channel.rb', line 653

def username
  @username
end

Class Method Details

.jsii_propertiesObject



655
656
657
658
659
660
661
662
# File 'media_package/cfn_channel.rb', line 655

def self.jsii_properties
  {
    :id => "id",
    :password => "password",
    :url => "url",
    :username => "username",
  }
end

Instance Method Details

#to_jsiiObject



664
665
666
667
668
669
670
671
672
673
# File 'media_package/cfn_channel.rb', line 664

def to_jsii
  result = {}
  result.merge!({
    "id" => @id,
    "password" => @password,
    "url" => @url,
    "username" => @username,
  })
  result.compact
end