Class: AWSCDK::MediaPackage::CfnPackagingConfiguration::DashEncryptionProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::MediaPackage::CfnPackagingConfiguration::DashEncryptionProperty
- 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
-
#speke_key_provider ⇒ AWSCDK::IResolvable, AWSCDK::MediaPackage::CfnPackagingConfiguration::SpekeKeyProviderProperty
readonly
Parameters for the SPEKE key provider.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(speke_key_provider:) ⇒ DashEncryptionProperty
constructor
A new instance of DashEncryptionProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(speke_key_provider:) ⇒ DashEncryptionProperty
Returns a new instance of DashEncryptionProperty.
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 |
Instance Attribute Details
#speke_key_provider ⇒ AWSCDK::IResolvable, AWSCDK::MediaPackage::CfnPackagingConfiguration::SpekeKeyProviderProperty (readonly)
Parameters for the SPEKE key provider.
712 713 714 |
# File 'media_package/cfn_packaging_configuration.rb', line 712 def speke_key_provider @speke_key_provider end |
Class Method Details
.jsii_properties ⇒ Object
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_jsii ⇒ Object
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 |