Class: AWSCDK::MediaLive::CfnChannel::RtmpOutputSettingsProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::MediaLive::CfnChannel::RtmpOutputSettingsProperty
- Defined in:
- media_live/cfn_channel.rb
Overview
The settings for one RTMP output.
The parent of this entity is OutputSettings.
Instance Attribute Summary collapse
-
#certificate_mode ⇒ String?
readonly
If set to verifyAuthenticity, verifies the TLS certificate chain to a trusted certificate authority (CA).
-
#connection_retry_interval ⇒ Numeric?
readonly
The number of seconds to wait before retrying a connection to the Flash Media server if the connection is lost.
-
#destination ⇒ AWSCDK::IResolvable, ...
readonly
The RTMP endpoint excluding the stream name (for example, rtmp://host/appname).
-
#num_retries ⇒ Numeric?
readonly
The number of retry attempts.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(certificate_mode: nil, connection_retry_interval: nil, destination: nil, num_retries: nil) ⇒ RtmpOutputSettingsProperty
constructor
A new instance of RtmpOutputSettingsProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(certificate_mode: nil, connection_retry_interval: nil, destination: nil, num_retries: nil) ⇒ RtmpOutputSettingsProperty
Returns a new instance of RtmpOutputSettingsProperty.
12767 12768 12769 12770 12771 12772 12773 12774 12775 12776 |
# File 'media_live/cfn_channel.rb', line 12767 def initialize(certificate_mode: nil, connection_retry_interval: nil, destination: nil, num_retries: nil) @certificate_mode = certificate_mode Jsii::Type.check_type(@certificate_mode, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "certificateMode") unless @certificate_mode.nil? @connection_retry_interval = connection_retry_interval Jsii::Type.check_type(@connection_retry_interval, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "connectionRetryInterval") unless @connection_retry_interval.nil? @destination = destination.is_a?(Hash) ? ::AWSCDK::MediaLive::CfnChannel::OutputLocationRefProperty.new(**destination.transform_keys(&:to_sym)) : destination Jsii::Type.check_type(@destination, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19tZWRpYWxpdmUuQ2ZuQ2hhbm5lbC5PdXRwdXRMb2NhdGlvblJlZlByb3BlcnR5In1dfX0=")), "destination") unless @destination.nil? @num_retries = num_retries Jsii::Type.check_type(@num_retries, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "numRetries") unless @num_retries.nil? end |
Instance Attribute Details
#certificate_mode ⇒ String? (readonly)
If set to verifyAuthenticity, verifies the TLS certificate chain to a trusted certificate authority (CA).
This causes RTMPS outputs with self-signed certificates to fail.
12784 12785 12786 |
# File 'media_live/cfn_channel.rb', line 12784 def certificate_mode @certificate_mode end |
#connection_retry_interval ⇒ Numeric? (readonly)
The number of seconds to wait before retrying a connection to the Flash Media server if the connection is lost.
12789 12790 12791 |
# File 'media_live/cfn_channel.rb', line 12789 def connection_retry_interval @connection_retry_interval end |
#destination ⇒ AWSCDK::IResolvable, ... (readonly)
The RTMP endpoint excluding the stream name (for example, rtmp://host/appname).
12794 12795 12796 |
# File 'media_live/cfn_channel.rb', line 12794 def destination @destination end |
#num_retries ⇒ Numeric? (readonly)
The number of retry attempts.
12799 12800 12801 |
# File 'media_live/cfn_channel.rb', line 12799 def num_retries @num_retries end |
Class Method Details
.jsii_properties ⇒ Object
12801 12802 12803 12804 12805 12806 12807 12808 |
# File 'media_live/cfn_channel.rb', line 12801 def self.jsii_properties { :certificate_mode => "certificateMode", :connection_retry_interval => "connectionRetryInterval", :destination => "destination", :num_retries => "numRetries", } end |
Instance Method Details
#to_jsii ⇒ Object
12810 12811 12812 12813 12814 12815 12816 12817 12818 12819 |
# File 'media_live/cfn_channel.rb', line 12810 def to_jsii result = {} result.merge!({ "certificateMode" => @certificate_mode, "connectionRetryInterval" => @connection_retry_interval, "destination" => @destination, "numRetries" => @num_retries, }) result.compact end |