Class: AWSCDK::MediaConnect::CfnRouterInput::SrtDecryptionConfigurationProperty

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

Overview

Contains the configuration settings for decrypting SRT streams, including the encryption key details and decryption parameters.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(encryption_key:) ⇒ SrtDecryptionConfigurationProperty

Returns a new instance of SrtDecryptionConfigurationProperty.

Parameters:



1701
1702
1703
1704
# File 'media_connect/cfn_router_input.rb', line 1701

def initialize(encryption_key:)
  @encryption_key = encryption_key.is_a?(Hash) ? ::AWSCDK::MediaConnect::CfnRouterInput::SecretsManagerEncryptionKeyConfigurationProperty.new(**encryption_key.transform_keys(&:to_sym)) : encryption_key
  Jsii::Type.check_type(@encryption_key, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19tZWRpYWNvbm5lY3QuQ2ZuUm91dGVySW5wdXQuU2VjcmV0c01hbmFnZXJFbmNyeXB0aW9uS2V5Q29uZmlndXJhdGlvblByb3BlcnR5In1dfX0=")), "encryptionKey")
end

Instance Attribute Details

#encryption_keyAWSCDK::IResolvable, AWSCDK::MediaConnect::CfnRouterInput::SecretsManagerEncryptionKeyConfigurationProperty (readonly)

The configuration settings for transit encryption using Secrets Manager, including the secret ARN and role ARN.



1710
1711
1712
# File 'media_connect/cfn_router_input.rb', line 1710

def encryption_key
  @encryption_key
end

Class Method Details

.jsii_propertiesObject



1712
1713
1714
1715
1716
# File 'media_connect/cfn_router_input.rb', line 1712

def self.jsii_properties
  {
    :encryption_key => "encryptionKey",
  }
end

Instance Method Details

#to_jsiiObject



1718
1719
1720
1721
1722
1723
1724
# File 'media_connect/cfn_router_input.rb', line 1718

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