Class: AWSCDK::MediaPackagev2::CfnOriginEndpoint::ScteDashProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
media_packagev2/cfn_origin_endpoint.rb

Overview

The SCTE configuration.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(ad_marker_dash: nil, scte_in_manifests: nil) ⇒ ScteDashProperty

Returns a new instance of ScteDashProperty.

Parameters:

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

    Choose how ad markers are included in the packaged content.

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


2064
2065
2066
2067
2068
2069
# File 'media_packagev2/cfn_origin_endpoint.rb', line 2064

def initialize(ad_marker_dash: nil, scte_in_manifests: nil)
  @ad_marker_dash = ad_marker_dash
  Jsii::Type.check_type(@ad_marker_dash, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "adMarkerDash") unless @ad_marker_dash.nil?
  @scte_in_manifests = scte_in_manifests
  Jsii::Type.check_type(@scte_in_manifests, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "scteInManifests") unless @scte_in_manifests.nil?
end

Instance Attribute Details

#ad_marker_dashString? (readonly)

Choose how ad markers are included in the packaged content.

If you include ad markers in the content stream in your upstream encoders, then you need to inform MediaPackage what to do with the ad markers in the output.

Value description:

  • Binary - The SCTE-35 marker is expressed as a hex-string (Base64 string) rather than full XML.
  • XML - The SCTE marker is expressed fully in XML.


2082
2083
2084
# File 'media_packagev2/cfn_origin_endpoint.rb', line 2082

def ad_marker_dash
  @ad_marker_dash
end

#scte_in_manifestsString? (readonly)



2085
2086
2087
# File 'media_packagev2/cfn_origin_endpoint.rb', line 2085

def scte_in_manifests
  @scte_in_manifests
end

Class Method Details

.jsii_propertiesObject



2087
2088
2089
2090
2091
2092
# File 'media_packagev2/cfn_origin_endpoint.rb', line 2087

def self.jsii_properties
  {
    :ad_marker_dash => "adMarkerDash",
    :scte_in_manifests => "scteInManifests",
  }
end

Instance Method Details

#to_jsiiObject



2094
2095
2096
2097
2098
2099
2100
2101
# File 'media_packagev2/cfn_origin_endpoint.rb', line 2094

def to_jsii
  result = {}
  result.merge!({
    "adMarkerDash" => @ad_marker_dash,
    "scteInManifests" => @scte_in_manifests,
  })
  result.compact
end