Class: AWSCDK::MediaPackagev2::CfnOriginEndpoint::DashDvbMetricsReportingProperty

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

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(reporting_url:, probability: nil) ⇒ DashDvbMetricsReportingProperty

Returns a new instance of DashDvbMetricsReportingProperty.

Parameters:

  • reporting_url (String)

    The URL where playback devices send error reports.

  • probability (Numeric, nil) (defaults to: nil)

    The number of playback devices per 1000 that will send error reports to the reporting URL.



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

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



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_jsiiObject



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