Class: AWSCDK::KafkaConnect::CfnConnector::KafkaClusterClientAuthenticationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::KafkaConnect::CfnConnector::KafkaClusterClientAuthenticationProperty
- Defined in:
- kafka_connect/cfn_connector.rb
Overview
The client authentication information used in order to authenticate with the Apache Kafka cluster.
Instance Attribute Summary collapse
-
#authentication_type ⇒ String
readonly
The type of client authentication used to connect to the Apache Kafka cluster.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(authentication_type:) ⇒ KafkaClusterClientAuthenticationProperty
constructor
A new instance of KafkaClusterClientAuthenticationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(authentication_type:) ⇒ KafkaClusterClientAuthenticationProperty
Returns a new instance of KafkaClusterClientAuthenticationProperty.
992 993 994 995 |
# File 'kafka_connect/cfn_connector.rb', line 992 def initialize(authentication_type:) @authentication_type = authentication_type Jsii::Type.check_type(@authentication_type, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "authenticationType") end |
Instance Attribute Details
#authentication_type ⇒ String (readonly)
The type of client authentication used to connect to the Apache Kafka cluster.
Value NONE means that no client authentication is used.
1003 1004 1005 |
# File 'kafka_connect/cfn_connector.rb', line 1003 def authentication_type @authentication_type end |
Class Method Details
.jsii_properties ⇒ Object
1005 1006 1007 1008 1009 |
# File 'kafka_connect/cfn_connector.rb', line 1005 def self.jsii_properties { :authentication_type => "authenticationType", } end |
Instance Method Details
#to_jsii ⇒ Object
1011 1012 1013 1014 1015 1016 1017 |
# File 'kafka_connect/cfn_connector.rb', line 1011 def to_jsii result = {} result.merge!({ "authenticationType" => @authentication_type, }) result.compact end |