Class: AWSCDK::MediaConnect::CfnRouterInput::RouterInputTransitEncryptionProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::MediaConnect::CfnRouterInput::RouterInputTransitEncryptionProperty
- Defined in:
- media_connect/cfn_router_input.rb
Overview
The transit encryption settings for a router input.
Instance Attribute Summary collapse
-
#encryption_key_configuration ⇒ AWSCDK::IResolvable, AWSCDK::MediaConnect::CfnRouterInput::RouterInputTransitEncryptionKeyConfigurationProperty
readonly
Defines the configuration settings for transit encryption keys.
- #encryption_key_type ⇒ String? readonly
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(encryption_key_configuration:, encryption_key_type: nil) ⇒ RouterInputTransitEncryptionProperty
constructor
A new instance of RouterInputTransitEncryptionProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(encryption_key_configuration:, encryption_key_type: nil) ⇒ RouterInputTransitEncryptionProperty
Returns a new instance of RouterInputTransitEncryptionProperty.
1504 1505 1506 1507 1508 1509 |
# File 'media_connect/cfn_router_input.rb', line 1504 def initialize(encryption_key_configuration:, encryption_key_type: nil) @encryption_key_configuration = encryption_key_configuration.is_a?(Hash) ? ::AWSCDK::MediaConnect::CfnRouterInput::RouterInputTransitEncryptionKeyConfigurationProperty.new(**encryption_key_configuration.transform_keys(&:to_sym)) : encryption_key_configuration Jsii::Type.check_type(@encryption_key_configuration, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19tZWRpYWNvbm5lY3QuQ2ZuUm91dGVySW5wdXQuUm91dGVySW5wdXRUcmFuc2l0RW5jcnlwdGlvbktleUNvbmZpZ3VyYXRpb25Qcm9wZXJ0eSJ9XX19")), "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_configuration ⇒ AWSCDK::IResolvable, AWSCDK::MediaConnect::CfnRouterInput::RouterInputTransitEncryptionKeyConfigurationProperty (readonly)
Defines the configuration settings for transit encryption keys.
1515 1516 1517 |
# File 'media_connect/cfn_router_input.rb', line 1515 def encryption_key_configuration @encryption_key_configuration end |
#encryption_key_type ⇒ String? (readonly)
1518 1519 1520 |
# File 'media_connect/cfn_router_input.rb', line 1518 def encryption_key_type @encryption_key_type end |
Class Method Details
.jsii_properties ⇒ Object
1520 1521 1522 1523 1524 1525 |
# File 'media_connect/cfn_router_input.rb', line 1520 def self.jsii_properties { :encryption_key_configuration => "encryptionKeyConfiguration", :encryption_key_type => "encryptionKeyType", } end |
Instance Method Details
#to_jsii ⇒ Object
1527 1528 1529 1530 1531 1532 1533 1534 |
# File 'media_connect/cfn_router_input.rb', line 1527 def to_jsii result = {} result.merge!({ "encryptionKeyConfiguration" => @encryption_key_configuration, "encryptionKeyType" => @encryption_key_type, }) result.compact end |