Class: AWSCDK::MediaPackage::CfnPackagingConfiguration::DashEncryptionProperty

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

Overview

Holds encryption information so that access to the content can be controlled by a DRM solution.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(speke_key_provider:) ⇒ DashEncryptionProperty

Returns a new instance of DashEncryptionProperty.

Parameters:



703
704
705
706
# File 'media_package/cfn_packaging_configuration.rb', line 703

def initialize(speke_key_provider:)
  @speke_key_provider = speke_key_provider.is_a?(Hash) ? ::AWSCDK::MediaPackage::CfnPackagingConfiguration::SpekeKeyProviderProperty.new(**speke_key_provider.transform_keys(&:to_sym)) : speke_key_provider
  Jsii::Type.check_type(@speke_key_provider, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19tZWRpYXBhY2thZ2UuQ2ZuUGFja2FnaW5nQ29uZmlndXJhdGlvbi5TcGVrZUtleVByb3ZpZGVyUHJvcGVydHkifV19fQ==")), "spekeKeyProvider")
end

Class Method Details

.jsii_propertiesObject



714
715
716
717
718
# File 'media_package/cfn_packaging_configuration.rb', line 714

def self.jsii_properties
  {
    :speke_key_provider => "spekeKeyProvider",
  }
end

Instance Method Details

#to_jsiiObject



720
721
722
723
724
725
726
# File 'media_package/cfn_packaging_configuration.rb', line 720

def to_jsii
  result = {}
  result.merge!({
    "spekeKeyProvider" => @speke_key_provider,
  })
  result.compact
end