Class: AWSCDK::KafkaConnect::CfnConnector::KafkaClusterClientAuthenticationProperty

Inherits:
Jsii::Struct
  • Object
show all
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

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(authentication_type:) ⇒ KafkaClusterClientAuthenticationProperty

Returns a new instance of KafkaClusterClientAuthenticationProperty.

Parameters:

  • authentication_type (String)

    The type of client authentication used to connect to the Apache Kafka cluster.



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



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_jsiiObject



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