Class: AWSCDK::MediaLive::CfnChannel::KeyProviderSettingsProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
media_live/cfn_channel.rb

Overview

The configuration of key provider settings.

The parent of this entity is HlsGroupSettings.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(static_key_settings: nil) ⇒ KeyProviderSettingsProperty

Returns a new instance of KeyProviderSettingsProperty.

Parameters:



9056
9057
9058
9059
# File 'media_live/cfn_channel.rb', line 9056

def initialize(static_key_settings: nil)
  @static_key_settings = static_key_settings.is_a?(Hash) ? ::AWSCDK::MediaLive::CfnChannel::StaticKeySettingsProperty.new(**static_key_settings.transform_keys(&:to_sym)) : static_key_settings
  Jsii::Type.check_type(@static_key_settings, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19tZWRpYWxpdmUuQ2ZuQ2hhbm5lbC5TdGF0aWNLZXlTZXR0aW5nc1Byb3BlcnR5In1dfX0=")), "staticKeySettings") unless @static_key_settings.nil?
end

Instance Attribute Details

#static_key_settingsAWSCDK::IResolvable, ... (readonly)

The configuration of static key settings.



9065
9066
9067
# File 'media_live/cfn_channel.rb', line 9065

def static_key_settings
  @static_key_settings
end

Class Method Details

.jsii_propertiesObject



9067
9068
9069
9070
9071
# File 'media_live/cfn_channel.rb', line 9067

def self.jsii_properties
  {
    :static_key_settings => "staticKeySettings",
  }
end

Instance Method Details

#to_jsiiObject



9073
9074
9075
9076
9077
9078
9079
# File 'media_live/cfn_channel.rb', line 9073

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