Class: AWSCDK::KafkaConnect::CfnConnector::KafkaClusterEncryptionInTransitProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
kafka_connect/cfn_connector.rb

Overview

Details of encryption in transit to the Apache Kafka cluster.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(encryption_type:) ⇒ KafkaClusterEncryptionInTransitProperty

Returns a new instance of KafkaClusterEncryptionInTransitProperty.

Parameters:

  • encryption_type (String)

    The type of encryption in transit to the Apache Kafka cluster.



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_typeString (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_propertiesObject



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_jsiiObject



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