Class: AWSCDK::KafkaConnect::CfnConnector::KafkaClusterProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::KafkaConnect::CfnConnector::KafkaClusterProperty
- Defined in:
- kafka_connect/cfn_connector.rb
Overview
The details of the Apache Kafka cluster to which the connector is connected.
Instance Attribute Summary collapse
-
#apache_kafka_cluster ⇒ AWSCDK::IResolvable, AWSCDK::KafkaConnect::CfnConnector::ApacheKafkaClusterProperty
readonly
The Apache Kafka cluster to which the connector is connected.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(apache_kafka_cluster:) ⇒ KafkaClusterProperty
constructor
A new instance of KafkaClusterProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(apache_kafka_cluster:) ⇒ KafkaClusterProperty
Returns a new instance of KafkaClusterProperty.
1060 1061 1062 1063 |
# File 'kafka_connect/cfn_connector.rb', line 1060 def initialize(apache_kafka_cluster:) @apache_kafka_cluster = apache_kafka_cluster.is_a?(Hash) ? ::AWSCDK::KafkaConnect::CfnConnector::ApacheKafkaClusterProperty.new(**apache_kafka_cluster.transform_keys(&:to_sym)) : apache_kafka_cluster Jsii::Type.check_type(@apache_kafka_cluster, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19rYWZrYWNvbm5lY3QuQ2ZuQ29ubmVjdG9yLkFwYWNoZUthZmthQ2x1c3RlclByb3BlcnR5In1dfX0=")), "apacheKafkaCluster") end |
Instance Attribute Details
#apache_kafka_cluster ⇒ AWSCDK::IResolvable, AWSCDK::KafkaConnect::CfnConnector::ApacheKafkaClusterProperty (readonly)
The Apache Kafka cluster to which the connector is connected.
1069 1070 1071 |
# File 'kafka_connect/cfn_connector.rb', line 1069 def apache_kafka_cluster @apache_kafka_cluster end |
Class Method Details
.jsii_properties ⇒ Object
1071 1072 1073 1074 1075 |
# File 'kafka_connect/cfn_connector.rb', line 1071 def self.jsii_properties { :apache_kafka_cluster => "apacheKafkaCluster", } end |
Instance Method Details
#to_jsii ⇒ Object
1077 1078 1079 1080 1081 1082 1083 |
# File 'kafka_connect/cfn_connector.rb', line 1077 def to_jsii result = {} result.merge!({ "apacheKafkaCluster" => @apache_kafka_cluster, }) result.compact end |