Class: AWSCDK::MSK::CfnReplicator::KafkaClusterEncryptionInTransitProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::MSK::CfnReplicator::KafkaClusterEncryptionInTransitProperty
- Defined in:
- msk/cfn_replicator.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.
-
#root_ca_certificate ⇒ String?
readonly
The root CA certificate.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(encryption_type:, root_ca_certificate: nil) ⇒ KafkaClusterEncryptionInTransitProperty
constructor
A new instance of KafkaClusterEncryptionInTransitProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(encryption_type:, root_ca_certificate: nil) ⇒ KafkaClusterEncryptionInTransitProperty
Returns a new instance of KafkaClusterEncryptionInTransitProperty.
928 929 930 931 932 933 |
# File 'msk/cfn_replicator.rb', line 928 def initialize(encryption_type:, root_ca_certificate: nil) @encryption_type = encryption_type Jsii::Type.check_type(@encryption_type, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "encryptionType") @root_ca_certificate = root_ca_certificate Jsii::Type.check_type(@root_ca_certificate, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "rootCaCertificate") unless @root_ca_certificate.nil? end |
Instance Attribute Details
#encryption_type ⇒ String (readonly)
The type of encryption in transit to the Apache Kafka cluster.
939 940 941 |
# File 'msk/cfn_replicator.rb', line 939 def encryption_type @encryption_type end |
#root_ca_certificate ⇒ String? (readonly)
The root CA certificate.
944 945 946 |
# File 'msk/cfn_replicator.rb', line 944 def root_ca_certificate @root_ca_certificate end |
Class Method Details
.jsii_properties ⇒ Object
946 947 948 949 950 951 |
# File 'msk/cfn_replicator.rb', line 946 def self.jsii_properties { :encryption_type => "encryptionType", :root_ca_certificate => "rootCaCertificate", } end |
Instance Method Details
#to_jsii ⇒ Object
953 954 955 956 957 958 959 960 |
# File 'msk/cfn_replicator.rb', line 953 def to_jsii result = {} result.merge!({ "encryptionType" => @encryption_type, "rootCaCertificate" => @root_ca_certificate, }) result.compact end |