Class: AWSCDK::MediaPackage::CfnPackagingConfiguration::CmafEncryptionProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::MediaPackage::CfnPackagingConfiguration::CmafEncryptionProperty
- 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:) ⇒ CmafEncryptionProperty
constructor
A new instance of CmafEncryptionProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(speke_key_provider:) ⇒ CmafEncryptionProperty
Returns a new instance of CmafEncryptionProperty.
603 604 605 606 |
# File 'media_package/cfn_packaging_configuration.rb', line 603 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.
612 613 614 |
# File 'media_package/cfn_packaging_configuration.rb', line 612 def speke_key_provider @speke_key_provider end |
Class Method Details
.jsii_properties ⇒ Object
614 615 616 617 618 |
# File 'media_package/cfn_packaging_configuration.rb', line 614 def self.jsii_properties { :speke_key_provider => "spekeKeyProvider", } end |
Instance Method Details
#to_jsii ⇒ Object
620 621 622 623 624 625 626 |
# File 'media_package/cfn_packaging_configuration.rb', line 620 def to_jsii result = {} result.merge!({ "spekeKeyProvider" => @speke_key_provider, }) result.compact end |