Class: AWSCDK::MediaConnect::CfnFlowOutput::FlowTransitEncryptionProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::MediaConnect::CfnFlowOutput::FlowTransitEncryptionProperty
- Defined in:
- media_connect/cfn_flow_output.rb
Overview
The configuration that defines how content is encrypted during transit between the MediaConnect router and a MediaConnect flow.
Instance Attribute Summary collapse
-
#encryption_key_configuration ⇒ AWSCDK::IResolvable, AWSCDK::MediaConnect::CfnFlowOutput::FlowTransitEncryptionKeyConfigurationProperty
readonly
Configuration settings for flow transit encryption keys.
- #encryption_key_type ⇒ String? readonly
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(encryption_key_configuration:, encryption_key_type: nil) ⇒ FlowTransitEncryptionProperty
constructor
A new instance of FlowTransitEncryptionProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(encryption_key_configuration:, encryption_key_type: nil) ⇒ FlowTransitEncryptionProperty
Returns a new instance of FlowTransitEncryptionProperty.
1000 1001 1002 1003 1004 1005 |
# File 'media_connect/cfn_flow_output.rb', line 1000 def initialize(encryption_key_configuration:, encryption_key_type: nil) @encryption_key_configuration = encryption_key_configuration.is_a?(Hash) ? ::AWSCDK::MediaConnect::CfnFlowOutput::FlowTransitEncryptionKeyConfigurationProperty.new(**encryption_key_configuration.transform_keys(&:to_sym)) : encryption_key_configuration Jsii::Type.check_type(@encryption_key_configuration, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19tZWRpYWNvbm5lY3QuQ2ZuRmxvd091dHB1dC5GbG93VHJhbnNpdEVuY3J5cHRpb25LZXlDb25maWd1cmF0aW9uUHJvcGVydHkifV19fQ==")), "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::CfnFlowOutput::FlowTransitEncryptionKeyConfigurationProperty (readonly)
Configuration settings for flow transit encryption keys.
1011 1012 1013 |
# File 'media_connect/cfn_flow_output.rb', line 1011 def encryption_key_configuration @encryption_key_configuration end |
#encryption_key_type ⇒ String? (readonly)
1014 1015 1016 |
# File 'media_connect/cfn_flow_output.rb', line 1014 def encryption_key_type @encryption_key_type end |
Class Method Details
.jsii_properties ⇒ Object
1016 1017 1018 1019 1020 1021 |
# File 'media_connect/cfn_flow_output.rb', line 1016 def self.jsii_properties { :encryption_key_configuration => "encryptionKeyConfiguration", :encryption_key_type => "encryptionKeyType", } end |
Instance Method Details
#to_jsii ⇒ Object
1023 1024 1025 1026 1027 1028 1029 1030 |
# File 'media_connect/cfn_flow_output.rb', line 1023 def to_jsii result = {} result.merge!({ "encryptionKeyConfiguration" => @encryption_key_configuration, "encryptionKeyType" => @encryption_key_type, }) result.compact end |