Class: AWSCDK::MediaConnect::CfnRouterInput::MediaLiveTransitEncryptionProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
media_connect/cfn_router_input.rb

Overview

The encryption configuration that defines how content is encrypted during transit between MediaConnect Router and MediaLive.

This configuration determines whether encryption keys are automatically managed by the service or manually managed through Secrets Manager.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(encryption_key_configuration:, encryption_key_type: nil) ⇒ MediaLiveTransitEncryptionProperty

Returns a new instance of MediaLiveTransitEncryptionProperty.

Parameters:



1110
1111
1112
1113
1114
1115
# File 'media_connect/cfn_router_input.rb', line 1110

def initialize(encryption_key_configuration:, encryption_key_type: nil)
  @encryption_key_configuration = encryption_key_configuration.is_a?(Hash) ? ::AWSCDK::MediaConnect::CfnRouterInput::MediaLiveTransitEncryptionKeyConfigurationProperty.new(**encryption_key_configuration.transform_keys(&:to_sym)) : encryption_key_configuration
  Jsii::Type.check_type(@encryption_key_configuration, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19tZWRpYWNvbm5lY3QuQ2ZuUm91dGVySW5wdXQuTWVkaWFMaXZlVHJhbnNpdEVuY3J5cHRpb25LZXlDb25maWd1cmF0aW9uUHJvcGVydHkifV19fQ==")), "encryptionKeyConfiguration")
  @encryption_key_type = encryption_key_type
  Jsii::Type.check_type(@encryption_key_type, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "encryptionKeyType") unless @encryption_key_type.nil?
end

Instance Attribute Details

#encryption_key_typeString? (readonly)



1124
1125
1126
# File 'media_connect/cfn_router_input.rb', line 1124

def encryption_key_type
  @encryption_key_type
end

Class Method Details

.jsii_propertiesObject



1126
1127
1128
1129
1130
1131
# File 'media_connect/cfn_router_input.rb', line 1126

def self.jsii_properties
  {
    :encryption_key_configuration => "encryptionKeyConfiguration",
    :encryption_key_type => "encryptionKeyType",
  }
end

Instance Method Details

#to_jsiiObject



1133
1134
1135
1136
1137
1138
1139
1140
# File 'media_connect/cfn_router_input.rb', line 1133

def to_jsii
  result = {}
  result.merge!({
    "encryptionKeyConfiguration" => @encryption_key_configuration,
    "encryptionKeyType" => @encryption_key_type,
  })
  result.compact
end