Class: AWSCDK::MSK::CfnCluster::EncryptionInTransitProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::MSK::CfnCluster::EncryptionInTransitProperty
- Defined in:
- msk/cfn_cluster.rb
Overview
The settings for encrypting data in transit.
Instance Attribute Summary collapse
-
#client_broker ⇒ String?
readonly
Indicates the encryption setting for data in transit between clients and brokers.
-
#in_cluster ⇒ Boolean, ...
readonly
When set to true, it indicates that data communication among the broker nodes of the cluster is encrypted.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(client_broker: nil, in_cluster: nil) ⇒ EncryptionInTransitProperty
constructor
A new instance of EncryptionInTransitProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(client_broker: nil, in_cluster: nil) ⇒ EncryptionInTransitProperty
Returns a new instance of EncryptionInTransitProperty.
1140 1141 1142 1143 1144 1145 |
# File 'msk/cfn_cluster.rb', line 1140 def initialize(client_broker: nil, in_cluster: nil) @client_broker = client_broker Jsii::Type.check_type(@client_broker, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "clientBroker") unless @client_broker.nil? @in_cluster = in_cluster Jsii::Type.check_type(@in_cluster, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3sicHJpbWl0aXZlIjoiYm9vbGVhbiJ9LHsiZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifV19fQ==")), "inCluster") unless @in_cluster.nil? end |
Instance Attribute Details
#client_broker ⇒ String? (readonly)
Indicates the encryption setting for data in transit between clients and brokers.
You must set it to one of the following values.
TLS: Indicates that client-broker communication is enabled with TLS only.TLS_PLAINTEXT: Indicates that client-broker communication is enabled for both TLS-encrypted, as well as plaintext data.PLAINTEXT: Indicates that client-broker communication is enabled in plaintext only.
The default value is TLS .
1159 1160 1161 |
# File 'msk/cfn_cluster.rb', line 1159 def client_broker @client_broker end |
#in_cluster ⇒ Boolean, ... (readonly)
When set to true, it indicates that data communication among the broker nodes of the cluster is encrypted.
When set to false, the communication happens in plaintext.
The default value is true.
1168 1169 1170 |
# File 'msk/cfn_cluster.rb', line 1168 def in_cluster @in_cluster end |
Class Method Details
.jsii_properties ⇒ Object
1170 1171 1172 1173 1174 1175 |
# File 'msk/cfn_cluster.rb', line 1170 def self.jsii_properties { :client_broker => "clientBroker", :in_cluster => "inCluster", } end |
Instance Method Details
#to_jsii ⇒ Object
1177 1178 1179 1180 1181 1182 1183 1184 |
# File 'msk/cfn_cluster.rb', line 1177 def to_jsii result = {} result.merge!({ "clientBroker" => @client_broker, "inCluster" => @in_cluster, }) result.compact end |