Class: AWSCDK::MediaPackagev2::CfnOriginEndpoint::DashDvbMetricsReportingProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::MediaPackagev2::CfnOriginEndpoint::DashDvbMetricsReportingProperty
- Defined in:
- media_packagev2/cfn_origin_endpoint.rb
Overview
For use with DVB-DASH profiles only.
The settings for error reporting from the playback device that you want AWS Elemental MediaPackage to pass through to the manifest.
Instance Attribute Summary collapse
-
#probability ⇒ Numeric?
readonly
The number of playback devices per 1000 that will send error reports to the reporting URL.
-
#reporting_url ⇒ String
readonly
The URL where playback devices send error reports.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(reporting_url:, probability: nil) ⇒ DashDvbMetricsReportingProperty
constructor
A new instance of DashDvbMetricsReportingProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(reporting_url:, probability: nil) ⇒ DashDvbMetricsReportingProperty
Returns a new instance of DashDvbMetricsReportingProperty.
890 891 892 893 894 895 |
# File 'media_packagev2/cfn_origin_endpoint.rb', line 890 def initialize(reporting_url:, probability: nil) @reporting_url = reporting_url Jsii::Type.check_type(@reporting_url, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "reportingUrl") @probability = probability Jsii::Type.check_type(@probability, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "probability") unless @probability.nil? end |
Instance Attribute Details
#probability ⇒ Numeric? (readonly)
The number of playback devices per 1000 that will send error reports to the reporting URL.
This represents the probability that a playback device will be a reporting player for this session.
908 909 910 |
# File 'media_packagev2/cfn_origin_endpoint.rb', line 908 def probability @probability end |
#reporting_url ⇒ String (readonly)
The URL where playback devices send error reports.
901 902 903 |
# File 'media_packagev2/cfn_origin_endpoint.rb', line 901 def reporting_url @reporting_url end |
Class Method Details
.jsii_properties ⇒ Object
910 911 912 913 914 915 |
# File 'media_packagev2/cfn_origin_endpoint.rb', line 910 def self.jsii_properties { :reporting_url => "reportingUrl", :probability => "probability", } end |
Instance Method Details
#to_jsii ⇒ Object
917 918 919 920 921 922 923 924 |
# File 'media_packagev2/cfn_origin_endpoint.rb', line 917 def to_jsii result = {} result.merge!({ "reportingUrl" => @reporting_url, "probability" => @probability, }) result.compact end |