Class: AWSCDK::KafkaConnect::CfnConnector::KafkaClusterEncryptionInTransitProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::KafkaConnect::CfnConnector::KafkaClusterEncryptionInTransitProperty
- Defined in:
- kafka_connect/cfn_connector.rb
Overview
Details of encryption in transit to the Apache Kafka cluster.
Instance Attribute Summary collapse
-
#encryption_type ⇒ String
readonly
The type of encryption in transit to the Apache Kafka cluster.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(encryption_type:) ⇒ KafkaClusterEncryptionInTransitProperty
constructor
A new instance of KafkaClusterEncryptionInTransitProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(encryption_type:) ⇒ KafkaClusterEncryptionInTransitProperty
Returns a new instance of KafkaClusterEncryptionInTransitProperty.
1027 1028 1029 1030 |
# File 'kafka_connect/cfn_connector.rb', line 1027 def initialize(encryption_type:) @encryption_type = encryption_type Jsii::Type.check_type(@encryption_type, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "encryptionType") end |
Instance Attribute Details
#encryption_type ⇒ String (readonly)
The type of encryption in transit to the Apache Kafka cluster.
1036 1037 1038 |
# File 'kafka_connect/cfn_connector.rb', line 1036 def encryption_type @encryption_type end |
Class Method Details
.jsii_properties ⇒ Object
1038 1039 1040 1041 1042 |
# File 'kafka_connect/cfn_connector.rb', line 1038 def self.jsii_properties { :encryption_type => "encryptionType", } end |
Instance Method Details
#to_jsii ⇒ Object
1044 1045 1046 1047 1048 1049 1050 |
# File 'kafka_connect/cfn_connector.rb', line 1044 def to_jsii result = {} result.merge!({ "encryptionType" => @encryption_type, }) result.compact end |