Class: AWSCDK::MediaConnect::CfnFlow::FlowTransitEncryptionProperty

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

Overview

The configuration that defines how content is encrypted during transit between the MediaConnect router and a MediaConnect flow.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(encryption_key_configuration:, encryption_key_type: nil) ⇒ FlowTransitEncryptionProperty

Returns a new instance of FlowTransitEncryptionProperty.

Parameters:



1082
1083
1084
1085
1086
1087
# File 'media_connect/cfn_flow.rb', line 1082

def initialize(encryption_key_configuration:, encryption_key_type: nil)
  @encryption_key_configuration = encryption_key_configuration.is_a?(Hash) ? ::AWSCDK::MediaConnect::CfnFlow::FlowTransitEncryptionKeyConfigurationProperty.new(**encryption_key_configuration.transform_keys(&:to_sym)) : encryption_key_configuration
  Jsii::Type.check_type(@encryption_key_configuration, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19tZWRpYWNvbm5lY3QuQ2ZuRmxvdy5GbG93VHJhbnNpdEVuY3J5cHRpb25LZXlDb25maWd1cmF0aW9uUHJvcGVydHkifV19fQ==")), "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_configurationAWSCDK::IResolvable, AWSCDK::MediaConnect::CfnFlow::FlowTransitEncryptionKeyConfigurationProperty (readonly)

Configuration settings for flow transit encryption keys.



1093
1094
1095
# File 'media_connect/cfn_flow.rb', line 1093

def encryption_key_configuration
  @encryption_key_configuration
end

#encryption_key_typeString? (readonly)



1096
1097
1098
# File 'media_connect/cfn_flow.rb', line 1096

def encryption_key_type
  @encryption_key_type
end

Class Method Details

.jsii_propertiesObject



1098
1099
1100
1101
1102
1103
# File 'media_connect/cfn_flow.rb', line 1098

def self.jsii_properties
  {
    :encryption_key_configuration => "encryptionKeyConfiguration",
    :encryption_key_type => "encryptionKeyType",
  }
end

Instance Method Details

#to_jsiiObject



1105
1106
1107
1108
1109
1110
1111
1112
# File 'media_connect/cfn_flow.rb', line 1105

def to_jsii
  result = {}
  result.merge!({
    "encryptionKeyConfiguration" => @encryption_key_configuration,
    "encryptionKeyType" => @encryption_key_type,
  })
  result.compact
end