Class: AWSCDK::MediaConnect::CfnRouterOutput::SrtEncryptionConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::MediaConnect::CfnRouterOutput::SrtEncryptionConfigurationProperty
- Defined in:
- media_connect/cfn_router_output.rb
Overview
Contains the configuration settings for encrypting SRT streams, including the encryption key details and encryption parameters.
Instance Attribute Summary collapse
-
#encryption_key ⇒ AWSCDK::IResolvable, AWSCDK::MediaConnect::CfnRouterOutput::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:) ⇒ SrtEncryptionConfigurationProperty
constructor
A new instance of SrtEncryptionConfigurationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(encryption_key:) ⇒ SrtEncryptionConfigurationProperty
Returns a new instance of SrtEncryptionConfigurationProperty.
1363 1364 1365 1366 |
# File 'media_connect/cfn_router_output.rb', line 1363 def initialize(encryption_key:) @encryption_key = encryption_key.is_a?(Hash) ? ::AWSCDK::MediaConnect::CfnRouterOutput::SecretsManagerEncryptionKeyConfigurationProperty.new(**encryption_key.transform_keys(&:to_sym)) : encryption_key Jsii::Type.check_type(@encryption_key, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19tZWRpYWNvbm5lY3QuQ2ZuUm91dGVyT3V0cHV0LlNlY3JldHNNYW5hZ2VyRW5jcnlwdGlvbktleUNvbmZpZ3VyYXRpb25Qcm9wZXJ0eSJ9XX19")), "encryptionKey") end |
Instance Attribute Details
#encryption_key ⇒ AWSCDK::IResolvable, AWSCDK::MediaConnect::CfnRouterOutput::SecretsManagerEncryptionKeyConfigurationProperty (readonly)
The configuration settings for transit encryption using Secrets Manager, including the secret ARN and role ARN.
1372 1373 1374 |
# File 'media_connect/cfn_router_output.rb', line 1372 def encryption_key @encryption_key end |
Class Method Details
.jsii_properties ⇒ Object
1374 1375 1376 1377 1378 |
# File 'media_connect/cfn_router_output.rb', line 1374 def self.jsii_properties { :encryption_key => "encryptionKey", } end |
Instance Method Details
#to_jsii ⇒ Object
1380 1381 1382 1383 1384 1385 1386 |
# File 'media_connect/cfn_router_output.rb', line 1380 def to_jsii result = {} result.merge!({ "encryptionKey" => @encryption_key, }) result.compact end |