Class: AWSCDK::MediaConnect::CfnRouterInput::SrtDecryptionConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::MediaConnect::CfnRouterInput::SrtDecryptionConfigurationProperty
- 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
-
#encryption_key ⇒ AWSCDK::IResolvable, AWSCDK::MediaConnect::CfnRouterInput::SecretsManagerEncryptionKeyConfigurationProperty
readonly
The configuration settings for transit encryption using Secrets Manager, including the secret ARN and role ARN.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(encryption_key:) ⇒ SrtDecryptionConfigurationProperty
constructor
A new instance of SrtDecryptionConfigurationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(encryption_key:) ⇒ SrtDecryptionConfigurationProperty
Returns a new instance of SrtDecryptionConfigurationProperty.
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_key ⇒ AWSCDK::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_properties ⇒ Object
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_jsii ⇒ Object
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 |